
/* ===== FURNITURE PAGE ===== */
.brand-nav{ display:flex; gap: var(--space-xs); flex-wrap: wrap; padding: var(--space-md) 0; }
.brand-nav a{ display:inline-block; padding: .5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; color: var(--text-secondary); text-decoration: none; transition: border-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease); }
.brand-nav a:hover, .brand-nav a:focus-visible{ border-color: var(--color-gold); color: var(--color-white); }
.furn-section{ padding: var(--space-2xl) 0; scroll-margin-top: 90px; }
.furn-section.alt{ background: var(--surface-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.furn-intro{ max-width: 62ch; }
.furn-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-md); margin-top: var(--space-xl); }
.furn-card{ background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.furn-section.alt .furn-card{ background: var(--color-black); }
.furn-card .furn-photo{ aspect-ratio: 4/3; background: var(--surface-2); display:flex; align-items:center; justify-content:center; }
.furn-card .furn-photo img{ width:100%; height:100%; object-fit: contain; }
.furn-card .furn-body{ padding: var(--space-md); display:flex; flex-direction:column; gap: .25rem; flex:1; }
.furn-card h3{ font-size: 1.02rem; line-height: 1.25; }
.furn-card .furn-meta{ font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--text-tertiary); }
.furn-card .furn-tag{ margin-top: auto; padding-top: .5rem; font-size: .78rem; color: var(--color-gold); }
.furn-feature{ display:grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items:center; }
.furn-feature .furn-photo-lg{ border-radius: var(--radius-md); overflow:hidden; background: var(--surface-2); }
.furn-feature .furn-photo-lg img{ width:100%; display:block; }
.furn-trio{ display:grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-top: var(--space-xl); }
.furn-brand .furn-photo-lg{ border-radius: var(--radius-md); overflow:hidden; background: var(--surface-2); margin-bottom: var(--space-md); }
.furn-brand .furn-photo-lg img{ width:100%; aspect-ratio: 4/3; object-fit: cover; display:block; }
@media (max-width: 900px){
  .furn-feature{ grid-template-columns: 1fr; gap: var(--space-lg); }
  .furn-trio{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){ .furn-grid{ grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); } .furn-card .furn-body{ padding: var(--space-sm); } }

/* =========================================================================
   MENTOR TV 2.0 — DESIGN SYSTEM
   Phase 1: tokens + core reusable components. No Bootstrap. No page-level
   layout classes here on purpose — the brief explicitly wants pages that
   aren't forced into an identical template, so hero/section layout is
   built per-page in Phase 2+, using these tokens and components as the
   shared foundation underneath.

   This is the ONLY stylesheet for the site (the old Bootstrap-era theme has
   been retired). Colors, type, spacing, and motion are set once in :root
   below — change a token there and every page follows. Two colors are
   reserved-use only: the RGB gradient (True RGB content) and --sale-green
   (sale prices).
   ========================================================================= */

:root{
  /* ---- BRAND TOKENS (official palette — do not introduce others without approval) ---- */
  --color-black:  #090909;  /* jet black — primary foundation */
  --color-white:  #F5F3EF;  /* soft white — primary text */
  --color-silver: #D6D3D3;  /* silver gray — secondary info / supporting UI */
  --color-gold:   #C8A15A;  /* warm gold — heritage, expertise, premium accents */
  --color-red:    #D70109;  /* scarlet red — action, CTA, promotion */

  /* ---- SUPPORTING SHADES (derived from the palette above, not new brand colors) ---- */
  --surface-1:    #0f0f0f;  /* card / panel background, one step off pure black */
  --surface-2:    #161616;  /* hover / elevated surface */
  --line:         rgba(245, 243, 239, 0.12);  /* hairline border, derived from soft white */
  --line-strong:  rgba(245, 243, 239, 0.24);
  --text-secondary: var(--color-silver);
  --text-tertiary:  rgba(214, 211, 211, 0.58);  /* dimmed silver, fine print */
  --gold-dim:     rgba(200, 161, 90, 0.35);
  --gold-wash:    rgba(200, 161, 90, 0.08);
  --red-dim:      rgba(215, 1, 9, 0.35);
  --red-wash:     rgba(215, 1, 9, 0.10);

  /* Reserved functional color — used ONLY for sale-price indication, never
     as a general brand color. Same pattern as the RGB reservation: exists
     for one specific semantic purpose, not decoration. */
  --soldout-red:     #ff4040;   /* reserved: Sold out labels only */
  --sale-green:      #2ECC71;
  --sale-green-dim:  rgba(46, 204, 113, 0.4);
  --sale-green-wash: rgba(46, 204, 113, 0.12);

  /* ---- TYPOGRAPHY ---- */
  --font-display: 'Space Grotesk', sans-serif;  /* hero headlines, product names */
  --font-body:    'Inter', sans-serif;          /* body, nav, buttons, UI */
  --font-mono:    'IBM Plex Mono', monospace;   /* model numbers, specs, prices */

  /* ---- SPACING SCALE ---- */
  --space-3xs: .25rem;
  --space-2xs: .5rem;
  --space-xs:  .75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* ---- RADII — small and restrained; premium, not sharp-cold or soft-generic ---- */
  --radius-sm: 3px;
  --radius-md: 6px;

  /* ---- MOTION ---- */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --duration-fast: 150ms;
  --duration-base: 280ms;
  --duration-slow: 500ms;
}

