/*
Theme Name: Winston Higham Design
Theme URI: https://winstonhighamdesign.co.uk
Author: Winston Higham Design
Author URI: https://winstonhighamdesign.co.uk
Description: Luxury bespoke picture framing, fine art presentation, specialist paintwork (marbling, woodgrain, crackle, signwriting), and magic man hard surface restorations based in Mawdsley, Lancashire. Includes complete interactive framing studio, auto-hiding navigation, and responsive layouts.
Version: 1.0.3
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: winston-higham-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, full-width-template, responsive-layout, portfolio, art-gallery
*/


/* ==========================================================================
   WINSTON HIGHAM DESIGN - MASTER ATELIER STYLESHEET
   100% Faithful to AI Studio React Preview · Luxury Artisan Palette
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --wh-bg-cream: #faf9f5;
  --wh-bg-surface: #ffffff;
  --wh-bg-warm: #f5f2ea;
  --wh-bg-stage: #ede8df;
  --wh-dark: #111215;
  --wh-dark-card: #1c1d21;
  --wh-navy: #0f2c4e;
  --wh-navy-light: #163f70;
  --wh-red: #ba1a1a;
  --wh-red-hover: #961313;
  --wh-gold: #caa47e;
  --wh-gold-light: #fef08a;
  --wh-border: #e5dfd3;
  --wh-border-dark: #292524;
  --wh-text-primary: #121316;
  --wh-text-secondary: #44403c;
  --wh-text-muted: #78716c;
  --wh-font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --wh-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body, .wh-app-wrapper {
  margin: 0;
  padding: 0;
  background-color: var(--wh-bg-cream);
  color: var(--wh-text-primary);
  font-family: var(--wh-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .wh-font-serif {
  font-family: var(--wh-font-serif);
  color: var(--wh-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wh-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
}

@media (max-width: 640px) {
  .wh-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ==========================================================================
   STATIC TOP MENU: ALWAYS ON TOP, PERMANENTLY FIXED & VISIBLE
   ========================================================================== */
.wh-sticky-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  background: rgba(250, 249, 245, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--wh-border) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
}

.wh-top-bar {
  background-color: var(--wh-dark) !important;
  color: #f4efe6 !important;
  font-size: 12px !important;
  padding: 8px 0 !important;
  border-bottom: 2px solid var(--wh-navy) !important;
  opacity: 1 !important;
  display: block !important;
  max-height: none !important;
}

.wh-top-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wh-top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #cbd5e1;
}

.wh-top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wh-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  transition: padding 0.2s ease;
}

.wh-sticky-header.scrolled .wh-nav-bar {
  padding: 10px 0;
}

.wh-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.wh-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 1024px) {
  .wh-nav-links {
    display: none !important;
  }
}

.wh-nav-item {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wh-text-secondary);
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  display: inline-block;
}

.wh-nav-item:hover, .wh-nav-item.active {
  color: var(--wh-navy);
  background: rgba(15, 44, 78, 0.05);
}

.wh-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wh-mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--wh-border);
  padding: 8px 12px;
  font-size: 20px;
  line-height: 1;
  color: var(--wh-dark);
  cursor: pointer;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .wh-mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile Slide-Down Drawer */
.wh-mobile-drawer {
  display: none;
  background: #faf9f5;
  border-top: 1px solid var(--wh-border);
  padding: 20px 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.wh-mobile-drawer.open {
  display: block !important;
}

.wh-mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--wh-dark);
  border-bottom: 1px solid #e5dfd3;
}

.wh-mobile-nav-link:hover {
  color: var(--wh-navy);
}

/* Category Navigation Bar (Sticky Dock - directly beneath static top menu) */
.wh-category-dock {
  background: #ffffff !important;
  border-bottom: 1px solid var(--wh-border) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
  position: sticky !important;
  top: 110px !important;
  z-index: 99990 !important;
  padding: 8px 0 !important;
}

.wh-category-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
}

.wh-category-dock-inner::-webkit-scrollbar {
  display: none;
}

.wh-category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.wh-cat-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--wh-text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wh-cat-tab-btn:hover {
  background: #f5f2ea;
  color: var(--wh-dark);
}

.wh-cat-tab-btn.active {
  background: #f5f2ea;
  color: var(--wh-navy);
  border-bottom: 2px solid var(--wh-red);
}

