:root {
  /* Winit brand palette -- tweak these six values to re-theme the whole page */
  --wi-black: #262626;
  --wi-wo: #F66E26;
  --wi-white: #ffffff;
  --wi-gray: #64748b;
  --wi-lo: #fddece;
  --wi-offwhite: #f6f4f1;

  /* Template role aliases (existing rules reference these names) */
  --primary: var(--wi-black);
  --primary-dark: #1a1a1a;
  --accent: var(--wi-wo);
  --accent-rgb: 246,110,38;
  --accent-dark: #cc5a1a;
  --secondary: var(--wi-lo);
  --text: var(--wi-black);
  --text-rgb: 38, 38, 38;
  --muted: var(--wi-gray);
  --bg: var(--wi-white);
  --background: var(--wi-white);
  --light: var(--wi-offwhite);
  --dark-panel: var(--wi-black);

  --wi-font-serif: 'DM Sans', system-ui, sans-serif;
  --wi-font-condensed: 'Oswald', 'Arial Narrow', sans-serif;
  --wi-font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: var(--wi-font-serif);
  --font-body: var(--wi-font-body);
  --font-mono: var(--wi-font-body);
  --text-on-accent: #ffffff;}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700; font-size: 16px;
  padding: 16px 36px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  box-shadow: none;
  transition: transform .2s ease;
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--wi-black);
  font-weight: 700; font-size: 16px;
  padding: 14px 34px;
  border-radius: 8px;
  border: 2px solid rgba(var(--text-rgb),0.28);
  letter-spacing: 0.3px;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
  cursor: pointer;
}
.btn-outline:hover { background: rgba(var(--text-rgb),0.04); border-color: var(--wi-wo); color: var(--wi-wo); }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark-panel);
  height: 70px;
  display: flex; align-items: center;
  padding: 0 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.hero-logo { font-size: 34px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 8px 14px; border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* HERO */
.hero {
  position: relative;
  background: var(--wi-white);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(var(--text-rgb),0.08);
}
.hero-inner {
  max-width: 900px; margin: 0 auto;
  padding: clamp(52px, 8vh, 96px) 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  position: relative; z-index: 2; width: 100%;
}
.hero-logo-img { width: min(440px, 82vw); height: auto; display: block; margin-bottom: 24px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--wi-font-condensed);
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--wi-black);
  margin-bottom: 18px;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wi-wo); animation: livePulse 2s ease-out infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0); }
}
.hero-headline {
  font-family: var(--wi-font-body);
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.5px;
  color: var(--wi-black);
  max-width: 720px; margin-bottom: 30px;
}
.hero-headline em { color: var(--wi-wo); font-style: normal; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: nowrap; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .live-dot, .orb { animation: none; }
}

/* HOW IT WORKS */
.how-section {
  padding: 100px 40px;
  background: var(--light);
  position: relative; overflow: hidden;
}
.how-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(var(--text-rgb),0.05) 1px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.container { max-width: 1200px; margin: 0 auto; }
.section-kicker {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--primary);
  margin-bottom: 12px;
}
.section-headline {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.5px;
  color: var(--text); margin-bottom: 16px;
}
.section-sub {
  font-size: 18px; font-weight: 400;
  color: rgba(var(--text-rgb),0.6); max-width: 560px;
  margin-bottom: 60px;
}
.how-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 20px;
  position: relative; align-items: stretch;
}
.how-card {
  background: var(--wi-white); border-radius: 16px;
  padding: 36px 28px;
  border: 4px solid var(--wi-gray);
  position: relative; overflow: hidden;
  align-self: stretch;
}
.how-num {
  font-size: 48px; font-weight: 900; color: var(--wi-lo);
  line-height: 1; margin-bottom: 16px;
}
.how-title { font-family: var(--wi-font-condensed); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.02em; }
.how-desc { font-size: 14px; color: rgba(var(--text-rgb),0.65); line-height: 1.6; }