/* =========================================================================
   BASE
   ========================================================================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection{ background: var(--color-red); color: var(--color-white); }
a{ color: inherit; text-decoration: none; }
:focus-visible{ outline: 2px solid var(--color-gold); outline-offset: 3px; }
img{ max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation: none !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   TYPOGRAPHY
   Headlines: large, confident, MIXED CASE — not tracked-out uppercase.
   Uppercase + letter-spacing is reserved for small labels only (eyebrows,
   nav, badges) — that contrast is what makes headlines feel considered
   rather than like every element shouting at the same volume.
   ========================================================================= */
h1, h2, h3, h4, .font-display{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
  margin: 0;
}
h1{ font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
h2{ font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3{ font-size: 1.35rem; font-weight: 600; }

.text-secondary{ color: var(--text-secondary); }
.text-tertiary{ color: var(--text-tertiary); }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.eyebrow::before{
  content: '';
  width: 20px;
  height: 1px;
  background: var(--color-gold);
}

/* Generic Mentor TV signature divider — gold, restrained. This is the
   DEFAULT accent. It is not RGB. */
.divider-gold{
  height: 1px;
  width: 56px;
  background: var(--color-gold);
  border: none;
}

/* RGB divider — RESERVED for literal True RGB product content only.
   Never use as a generic Mentor TV brand element. */
.divider-rgb{
  height: 3px;
  width: 56px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff3b3b, #2fe27a, #2d8cff);
}

/* =========================================================================
   BUTTONS
   Primary = scarlet red (action/CTA). Secondary = dark/transparent outline.
   Gold = premium/heritage accent, restrained outline only — never a filled
   gold button, per brief ("thin divider lines, small accents... not large
   gold backgrounds").
   ========================================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease),
              transform var(--duration-fast) var(--ease);
}
.btn:hover{ transform: translateY(-1px); }

.btn-primary{
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}
.btn-primary:hover{ background: #b80107; border-color: #b80107; }

.btn-secondary{
  background: transparent;
  border-color: var(--line-strong);
  color: var(--color-white);
}
.btn-secondary:hover{ background: var(--surface-1); border-color: var(--color-silver); }

.btn-gold{
  background: transparent;
  border-color: var(--gold-dim);
  color: var(--color-gold);
}
.btn-gold:hover{ background: var(--gold-wash); border-color: var(--color-gold); }

/* =========================================================================
   PRICE DISPLAY
   LED/digital-display-inspired: tabular monospace numerals in a subtle
   inset panel, like a real amplifier readout. Conventional $ and decimal —
   no superscript-cents trick, no 7-segment digital font. Restrained, not
   a novelty.
   ========================================================================= */
.price-display{
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2xs);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: .01em;
  font-size: 1.9rem;
  color: var(--color-white);
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .3em .55em;
}
.price-display.is-sale{
  color: var(--sale-green);
  border-color: var(--sale-green-dim);
  background: var(--sale-green-wash);
}
.price-display .price-was{
  font-family: var(--font-body);
  font-size: .48em;
  font-weight: 500;
  text-decoration: line-through;
  color: var(--text-tertiary);
  margin-left: var(--space-2xs);
}
.price-note{
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--text-secondary);
}

/* =========================================================================
   SALE vs. CLEARANCE
   Two distinct components on purpose — neither appears automatically in
   standard product presentation. Sale = tinted, friendly pill. Clearance =
   sharper, more emphatic, visually a different register.
   ========================================================================= */
.badge-sale{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sale-green);
  background: var(--sale-green-wash);
  border: 1px solid var(--sale-green-dim);
  border-radius: 999px;
  padding: .3em .75em;
}
.badge-clearance{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-red);
  border: 1px solid var(--color-red);
  border-radius: 0;
  padding: .3em .75em;
}

/* =========================================================================
   CARDS
   One restrained base surface. Specific card content (product, feature,
   install-photo, guide) composes on top of this rather than each getting
   a rigid, near-identical variant.
   ========================================================================= */
.card{
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-base) var(--ease),
              transform var(--duration-base) var(--ease);
}
.card:hover{ border-color: var(--line-strong); transform: translateY(-3px); }

/* Heritage-context card gets a gold hairline instead of the neutral one —
   the one place gold is allowed to define a whole component's border. */
.card-heritage{ border-color: var(--gold-dim); }

/* =========================================================================
   SPEC TABLE
   Labels in silver, values in soft white, the data itself in mono — per
   brief: "IBM Plex Mono: model numbers, specifications, technical labels."
   ========================================================================= */