/* Buttons */
.wh-btn-primary {
  background: var(--wh-navy);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 2px;
  border: 1px solid var(--wh-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  text-decoration: none;
}

.wh-btn-primary:hover {
  background: var(--wh-navy-light);
  border-color: var(--wh-navy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 44, 78, 0.25);
}

.wh-btn-secondary {
  background: #ffffff;
  color: var(--wh-dark) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid var(--wh-border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wh-btn-secondary:hover {
  background: #f5f2ea;
  border-color: #d6cfc2;
}

.wh-btn-red {
  background: var(--wh-red);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 2px;
  border: 1px solid var(--wh-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wh-btn-red:hover {
  background: var(--wh-red-hover);
}

/* ==========================================================================
   TOP HERO: EXACT EDITORIAL SPLIT + 21:9 MERESIDE CENTERPIECE
   ========================================================================== */
.wh-hero {
  position: relative;
  background: linear-gradient(180deg, #f5f2ea 0%, #faf9f5 100%);
  border-bottom: 1px solid #e7e1d5;
  padding: 40px 0 60px;
  overflow: hidden;
}

.wh-hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: radial-gradient(#111215 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.wh-hero-upper-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .wh-hero-upper-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.wh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--wh-red);
  margin-bottom: 12px;
}

.wh-kicker-bar {
  width: 24px;
  height: 2px;
  background: var(--wh-red);
}

.wh-hero-title {
  font-family: var(--wh-font-serif);
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--wh-dark);
  margin: 0 0 16px 0;
}

.wh-highlight-blue {
  color: var(--wh-navy);
  text-decoration: underline;
  text-decoration-color: var(--wh-red);
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
}

.wh-hero-sub {
  font-size: 16px;
  color: var(--wh-text-secondary);
  line-height: 1.65;
  max-width: 650px;
  margin-bottom: 20px;
}

/* 4 Checkmarks Grid */
.wh-hero-checks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .wh-hero-checks-grid {
    grid-template-columns: 1fr;
  }
}

.wh-hero-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #292524;
}

.wh-hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Right Atelier Navigation Hub Card (5 cols) */
.wh-atelier-hub-card {
  background: #111215;
  color: #ffffff;
  padding: 24px 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  border-top: 4px solid var(--wh-red);
  border-radius: 2px;
}

.wh-hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #292524;
  margin-bottom: 16px;
}

.wh-hub-btn-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(28, 29, 33, 0.95);
  border: 1px solid #292524;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 2px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.wh-hub-btn-item:hover {
  background: rgba(15, 44, 78, 0.7);
  border-color: #3b82f6;
  transform: translateX(3px);
}

.wh-hub-icon-box {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: var(--wh-navy);
  color: #ffffff;
  flex-shrink: 0;
  border-radius: 2px;
}

.wh-hub-icon-box.red {
  background: var(--wh-red);
}

/* Full-Width 11 Mereside Centerpiece Showcase */
.wh-mereside-centerpiece {
  background: #111215;
  border: 1px solid #292524;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  padding: 24px;
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .wh-mereside-centerpiece {
    padding: 14px;
  }
}

.wh-centerpiece-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #292524;
  margin-bottom: 16px;
}

.wh-centerpiece-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  background: #090a0b;
  overflow: hidden;
  border: 4px solid #24272c;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .wh-centerpiece-frame {
    aspect-ratio: 16 / 9;
  }
}

.wh-gilded-inlay {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(198, 146, 59, 0.28);
  pointer-events: none;
}

.wh-caption-overlay-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  max-width: 540px;
  background: rgba(17, 18, 21, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 20px;
  border: 1px solid rgba(87, 83, 78, 0.6);
  color: #ffffff;
}

@media (max-width: 640px) {
  .wh-caption-overlay-card {
    position: static;
    margin-top: 14px;
    max-width: 100%;
  }
}

/* ==========================================================================
   DISCIPLINE SECTIONS & CORE FEATURES
   ========================================================================== */
.wh-section {
  padding: 70px 0;
  border-bottom: 1px solid var(--wh-border);
}

.wh-section.bg-warm {
  background-color: var(--wh-bg-warm);
}

.wh-section-header-block {
  max-width: 820px;
  margin-bottom: 40px;
}