/* CATEGORIES */
.categories-section {
  padding: 100px 40px;
  background: var(--dark-panel);
  position: relative; overflow: hidden;
}
.categories-section .section-headline,
.categories-section .section-kicker { color: #fff; }
.categories-section .section-sub { color: rgba(255,255,255,0.6); }

.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cat-card {
  display: block;
  border-radius: 20px; overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  cursor: pointer;
  border: 3px solid var(--wi-lo);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: border-color .2s ease;
}
.cat-card:hover, .cat-card:focus-visible { border-color: var(--wi-wo); }
.cat-card-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cat-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 44px 28px 26px; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0) 100%);
}
.cat-card-tag {
  display: inline-block; padding: 4px 12px; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.cat-card-title { font-family: var(--wi-font-condensed); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 8px; text-transform: uppercase; }
.cat-card-desc { font-size: 13px; color: rgba(255,255,255,0.95); line-height: 1.5; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

/* anyone-section + products-section removed per spec (sections deleted entirely) */

/* UPCOMING SHOWS */
.shows-section { padding: 100px 40px; background: var(--wi-offwhite); }
.shows-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 8px; }
.show-card { background: var(--wi-white); border-radius: 16px; border: 2px solid var(--wi-lo); padding: 30px 28px; display: flex; flex-direction: column; transition: border-color .2s ease; }
.show-card:hover, .show-card:focus-within { border-color: var(--wi-wo); }
.show-date { display: flex; align-items: baseline; gap: 8px; font-family: var(--wi-font-condensed); margin-bottom: 14px; }
.show-day { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wi-wo); }
.show-when { font-size: 15px; font-weight: 500; color: var(--wi-black); }
.show-cat { align-self: flex-start; font-family: var(--wi-font-condensed); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--wi-gray); border: 1px solid var(--wi-lo); border-radius: 8px; padding: 3px 11px; margin-bottom: 14px; }
.show-title { font-family: var(--wi-font-serif); font-size: 23px; font-weight: 600; color: var(--wi-black); line-height: 1.2; margin-bottom: 10px; }
.show-desc { font-size: 14px; color: var(--wi-gray); line-height: 1.55; margin-bottom: 22px; flex-grow: 1; }
.show-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(38,38,38,0.08); padding-top: 16px; }
.show-seats { font-size: 13px; font-weight: 600; color: var(--wi-gray); }
.show-cta { font-family: var(--wi-font-condensed); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wi-wo); white-space: nowrap; }
.show-cta:hover { color: var(--accent-dark); }

/* TESTIMONIALS (replaces the former blog section) */
.testimonials-section {
  padding: 100px 40px;
  background: var(--light);
}
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.sf-testimonial-item {
  background: var(--wi-white); border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--wi-lo);
}
.sf-testimonial-quote { font-size: 16px; color: var(--wi-gray); line-height: 1.6; margin-bottom: 18px; display: block; }
.sf-testimonial-name { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; display: block; }
.sf-testimonial-role { font-size: 13px; color: var(--wi-gray); display: block; }