.spec-table{
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.spec-table th, .spec-table td{
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
}
.spec-table th{
  color: var(--text-secondary);
  font-weight: 400;
  white-space: nowrap;
  width: 40%;
}
.spec-table td{
  font-family: var(--font-mono);
  color: var(--color-white);
}

/* =========================================================================
   NAV LINK (typography only — full nav shell is a Phase 2 decision,
   pending the IA question)
   ========================================================================= */
.nav-link{
  font-family: var(--font-body);
  font-size: .88rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease);
}
.nav-link:hover{ color: var(--color-white); }

/* =========================================================================
   NAV SHELL
   Added in Phase 2, now that the IA is decided. Gold is used here as the
   wayfinding accent (active-nav underline) — not RGB, not decorative.
   ========================================================================= */
.utility-bar{
  background: var(--color-black);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--text-secondary);
  padding: var(--space-2xs) 0;
}
.utility-bar a{ color: var(--text-secondary); transition: color var(--duration-fast) var(--ease); }
.utility-bar a:hover{ color: var(--color-white); }
.utility-bar .divider{ color: var(--text-tertiary); margin: 0 var(--space-sm); }
.social-ico{
  width: 16px; height: 16px; object-fit: contain;
  filter: grayscale(1) brightness(1.4); opacity: .7;
  transition: opacity var(--duration-fast) var(--ease), filter var(--duration-fast) var(--ease);
}
.social-ico:hover{ opacity: 1; filter: none; }

.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(9, 9, 9, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease);
  padding: var(--space-sm) 0;
}
.site-header.scrolled{ border-bottom-color: var(--line); }

.nav-container{
  max-width: 1400px; margin: 0 auto; padding: 0 var(--space-lg);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
}
.brand-logo{ height: 40px; width: auto; display: block; }
.brand-fallback{
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  display: none; align-items: center; gap: var(--space-2xs); color: var(--color-white);
}
.brand-fallback .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--color-gold); }

.desktop-nav{ display: none; align-items: center; gap: var(--space-2xs); }
.mobile-toggle{
  background: none; border: none; color: var(--color-white);
  font-size: 1.5rem; padding: var(--space-3xs); line-height: 1; cursor: pointer;
}
@media (min-width: 992px){
  .desktop-nav{ display: flex; }
  .mobile-toggle{ display: none; }
}

.nav-item{ position: relative; }
.nav-item > .nav-link-btn{
  display: inline-flex; align-items: center; gap: .3rem;
  padding: var(--space-2xs) var(--space-sm);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: .88rem; color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease);
}
.nav-item > .nav-link-btn:hover{ color: var(--color-white); }
.nav-item > .nav-link-btn i{ font-size: .65rem; transition: transform var(--duration-fast) var(--ease); }
.nav-item.open > .nav-link-btn i{ transform: rotate(180deg); }

.dropdown-panel{
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-2xs); margin-top: var(--space-2xs);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--duration-fast) var(--ease), transform var(--duration-fast) var(--ease), visibility var(--duration-fast) var(--ease);
}
.nav-item.open .dropdown-panel{ opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a{
  display: block; padding: .55rem .75rem; font-size: .85rem;
  color: var(--text-secondary); border-radius: var(--radius-sm);
}
.dropdown-panel a:hover{ background: var(--surface-2); color: var(--color-white); }
.dropdown-divider{ height: 1px; background: var(--line); margin: var(--space-3xs) var(--space-3xs); border: none; }

.active-nav{ color: var(--color-white) !important; position: relative; }
.active-nav::after{
  content: ''; position: absolute; left: var(--space-sm); right: var(--space-sm); bottom: -2px;
  height: 2px; background: var(--color-gold);
}

/* Mobile offcanvas */
.offcanvas-backdrop{
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 99;
  opacity: 0; visibility: hidden; transition: opacity var(--duration-base) var(--ease), visibility var(--duration-base) var(--ease);
}
.offcanvas-backdrop.open{ opacity: 1; visibility: visible; }
.offcanvas{
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--surface-1); border-left: 1px solid var(--line); z-index: 100;
  transform: translateX(100%); transition: transform var(--duration-base) var(--ease);
  display: flex; flex-direction: column;
}
.offcanvas.open{ transform: translateX(0); }
.offcanvas-header{
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-md); border-bottom: 1px solid var(--line);
}
.offcanvas-close{ background: none; border: none; color: var(--color-white); font-size: 1.4rem; cursor: pointer; }
.offcanvas-body{ padding: var(--space-md); overflow-y: auto; flex: 1; display: flex; flex-direction: column; }

