/* Elevated Fireplace — static lookalike
   Brand tokens from live Divi CSS */
:root {
  --bg: #0d0d0d;
  --bg-2: #121212;
  --bg-3: #212121;
  --bg-4: #242424;
  --bg-5: #262626;
  --gold: #bf8845;
  --gold-light: #f2c166;
  --gold-pale: #f2de79;
  --taupe: #c2ab92;
  --white: #ffffff;
  --text: #ffffff;
  --text-muted: #c2ab92;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Karla", Helvetica, Arial, Lucida, sans-serif;
  --header-h: 88px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--gold-pale); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 .6em;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; color: var(--gold-light); }
p { margin: 0 0 1em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.container-wide { width: min(100% - 2rem, 1400px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,13,13,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(191,136,69,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: .75rem 0;
}
.logo img { height: 52px; width: auto; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: .55rem .85rem;
  font-family: var(--font-sans);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-list a {
  color: var(--white);
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-list a:hover,
.nav-list a.active { color: var(--gold-light); }
.nav-list .has-sub > a::after {
  content: " ▾";
  font-size: .7em;
  color: var(--gold);
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--bg-3);
  border: 1px solid rgba(191,136,69,.35);
  padding: .5rem 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu { display: block; }
.submenu a {
  display: block;
  padding: .65rem 1.1rem;
  text-transform: none;
  font-size: .95rem;
  letter-spacing: 0;
}
.submenu a:hover { background: rgba(191,136,69,.15); }

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border: 2px solid var(--gold);
  color: var(--gold-light) !important;
  font-family: var(--font-sans);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover {
  background: var(--gold);
  color: var(--bg) !important;
  border-color: var(--gold);
}
.btn-solid {
  background: var(--gold);
  color: var(--bg) !important;
  border-color: var(--gold);
}
.btn-solid:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--bg) !important;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-2) center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.75) 55%, rgba(13,13,13,.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 1.5rem;
  max-width: 820px;
}
.hero .flame-icon {
  width: 64px;
  margin: 0 auto 1.25rem;
  opacity: .95;
}
.hero h1 { margin-bottom: .5rem; }
.hero .lead {
  font-size: 1.15rem;
  color: var(--taupe);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}
.gold-rule {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 1.5rem;
}

/* Sections */
.section { padding: 5rem 0; }
.section-dark { background: var(--bg); }
.section-alt { background: var(--bg-2); }
.section-charcoal { background: var(--bg-3); }
.section-gold {
  background: linear-gradient(135deg, rgba(191,136,69,.92), rgba(191,136,69,.75)),
              url("../images/luxury-fireplace2.jpg") center/cover;
  color: var(--white);
}
.section-intro { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-intro p { color: var(--text-muted); }
.eyebrow {
  display: inline-block;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: .75rem;
}

/* Split layouts */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.split.reverse .split-media { order: 2; }
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.split-copy h2 { color: var(--gold-pale); }
.split-copy p { color: rgba(255,255,255,.88); }

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  position: relative;
  background: var(--bg-4);
  border: 1px solid rgba(191,136,69,.2);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}
.service-card .card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .45;
  transition: opacity .3s, transform .4s;
}
.service-card:hover .card-bg { opacity: .6; transform: scale(1.05); }
.service-card .card-body {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(13,13,13,.92));
}
.service-card h4 { margin-bottom: .5rem; }
.service-card .btn { padding: .55rem 1rem; font-size: .75rem; }