/* CLOSING CTA */
.cta-band { position: relative; overflow: hidden; background: var(--wi-black); padding: 112px 40px; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 42%, rgba(var(--accent-rgb),0.20), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-eyebrow { font-family: var(--wi-font-condensed); text-transform: uppercase; letter-spacing: 0.18em; font-size: 14px; font-weight: 600; color: var(--wi-wo); margin-bottom: 16px; }
.cta-band h2 { font-family: var(--wi-font-serif); font-size: clamp(36px,4.5vw,56px); font-weight: 600; line-height: 1.08; color: #fff; margin-bottom: 18px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.6; margin: 0 auto 34px; max-width: 520px; }
.cta-band .btn-primary { justify-content: center; }

/* faq-section, cta-section, contact-section, location-section removed per spec (sections deleted entirely; FAQ + Contact move to their own pages) */

/* FOOTER */
.site-footer {
  background: var(--dark-panel); color: rgba(255,255,255,0.7);
  padding: 60px 40px 30px;
}
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.5); max-width: 260px; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color .2s; }
.footer-col ul li a:hover { color: var(--wi-wo); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .how-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-inner .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-inner { padding: 60px 20px; }
  .how-section, .categories-section, .testimonials-section, .cta-band, .shows-section { padding: 72px 20px; }
  .how-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .shows-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
body h1, body h2, body h3, body h4, body h5, body h6,
body .sf-post-title, body .sf-testimonial-name, body .sf-team-member h3, body .sf-portfolio-item h3, body .sf-faq-item h3,
body .woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); }
.sf-style-bold-vibrant .nav-cta > a:hover { color: #1F2937 !important; background: #FFBE0B !important; }

/* sf-form-color-reset */
.contact-form-wrapper { color: var(--text, #111); }
.contact-form-wrapper input::placeholder, .contact-form-wrapper textarea::placeholder { color: var(--muted, #6b7280); }
.panel-dark .contact-form-wrapper, .section.dark .contact-form-wrapper, .section-dark .contact-form-wrapper, .dark .contact-form-wrapper, .bg-dark .contact-form-wrapper, .bg-black .contact-form-wrapper, [class*="panel-dark"] .contact-form-wrapper { color: var(--text-on-dark, #f0f0f0); }

/* sf-form-input-box-floor */
.contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  display: block !important;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--input-border, #9ca3af);
  border-radius: 6px;
  background: var(--input-bg, #fff);
  color: var(--text, #111);
}
.contact-form-wrapper textarea { min-height: 120px; }
.panel-dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.panel-dark .contact-form-wrapper textarea,
.panel-dark .contact-form-wrapper select,
.section.dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.section.dark .contact-form-wrapper textarea,
.section.dark .contact-form-wrapper select,
.section-dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.section-dark .contact-form-wrapper textarea,
.section-dark .contact-form-wrapper select,
.dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.dark .contact-form-wrapper textarea,
.dark .contact-form-wrapper select,
.bg-dark .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.bg-dark .contact-form-wrapper textarea,
.bg-dark .contact-form-wrapper select,
.bg-black .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.bg-black .contact-form-wrapper textarea,
.bg-black .contact-form-wrapper select,
[class*="panel-dark"] .contact-form-wrapper input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
[class*="panel-dark"] .contact-form-wrapper textarea,
[class*="panel-dark"] .contact-form-wrapper select {
  border-color: var(--input-border-on-dark, rgba(255,255,255,0.35));
  background: var(--input-bg-on-dark, rgba(255,255,255,0.06));
  color: var(--text-on-dark, #f0f0f0);
}
.cta-band{display:none !important}/*wi-hide-cta*/

/* Hero font cap — keeps hero CTA + value prop above the fold. The Stage-1
   prompt instructs clamp(48px, 8vw, 120px); 8vw = ~115px at 1440px, producing
   an ~800px headline block that pushes the CTA below the fold. */
:where(h1) {
  font-size: clamp(32px, 4.4vw, 60px) !important;
  line-height: 1.07 !important;
  text-wrap: balance;
  overflow-wrap: break-word;
}

:where(body > section:first-of-type [class*="grid"],
       [class*="hero"] [class*="grid"]) {
  gap: clamp(20px, 2.4vw, 32px) !important;
}
/* #384 — same exclusion, same reason: this rule also sets PADDING off a class-substring match, so an
   image whose class happens to contain "action"/"cta" would grow the identical 8px band. Not observed
   in the wild yet; excluded because it is the same defect, and fixing only the site a first grep
   surfaced has already failed three times this mission (z-lifts 2-of-5, pseudo-domain 1-of-8). */
:where(body > section:first-of-type [class*="action"],
       body > section:first-of-type [class*="cta"],
       [class*="hero"] [class*="action"],
       [class*="hero"] [class*="cta"]):where(:not(img, video, picture, svg, canvas, iframe, object, embed)) {
  margin-top: 8px !important;
  padding-top: 8px !important;
}
:where(body > section:first-of-type [class*="copy"],
       [class*="hero"] [class*="copy"]) {
  padding-top: 0 !important;
}
/* #778 follow-up — tighten the hero lead/subhead so the primary CTA lifts above
   the fold even inside the preview wrapper (top promo bar + bottom device bar). */
:where(body > section:first-of-type [class*="lead"],
       [class*="hero"] [class*="lead"],
       [class*="hero-copy"] > p) {
  font-size: clamp(14px, 1.1vw, 16px) !important;
  line-height: 1.5 !important;
  margin-top: 10px !important;
  margin-bottom: 14px !important;
}
@media (min-width: 769px) {
  :where([class*="hero"], [class*="copy"]):has(> h1) {
    min-width: min(460px, 52%) !important;
  }
  :where([class*="hero"], [class*="copy"]):has(> h1) > h1 {
    max-width: 100% !important;
    font-size: clamp(30px, 4vw, 54px) !important;
  }
  /* #1616-v2 — class-agnostic: the GPL GPT hero column carried neither a
     "hero" nor "copy" class and stayed ~240px wide -> 8-line h1. In the FIRST
     section, whatever element directly contains the h1 gets the same floor. */
  body > section:first-of-type :where(*:has(> h1)) {
    min-width: min(460px, 52%) !important;
  }
}
/* Mobile: tighter headline (keeps a 28px floor; >=16px avoids iOS focus-zoom
   on adjacent inputs). */
@media (max-width: 768px) {
  :where(h1) {
    font-size: clamp(28px, 7.5vw, 42px) !important;
    line-height: 1.1 !important;
  text-wrap: balance;
  overflow-wrap: break-word;
  }
}
/* Footer link contrast: bare <a> (e.g. a mailto: email) in footers fall back to
   the UA link-blue (#0000ee), which is illegible on a dark brand footer
   (contrast ~1.2 on a navy footer). Make footer links inherit the footer's
   already-legible text colour instead. */
:where(footer) a, :where([class*="footer" i]) a, :where([class*="Footer"]) a { color: inherit; text-underline-offset: 2px; }

/* sf-card-text-contrast: dark card needs light text */
.site-nav,
.site-nav h1, .site-nav h2, .site-nav h3, .site-nav h4, .site-nav h5, .site-nav h6, .site-nav p, .site-nav li, .site-nav a:not([class*="btn"]), .site-nav span, .site-nav strong, .site-nav em, .site-nav blockquote, .site-nav dt, .site-nav dd, .site-nav small, .site-nav figcaption { color: #f0f0f0; }
.site-nav .btn-outline { color: #f0f0f0; border-color: #f0f0f0; }
.site-nav .btn-ghost { color: #f0f0f0; border-color: #f0f0f0; }
.site-nav .btn-link { color: #f0f0f0; border-color: #f0f0f0; }
.site-nav .btn-secondary { color: #f0f0f0; border-color: #f0f0f0; }
/* sf-card-text-contrast: dark card needs light text */
.categories-section,
.categories-section h1, .categories-section h2, .categories-section h3, .categories-section h4, .categories-section h5, .categories-section h6, .categories-section p, .categories-section li, .categories-section a:not([class*="btn"]), .categories-section span, .categories-section strong, .categories-section em, .categories-section blockquote, .categories-section dt, .categories-section dd, .categories-section small, .categories-section figcaption { color: #f0f0f0; }
.categories-section .btn-outline { color: #f0f0f0; border-color: #f0f0f0; }
.categories-section .btn-ghost { color: #f0f0f0; border-color: #f0f0f0; }
.categories-section .btn-link { color: #f0f0f0; border-color: #f0f0f0; }
.categories-section .btn-secondary { color: #f0f0f0; border-color: #f0f0f0; }
/* sf-card-text-contrast: dark card needs light text */
.faq-section,
.faq-section h1, .faq-section h2, .faq-section h3, .faq-section h4, .faq-section h5, .faq-section h6, .faq-section p, .faq-section li, .faq-section a:not([class*="btn"]), .faq-section span, .faq-section strong, .faq-section em, .faq-section blockquote, .faq-section dt, .faq-section dd, .faq-section small, .faq-section figcaption { color: #f0f0f0; }
.faq-section .btn-outline { color: #f0f0f0; border-color: #f0f0f0; }
.faq-section .btn-ghost { color: #f0f0f0; border-color: #f0f0f0; }
.faq-section .btn-link { color: #f0f0f0; border-color: #f0f0f0; }
.faq-section .btn-secondary { color: #f0f0f0; border-color: #f0f0f0; }
/* sf-card-text-contrast: eyebrow class in dark bg .hero */
.hero .hero-stat-num { color: #f0f0f0; }
/* sf-card-text-contrast: eyebrow class in dark bg .categories-section */
.categories-section .section-kicker { color: #f0f0f0; }
/* sf-card-text-contrast: eyebrow class in dark bg .categories-section */
.categories-section .section-headline { color: #f0f0f0; }
/* sf-card-text-contrast: eyebrow class in dark bg .faq-section */
.faq-section .section-kicker { color: #f0f0f0; }
/* sf-card-text-contrast: eyebrow class in dark bg .faq-section */
.faq-section .section-headline { color: #f0f0f0; }

/* sf-text-overlay-scrim */
.hero,
.cat-card { position: relative; isolation: isolate; }

.hero :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, .btn-row, button, a),
.cat-card :where(h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, .btn-row, button, a) { position: relative; z-index: 2; }

/* Mobile overflow guard — kills horizontal scroll on narrow viewports.
   overflow-x:clip is stricter than overflow-x:hidden and cannot be
   subverted by descendant sticky/fixed ancestors establishing scroll
   containers. */
html { overflow-x: clip !important; max-width: 100vw !important; }
body { overflow-x: clip !important; max-width: 100vw !important; }
/* Fallback for browsers without overflow-x: clip support. */
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden !important; }
}
/* Decorative shapes commonly extend past viewport on mobile. Their
   parent contexts (.hero / .hero-bg / sections with shape backgrounds)
   should clip — visual loses nothing on mobile, mobile gains a usable
   layout. */
.hero, .hero-bg, .hero-visual, [class*="hero-section"],
section [class*="decorative"], section [class*="float-shape"],
section [class*="abstract-bg"] {
  overflow-x: clip !important;
}
@supports not (overflow-x: clip) {
  .hero, .hero-bg, .hero-visual, [class*="hero-section"],
  section [class*="decorative"], section [class*="float-shape"],
  section [class*="abstract-bg"] {
    overflow-x: hidden !important;
  }
}
/* Force card-grid stacking on narrow viewports so portfolio/blog/
   product/team grids don't extend past the viewport horizontally. */
@media (max-width: 600px) {
  .sf-portfolio-grid,
  .sf-blog-grid,
  .sf-products-grid,
  .sf-team-grid,
  [class*="portfolio-grid"],
  [class*="blog-grid"],
  [class*="products-grid"],
  [class*="team-grid"] {
    grid-template-columns: 1fr !important;
  }
}
/* #135 — cap oversized full-width content-image slots. A full-width photo slot (e.g.
   .services-bg-photo, .shop-visual) whose inner img carries an inline aspect-ratio with no
   height bound renders enormous (~960-1200px tall on desktop — Zach's "images too large",
   sturgis-gpt-r138 §02 .shop-visual = 1278x959 at ar 4/3). Bound the slot + its image to a
   sane height with object-fit:cover (crops to the focal area, never distorts or overflows the
   section). The [class*="visual"] pattern catches section-visual containers (shop-visual,
   media-visual, etc.) but EXCLUDES the hero (hero-visual / hero media-fill), which is meant to
   be full-bleed. Hero-fill images (data-sf-hero-image) + logos/icons are unaffected.
   SF_CONTENT_IMG_CAP=off reverts. */
[class*="bg-photo"], [class*="feature-photo"], [class*="showcase-photo"], [class*="section-photo"],
[class*="visual"]:not([class*="hero"]) {
  max-height: 600px !important;
  overflow: hidden !important;
}
[class*="bg-photo"] > img, [class*="feature-photo"] > img,
[class*="showcase-photo"] > img, [class*="section-photo"] > img,
[class*="visual"]:not([class*="hero"]) > img {
  max-height: 600px !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* Layout-safety (SF_LAYOUT_SAFETY_CSS). (a) A fixed-height card media wrapper (e.g. .service-media in a
   grid-template-rows:220px card) holding an aspect-ratio image with no height bound lets the image
   overflow its row and — being position:relative — paint OVER the card's own heading (dcon .service-media
   over .service-body). Clip the wrapper + cover-fit the img. Excludes hero/visual (full-bleed by design)
   and social/icon/logo. */
[class*="-media"]:not([class*="hero"]):not([class*="visual"]):not([class*="social"]):not([class*="icon"]):not([class*="logo"]) {
  overflow: hidden !important;
}
[class*="-media"]:not([class*="hero"]):not([class*="visual"]):not([class*="social"]):not([class*="icon"]):not([class*="logo"]) > img {
  height: 100% !important;
  object-fit: cover !important;
}
/* (b) Top-align any contact 2-col container so a short info column isn't stretched to a tall form
   column's height and vertically-centered into dead space. Anchor on the .contact-card child (used by
   .split AND .cta-box and other container names), so it generalizes across layouts. align-items is a
   no-op on non-grid/flex containers, so this is safe. */
.contact-section .split, .split:has(form), [class*="cta-box"]:has(form),
:has(> [class*="contact-card"]) {
  align-items: start !important;
}
/* Hamburger toggle — sf-ui.js APPENDS a fully-independent <aside class="sf-mobnav">
   at the END of <body>. Outside any Claude-emitted stacking context. We don't
   touch the original .nav-links at all (hide on mobile via CSS); the mobile
   menu is a wholly separate component with its own click handlers. */
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; -webkit-tap-highlight-color: transparent; }
/* Stage 1 sometimes emits its OWN CSS-only mobile menu (a <input type="checkbox" id="nav-toggle">
   + <label class="hamburger"> :checked hack). The raw checkbox is a state-holder, never meant to be
   seen — but nothing hid it, so a stray ~14px checkbox rendered in the DESKTOP nav. Visually hide any
   nav/menu toggle checkbox (kept functional + focusable for the :checked hack, just off-screen). */
input[type="checkbox"]#nav-toggle, input[type="checkbox"][id*="nav-toggle"],
input[type="checkbox"][id*="menu-toggle"], input[type="checkbox"].nav-toggle,
input[type="checkbox"].menu-toggle {
  position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important;
  margin: 0 !important; padding: 0 !important; pointer-events: none !important;
}
/* #1270 — white bars with a dark outline + soft shadow so the hamburger is
   visible on ANY nav background (currentColor was resolving to black on the
   dark dealermate nav -> invisible). The outline keeps it visible on light navs. */
.hamburger span { display: block; width: 24px; height: 2px; background: #fff !important; margin: 5px 0; border-radius: 2px; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.45); transition: transform .2s, opacity .2s; }
.sf-mobnav {
  position: fixed; top: 0; right: 0;
  height: 100%; height: 100dvh;
  width: min(86vw, 320px);
  background: #fff; color: #1f2937;
  box-shadow: -8px 0 32px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform .25s ease-out;
  z-index: 2147483646;
  display: flex; flex-direction: column;
  padding: 72px 24px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
}
.sf-mobnav.sf-mobnav-open { transform: translateX(0) !important; visibility: visible !important; }
.sf-mobnav a {
  display: block; padding: 14px 4px; font-size: 17px; line-height: 1.4;
  color: #1f2937; text-decoration: none; border-bottom: 1px solid #e5e7eb;
  -webkit-tap-highlight-color: rgba(0,0,0,.05);
}
.sf-mobnav a:active { background: rgba(0,0,0,0.04); }
.sf-mobnav-close {
  position: absolute; top: 12px; right: 12px;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer;
  font-size: 28px; line-height: 1; color: inherit;
  -webkit-tap-highlight-color: rgba(0,0,0,.05);
}
.sf-mobnav-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease-out;
  z-index: 2147483645;
}
.sf-mobnav-backdrop.sf-mobnav-open { opacity: 1 !important; pointer-events: auto !important; }
body.sf-mobnav-locked { overflow: hidden !important; }
@media (max-width: 900px) {
  /* #1270 — pin the hamburger to the RIGHT. margin-left:auto is a no-op when the
     nav is display:block and the button is inline-flex (the real dealermate case:
     <nav style="z-index:2147483647 !important;"> block > .nav-inner + .hamburger), so position it absolutely instead.
     :has() makes the button's container the positioning context regardless of its
     class (the nav often has none) so it pins to the nav's right edge, not the
     viewport's. */
  nav:has(> .hamburger), header:has(.hamburger), .site-header:has(.hamburger), .nav-inner:has(~ .hamburger) { position: relative; }
  /* top:14px (fixed), NOT top:50%+translateY: the nav collapses to ~0px on mobile
     when its in-flow content is hidden, so 50% resolved to ~0 and pushed the
     button half ABOVE the viewport -> user saw "1 line not 3". A fixed top from
     the nav's top edge keeps all 3 bars on-screen regardless of nav height. */
  .hamburger { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2147483647; position: absolute !important; right: 16px; top: 14px; transform: none; margin: 0 !important; }
  /* #1270 — on mobile show ONLY the hamburger. Hide the desktop nav entirely (link
     list, logo bar, CTA). An earlier :has() attempt to KEEP a logo-bearing
     .nav-links container produced an unwanted opaque white bar (with a white-on-white
     hamburger) plus the fixed accent line scrolling over content. The wanted design
     is a clean transparent hero with just the 3 floating white hamburger bars. The
     hamburger top:14px fix above keeps it on-screen even though the nav collapses. */
  nav .nav-links, nav ul.nav-links, nav ol.nav-links { display: none !important; }
  /* Hide the gen's fixed decorative accent/divider bar on mobile (e.g. dealermate's
     .accent-bar gradient line) so nothing floats or scrolls over the hero. */
  .accent-bar, [class*="accent-bar"], nav .accent, header + .accent-bar { display: none !important; }
  /* Covers the case where Stage 1 puts .nav-links on the <nav> itself
     instead of on a child <ul>/<div>. Direct anchor + list-item children
     of the nav get hidden; the hamburger is a <button>, not an <a>/<li>,
     so it stays visible. */
  nav.nav-links > a:not(.nav-logo):not(.nav-cta),
  nav.nav-links > li,
  nav.nav-links > ul > li { display: none !important; }
  /* #1274b — the brand logo often lives INSIDE a .nav-links wrapper (e.g.
     .nav-inner.nav-links), so the blanket hide above also removes the logo on
     mobile. Re-show ONLY a logo-bearing wrapper, forced fully TRANSPARENT (no
     bg/shadow/border/blur) so it does NOT reintroduce the opaque white bar a
     prior :has() attempt caused; hide just its inner link list. The floating
     hamburger (a sibling <button>, not inside .nav-links) is unaffected.
     :has() — modern mobile browsers; older degrade to the logo-hidden look. */
  nav .nav-links:has(.nav-logo-img),
  nav .nav-links:has([class*="logo"]),
  nav .nav-links:has(> a img) {
    display: flex !important; align-items: center !important;
    background: transparent !important; box-shadow: none !important;
    border: 0 !important; backdrop-filter: none !important;
  }
  nav .nav-links:has(.nav-logo-img) > ul,
  nav .nav-links:has(.nav-logo-img) > ol,
  nav .nav-links:has([class*="logo"]) > ul,
  nav .nav-links:has(> a img) > ul { display: none !important; }
  nav .nav-logo-img, nav [class*="logo"] img { display: block !important; max-height: 40px; width: auto; }
}
@media (min-width: 901px) {
  .sf-mobnav, .sf-mobnav-backdrop { display: none !important; }
}

/* V61-fix */ .orb { max-width:100vw !important; overflow-x:hidden !important; }
/* V61-fix-base */ html, body { overflow-x:hidden !important; } img, video, iframe { max-width:100% !important; }
/* V73-fix */ body > section:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > a:nth-of-type(1) { color: #0d0d0d !important; }
/* V73-fix */ html > body > section:nth-of-type(4) > div:nth-of-type(3) > div:nth-of-type(1) > p:nth-of-type(1) { color: #0f0f0f !important; }
/* V73-fix */ html > body > section:nth-of-type(4) > div:nth-of-type(3) > div:nth-of-type(1) > h2 { color: #6b6b6b !important; }
/* V73-fix */ html > body > section:nth-of-type(5) > div > div:nth-of-type(1) > a { color: #e8e8e8 !important; }
/* V73-fix */ html > body > section:nth-of-type(8) > div > div > a:nth-of-type(1) { color: #b0b0b0 !important; }

*,*::before,*::after{text-shadow:none !important}

@media (max-width:768px){.site-nav .nav-logo-img,header .nav-logo-img{height:26px}.hero-ctas{gap:10px}.hero-ctas .btn-primary,.hero-ctas .btn-outline{padding:12px 18px;font-size:14px}}

/* ---- category-page design (home's language) ---- */
.cat-hero { background: var(--wi-white); padding: clamp(52px,7vh,92px) 40px; border-bottom: 1px solid rgba(var(--text-rgb),0.08); }
.cat-hero-inner { max-width:1200px; margin:0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.cat-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--wi-font-condensed); font-size:14px; font-weight:600; text-transform:uppercase; letter-spacing:0.18em; color: var(--wi-black); margin-bottom: 18px; }
.cat-headline { font-family: var(--wi-font-body); font-size: clamp(32px,4vw,50px); font-weight: 800; line-height: 1.06; letter-spacing: -0.5px; color: var(--wi-black); margin-bottom: 18px; }
.cat-headline em { color: var(--wi-wo); font-style: normal; }
.cat-sub { font-size: 18px; color: rgba(var(--text-rgb),0.62); line-height: 1.6; max-width: 520px; margin-bottom: 32px; }
.cat-hero-media { border-radius: 20px; overflow: hidden; border: 3px solid var(--wi-lo); box-shadow: 0 14px 44px rgba(0,0,0,0.14); aspect-ratio: 3/2; }
.cat-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.features-section { background: var(--wi-offwhite); padding: 100px 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card { background: var(--wi-white); border-radius: 16px; padding: 34px 28px; border: 2px solid var(--wi-lo); transition: border-color .2s ease, transform .2s ease; }
.feature-card:hover { border-color: var(--wi-wo); }
.feature-title { font-family: var(--wi-font-condensed); font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--wi-black); margin-bottom: 12px; }
.feature-desc { font-size: 14px; color: rgba(var(--text-rgb),0.66); line-height: 1.6; }
.features-note { margin-top: 40px; font-size: 15px; font-style: italic; color: var(--wi-gray); max-width: 660px; }
.products-section { background: var(--wi-white); padding: 100px 40px; }
.sf-products-section { margin-top: 8px; }
/* WC's ul.products is a CSS grid in this theme; its legacy clearfix ::before/::after
   become grid items and shove the products out of column 1 — neutralize them. */
.sf-products-section ul.products::before, .sf-products-section ul.products::after { content: none !important; display: none !important; }
@media (max-width: 900px){ .sf-products-section ul.products { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px){ .sf-products-section ul.products { grid-template-columns: 1fr !important; } }
.sf-products-section .price { color: var(--wi-black); font-weight: 700; }
.sf-products-section .button, .sf-products-section a.button { background: var(--wi-wo) !important; color: #fff !important; border-radius: 8px !important; font-weight: 700 !important; }
@media (max-width: 768px){ .products-section { padding: 72px 20px; } }
@media (max-width: 900px){ .cat-hero-inner { grid-template-columns: 1fr; gap: 32px; } .cat-hero-media { order: -1; } }
@media (max-width: 768px){ .cat-hero { padding: 40px 20px; } .features-section { padding: 72px 20px; } .feature-grid { grid-template-columns: 1fr; } }
/* SiteForge nav sync BEGIN — do not edit, regenerated on publish */
.nav-logo {
  font-size: 26px; font-weight: 900; letter-spacing: -0.5px;
  color: #fff;
}
.nav-logo{
  font-size: 26px; font-weight: 900; letter-spacing: -0.5px;
  color: #fff;
}
.nav-logo span{ color: var(--wi-wo); }
.footer-brand .nav-logo{ margin-bottom: 14px; display: block; }
/* SITEFORGE STYLE POST-PROCESS OVERRIDES (bold-vibrant) */
/* Bold-vibrant nav CTA buttons need a contrasting fill on the dark hero
   header. Scope to <a> children of .nav-cta — when LLMs use .nav-cta as a
   container class (current pattern), styling the container itself paints
   a giant white box in the top-right of the header. */
.sf-style-bold-vibrant .nav-cta > a{ color: #FFB066 !important; background: #fff !important; }
.site-nav .nav-logo,header .nav-logo{display:inline-flex;align-items:center}
.nav-logo-img{display:block;width:auto}
.site-nav .nav-logo-img,header .nav-logo-img{height:30px}
.footer-brand .nav-logo-img{height:34px}
nav.nav-links:not(.site-nav){display:none !important}
/* SiteForge nav sync END */