.mobile-nav-links a, .mobile-nav-toggle{
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; text-align: left; color: var(--color-white);
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: var(--space-sm) 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.mobile-nav-toggle i{ font-size: .78rem; color: var(--text-secondary); transition: transform var(--duration-fast) var(--ease); }
.mobile-nav-toggle[aria-expanded="true"] i{ transform: rotate(180deg); }
.mobile-nav-sub{ padding-left: var(--space-sm); max-height: 0; overflow: hidden; transition: max-height var(--duration-base) var(--ease); }
.mobile-nav-sub.open{ max-height: 600px; }
.mobile-nav-sub a{
  display: block; padding: var(--space-2xs) 0; font-size: .85rem; font-weight: 500;
  color: var(--text-secondary); border-bottom: 1px dashed var(--line);
}
.mobile-nav-sub a:hover{ color: var(--color-white); }

.mobile-footer-info{ border-top: 1px solid var(--line); margin-top: var(--space-md); padding-top: var(--space-md); }
.mobile-info-row{ display: flex; gap: var(--space-sm); align-items: flex-start; margin-bottom: var(--space-sm); }
.mobile-info-row i{ color: var(--color-gold); font-size: 1rem; margin-top: .15rem; }
.mobile-info-row strong{ display: block; font-size: .9rem; }
.mobile-info-row span{ color: var(--text-secondary); font-size: .85rem; }
.mobile-social{ display: flex; gap: var(--space-md); margin-top: var(--space-2xs); }

.hero-logo{
  height: 76px; width: auto; display: block; margin-bottom: var(--space-lg);
}

.review-card{
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--space-lg); height: 100%;
}
.review-stars{ color: var(--color-gold); font-size: .85rem; margin-bottom: var(--space-sm); letter-spacing: .15em; }
.review-card p{ color: var(--color-white); font-size: .95rem; line-height: 1.7; margin: 0; }
.review-attribution{
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .78rem; color: var(--text-secondary);
}

/* =========================================================================
   BRAND STRIP — horizontally scrollable, not a static grid that gets cut
   off. Snap-scroll for touch/trackpad, arrow buttons for click navigation,
   edge fade masks to signal there's more to scroll to.
   ========================================================================= */
.brand-scroll-wrap{ position: relative; }
.brand-scroll{
  display: flex; gap: var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: var(--space-2xs) var(--space-3xs) var(--space-md);
  scrollbar-width: none; -ms-overflow-style: none;
}
.brand-scroll::-webkit-scrollbar{ display: none; }
.brand-plate{
  flex: 0 0 auto; scroll-snap-align: start;
  width: 168px; height: 76px;
  background: #f4f4f2; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; padding: var(--space-md);
  transition: transform var(--duration-fast) var(--ease);
}
.brand-plate:hover{ transform: translateY(-2px); }
.brand-plate img{ max-height: 34px; max-width: 100%; object-fit: contain; }

.brand-scroll-wrap::before, .brand-scroll-wrap::after{
  content: ''; position: absolute; top: 0; bottom: var(--space-md); width: 48px; z-index: 2; pointer-events: none;
}
.brand-scroll-wrap::before{ left: 0; background: linear-gradient(90deg, var(--color-black), transparent); }
.brand-scroll-wrap::after{ right: 0; background: linear-gradient(270deg, var(--color-black), transparent); }

.brand-scroll-btn{
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface-1); color: var(--color-white); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.brand-scroll-btn:hover{ background: var(--surface-2); border-color: var(--color-gold); }
.brand-scroll-btn.prev{ left: -6px; }
.brand-scroll-btn.next{ right: -6px; }
@media (max-width: 640px){ .brand-scroll-btn{ display: none; } }

/* =========================================================================
   HOMEPAGE COMPONENTS
   Real photography does the storytelling here — no gradient placeholders,
   no generic three-identical-cards pattern. The category grid is
   intentionally asymmetric (one featured tile, not four identical boxes).
   ========================================================================= */
.hero-grid{ display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--space-2xl); align-items: center; }
@media (max-width: 900px){ .hero-grid{ grid-template-columns: 1fr; } }

.hero-photo{ position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-photo::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9,9,9,.55) 100%); pointer-events: none; }
.hero-photo-caption{
  position: absolute; left: var(--space-md); bottom: var(--space-md);
  font-family: var(--font-mono); font-size: .72rem; color: var(--color-white);
  background: rgba(9,9,9,.55); backdrop-filter: blur(6px);
  padding: .4em .7em; border-radius: var(--radius-sm); border: 1px solid var(--line);
}

.category-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 900px){
  .category-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .category-grid{ grid-template-columns: 1fr; }
}

.photo-tile{
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4/5; display: flex; align-items: flex-end;
}
.photo-tile img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}
.photo-tile:hover img{ transform: scale(1.04); }
.photo-tile::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(9,9,9,.92) 100%); }
.photo-tile-content{ position: relative; z-index: 1; padding: var(--space-md); }
.photo-tile-content h3{ color: var(--color-white); margin-top: .3rem; }
.photo-tile-content .eyebrow{ color: var(--color-silver); }

.chip{
  display: inline-block; border: 1px solid var(--line); background: var(--surface-1);
  color: var(--text-secondary); font-family: var(--font-mono); font-size: .78rem;
  padding: .45rem .85rem; border-radius: 999px; margin: 0 var(--space-2xs) var(--space-2xs) 0;
}