/* Concept band */
.concept-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.concept-band .media {
  background: center/cover no-repeat;
  min-height: 320px;
}
.concept-band .copy {
  background: var(--gold);
  color: var(--bg);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.concept-band .copy h2 { color: var(--bg); }
.concept-band .copy p { color: rgba(13,13,13,.88); }
.concept-band .copy .btn {
  border-color: var(--bg);
  color: var(--bg) !important;
  align-self: flex-start;
  margin-top: .5rem;
}
.concept-band .copy .btn:hover {
  background: var(--bg);
  color: var(--gold-light) !important;
}

/* Before/After slider */
.ba-wrap { max-width: 900px; margin: 0 auto; }
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  border: 1px solid rgba(191,136,69,.35);
  background: #000;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .ba-after { z-index: 1; }
.ba-slider .ba-before-clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}
.ba-slider .ba-before-clip img {
  max-width: none;
  height: 100%;
  width: 900px; /* overridden by JS to slider width */
  object-fit: cover;
  object-position: left center;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--gold-light);
  z-index: 3;
  transform: translateX(-50%);
}
.ba-handle::before {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 4px 18px rgba(0,0,0,.45);
  border: 2px solid var(--gold-pale);
}
.ba-label {
  position: absolute;
  top: 12px;
  z-index: 4;
  background: rgba(13,13,13,.75);
  color: var(--gold-light);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .65rem;
  border: 1px solid rgba(191,136,69,.4);
}
.ba-label.before { left: 12px; }
.ba-label.after { right: 12px; }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid a,
.gallery-grid .gal-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-4);
  border: 1px solid rgba(191,136,69,.15);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-grid a:hover img { transform: scale(1.06); }

/* Portfolio feature rows */
.portfolio-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 0;
  margin-bottom: 2rem;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(191,136,69,.2);
}
.portfolio-row:nth-child(even) { grid-template-columns: .8fr 1.2fr; }
.portfolio-row:nth-child(even) .pr-media { order: 2; }
.portfolio-row .pr-media {
  background: center/cover no-repeat;
  min-height: 280px;
}
.portfolio-row .pr-copy {
  background: var(--bg-3);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .75rem;
}
.portfolio-row .pr-copy .tag {
  color: var(--gold-pale);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .78rem;
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  text-align: center;
  overflow: hidden;
  background: #0d0d0d;
  border-bottom: 1px solid rgba(191,136,69,.25);
}
.page-hero h1 { margin-bottom: .4rem; }

/* About */
.owner-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--bg-3);
  border: 1px solid rgba(191,136,69,.25);
  padding: 2rem;
}
.owner-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.license {
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
  margin-top: 1rem;
}
.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.mini-card {
  background: var(--bg-4);
  border: 1px solid rgba(191,136,69,.2);
  padding: 1.5rem;
  text-align: center;
}
.mini-card h3 { color: var(--gold-light); font-size: 1.35rem; margin: 0; }

/* Services list */
.services-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem 2rem;
}
.services-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--taupe);
}
.services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .55rem;
  height: .55rem;
  background: var(--gold);
  border-radius: 1px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2.5rem;
}
.contact-info {
  background: var(--bg-3);
  border: 1px solid rgba(191,136,69,.25);
  padding: 2rem;
}
.contact-info dt {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 1.25rem;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: .35rem 0 0; font-size: 1.1rem; }
.contact-info a { color: var(--white); }
.contact-info a:hover { color: var(--gold-light); }
.contact-form {
  background: var(--bg-4);
  border: 1px solid rgba(191,136,69,.25);
  padding: 2rem;
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid rgba(191,136,69,.35);
  color: var(--white);
  padding: .85rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-light);
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--text-muted); margin-top: .75rem; }

/* CTA footer band */
.cta-band {
  position: relative;
  text-align: center;
  padding: 4.5rem 1.5rem;
  overflow: hidden;
  background: #0d0d0d;
}
.cta-band h2 { margin-bottom: .4rem; }
.cta-band p { color: var(--taupe); max-width: 520px; margin: 0 auto 1.25rem; }
.cta-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
  color: var(--white);
  font-size: 1.05rem;
}
.cta-contact a { color: var(--gold-light); }