.wh-section-title {
  font-size: clamp(28px, 3.8vw, 42px);
  margin-bottom: 14px;
}

.wh-section-lead {
  font-size: 15px;
  color: var(--wh-text-secondary);
  line-height: 1.7;
  margin: 0;
}

.wh-features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}

@media (max-width: 1024px) {
  .wh-features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wh-features-grid-4 {
    grid-template-columns: 1fr;
  }
}

.wh-feature-card {
  background: #ffffff;
  padding: 22px;
  border: 1px solid var(--wh-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.wh-feature-card h3 {
  font-size: 15px;
  color: var(--wh-navy);
  margin: 0 0 8px 0;
}

.wh-feature-card.red-heading h3 {
  color: var(--wh-red);
}

.wh-feature-card p {
  font-size: 12.5px;
  color: var(--wh-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   INTERACTIVE FRAMING STUDIO SIMULATOR
   ========================================================================== */
.wh-framing-studio-box {
  background: #ffffff;
  border: 1px solid var(--wh-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.wh-studio-banner {
  background: var(--wh-dark);
  color: #ffffff;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 4px solid var(--wh-navy);
}

.wh-studio-banner h3 {
  color: #ffffff;
  font-size: 26px;
  margin: 4px 0 0 0;
}

.wh-studio-price-badge {
  text-align: right;
  background: rgba(255,255,255,0.05);
  padding: 8px 20px;
  border-radius: 2px;
  border-left: 3px solid var(--wh-gold-light);
}

.wh-price-total {
  font-family: var(--wh-font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--wh-gold-light);
  display: block;
}

.wh-studio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 520px;
}

@media (max-width: 1024px) {
  .wh-studio-grid {
    grid-template-columns: 1fr;
  }
}

.wh-studio-stage {
  background: var(--wh-bg-stage);
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--wh-border);
}

.wh-stage-wall-texture {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(#57534e 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.wh-frame-outer-wrapper {
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 20px 45px rgba(0,0,0,0.35), 0 4px 10px rgba(0,0,0,0.2);
}

.wh-frame-moulding-box {
  transition: all 0.25s ease;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.6);
}

.wh-frame-mount-mat {
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wh-frame-art-canvas {
  width: 220px;
  height: 275px;
  position: relative;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.wh-glass-reflection {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.04) 40%, transparent 60%);
  transition: opacity 0.3s ease;
}

.wh-studio-controls {
  padding: 30px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wh-ctrl-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wh-ctrl-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wh-navy);
  display: flex;
  justify-content: space-between;
}

.wh-moulding-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wh-moulding-pill-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #d6cfc2;
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.wh-moulding-pill-btn:hover {
  border-color: var(--wh-navy);
}

.wh-moulding-pill-btn.active {
  border-color: var(--wh-navy);
  background: rgba(15, 44, 78, 0.05);
  box-shadow: 0 0 0 1px var(--wh-navy);
}

.wh-moulding-thumb {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.wh-mount-colors-row {
  display: flex;
  gap: 8px;
}

.wh-mount-color-btn {
  width: 34px;
  height: 34px;
  border-radius: 2px;
  border: 1px solid #d6cfc2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wh-mount-color-btn.active {
  transform: scale(1.12);
  box-shadow: 0 0 0 2px var(--wh-navy);
}

.wh-glaze-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wh-glaze-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #d6cfc2;
  background: #ffffff;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wh-glaze-btn.active {
  border-color: var(--wh-navy);
  background: rgba(15, 44, 78, 0.05);
  color: var(--wh-navy);
}

/* ==========================================================================
   INTERACTIVE SWATCH EXPLORER
   ========================================================================== */
.wh-swatch-technique-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--wh-border);
}

.wh-tech-tab-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #d6cfc2;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.wh-tech-tab-btn.active {
  background: var(--wh-dark);
  color: #ffffff;
  border-color: var(--wh-dark);
}

.wh-swatches-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

@media (max-width: 1024px) {
  .wh-swatches-layout {
    grid-template-columns: 1fr;
  }
}