/* =========================================================================
   PRODUCT PAGE COMPONENTS (Phase 3)
   ========================================================================= */
.wrap{ max-width: 1400px; margin: 0 auto; padding: 0 var(--space-lg); }
.breadcrumb-row{ font-family: var(--font-mono); font-size: .74rem; color: var(--text-tertiary); padding: var(--space-md) 0 0; }
.breadcrumb-row a{ color: var(--text-secondary); }
.breadcrumb-row a:hover{ color: var(--color-white); }

.btn-row{ display: flex; gap: var(--space-sm); flex-wrap: wrap; }

.grid-2-even{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.grid-2-wide-right{ display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-2xl); }
.grid-4{ display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 900px){
  .grid-2-even, .grid-2-wide-right{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){ .grid-4{ grid-template-columns: 1fr; } }

/* Size picker */
.size-picker{ display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin: var(--space-md) 0; }
.size-chip{
  border: 1px solid var(--line); background: var(--surface-1); color: var(--text-secondary);
  font-family: var(--font-mono); font-size: .78rem; padding: .5rem .9rem; border-radius: var(--radius-sm);
  cursor: pointer; transition: all var(--duration-fast) var(--ease);
}
.size-chip:hover{ border-color: var(--text-secondary); }
.size-chip.active{ border-color: var(--color-gold); color: var(--color-white); background: var(--gold-wash); }

/* SOLD OUT — any TV size or product line can carry 'soldout' => true (see product-body.php). */
.size-chip.is-soldout{ text-decoration: line-through; opacity: .6; }
.price-display.is-call{ font-family: var(--font-body); font-size: .95rem !important; font-weight: 600; color: var(--color-white); border-color: var(--line-strong); }
.price-display.is-soldout{ color: var(--soldout-red); border-color: rgba(255, 64, 64, .45); background: rgba(255, 64, 64, .08); text-transform: uppercase; letter-spacing: .06em; }
.badge-soldout{
  display: inline-block; margin-top: .4rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--soldout-red); border: 1px solid rgba(255, 64, 64, .55); padding: .3em .75em;
}
.product-line-list .line-price.is-soldout{ color: var(--soldout-red); text-transform: uppercase; letter-spacing: .06em; }

/* Product photo stage — RGB glow ONLY renders when the product is genuinely
   True RGB (rgb_demo). No ambient glow otherwise — restraint by default. */
