/* =====================================================================
   v15.css — the merged build: v15 design + the /newyear motion system.
   Loaded after site.css / v14.css / onair.css / touch-motion.css.
   Page-specific design styles are inline (the designer's spec) plus a
   small <style> of generated hover classes per page.
   ===================================================================== */
:root{--max:1320px}

/* compiled template switches */
dc-if{display:contents}
dc-if[hidden]{display:none!important}
@media (max-width:1099.98px){dc-if[data-vp=d]{display:none!important}}
@media (min-width:1100px){dc-if[data-vp=m]{display:none!important}}

/* the v15 mobile call bar ships its own spacer */
body.v15{padding-bottom:0!important}
.v15 .hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* ---- hero film: poster paints first, the film fades in once it plays (v14.js) */
#heroFilm{opacity:0!important;transition:opacity 1.8s ease!important}
#heroFilm.is-playing{opacity:1!important}

/* ---- rotating proof line (v14.js rotator) inside the v15 hero */
.v15rot{position:relative;min-height:1.5em;margin:1.3rem 0 0;font-family:'Share Tech Mono',monospace;
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:#e8b04a}
.v15rot b{position:absolute;left:0;top:0;font-weight:400;white-space:nowrap;opacity:0;transform:translateY(8px);
  transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}
.v15rot b.on{opacity:1;transform:none}
.v15rot b::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#e23c2c;margin-right:.6rem;vertical-align:.12em;animation:pulse 2.6s ease-in-out infinite}

/* ---- restored /newyear sections sit on the v15 rhythm */
.v15 main,.v15 .sec{position:relative}
.v15 .sec{border-top:1px solid rgba(244,234,214,.10)}
.v15 .sec--alt{background:linear-gradient(180deg,#120c08,#0e0907)}
.v15 .chap{font-family:'Share Tech Mono',monospace;font-size:.66rem;letter-spacing:.22em;text-transform:uppercase;color:#e8b04a;display:flex;align-items:center;gap:.6rem}
.v15 .chap::before{content:"";width:26px;height:1px;background:#e23c2c;display:block;flex:none}
.v15 .chap span{color:#e8b04a}
.v15 .chap em{font-style:normal;color:#e8b04a}
.v15 .h2{margin-top:.9rem;font-size:clamp(2.1rem,4.6vw,3.5rem)}
.v15 .h2 em{font-style:normal;color:#ff5a45}

/* ---- motion the design implied but its runtime could not do:
        card photos push in when the card lifts (hover on desktop, mid-screen on touch) */
.v15 a[data-hov] > img,.v15 figure[data-hov] > img{transition:transform .9s cubic-bezier(.16,1,.3,1),filter .6s ease}
.v15 a[data-hov]:hover > img,.v15 a[data-hov].is-hot > img,
.v15 figure[data-hov]:hover > img,.v15 figure[data-hov].is-hot > img{transform:scale(1.06);filter:grayscale(.18) sepia(.14) saturate(1.12) contrast(1.06) brightness(.84)!important}
.v15 figure > img{transition:transform 1.2s cubic-bezier(.16,1,.3,1)}
.v15 figure:hover > img,.v15 figure.is-hot > img{transform:scale(1.04)}

/* staggered reveal: siblings inside a grid arrive one after another */
.v15 [data-r]{transition-delay:calc(var(--ri,0) * 70ms)}

/* the v15 attic mode buttons */
.v15 [data-on*="setCool"],.v15 [data-on*="setHeat"]{cursor:pointer}

/* lead form states */
.v15 form[data-v15lead] .fstatus{margin:.2rem 0 0;font-size:.88rem;color:#b89a73;min-height:1.2em}
.v15 form[data-v15lead] .fstatus.err{color:#ff5a45}

/* the club price was a claim; keep it on one line on narrow cards */
.v15 #club h3{overflow-wrap:anywhere}

/* nine nav items since Comfort Club + On Air came back: never wrap, tighten before the hamburger */
.v15 header nav a{white-space:nowrap}
@media (min-width:1100px) and (max-width:1379px){.v15 header nav{gap:.85rem!important}.v15 header nav a{letter-spacing:.1em!important;font-size:.64rem!important}}

/* ---- the real logo: a touch larger than the designer's crop so "Air Conditioning & Heating" reads */
.v15 .v15logo{height:46px!important}
@media (max-width:640px){.v15 .v15logo{height:40px!important}}

/* ---- "Keep up with the Cowboys": real brand marks, brand colour on hover / mid-screen on touch */
.v15 .follow a{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:.85rem;row-gap:.15rem;align-items:center;align-content:center}
.v15 .follow a .fi{grid-row:1 / span 2;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;
  border:1px solid rgba(232,176,74,.22);color:#f4ead6;background:rgba(14,9,7,.5);
  transition:color .35s ease,border-color .35s ease,background .35s ease,transform .5s cubic-bezier(.16,1,.3,1)}
.v15 .follow a b,.v15 .follow a span{grid-column:2}
.v15 .follow a:hover .fi,.v15 .follow a.is-hot .fi{color:var(--brand);border-color:var(--brand);background:rgba(244,234,214,.06);transform:scale(1.08) rotate(-4deg)}
@media (max-width:640px){.v15 .follow a .fi{width:40px;height:40px}.v15 .follow a .fi svg{width:22px;height:22px}}
.v15 .bi{display:block;flex:none}

/* ---- the real 3D house inside the v15 frames (replaces the designer's attic-only scene) */
.v15 .v15mod{position:absolute!important;inset:0!important;aspect-ratio:auto!important;height:auto!important;margin:0!important;border:0!important;border-radius:0!important;background:#0e0907;overflow:hidden}
.v15 .v15mod.is-live{height:auto!important}
.v15 .v15mod .mod__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5;filter:grayscale(.3) sepia(.25) brightness(.8);transition:opacity .8s ease}
.v15 .v15mod iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* Mode + View switches sit together and wrap cleanly on phones */
.v15 div:has(> div > [data-on="click:setCool"]){flex-wrap:wrap;justify-content:flex-end;row-gap:.5rem}

/* state-variant wrappers must never become layout boxes (they wrap grid/flex children) */
dc-mark{display:contents}
/* phones: the Mode / View labels would strand at line ends — the pills speak for themselves */
@media (max-width:640px){
  .v15 div:has(> div > [data-on="click:setCool"]){justify-content:flex-start}
  .v15 div:has(> div > [data-on="click:setCool"]) > b{display:none}
}

/* ---- v16: the blog (cowboysac.com posts moved into the design at the same URLs) ---- */
.v15j{font-size:clamp(1rem,1.18vw,1.1rem);line-height:1.7;color:rgba(244,234,214,.82);max-width:70ch}
.v15j > :first-child{margin-top:0}
.v15j p{margin:1rem 0 0}
.v15j h2{margin:2.4rem 0 0;padding-top:1.2rem;border-top:1px solid rgba(244,234,214,.10);font-family:'Oswald',sans-serif;font-weight:600;text-transform:uppercase;line-height:1.05;font-size:clamp(1.4rem,2.4vw,1.9rem);color:#f4ead6;text-wrap:balance}
.v15j h3,.v15j h4{margin:1.8rem 0 0;font-family:'Oswald',sans-serif;font-weight:600;text-transform:uppercase;line-height:1.1;font-size:clamp(1.1rem,1.7vw,1.35rem);color:#f6cd78}
.v15j ul,.v15j ol{margin:1rem 0 0;padding-left:1.2rem}
.v15j li{margin:.45rem 0 0;padding-left:.2rem}
.v15j li::marker{color:#e23c2c}
.v15j strong{color:#f4ead6;font-weight:600}
.v15j a{color:#f6cd78;border-bottom:1px solid rgba(246,205,120,.4)}
.v15j a:hover{color:#ff5a45;border-color:#ff5a45}
.v15j hr{display:none}
.v15j blockquote{margin:1.4rem 0 0;padding:.4rem 0 .4rem 1.1rem;border-left:2px solid #e23c2c;color:#f4ead6}
.v15j table{width:100%;margin-top:1.2rem;border-collapse:collapse;font-size:.95rem}
.v15j th,.v15j td{padding:.6rem .7rem;border-bottom:1px solid rgba(244,234,214,.12);text-align:left}
.v15j-card{transition:transform .6s cubic-bezier(.34,1.4,.64,1),border-color .3s}
.v15j-card:hover,.v15j-card.is-hot{transform:translateY(-4px);border-color:rgba(232,176,74,.4)!important}
@media (max-width:1099.98px){.v15j-grid{grid-template-columns:1fr!important}.v15j-aside{position:static!important}}

/* ---- v17 Trane compare table: four columns stay readable on phones ---- */
@media (max-width:639.98px){
  .v15 #compare div[data-hov] > b{font-size:.7rem!important;line-height:1.25;letter-spacing:0!important}
  .v15 #compare div[data-hov] > span{font-size:.78rem!important;line-height:1.35}
  .v15 #compare div[data-hov]{column-gap:.55rem!important}
}