.wh-swatches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 640px) {
  .wh-swatches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wh-swatch-card {
  background: #ffffff;
  border: 1px solid var(--wh-border);
  padding: 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wh-swatch-card:hover, .wh-swatch-card.active {
  transform: translateY(-2px);
  border-color: var(--wh-red);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.wh-swatch-card.active {
  box-shadow: 0 0 0 2px var(--wh-red);
}

.wh-swatch-preview-tile {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  margin-bottom: 10px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.15);
}

.wh-swatch-inspector-box {
  background: #ffffff;
  border: 1px solid var(--wh-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 28px;
  border-radius: 2px;
  position: sticky;
  top: 130px;
}

/* ==========================================================================
   INTERACTIVE MAGIC MAN BEFORE & AFTER SLIDER
   ========================================================================== */
.wh-repair-scenarios-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .wh-repair-scenarios-row {
    grid-template-columns: 1fr;
  }
}

.wh-repair-scenario-btn {
  background: #ffffff;
  border: 1px solid var(--wh-border);
  padding: 16px;
  text-align: left;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wh-repair-scenario-btn:hover {
  border-color: #ba1a1a;
}

.wh-repair-scenario-btn.active {
  border-color: #ba1a1a;
  box-shadow: 0 0 0 2px #ba1a1a;
  background: #fffafa;
}

.wh-repair-split-container {
  background: #ffffff;
  border: 1px solid var(--wh-border);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.wh-repair-stage-outer {
  position: relative;
  width: 100%;
  height: 420px;
  background: #1c1d21;
  overflow: hidden;
  user-select: none;
}

.wh-repair-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wh-repair-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  cursor: ew-resize;
  z-index: 10;
}

.wh-repair-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: var(--wh-red);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.wh-repair-callout-footer {
  padding: 24px 30px;
  background: #faf9f5;
  border-top: 1px solid var(--wh-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   COMMISSIONS & PORTFOLIO GALLERY
   ========================================================================== */
.wh-commissions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .wh-commissions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wh-commissions-grid {
    grid-template-columns: 1fr;
  }
}

.wh-commission-card {
  background: #ffffff;
  border: 1px solid var(--wh-border);
  padding: 24px;
  border-radius: 2px;
}

.wh-commission-process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--wh-border);
}

@media (max-width: 768px) {
  .wh-commission-process-row {
    grid-template-columns: 1fr;
  }
}

.wh-portfolio-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.wh-portfolio-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .wh-portfolio-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wh-portfolio-grid-cards {
    grid-template-columns: 1fr;
  }
}

.wh-portfolio-card {
  background: #ffffff;
  border: 1px solid var(--wh-border);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.wh-portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.wh-portfolio-img-wrap {
  aspect-ratio: 16 / 10;
  background: #1c1d21;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wh-portfolio-card-body {
  padding: 20px;
}

/* ==========================================================================
   ESTIMATE MODAL DIALOG
   ========================================================================== */
.wh-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(17, 18, 21, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wh-modal-backdrop.open {
  display: flex;
}

.wh-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: 3px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  overflow: hidden;
  border-top: 4px solid var(--wh-navy);
  max-height: 90vh;
  overflow-y: auto;
}

.wh-modal-header {
  padding: 24px 28px;
  background: #faf9f5;
  border-bottom: 1px solid var(--wh-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wh-modal-close-btn {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #78716c;
}

.wh-modal-body {
  padding: 28px;
}

.wh-form-field {
  margin-bottom: 18px;
}

.wh-form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wh-navy);
  margin-bottom: 6px;
}

.wh-form-input, .wh-form-textarea, .wh-form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #d6cfc2;
  border-radius: 2px;
  font-family: inherit;
  color: var(--wh-dark);
  box-sizing: border-box;
}

.wh-form-input:focus, .wh-form-textarea:focus, .wh-form-select:focus {
  outline: none;
  border-color: var(--wh-navy);
  box-shadow: 0 0 0 2px rgba(15, 44, 78, 0.15);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.wh-site-footer {
  background: var(--wh-dark);
  color: #a8a29e;
  padding: 70px 0 30px;
  border-top: 4px solid var(--wh-navy);
  margin-top: auto;
}

.wh-footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .wh-footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .wh-footer-cols {
    grid-template-columns: 1fr;
  }
}

.wh-footer-col h4 {
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid #292524;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.wh-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wh-footer-col li {
  margin-bottom: 10px;
  font-size: 13px;
}

.wh-footer-sub {
  border-top: 1px solid #292524;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: #78716c;
}