.product-stage{ position: relative; padding: var(--space-md); }
.product-photo-glow{
  position: absolute; inset: 8% 4%; z-index: 0; filter: blur(70px); opacity: .55;
  background:
    radial-gradient(circle at 22% 35%, #ff3b3b, transparent 55%),
    radial-gradient(circle at 55% 15%, #2fe27a, transparent 55%),
    radial-gradient(circle at 82% 45%, #2d8cff, transparent 55%);
  transition: filter var(--duration-slow) var(--ease), opacity var(--duration-slow) var(--ease), background var(--duration-slow) var(--ease);
}
.product-img-wrap{ position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }
.product-img-wrap img{ max-width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.product-img-fallback{
  display: none; aspect-ratio: 16/10; width: 100%; border-radius: var(--radius-md); border: 1px solid var(--line);
  background: var(--surface-1); position: relative; z-index: 1; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: .78rem; color: var(--text-secondary); text-align: center; padding: var(--space-md);
}
.photo-badge{
  position: absolute; top: -.8rem; left: var(--space-md); z-index: 2;
  background: var(--color-black); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .35rem .75rem; font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary);
}

/* In catalog cards the badge sits inside the photo area. (The card clips overflow,
   so the default -0.8rem overhang was being cut off by the card border.) */
.rgb-product-card .photo-badge{ top: var(--space-sm); left: var(--space-sm); }

/* RGB channel demo — literal RGB colors, intentionally NOT brand tokens.
   This is the one reserved context where they're allowed to appear. */
.channel-picker{ display: flex; gap: var(--space-2xs); margin-top: var(--space-md); position: relative; z-index: 1; }
.channel-swatch{
  flex: 1; border: 1px solid var(--line); background: var(--surface-1); border-radius: var(--radius-sm);
  padding: .55rem .4rem; text-align: center; font-family: var(--font-mono); font-size: .7rem;
  letter-spacing: .06em; color: var(--text-secondary); cursor: pointer; transition: all var(--duration-fast) var(--ease);
}
.channel-swatch .chip{ width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: .4rem; vertical-align: middle; }
.channel-swatch[data-ch="r"] .chip{ background: #ff3b3b; }
.channel-swatch[data-ch="g"] .chip{ background: #2fe27a; }
.channel-swatch[data-ch="b"] .chip{ background: #2d8cff; }
.channel-swatch[data-ch="all"] .chip{ background: conic-gradient(#ff3b3b, #2fe27a, #2d8cff, #ff3b3b); }
.channel-swatch.active{ border-color: var(--color-gold); background: var(--gold-wash); color: var(--color-white); }

/* Trust strip */
.trust-strip{ border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-1); }
.trust-item{
  display: flex; align-items: center; gap: .6rem; font-family: var(--font-mono);
  font-size: .8rem; color: var(--text-secondary); padding: var(--space-md) 0;
}
.trust-item i{ color: var(--color-gold); }

/* Feature cards — single restrained gold accent, not the old r/g/b/w system */
.feature-card{ background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-lg); height: 100%; transition: border-color var(--duration-base) var(--ease), transform var(--duration-base) var(--ease); }
.feature-card:hover{ border-color: var(--line-strong); transform: translateY(-3px); }
.feature-icon{ width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: var(--space-md); background: var(--gold-wash); color: var(--color-gold); }
.feature-card h3{ font-size: 1.05rem; margin-bottom: var(--space-2xs); }

.mini-feature{ display: flex; gap: var(--space-sm); padding: var(--space-md) 0; border-bottom: 1px solid var(--line); }
.mini-feature:last-child{ border-bottom: none; }
.mini-feature i{ color: var(--color-gold); font-size: 1.1rem; margin-top: .15rem; flex: none; }
.mini-feature h4{ font-size: .98rem; font-weight: 700; margin-bottom: .2rem; }
.mini-feature p{ font-size: .86rem; color: var(--text-secondary); margin: 0; }

.showroom-row{ display: flex; gap: var(--space-sm); align-items: flex-start; margin-bottom: var(--space-md); }
.showroom-row i{ color: var(--color-gold); font-size: 1.05rem; margin-top: .15rem; }
.showroom-row strong{ display: block; font-size: .95rem; }
.showroom-row span{ color: var(--text-secondary); font-size: .88rem; }

.press-line{ font-family: var(--font-mono); font-size: .78rem; color: var(--text-secondary); border-top: 1px solid var(--line); padding-top: var(--space-md); margin-top: var(--space-lg); }

/* =========================================================================
   TRUE RGB LANDING PAGE COMPONENTS
   The "fixed background, scrolling content" technique from the old Klipsch
   page, modernized: sticky positioning instead of position:fixed (works
   reliably across devices, doesn't need a hand-tuned pixel offset, and can
   repeat per-section instead of just once). Falls back to a normal stacked
   layout on mobile and prefers-reduced-motion, per the brief's own
   accessibility requirements.
   ========================================================================= */
.pin-section{ position: relative; }
.pin-bg{
  position: sticky; top: 0; height: 100vh; z-index: 0;
  background-image: var(--pin-bg-desktop);
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
/* Tablet and mobile can each specify a genuinely different, better-cropped
   image via --pin-bg-tablet / --pin-bg-mobile on the element — falls back
   to the desktop image if not set. Same technique the old Klipsch page
   used (different image per breakpoint), just reusable across sections
   instead of hardcoded to one hero. */
@media (max-width: 1200px){
  .pin-bg{ background-image: var(--pin-bg-tablet, var(--pin-bg-desktop)); }
}
@media (max-width: 767px), (prefers-reduced-motion: reduce){
  .pin-bg{
    position: relative; height: 46vh;
    background-image: var(--pin-bg-mobile, var(--pin-bg-tablet, var(--pin-bg-desktop)));
  }
}
.pin-bg::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,9,9,.35), rgba(9,9,9,.8)); }
.pin-content{
  position: relative; z-index: 1; margin-top: -100vh; min-height: 100vh;
  display: flex; align-items: center; padding: var(--space-2xl) 0;
}
@media (max-width: 767px), (prefers-reduced-motion: reduce){
  .pin-content{ margin-top: 0; min-height: auto; }
}

.text-well{
  background: rgba(9,9,9,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

/* Reserved-use RGB atmosphere — subtle, slow-drifting, never used as
   generic site decoration. Static (no animation) under reduced-motion. */
.rgb-atmosphere{ position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.rgb-atmosphere span{ position: absolute; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(100px); opacity: .32; animation: rgbDrift 20s ease-in-out infinite alternate; }
.rgb-atmosphere span:nth-child(1){ background: #ff3b3b; top: -12%; left: -6%; }
.rgb-atmosphere span:nth-child(2){ background: #2fe27a; bottom: -16%; left: 28%; animation-delay: -7s; }
.rgb-atmosphere span:nth-child(3){ background: #2d8cff; top: 8%; right: -10%; animation-delay: -13s; }
@keyframes rgbDrift{ from{ transform: translate(0,0) scale(1); } to{ transform: translate(4%,-4%) scale(1.08); } }
@media (prefers-reduced-motion: reduce){ .rgb-atmosphere span{ animation: none; } }

.rgb-product-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
@media (max-width: 860px){ .rgb-product-grid{ grid-template-columns: 1fr; } }
.rgb-product-card{ background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: border-color var(--duration-base) var(--ease), transform var(--duration-base) var(--ease); }
.rgb-product-card:hover{ border-color: var(--line-strong); transform: translateY(-3px); }
.rgb-product-card.flagship{ border-color: var(--gold-dim); }
.rgb-product-card .photo{ aspect-ratio: 16/10; background: var(--color-black); display: flex; align-items: center; justify-content: center; padding: var(--space-lg); }
.rgb-product-card .photo img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.rgb-product-card .body{ padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
.card-link-overlay{ position: absolute; inset: 0; z-index: 1; }
.rgb-product-card .size-picker, .rgb-product-card .size-chip, .rgb-product-card .btn{ position: relative; z-index: 2; }

.pro-badge{
  display: inline-block; font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--color-gold);
  border: 1px solid var(--gold-dim); background: var(--gold-wash);
  padding: .25rem .6rem; border-radius: var(--radius-sm); margin-bottom: var(--space-sm);
}

.product-line-list{ list-style: none; padding: 0; margin: 0 0 var(--space-md); }
.product-line-list li{ display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-sm); padding: .65rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.product-line-list li:last-child{ border-bottom: none; }
.product-line-list .line-name{ color: var(--color-white); }
.product-line-list .line-unit{ color: var(--text-tertiary); font-size: .82em; }
.product-line-list .line-price{ font-family: var(--font-mono); white-space: nowrap; }
.product-line-list .line-price.is-sale{ color: var(--sale-green); }
.product-line-list .line-price .was{ color: var(--text-tertiary); text-decoration: line-through; font-size: .85em; margin-left: .4rem; }

.category-section{ padding: var(--space-2xl) 0; }
.category-section:nth-of-type(even){ background: var(--surface-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-photo{ border-radius: var(--radius-md); overflow: hidden; background: var(--color-black); }
.category-photo img{ width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   INSTALL GALLERY
   Nav arrows are position:fixed to the VIEWPORT, not the image or its
   container — this is what makes them immune to the old site's bug where
   different-aspect-ratio photos shifted the arrows out of place. The
   arrows' position never depends on the current image's size at all.
   ========================================================================= */
.gallery-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-sm); }
.gallery-item{
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--line); cursor: pointer; background: var(--color-black); padding: 0;
}
.gallery-item img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--duration-slow) var(--ease); }
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item::after{
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(9,9,9,.88));
  opacity: 0; transition: opacity var(--duration-base) var(--ease);
}
.gallery-item:hover::after{ opacity: 1; }
.gallery-item .gallery-caption{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: var(--space-sm);
  font-size: .76rem; line-height: 1.3; color: var(--color-white);
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--duration-base) var(--ease), transform var(--duration-base) var(--ease);
}
.gallery-item:hover .gallery-caption{ opacity: 1; transform: translateY(0); }

.lightbox-overlay{
  position: fixed; inset: 0; z-index: 200; background: rgba(9,9,9,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--duration-base) var(--ease), visibility var(--duration-base) var(--ease);
}
.lightbox-overlay.open{ opacity: 1; visibility: visible; }
.lightbox-stage{ max-width: 88vw; display: flex; flex-direction: column; align-items: center; padding: 0 var(--space-2xl); }
.lightbox-stage img{ max-width: 88vw; max-height: 76vh; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox-caption{ margin-top: var(--space-md); text-align: center; color: var(--text-secondary); font-size: .92rem; max-width: 60ch; }
.lightbox-counter{ font-family: var(--font-mono); font-size: .74rem; color: var(--text-tertiary); margin-top: var(--space-2xs); }

.lightbox-close{
  position: fixed; top: var(--space-lg); right: var(--space-lg); z-index: 202;
  background: rgba(9,9,9,.6); border: 1px solid var(--line-strong); color: var(--color-white);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav{
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 202;
  background: rgba(9,9,9,.6); border: 1px solid var(--line-strong); color: var(--color-white);
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.lightbox-nav:hover, .lightbox-close:hover{ background: var(--surface-2); border-color: var(--color-gold); }
.lightbox-nav.prev{ left: var(--space-lg); }
.lightbox-nav.next{ right: var(--space-lg); }
@media (max-width: 640px){
  .lightbox-nav{ width: 42px; height: 42px; font-size: 1.1rem; }
  .lightbox-nav.prev{ left: var(--space-xs); }
  .lightbox-nav.next{ right: var(--space-xs); }
  .lightbox-stage{ padding: 0 var(--space-md); }
}

.map-embed-frame{ position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface-1); }
.map-embed-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================================
   WEEKLY AD FLYER VIEWER
   The stage has a FIXED height, so side arrows and the controls bar never
   move when pages have different aspect ratios (same lesson as the install
   gallery). Full-screen mode is the same element switched to position:fixed.

   IMPORTANT: never place .flyer-viewer inside a .reveal / transformed /
   backdrop-filter ancestor. A transform (even translateY(0)) makes
   position:fixed descendants position against that ancestor instead of
   the viewport, which would break full-screen mode.
   ========================================================================= */
.flyer-viewer{
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: var(--space-md);
}
.flyer-stage{
  position: relative; height: min(78vh, 960px);
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--space-2xl);
}
.flyer-stage img{
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,.5);
  background: var(--color-black); cursor: zoom-in;
}
.flyer-icon-btn, .flyer-side{
  border: 1px solid var(--line-strong); background: rgba(9,9,9,.7); color: var(--color-white);
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.flyer-icon-btn{ width: 42px; height: 42px; font-size: 1.05rem; }
.flyer-side{ position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; font-size: 1.25rem; }
.flyer-side.prev{ left: 0; }
.flyer-side.next{ right: 0; }
.flyer-icon-btn:hover:not(:disabled), .flyer-side:hover:not(:disabled){ background: var(--surface-2); border-color: var(--color-gold); }
.flyer-icon-btn:disabled, .flyer-side:disabled{ opacity: .3; cursor: default; }

.flyer-bar{ display: flex; align-items: center; justify-content: center; gap: var(--space-sm); flex-wrap: wrap; margin-top: var(--space-md); }
.flyer-bar .flyer-step{ display: none; }
.flyer-dots{ display: flex; align-items: center; }
.flyer-dot{ width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.flyer-dot::before{
  content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--text-secondary);
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease);
}
.flyer-dot.active::before{ background: var(--color-gold); border-color: var(--color-gold); }
.flyer-counter{ font-family: var(--font-mono); font-size: .78rem; color: var(--text-secondary); min-width: 7.5rem; text-align: center; }

.flyer-close{ display: none; }
.flyer-error{ display: none; text-align: center; padding: var(--space-2xl) var(--space-md); color: var(--text-secondary); }
.flyer-viewer.has-error .flyer-error{ display: block; }
.flyer-viewer.has-error .flyer-stage{ display: none; }

/* Without JS, show just the first page (controls need JS) */
.flyer-viewer:not(.is-ready) .flyer-side,
.flyer-viewer:not(.is-ready) .flyer-bar{ display: none; }

.flyer-viewer.is-fullscreen{
  position: fixed; inset: 0; z-index: 200; border: 0; border-radius: 0;
  background: rgba(9,9,9,.98); display: flex; flex-direction: column;
}
.flyer-viewer.is-fullscreen .flyer-stage{ flex: 1; height: auto; min-height: 0; }
.flyer-viewer.is-fullscreen .flyer-stage img{ cursor: zoom-out; }
.flyer-viewer.is-fullscreen .flyer-close{ display: flex; position: absolute; top: var(--space-md); right: var(--space-md); z-index: 5; }

@media (max-width: 767px){
  .flyer-stage{ height: min(66vh, 620px); padding: 0; }
  .flyer-side{ display: none; }
  .flyer-bar .flyer-step{ display: flex; }
}

/* =========================================================================
   WHAT'S NEW — one hand-edited <article class="whatsnew-item"> per item.
   Even-numbered items flip sides automatically, so adding or removing an
   item never needs a CSS change. Photos are cropped to fill the frame;
   add .is-render to the image box for a product cutout so it isn't cropped.
   ========================================================================= */
.whatsnew-item{ padding: var(--space-2xl) 0; border-top: 1px solid var(--line); }
.whatsnew-item:first-of-type{ border-top: 0; }
.whatsnew-item:nth-of-type(even) .whatsnew-media{ order: 2; }
.whatsnew-media{ border-radius: var(--radius-md); overflow: hidden; background: var(--color-black); border: 1px solid var(--line); aspect-ratio: 4/3; }
.whatsnew-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.whatsnew-media.is-render{ display: flex; align-items: center; justify-content: center; padding: var(--space-lg); }
.whatsnew-media.is-render img{ object-fit: contain; }
.whatsnew-item h2{ margin-top: var(--space-sm); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.whatsnew-item p{ margin-top: var(--space-md); color: var(--text-secondary); max-width: 56ch; }
.whatsnew-item .btn-row{ margin-top: var(--space-lg); }
@media (max-width: 900px){ .whatsnew-item:nth-of-type(even) .whatsnew-media{ order: 0; } }
@media (max-width: 767px){ .whatsnew-item{ padding: var(--space-xl) 0; } }

/* =========================================================================
   CLOSING NOTICE BAR (shown on every page while includes/header.php has
   $closingNotice on). Dignified rather than alarming: dark surface, thin
   gold edge, red only on the small "Closing Sale" tag.
   ========================================================================= */
.closing-bar{
  background: var(--surface-1); border-bottom: 1px solid var(--gold-dim);
  font-size: .86rem; line-height: 1.4; text-align: center; color: var(--color-white);
  padding: var(--space-xs) 0;
}
.closing-bar a{ color: var(--color-gold); text-decoration: underline; text-underline-offset: 3px; }
.closing-bar a:hover{ color: var(--color-white); }

/* =========================================================================
   SCROLL REVEAL
   Restrained fade, not the pulsing-glow motion of the old system.
   ========================================================================= */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--duration-slow) var(--ease),
              transform var(--duration-slow) var(--ease);
}
.reveal.in{ opacity: 1; transform: translateY(0); }