/* Site footer */
.site-footer {
  background: #080808;
  border-top: 1px solid rgba(191,136,69,.2);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
}
.site-footer .footer-logo {
  height: 40px;
  margin: 0 auto 1rem;
  opacity: .9;
}
.site-footer a { color: var(--taupe); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.92);
  place-items: center;
  padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-height: 90vh;
  max-width: 92vw;
  object-fit: contain;
  border: 1px solid rgba(191,136,69,.35);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse,
  .concept-band,
  .contact-grid,
  .owner-card,
  .portfolio-row,
  .portfolio-row:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media,
  .portfolio-row:nth-child(even) .pr-media { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-3);
    border-bottom: 1px solid rgba(191,136,69,.3);
    padding: 1rem;
  }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-list a { display: block; padding: .85rem .5rem; }
  .submenu {
    position: static;
    display: none;
    border: none;
    background: rgba(0,0,0,.25);
    box-shadow: none;
  }
  .has-sub.open > .submenu { display: block; }
}
@media (max-width: 640px) {
  .card-grid,
  .gallery-grid,
  .services-list,
  .mini-cards { grid-template-columns: 1fr; }
  .logo img { height: 42px; }
  .concept-band .copy { padding: 2.25rem 1.5rem; }
}

/* ===== Upgrades: flames, 3D logo, motion ===== */
.hero.hero-cinematic {
  min-height: min(92vh, 900px);
  background: #0d0d0d;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-media video,
.hero-media .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-media .hero-poster {
  z-index: 0;
}
.hero-media video {
  z-index: 1;
}
#flame-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .85;
}
.hero.hero-cinematic::before {
  background:
    linear-gradient(180deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,.35) 35%, rgba(13,13,13,.55) 70%, rgba(13,13,13,.95) 100%),
    radial-gradient(ellipse at 50% 70%, rgba(191,136,69,.18), transparent 55%);
  z-index: 3;
}
.hero-cinematic .hero-content {
  z-index: 4;
  max-width: 960px;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}
.hero-3d {
  position: relative;
  width: min(92vw, 820px);
  height: clamp(180px, 28vw, 280px);
  margin: 0 auto 1.25rem;
  user-select: none;
  -webkit-user-select: none;
}
.hero-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)) drop-shadow(0 0 28px rgba(242,193,102,.22));
}
.hero-3d .logo-3d-fallback {
  display: none;
  width: min(100%, 720px);
  margin: 0 auto;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.5));
}
.hero-3d.is-fallback .logo-3d-fallback { display: block; }
.hero-3d-hint {
  margin: -.25rem 0 1.25rem;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(242,222,121,.65);
}
.hero-cinematic h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  margin-bottom: .35rem;
}
.hero-cinematic .lead {
  max-width: 640px;
}

.logo img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.35));
}

/* Reveal / motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1), filter .85s ease;
  will-change: opacity, transform;
}
.reveal.reveal-up { transform: translateY(36px); }
.reveal.reveal-scale { transform: translateY(18px) scale(.96); }
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-scale.in { transform: none; }

.split-media img,
.gallery-grid a,
.gallery-grid img,
.owner-card img,
.pr-media img,
.service-card {
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease, filter .45s ease;
}
.split-media:hover img,
.gallery-grid a:hover img,
.owner-card:hover img,
.pr-media:hover img {
  transform: translateY(-6px) scale(1.02);
  filter: brightness(1.05);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.gallery-grid a {
  display: block;
  overflow: hidden;
}
.gallery-grid a img {
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.gallery-grid a:hover img {
  transform: scale(1.06);
}

/* Soft float for hero media cards when in view */
@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.reveal.in.float-soft {
  animation: softFloat 5.5s ease-in-out infinite;
}

.reduce-motion .reveal,
.reduce-motion .reveal.in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .split-media:hover img,
  .gallery-grid a:hover img,
  .service-card:hover {
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .hero-3d { height: 160px; }
  .hero-3d-hint { font-size: .7rem; }
}




