/* Knob Hill shared chrome — header, footer bolt, Super Bob nav badge
   2026-11-23 kh-header staging (SuperBob + red TV badge, footer lightning). */

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Lightning bolt monogram must never be clipped (header or footer) */
.brand-btn svg,
.brand-lockup svg,
.site-header svg,
.site-footer svg,
.site-head svg,
.kh-bolt,
.rv-bolt{overflow:visible}

.brand-lockup,
.site-footer .brand-lockup,
.site-header .brand-btn{
  display:flex;
  align-items:center;
  gap:.75rem;
  text-decoration:none;
  color:inherit;
  min-width:0;
}

/* Super Bob nav tab — "SuperBob" plus the red TV badge, matched to
   .sbtv-title .tv on the Super Bob TV page (same padding, tilt, glow,
   and wiggle), scaled to header type. The badge floats to the right
   of the word, with the same .08em gap and -4deg / slight lift. */
.nav-superbob,
a.nav-superbob,
button.nav-superbob,
.nav-btn.nav-superbob,
.header-nav a.nav-superbob{
  display:inline-flex !important;
  align-items:center;
  gap:0;
  position:relative;
  white-space:nowrap;
}
.nav-tv-badge{
  display:inline-block;
  color:#fff;
  background:var(--red, var(--accent, #e4002b));
  padding:.02em .16em .06em;
  margin-left:.08em;
  border-radius:.12em;
  transform:rotate(-4deg) translateY(-.04em);
  text-shadow:0 3px 0 #8a0019,0 6px 14px rgba(0,0,0,.45);
  box-shadow:0 0 0 .05em #fff,0 .08em 0 .05em #8a0019,0 0 34px rgba(228,0,43,.6);
  animation:nav-tv-wiggle 3.2s ease-in-out infinite;
  font-family:var(--font-display,"Archivo Black","Archivo",system-ui,sans-serif);
  font-weight:900;
  line-height:.86;
  letter-spacing:-.01em;
  text-transform:uppercase;
  flex:0 0 auto;
}
@keyframes nav-tv-wiggle{
  0%,86%,100%{transform:rotate(-4deg) translateY(-.04em)}
  90%{transform:rotate(3deg) translateY(-.08em) scale(1.06)}
  94%{transform:rotate(-7deg) translateY(-.02em)}
}
@media (prefers-reduced-motion:reduce){
  .nav-tv-badge{animation:none !important}
}

/* Center request / consultation button labels */
.btn-request,
.btn-request-mobile{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1;
  text-decoration:none;
  box-sizing:border-box;
}

/* ── Shared header / footer chrome for pricing + payments (and any page
   that includes this file but does not already define these). Conservative
   enough to sit alongside the home / consulting page styles. ── */
.site-header{
  position:sticky;top:0;z-index:40;
  border-bottom:1px solid var(--border,#2a2a2e);
  background:rgba(10,10,11,.95);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  padding-top:env(safe-area-inset-top);
  color:var(--text,#f5f1eb);
  font-family:var(--font-sans,"Archivo",system-ui,sans-serif);
}
.site-header a{color:inherit;text-decoration:none}
.site-header .wrap.header-row,
.site-header .header-row{
  display:flex;align-items:center;gap:.75rem;
  padding-block:.75rem;
  margin-inline:auto;max-width:72rem;padding-inline:1rem;
}
.site-header .brand-name{line-height:1}
.site-header .brand-name .l1,
.site-header .brand-name .l2,
.site-footer .brand-name .l1,
.site-footer .brand-name .l2{
  display:block;
  font-family:var(--font-display,"Archivo Black","Archivo",system-ui,sans-serif);
  letter-spacing:.025em;font-size:20px;line-height:1;color:var(--text,#f5f1eb);
}
.site-header .brand-name .l2,
.site-footer .brand-name .l2{color:var(--amber,#ffb800)}
.site-header .brand-name .rule,
.site-footer .brand-name .rule{
  display:block;height:2px;width:100%;background:var(--amber,#ffb800);margin-block:3px;
}
@media (min-width:640px){
  .site-header .brand-name .l1,
  .site-header .brand-name .l2,
  .site-footer .brand-name .l1,
  .site-footer .brand-name .l2{font-size:24px}
}
.site-header .header-actions{
  margin-left:auto;display:none;align-items:center;gap:.5rem;
}
@media (min-width:768px){
  .site-header .header-actions{display:flex}
}
.site-header .header-phone{font-size:16px;font-weight:700;color:var(--dim,#a8a29e)}
.site-header .header-phone:hover{color:#fff}
.site-header .btn-request{
  margin-left:.5rem;background:var(--accent,#e4002b);color:#fff;
  padding:.875rem 1.5rem;font-size:16px;font-weight:800;
}
.site-header .btn-request:hover{background:#ff1a44;color:#fff}
.site-header .btn-request-mobile{
  margin-left:auto;background:var(--accent,#e4002b);color:#fff;
  padding:.75rem 1.25rem;font-size:14px;font-weight:800;
  white-space:nowrap;flex-shrink:0;
}
@media (min-width:768px){
  .site-header .btn-request-mobile{display:none}
}
.site-header .main-nav{
  display:flex;flex-wrap:nowrap;gap:.15rem;
  overflow-x:auto;overflow-y:hidden;
  padding-bottom:.4rem;padding-inline:1rem;
  margin-inline:auto;max-width:72rem;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.site-header .main-nav::-webkit-scrollbar{display:none}
.site-header .nav-btn{
  flex:0 0 auto;white-space:nowrap;
  padding:.5rem .7rem;font-size:13px;font-weight:800;
  letter-spacing:.025em;color:var(--dim,#a8a29e);
  background:transparent;border:0;cursor:pointer;
  font-family:inherit;text-decoration:none;
  transition:background .15s,color .15s;
}
.site-header .nav-btn:hover{background:var(--surface2,#1e1e22);color:#fff}
.site-header .nav-btn.active,
.site-header .nav-btn[aria-current="page"]{background:#fff;color:#000}
.site-header .nav-btn.active-green{background:var(--green,#1d5c3a);color:#fff}
@media (min-width:1100px){
  .site-header .main-nav{flex-wrap:wrap;overflow-x:visible;row-gap:.25rem}
  .site-header .nav-btn{font-size:14px;padding:.625rem .875rem}
}
@media (max-width:1399px){
  .site-header .brand-btn svg{width:72px!important;height:46px!important}
  .site-header .brand-name .l1,
  .site-header .brand-name .l2{font-size:16px}
  .site-header .btn-request-mobile{padding:.625rem .75rem;font-size:13px}
  .site-header .nav-btn{padding:.5rem .625rem;font-size:13px}
}
@media (max-width:374px){
  .site-header .brand-btn svg{width:60px!important;height:38px!important}
  .site-header .brand-name .l1,
  .site-header .brand-name .l2{font-size:14px}
  .site-header .btn-request-mobile{padding:.5rem .625rem;font-size:12px}
}

/* Footer */
.site-footer{
  position:relative;
  border-top:1px solid var(--border,#2a2a2e);
  background:#070708;
  color:var(--text,#f5f1eb);
  font-family:var(--font-sans,"Archivo",system-ui,sans-serif);
}
.site-footer a{color:inherit;text-decoration:none}
.site-footer .wrap,
.site-footer .footer-inner{
  margin-inline:auto;max-width:72rem;
  padding:3rem 1rem 2.5rem;
}
.site-footer .footer-grid{
  display:grid;align-items:start;gap:2.5rem;
}
@media (min-width:768px){
  .site-footer .footer-grid{grid-template-columns:1fr auto;gap:3rem}
}
.site-footer .kicker-sm{
  font-size:12px;font-weight:800;letter-spacing:.25em;color:var(--dim,#a8a29e);
  margin:0;
}
.site-footer .contact-list{margin:1rem 0 0;padding:0;list-style:none;font-size:16px;font-weight:600}
.site-footer .contact-list li + li{margin-top:.75rem}
.site-footer .contact-list a:hover{color:var(--accent,#e4002b)}
.site-footer .contact-list a.red{color:var(--accent,#e4002b)}
.site-footer .contact-list a.red:hover{text-decoration:underline}
.site-footer .footer-email{font-weight:600;color:inherit}
.site-footer .footer-photo{width:12rem;margin:0}
@media (min-width:640px){.site-footer .footer-photo{width:14rem}}
@media (min-width:768px){.site-footer .footer-photo{width:13rem;margin-right:2.5rem}}
@media (min-width:1024px){.site-footer .footer-photo{width:15rem;margin-right:4rem}}
.site-footer .footer-photo img{
  aspect-ratio:1;width:100%;border:2px solid var(--amber,#ffb800);object-fit:cover;display:block;
}
.site-footer .field-pills{
  margin:1rem 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;
}
.site-footer .field-pills li{
  border-radius:9999px;border:1px solid var(--border,#2a2a2e);
  background:var(--surface2,#1e1e22);padding:.375rem .875rem;
  font-size:12px;font-weight:800;letter-spacing:.025em;color:var(--text,#f5f1eb);
}
.site-footer .legal-links{
  margin-top:2rem;display:flex;flex-wrap:wrap;align-items:center;
  column-gap:1.5rem;row-gap:.5rem;font-size:14px;font-weight:600;color:var(--dim,#a8a29e);
}
.site-footer .legal-links a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.site-footer .footer-bottom{
  border-top:1px solid var(--border,#2a2a2e);
}
.site-footer .footer-bottom p{
  margin:0 auto;max-width:72rem;padding:1rem;text-align:center;
  font-size:12px;color:var(--dim,#a8a29e);line-height:1.625;
}

/* Explicit footer bolt size so the monogram is never squashed */
.site-footer .kh-bolt,
.site-footer .brand-lockup svg.kh-bolt{
  width:97px;
  height:62px;
  flex:0 0 auto;
  overflow:visible;
}
@media (max-width:374px){
  .site-footer .kh-bolt,
  .site-footer .brand-lockup svg.kh-bolt{width:72px;height:46px}
}


/* KH wordmark sequence — V morphs into a bolt, then gold light travels
   all the way across the word and the underline. No layout shift.
   prefers-reduced-motion: no animation, mark stays gold. */
.site-header .brand-btn,
.site-footer .footer-brand,
.site-footer .brand-lockup{
  position:relative;
  overflow:visible;
}
.site-header .brand-btn svg,
.site-footer .footer-brand svg,
.site-footer .brand-lockup svg{
  overflow:visible;
  flex:0 0 auto;
}
.site-header .brand-name,
.site-footer .brand-name{overflow:visible}
.site-header .brand-name .rule,
.site-footer .brand-name .rule{position:relative;overflow:visible}
.kh-rule-spark{
  position:absolute;left:0;top:50%;width:52px;height:4px;margin-top:-2px;border-radius:4px;
  pointer-events:none;opacity:0;z-index:2;
  background:linear-gradient(90deg,rgba(255,255,255,0),#fff 55%,#fff8d6);
  box-shadow:0 0 8px 2px rgba(255,222,120,.95),0 0 18px 4px rgba(255,184,0,.6)
}
.kh-bolt-streak{
  position:absolute;left:0;top:0;width:78px;height:16px;margin:0;
  border-radius:8px;pointer-events:none;opacity:0;z-index:3;
  background:linear-gradient(90deg,rgba(255,255,255,0) 0%,#fff8d6 40%,#ffffff 72%,#ffe566 100%);
  box-shadow:0 0 10px 3px rgba(255,236,170,.95),0 0 22px 7px rgba(255,184,0,.55);
  will-change:transform,opacity
}
.site-header .brand-name .l2.kh-sweep,
.site-footer .brand-name .l2.kh-sweep{
  background-image:linear-gradient(90deg,var(--amber,#ffb800) 0%,var(--amber,#ffb800) 36%,#fff3c4 44%,#ffffff 50%,#fff3c4 56%,var(--amber,#ffb800) 64%,var(--amber,#ffb800) 100%);
  background-size:300% 100%;background-position:100% 0;background-repeat:no-repeat;
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  animation:kh-word-sweep 1s linear forwards
}
.site-header .brand-name .rule.kh-sweep,
.site-footer .brand-name .rule.kh-sweep{
  background-color:var(--amber,#ffb800);
  background-image:linear-gradient(90deg,var(--amber,#ffb800) 0%,var(--amber,#ffb800) 36%,#ffffff 50%,var(--amber,#ffb800) 64%,var(--amber,#ffb800) 100%);
  background-size:300% 100%;background-position:100% 0;background-repeat:no-repeat;
  animation:kh-word-sweep 1s linear forwards
}
@keyframes kh-word-sweep{
  from{background-position:100% 0}
  to{background-position:0% 0}
}
.kh-chrome-flash,
.kh-header-flash{
  position:absolute;inset:0;pointer-events:none;opacity:0;z-index:1;
  background:radial-gradient(ellipse 420px 140px at var(--kh-fx,80px) var(--kh-fy,50%),rgba(255,244,200,.55),rgba(255,184,0,.12) 45%,rgba(255,184,0,0) 75%)
}
@media (prefers-reduced-motion:reduce){
  .kh-rule-spark,.kh-bolt-streak,.kh-chrome-flash,.kh-header-flash{display:none}
  .site-header .brand-name .l2.kh-sweep,
  .site-footer .brand-name .l2.kh-sweep,
  .site-header .brand-name .rule.kh-sweep,
  .site-footer .brand-name .rule.kh-sweep{
    animation:none;
    background-image:none;
    color:var(--amber,#ffb800);
    -webkit-text-fill-color:var(--amber,#ffb800)
  }
}

/* Footer brand lockup — same flex as the previous inline styles, no layout shift */
.site-footer .footer-brand,
.site-footer .brand-lockup{
  display:flex;
  align-items:center;
  gap:.75rem;
}

/* Footer message line under the wordmark */
.site-footer .footer-message{
  margin:0.75rem 0 0;
  max-width:28rem;
}
.site-footer .footer-message__pillars{
  display:block;
  margin:0;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.12em;
  color:var(--text,#f5f1eb);
}
.site-footer .footer-message__tagline{
  display:block;
  margin:0.25rem 0 0;
  font-size:13px;
  font-style:italic;
  font-weight:500;
  letter-spacing:0.01em;
  color:var(--dim,#a8a29e);
}

/* Approved 2026-11-30 — high-end footer palette (navy/gold/ivory, RV crest). */
.site-footer{
  background:#0E1B2C;
  color:#F7F3EA;
  border-top-color:#B8975A;
}
.site-footer .kicker-sm{
  color:#D3BA87;
}
.site-footer .contact-list a,
.site-footer .contact-list a.red,
.site-footer .footer-email{
  color:#F7F3EA;
}
.site-footer .contact-list a:hover,
.site-footer .contact-list a.red:hover{
  color:#D3BA87;
  text-decoration:underline;
  text-underline-offset:4px;
}
.site-footer .footer-photo img{
  border-color:#B8975A;
}
.site-footer .brand-name .l1{
  color:#F7F3EA;
}
.site-footer .brand-name .l2,
.site-footer .brand-name .l2.kh-sweep{
  color:#B8975A;
  -webkit-text-fill-color:#B8975A;
  background-image:none;
}
.site-footer .brand-name .rule,
.site-footer .brand-name .rule.kh-sweep{
  background:#B8975A;
  background-image:none;
  background-color:#B8975A;
}
.site-footer .footer-message__pillars{
  color:#F7F3EA;
}
.site-footer .footer-message__tagline{
  color:#D3BA87;
  font-style:italic;
}
.site-footer .field-pills li{
  color:#F7F3EA;
  border-color:rgba(184,151,90,0.55);
  background:transparent;
}
.site-footer .legal-links{
  color:#D3BA87;
}
.site-footer .legal-links a:hover,
.site-footer .legal-links button:hover{
  color:#F7F3EA;
}
.site-footer .footer-bottom{
  border-top-color:rgba(184,151,90,0.35);
}
.site-footer .footer-bottom p{
  color:#D3BA87;
}
.site-footer .footer-crest{
  width:62px;
  height:62px;
  object-fit:contain;
  flex-shrink:0;
  display:block;
}
@media (max-width:639px){
  .site-footer .footer-crest{width:52px;height:52px}
}