/* ===== Living header/footer flames (inline SVG) ===== */
.logo.flame-live {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo .logo-wordmark {
  height: 58px;
  width: auto;
  display: block;
  overflow: visible;
}
.site-footer .footer-logo.flame-live {
  height: 52px;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
  overflow: visible;
}

/* Transform origin at flame base */
.flame-live .flame-mark {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flameBob 0.85s ease-in-out infinite;
  will-change: transform, filter;
}
.flame-live .flame-body {
  animation: flameFlicker 0.7s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
.flame-live .flame-core {
  animation: flameCore 0.55s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  mix-blend-mode: screen;
}
.flame-live .flame-tip {
  animation: flameTip 0.45s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  mix-blend-mode: screen;
}

@keyframes flameBob {
  0%, 100% {
    transform: translate(0, 0) scale(1, 1) rotate(0deg);
    filter: drop-shadow(0 0 2px rgba(242,193,102,.45)) drop-shadow(0 0 8px rgba(191,136,69,.35));
  }
  20% {
    transform: translate(1.5px, -4px) scale(1.02, 1.14) rotate(-2deg);
    filter: drop-shadow(0 0 6px rgba(242,222,121,.85)) drop-shadow(0 0 16px rgba(242,193,102,.55));
  }
  45% {
    transform: translate(-1.5px, -2px) scale(0.97, 0.92) rotate(1.5deg);
    filter: drop-shadow(0 0 3px rgba(191,136,69,.5)) drop-shadow(0 0 10px rgba(242,193,102,.35));
  }
  70% {
    transform: translate(1px, -5px) scale(1.04, 1.18) rotate(-1deg);
    filter: drop-shadow(0 0 8px rgba(255,246,200,.95)) drop-shadow(0 0 18px rgba(242,193,102,.65));
  }
}
@keyframes flameFlicker {
  0%, 100% { opacity: 1; transform: scale(1, 1); }
  30% { opacity: 0.92; transform: scale(1.03, 1.08); }
  55% { opacity: 1; transform: scale(0.98, 0.94); }
  80% { opacity: 0.95; transform: scale(1.02, 1.1); }
}
@keyframes flameCore {
  0%, 100% { opacity: 0.55; transform: scale(1, 1) translateY(0); }
  40% { opacity: 0.9; transform: scale(1.08, 1.2) translateY(-3px); }
  70% { opacity: 0.45; transform: scale(0.92, 0.88) translateY(1px); }
}
@keyframes flameTip {
  0%, 100% { opacity: 0.75; transform: scale(1, 1) translateY(0); }
  25% { opacity: 1; transform: scale(1.15, 1.35) translateY(-5px); }
  50% { opacity: 0.4; transform: scale(0.85, 0.8) translateY(2px); }
  75% { opacity: 0.95; transform: scale(1.1, 1.25) translateY(-4px); }
}

/* Extra pulse on whole logo link */
.logo.flame-live {
  animation: brandHalo 1.8s ease-in-out infinite;
}
@keyframes brandHalo {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(242,193,102,0)); }
  50% { filter: drop-shadow(0 0 10px rgba(242,193,102,.4)); }
}

@media (max-width: 640px) {
  .logo .logo-wordmark { height: 46px; }
  .site-footer .footer-logo.flame-live { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .flame-live .flame-mark,
  .flame-live .flame-body,
  .flame-live .flame-core,
  .flame-live .flame-tip,
  .logo.flame-live {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ===== Live fire bands (CTA + page-hero) ===== */
.band-fire-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.band-fire-media .band-fire-poster,
.band-fire-media .band-fire-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.band-fire-media .band-fire-poster { z-index: 0; }
.band-fire-media .band-fire-video { z-index: 1; }
.band-fire-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(13,13,13,.72) 0%, rgba(13,13,13,.55) 45%, rgba(13,13,13,.82) 100%),
    radial-gradient(ellipse at 50% 70%, rgba(191,136,69,.14), transparent 55%);
}
.band-fire-content {
  position: relative;
  z-index: 3;
}
.page-hero.band-fire .band-fire-media::after {
  background:
    linear-gradient(180deg, rgba(13,13,13,.75) 0%, rgba(13,13,13,.6) 40%, rgba(13,13,13,.88) 100%),
    radial-gradient(ellipse at 50% 65%, rgba(191,136,69,.12), transparent 50%);
}
@media (prefers-reduced-motion: reduce) {
  .band-fire-media .band-fire-video { display: none !important; }
}
