/* HP Fire: ember palette on charcoal. Tailwind handles layout; this file holds the custom pieces. */
:root {
  --ink: #120806;
  --char: #1c0f0b;
  --coal: #2a1710;
  --ember: #ff5a1f;
  --flame: #ff7a1a;
  --amber: #ffb21e;
  --crimson: #d4201a;
  --ash: #f5e9e0;
}
/* Hide scrollbar but keep scrolling enabled */

/* Chrome, Edge, Safari, Opera */
::-webkit-scrollbar {
  display: none;
}

/* Firefox */
* {
  scrollbar-width: none;
}

/* IE and older Edge */
* {
  -ms-overflow-style: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
body {
  overflow-x: hidden;
}
::selection {
  background: var(--ember);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.shadow-glow {
  box-shadow: 0 0 28px rgba(255, 90, 31, 0.45);
}
.flame-text {
  background: linear-gradient(90deg, #ffb21e, #ff5a1f 55%, #d4201a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.flame-bg {
  background: linear-gradient(135deg, #ffb21e, #ff5a1f 55%, #d4201a);
}

/* scroll progress */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(
    90deg,
    var(--amber),
    var(--ember),
    var(--crimson)
  );
}

/* header */
#header.scrolled {
  background: rgba(18, 8, 6, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-link {
  position: relative;
  padding: 0.6rem 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(245, 233, 224, 0.75);
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--ember));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.mobile-menu {
  background: rgba(18, 8, 6, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.m-link {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 500;
}
.m-link.active {
  color: var(--amber);
}

/* buttons */
.btn-fire,
.btn-ghost,
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.85rem;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn-fire {
  color: var(--ink);
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
  box-shadow: 0 8px 24px rgba(255, 90, 31, 0.3);
}
.btn-fire:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 90, 31, 0.5);
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  border-color: var(--ember);
  background: rgba(255, 90, 31, 0.12);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
  font-size: 1.15rem;
  padding: 1rem 1.7rem;
}
.btn-dark:hover {
  transform: translateY(-2px);
  background: #000;
}
.round-btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  transition: 0.2s;
}
.round-btn:hover {
  border-color: var(--ember);
  background: rgba(255, 90, 31, 0.15);
  color: var(--amber);
}
.round-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

/* hero */
.hero-glow {
  position: absolute;
  inset: -14% 0;
  z-index: -2;
  background:
    radial-gradient(
      60% 55% at 78% 30%,
      rgba(255, 90, 31, 0.28),
      transparent 70%
    ),
    radial-gradient(
      45% 45% at 10% 90%,
      rgba(212, 32, 26, 0.22),
      transparent 70%
    ),
    linear-gradient(180deg, #1d0b06, var(--ink));
}
#embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.pulse-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(255, 90, 31, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 0.7rem rgba(255, 90, 31, 0);
  }
}
.hero-frame {
  border-radius: 1.75rem;
  padding: 0.5rem;
  background: linear-gradient(
    160deg,
    rgba(255, 178, 30, 0.6),
    rgba(212, 32, 26, 0.15) 55%,
    rgba(255, 90, 31, 0.5)
  );
  box-shadow: 0 30px 80px rgba(255, 90, 31, 0.22);
}
.hero-frame .img-box {
  border-radius: 1.3rem;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: rgba(28, 15, 11, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  50% {
    transform: translateY(-12px);
  }
}

/* marquee */
.marquee {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* images */
.img-box {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--coal), #4a1c0c 60%, #7a2208);
}
.img-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.img-box:hover img {
  transform: scale(1.06);
}
.img-box img.img-fail {
  visibility: hidden;
}
.img-fallback {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 3.5rem;
  height: 3.5rem;
  transform: translate(-50%, -50%);
  color: rgba(255, 178, 30, 0.5);
}

/* headings */
.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ember);
}
.section-title {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

/* about */
.value-card {
  display: flex;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--char);
  transition: 0.25s;
}
.value-card:hover {
  border-color: rgba(255, 90, 31, 0.5);
  transform: translateY(-3px);
}
.value-card > svg {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--amber);
  margin-top: 0.1rem;
}
.value-card h3 {
  font-weight: 600;
}
.value-card p {
  font-size: 0.88rem;
  color: rgba(245, 233, 224, 0.6);
}

/* services */
.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--ink);
  transition: 0.3s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--amber),
    var(--ember),
    var(--crimson)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: 0 20px 50px rgba(255, 90, 31, 0.12);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.9rem;
  background: rgba(255, 90, 31, 0.14);
  color: var(--ember);
}
.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.service-card h3 {
  margin-top: 1.1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.service-card p {
  margin-top: 0.5rem;
  color: rgba(245, 233, 224, 0.68);
  font-size: 0.95rem;
}
.service-card ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: rgba(245, 233, 224, 0.8);
}
.service-card li::before {
  content: "▸";
  margin-right: 0.5rem;
  color: var(--ember);
}

.step {
  position: relative;
  padding: 1.4rem;
  border-radius: 1rem;
  background: var(--coal);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.step span {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
}
.step h4 {
  margin-top: 0.9rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}
.step p {
  font-size: 0.9rem;
  color: rgba(245, 233, 224, 0.65);
}

/* extinguisher selector */
.selector {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 90, 31, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 90, 31, 0.1), rgba(212, 32, 26, 0.05)),
    var(--ink);
}
@media (min-width: 1024px) {
  .selector {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.hazard-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  transition: 0.2s;
}
.hazard-btn svg {
  width: 1rem;
  height: 1rem;
}
.hazard-btn:hover {
  border-color: var(--ember);
}
.hazard-btn.is-active {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
}
.selector-result {
  padding: 1.6rem;
  border-radius: 1.25rem;
  background: var(--char);
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: pop 0.35s ease;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.selector-result .badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 178, 30, 0.15);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.selector-result h4 {
  margin-top: 0.7rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
}
.selector-result .never {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  background: rgba(212, 32, 26, 0.16);
  color: #ffb3a8;
  font-size: 0.9rem;
}
.selector-result .never svg {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
}

/* chips */
.chip {
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: 0.2s;
}
.chip:hover {
  border-color: var(--ember);
}
.chip.is-active {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
}

/* products */
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
  background: var(--char);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.3s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 90, 31, 0.5);
  box-shadow: 0 20px 50px rgba(255, 90, 31, 0.14);
}
.product-card[hidden] {
  display: none;
}
.product-card .tag {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(18, 8, 6, 0.8);
  border: 1px solid rgba(255, 178, 30, 0.5);
  color: var(--amber);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.product-card .spec {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--amber);
}
.product-card p.desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(245, 233, 224, 0.65);
  flex: 1;
}
.add-btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.65rem;
  border-radius: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255, 90, 31, 0.5);
  color: var(--ember);
  transition: 0.2s;
}
.add-btn svg {
  width: 1rem;
  height: 1rem;
}
.add-btn:hover {
  background: rgba(255, 90, 31, 0.12);
}
.add-btn.added {
  color: var(--ink);
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
  border-color: transparent;
}

/* gallery */
.gallery {
  columns: 1;
  column-gap: 1rem;
}
@media (min-width: 560px) {
  .gallery {
    columns: 2;
  }
}
@media (min-width: 1024px) {
  .gallery {
    columns: 3;
  }
}
.g-item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 1rem;
  cursor: zoom-in;
  text-align: left;
}
.g-item[hidden] {
  display: none;
}
.g-item .img-box {
  width: 100%;
}
.g-cap {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(0deg, rgba(18, 8, 6, 0.92), transparent);
  transform: translateY(35%);
  opacity: 0;
  transition: 0.35s;
}
.g-item:hover .g-cap,
.g-item:focus-visible .g-cap {
  transform: none;
  opacity: 1;
}
.g-cap span {
  font-weight: 600;
}
.g-cap svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--amber);
  flex: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(8, 3, 2, 0.95);
  animation: pop 0.25s;
}
.lightbox[hidden] {
  display: none;
}

/* testimonials */
.testimonial {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, var(--char), var(--ink));
}
#tDots button {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: 0.25s;
}
#tDots button.on {
  width: 1.8rem;
  background: var(--ember);
}
.t-fade {
  animation: pop 0.4s ease;
}

/* CTA */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 2rem;
  background: linear-gradient(120deg, #ffb21e, #ff5a1f 55%, #d4201a);
  box-shadow: 0 30px 80px rgba(255, 90, 31, 0.25);
}

/* contact */
.contact-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.contact-row > span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  flex: none;
  border-radius: 0.9rem;
  background: rgba(255, 90, 31, 0.14);
  color: var(--ember);
}
.contact-row svg {
  width: 1.3rem;
  height: 1.3rem;
}
.contact-row h3 {
  font-weight: 600;
}
.contact-row p {
  font-size: 0.92rem;
  color: rgba(245, 233, 224, 0.68);
}
.form-card {
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: 1.5rem;
  background: var(--char);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245, 233, 224, 0.8);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  color: var(--ash);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  font: inherit;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(245, 233, 224, 0.35);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.22);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #ff5a4d;
}
.field small {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: #ff8a7f;
}

/* drawer */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}
.overlay[hidden] {
  display: none;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(24rem, 100%);
  background: var(--char);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer.open {
  transform: none;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem;
  border-radius: 0.9rem;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.drawer-item .thumb {
  width: 3.4rem;
  height: 3.4rem;
  flex: none;
  border-radius: 0.6rem;
}
.drawer-item p {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.2;
}
.drawer-item small {
  color: var(--amber);
  font-size: 0.78rem;
}
.drawer-item button {
  margin-left: auto;
  padding: 0.4rem;
  border-radius: 0.5rem;
  color: rgba(245, 233, 224, 0.55);
}
.drawer-item button:hover {
  color: #ff6a5a;
}
.drawer-item button svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* toast, to top */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 100;
  max-width: calc(100% - 2rem);
  padding: 0.85rem 1.3rem;
  border-radius: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: linear-gradient(135deg, #ffb21e, #ff7a1a);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 140%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toast.show {
  transform: translate(-50%, 0);
}
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--ink);
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
  box-shadow: 0 10px 30px rgba(255, 90, 31, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: 0.3s;
}
.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* scroll reveal (only hides when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .js .reveal[data-reveal] {
    transform: none;
  }
}

/* =====================================================
   Motion layer: scroll, hover and map
   ===================================================== */

/* reveal variants + stagger. --d is set per item by script.js */
.js .reveal {
  transition-delay: var(--d, 0ms);
}
.js .reveal[data-reveal="left"] {
  transform: translateX(-52px);
}
.js .reveal[data-reveal="right"] {
  transform: translateX(52px);
}
.js .reveal[data-reveal="zoom"] {
  transform: scale(0.93);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
/* once revealed, hand transitions back so hover and tilt feel instant */
.js .reveal.done {
  transition:
    transform 0.2s ease-out,
    opacity 0.3s,
    border-color 0.3s,
    box-shadow 0.3s,
    background 0.3s;
  transition-delay: 0ms;
}

/* headline line that draws in */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--ember));
  transition: width 0.9s 0.25s ease;
}
.eyebrow.in::before,
html:not(.js) .eyebrow::before {
  width: 2.2rem;
}

/* gradient shimmer on flame text */
.flame-text {
  background-size: 220% 100%;
  animation: shimmer 7s ease-in-out infinite alternate;
}
@keyframes shimmer {
  to {
    background-position: 100% 0;
  }
}

/* header hides on scroll down, returns on scroll up */
#header.hide {
  transform: translateY(-100%);
}

/* parallax targets move with the individual `translate` property so they never fight other transforms */
[data-parallax] {
  will-change: translate;
}

/* card spotlight that follows the pointer (tilt is applied by script.js) */
[data-tilt] {
  position: relative;
  transform-style: preserve-3d;
}
[data-tilt]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 140, 40, 0.17),
    transparent 65%
  );
}
[data-tilt]:hover::after {
  opacity: 1;
}

/* hover micro-interactions */
.flame-bg {
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
a[aria-label="HP Fire home"]:hover .flame-bg {
  transform: rotate(-10deg) scale(1.08);
}
.service-icon {
  transition:
    transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1),
    background 0.3s,
    color 0.3s;
}
.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.12);
  background: var(--ember);
  color: var(--ink);
}
.value-card > svg {
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.value-card:hover > svg {
  transform: scale(1.25) rotate(-6deg);
}
.step span {
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.step:hover span {
  transform: rotate(360deg) scale(1.1);
}
.contact-row > span {
  transition:
    transform 0.3s,
    background 0.3s,
    color 0.3s;
}
.contact-row:hover > span {
  transform: translateY(-3px) rotate(-6deg);
  background: var(--ember);
  color: var(--ink);
}
.round-btn:hover {
  transform: translateY(-3px);
}
.chip {
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.chip:hover {
  transform: translateY(-2px);
}
.float-card:hover {
  animation-play-state: paused;
  border-color: rgba(255, 178, 30, 0.6);
}
.hero-frame {
  transition: box-shadow 0.4s;
}
.hero-frame:hover {
  box-shadow: 0 30px 100px rgba(255, 90, 31, 0.42);
}
.product-card:hover .tag {
  background: var(--amber);
  color: var(--ink);
}
footer a:not(.round-btn) {
  background: linear-gradient(var(--amber), var(--amber)) 0 100% / 0 1px
    no-repeat;
  transition:
    background-size 0.3s,
    color 0.2s;
}
footer a:not(.round-btn):hover {
  background-size: 100% 1px;
}

/* buttons: magnetic pull + click ripple */
.btn-fire,
.btn-ghost,
.btn-dark,
.chip,
.hazard-btn {
  position: relative;
  overflow: hidden;
}
.btn-fire,
.btn-ghost,
.btn-dark {
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    translate 0.25s ease-out;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.38);
  transform: scale(0);
  animation: ripple 0.65s ease-out forwards;
}
@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

/* cursor glow and ring (fine pointers only; script.js reveals them on first move) */
#cursorGlow,
#cursorRing {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 0;
}
#cursorGlow {
  z-index: 40;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 110, 30, 0.15),
    transparent 65%
  );
  mix-blend-mode: screen;
  transition: opacity 0.5s;
}
#cursorRing {
  z-index: 120;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 178, 30, 0.8);
  transition:
    opacity 0.3s,
    width 0.25s,
    height 0.25s,
    background 0.25s,
    border-color 0.25s;
}
#cursorRing.hot {
  width: 60px;
  height: 60px;
  border-color: var(--ember);
  background: rgba(255, 90, 31, 0.14);
}
body.has-cursor #cursorGlow,
body.has-cursor #cursorRing {
  opacity: 1;
}
@media (hover: none), (pointer: coarse) {
  #cursorGlow,
  #cursorRing {
    display: none;
  }
}

/* Google map */
.map-card {
  display: grid;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--char);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
@media (min-width: 1024px) {
  .map-card {
    grid-template-columns: 0.8fr 1.2fr;
  }
}
.map-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
.map-info h3 {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.map-info .eyebrow {
  margin-bottom: 0;
}
.map-frame {
  position: relative;
  min-height: 320px;
  background: var(--coal);
}
@media (min-width: 1024px) {
  .map-frame {
    min-height: 460px;
  }
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition:
    filter 0.5s,
    opacity 0.7s;
}
.map-frame.loaded iframe {
  opacity: 1;
}
.map-frame.dark iframe {
  filter: invert(90%) hue-rotate(170deg) saturate(0.75) contrast(0.95)
    sepia(0.2);
}
.map-skeleton {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.6rem;
  color: rgba(255, 178, 30, 0.75);
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.025) 0 12px,
    transparent 12px 24px
  );
  transition: opacity 0.5s;
}
.map-skeleton svg {
  animation: floaty 2s ease-in-out infinite;
}
.map-frame.loaded .map-skeleton {
  opacity: 0;
  pointer-events: none;
}
.map-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--ink);
}
.map-toggle button {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: 0.25s;
}
.map-toggle button.on {
  color: var(--ink);
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
}

/* small screens: calmer motion */
@media (max-width: 640px) {
  .js .reveal[data-reveal="left"],
  .js .reveal[data-reveal="right"] {
    transform: translateY(26px);
  }
  .float-card {
    display: none;
  }
}

/* =====================================================
   Fire launch, smooth scroll helpers, posters, toolkit
   ===================================================== */

/* script.js drives scrolling with its own easing, so native smoothing must not fight it */
html.js {
  scroll-behavior: auto;
}

/* back to top: the button becomes a rocket with a flame, with a canvas fire trail */
#fireCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 130;
  pointer-events: none;
}
.to-top {
  overflow: visible;
}
.to-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 88%;
  width: 22px;
  height: 46px;
  margin-left: -11px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(
    ellipse at 50% 28%,
    #fff7c2 0,
    #ffb21e 35%,
    #ff5a1f 66%,
    transparent 80%
  );
  filter: blur(1px);
  opacity: 0;
  transform-origin: top;
}
.to-top.launching::before {
  opacity: 1;
  animation: thrust 0.13s ease-in-out infinite alternate;
}
@keyframes thrust {
  from {
    transform: scale(0.9, 0.8);
  }
  to {
    transform: scale(1.1, 1.4);
  }
}
body.fire-flash::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 125;
  pointer-events: none;
  background: radial-gradient(
    110% 55% at 50% 108%,
    rgba(255, 90, 31, 0.5),
    rgba(212, 32, 26, 0.18) 45%,
    transparent 70%
  );
  animation: flashfade 1.5s ease-out forwards;
}
@keyframes flashfade {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* hero scroll-down cue */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  width: max-content;
  margin: 3.5rem auto 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 233, 224, 0.6);
  transition: color 0.25s;
}
.scroll-cue:hover {
  color: var(--amber);
}
.scroll-cue .mouse {
  position: relative;
  width: 1.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 2px solid currentColor;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.45rem;
  width: 0.28rem;
  height: 0.5rem;
  margin-left: -0.14rem;
  border-radius: 999px;
  background: var(--ember);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(0.95rem);
  }
}
.scroll-cue svg {
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(5px);
  }
}

/* section dots */
.dots {
  position: fixed;
  right: 1rem;
  top: 50%;
  z-index: 45;
  display: none;
  flex-direction: column;
  gap: 0.95rem;
  transform: translateY(-50%);
}
@media (min-width: 1100px) {
  .dots {
    display: flex;
  }
}
.dots a {
  position: relative;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 2px solid rgba(245, 233, 224, 0.45);
  transition: 0.25s;
}
.dots a:hover {
  border-color: var(--amber);
  transform: scale(1.25);
}
.dots a.on {
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: 0 0 12px rgba(255, 90, 31, 0.8);
  transform: scale(1.3);
}
.dots a span {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--char);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: 0.25s;
}
.dots a:hover span {
  opacity: 1;
  transform: translate(0, -50%);
}

/* poster slider */
.poster-section {
  background: linear-gradient(180deg, var(--ink), #1a0a05 50%, var(--ink));
}
.poster-glow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(900px, 120vw);
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    closest-side,
    rgba(255, 90, 31, 0.3),
    transparent
  );
  filter: blur(20px);
  animation: breathe 5s ease-in-out infinite alternate;
}
@keyframes breathe {
  to {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.p-stage {
  --pw: clamp(220px, 62vw, 340px);
  position: relative;
  height: calc(var(--pw) * 1.3334 + 3rem);
  perspective: 1400px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline-offset: 8px;
}
.p-stage:active {
  cursor: grabbing;
}
.poster {
  --pa: #ff7a1a;
  --pb: #d4201a;
  --pt: #fff;
  container-type: inline-size;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--pw);
  aspect-ratio: 3 / 4;
  margin-left: calc(var(--pw) / -2);
  margin-top: calc(var(--pw) * -0.6667);
  overflow: hidden;
  border-radius: 1.3rem;
  color: var(--pt);
  background: linear-gradient(160deg, var(--pa), var(--pb));
  background-size: 200% 200%;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transform: translateX(calc(var(--o, 0) * var(--pw) * 0.64))
    translateZ(calc(var(--abs, 0) * -150px)) rotateY(calc(var(--o, 0) * -22deg))
    scale(calc(1 - var(--abs, 0) * 0.06));
  opacity: calc(1 - var(--abs, 0) * 0.25);
  filter: brightness(0.58) saturate(0.85);
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.6s,
    filter 0.6s,
    box-shadow 0.6s;
}
.poster.is-active {
  filter: none;
  cursor: default;
  box-shadow: 0 40px 90px rgba(255, 90, 31, 0.4);
  animation: bgshift 8s ease-in-out infinite alternate;
}
.poster.far {
  opacity: 0;
  pointer-events: none;
}
@keyframes bgshift {
  to {
    background-position: 100% 100%;
  }
}

.t-ember {
  --pa: #ff7a1a;
  --pb: #c4170f;
}
.t-night {
  --pa: #34190f;
  --pb: #9a2412;
}
.t-gold {
  --pa: #ffd24a;
  --pb: #ff7a1a;
  --pt: #1a0a05;
}
.t-crimson {
  --pa: #d4201a;
  --pb: #5a0d08;
}
.t-flame {
  --pa: #ff5a1f;
  --pb: #7a1a0a;
}
.t-amber {
  --pa: #ffb21e;
  --pb: #e8590c;
  --pt: #1a0a05;
}

.poster-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
}
.poster-photo.img-fail {
  visibility: hidden;
}
.poster-embers {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background-image:
    radial-gradient(circle, #ffd27a 0 1.5px, transparent 2px),
    radial-gradient(circle, #fff 0 1px, transparent 1.5px);
  background-size:
    60px 90px,
    90px 130px;
  background-position:
    0 0,
    20px 0;
}
.poster.is-active .poster-embers {
  animation: emberRise 6s linear infinite;
}
@keyframes emberRise {
  to {
    background-position:
      0 -180px,
      20px -260px;
  }
}
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
}
.poster.is-active::after {
  animation: shine 3.4s 1s ease-in-out infinite;
}
@keyframes shine {
  60%,
  100% {
    transform: translateX(120%);
  }
}

/* poster content is sized in container units so it scales with the poster */
.poster-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 6cqw;
}
.poster.is-active .poster-body {
  transform: perspective(900px) rotateX(calc(var(--ty, 0) * -5deg))
    rotateY(calc(var(--tx, 0) * 7deg));
  transition: transform 0.25s ease-out;
}
.p-tag {
  font-size: 2.5cqw;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.88;
}
.p-icon {
  display: grid;
  place-items: center;
  width: 13cqw;
  height: 13cqw;
  margin-top: 3.5cqw;
  border-radius: 3.5cqw;
  background: rgba(255, 255, 255, 0.2);
}
.t-gold .p-icon,
.t-amber .p-icon {
  background: rgba(18, 8, 6, 0.14);
}
.p-icon svg {
  width: 7cqw;
  height: 7cqw;
}
.p-title {
  margin-top: 3cqw;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 13.5cqw;
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}
.p-steps {
  display: grid;
  gap: 1.8cqw;
  margin-top: auto;
}
.p-steps li {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  padding: 1.8cqw 2.6cqw;
  border-radius: 2.4cqw;
  font-size: 4.8cqw;
  font-weight: 500;
  line-height: 1.25;
  background: rgba(0, 0, 0, 0.22);
}
.t-gold .p-steps li,
.t-amber .p-steps li {
  background: rgba(255, 255, 255, 0.38);
}
.p-steps li span {
  display: grid;
  place-items: center;
  flex: none;
  width: 5.6cqw;
  height: 5.6cqw;
  border-radius: 50%;
  font-size: 3.2cqw;
  font-weight: 700;
  background: var(--pt);
  color: var(--pa);
}
.p-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 3cqw;
  padding-top: 2cqw;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 2.8cqw;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.t-gold .p-foot,
.t-amber .p-foot {
  border-color: rgba(18, 8, 6, 0.3);
}
.p-foot strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 8cqw;
  letter-spacing: 0.04em;
}

/* entrance animation replays each time a poster becomes the active one */
.poster.is-active .poster-body > * {
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.poster.is-active .p-icon {
  animation-delay: 0.1s;
}
.poster.is-active .p-title {
  animation-delay: 0.2s;
}
.poster.is-active .p-steps {
  animation-delay: 0.3s;
}
.poster.is-active .p-foot {
  animation-delay: 0.8s;
}
.poster.is-active .p-steps li {
  animation: fadeUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.poster.is-active .p-steps li:nth-child(1) {
  animation-delay: 0.4s;
}
.poster.is-active .p-steps li:nth-child(2) {
  animation-delay: 0.5s;
}
.poster.is-active .p-steps li:nth-child(3) {
  animation-delay: 0.6s;
}
.poster.is-active .p-steps li:nth-child(4) {
  animation-delay: 0.7s;
}
.poster.is-active .p-icon svg {
  animation: flick 1.3s ease-in-out infinite alternate;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
@keyframes flick {
  0% {
    transform: scale(1) rotate(-3deg);
  }
  50% {
    transform: scale(1.14) rotate(2deg);
  }
  100% {
    transform: scale(0.97) rotate(-2deg);
  }
}

.p-bar {
  width: min(340px, 70%);
  height: 3px;
  margin: 1.2rem auto 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.p-bar span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(
    90deg,
    var(--amber),
    var(--ember),
    var(--crimson)
  );
}
#pDots button {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: 0.25s;
}
#pDots button:hover {
  background: rgba(255, 178, 30, 0.7);
}
#pDots button.on {
  width: 1.8rem;
  background: var(--ember);
}

/* toolkit */
.tool-card {
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  border-radius: 1.5rem;
  background: var(--char);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tool-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tool-head h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.tool-head p {
  font-size: 0.88rem;
  color: rgba(245, 233, 224, 0.62);
}
.tool-card output {
  font-variant-numeric: tabular-nums;
}

.range {
  --p: 20%;
  width: 100%;
  height: 0.5rem;
  margin-top: 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(
    90deg,
    var(--ember) var(--p),
    rgba(255, 255, 255, 0.14) var(--p)
  );
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--ink);
  box-shadow:
    0 0 0 2px var(--ember),
    0 0 18px rgba(255, 90, 31, 0.6);
  transition: transform 0.2s;
}
.range::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}
.range::-moz-range-thumb {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--amber);
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 2px var(--ember);
}

.check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.92rem;
}
.check input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 0.45rem;
  border: 2px solid rgba(245, 233, 224, 0.35);
  cursor: pointer;
  transition: 0.2s;
}
.check input::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  background: var(--ink);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.check input:checked {
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
  border-color: transparent;
}
.check input:checked::after {
  transform: scale(1);
}
.check-row {
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.check-row:hover {
  border-color: rgba(255, 90, 31, 0.5);
  transform: translateX(3px);
}
.check-row:has(input:checked) {
  border-color: rgba(255, 178, 30, 0.45);
  color: rgba(245, 233, 224, 0.62);
}

.est-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.est-result > div {
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.est-num {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffd27a, #ff5a1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.est-result p {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: rgba(245, 233, 224, 0.6);
}

.ring-wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.ring {
  position: relative;
  flex: none;
  width: 6.5rem;
  height: 6.5rem;
}
.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.ring circle {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
}
.ring .bg {
  stroke: rgba(255, 255, 255, 0.1);
}
.ring .fg {
  stroke-dasharray: 301.6;
  stroke-dashoffset: 301.6;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ring-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.faq {
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  border-radius: 1rem;
  background: var(--char);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s;
}
.faq-item:hover,
.faq-item.open {
  border-color: rgba(255, 90, 31, 0.5);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.1rem 1.3rem;
  text-align: left;
  font-weight: 600;
}
.faq-q svg {
  flex: none;
  color: var(--ember);
  transition: transform 0.35s;
}
.faq-item.open .faq-q svg {
  transform: rotate(135deg);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a > div {
  overflow: hidden;
}
.faq-a p {
  padding: 0 1.3rem 1.2rem;
  font-size: 0.95rem;
  color: rgba(245, 233, 224, 0.72);
}

@media (max-width: 640px) {
  .ring-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .est-num {
    font-size: 3rem;
  }
}

/* auto-scroll control */
.auto-scroll {
  position: fixed;
  left: max(1.25rem, env(safe-area-inset-left, 0px));
  bottom: 1.25rem;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(28, 15, 11, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.auto-scroll.on {
  border-color: var(--ember);
  box-shadow:
    0 0 0 1px var(--ember),
    0 12px 40px rgba(255, 90, 31, 0.35);
}
.auto-main {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    background 0.2s,
    color 0.2s;
}
.auto-main:hover {
  background: rgba(255, 90, 31, 0.16);
}
.auto-main svg {
  width: 1rem;
  height: 1rem;
}
.auto-scroll:not(.on) .auto-main svg {
  animation: bob 1.6s ease-in-out infinite;
}
.auto-scroll.on .auto-main {
  color: var(--ink);
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
}
.auto-speeds {
  display: none;
  gap: 0.2rem;
  padding-right: 0.25rem;
}
.auto-scroll.on .auto-speeds {
  display: flex;
  animation: pop 0.3s ease;
}
.auto-speeds button {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(245, 233, 224, 0.72);
  transition:
    background 0.2s,
    color 0.2s;
}
.auto-speeds button:hover:not(.on) {
  background: rgba(255, 255, 255, 0.1);
}
.auto-speeds button.on {
  color: var(--ink);
  background: var(--amber);
}
@media (max-width: 520px) {
  .auto-main span {
    display: none;
  }
  .auto-main {
    padding: 0.65rem;
  }
  .auto-speeds button {
    padding: 0.4rem 0.55rem;
  }
}

/* =====================================================
   Page loading animation
   ===================================================== */
html.is-loading,
html.is-loading body {
  overflow: hidden;
}
#preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100dvh;
}
#preloader::before,
#preloader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: var(--ink);
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.18, 1) 0.35s;
}
#preloader::before {
  top: 0;
}
#preloader::after {
  bottom: 0;
}
#preloader.is-done::before {
  transform: translateY(-101%);
}
#preloader.is-done::after {
  transform: translateY(101%);
}
#preloader.is-done {
  pointer-events: none;
}

.pl-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    opacity 0.35s,
    transform 0.5s;
}
#preloader.is-done .pl-inner {
  opacity: 0;
  transform: scale(0.9) translateY(-14px);
}
.pl-glow {
  position: absolute;
  top: -40px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 90, 31, 0.35),
    transparent
  );
  animation: breathe 1.8s ease-in-out infinite alternate;
}
.pl-flame {
  position: relative;
  width: 96px;
  height: 96px;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 0 22px rgba(255, 90, 31, 0.8));
  animation: plFlicker 0.9s ease-in-out infinite alternate;
}
.pl-core {
  transform-origin: 50% 90%;
  animation: plFlicker 0.6s ease-in-out infinite alternate-reverse;
}
@keyframes plFlicker {
  0% {
    transform: scale(1, 1) rotate(-2deg);
  }
  50% {
    transform: scale(1.06, 1.12) rotate(2deg);
  }
  100% {
    transform: scale(0.97, 1.04) rotate(-1deg);
  }
}
.pl-sparks {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 0;
  height: 0;
}
.pl-sparks i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--ember);
  opacity: 0;
  animation: plSpark 1.8s ease-out infinite var(--d);
}
@keyframes plSpark {
  0% {
    opacity: 0;
    transform: translate(var(--x), 40px) scale(1);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--x) * 1.8), -90px) scale(0.2);
  }
}
.pl-logo {
  margin-top: 1.1rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  animation: plTrack 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes plTrack {
  from {
    opacity: 0;
    letter-spacing: 0.4em;
  }
}
.pl-sub {
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245, 233, 224, 0.55);
}
.pl-bar {
  width: min(220px, 60vw);
  height: 3px;
  margin-top: 1.6rem;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.pl-bar span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(
    90deg,
    var(--amber),
    var(--ember),
    var(--crimson)
  );
  box-shadow: 0 0 12px rgba(255, 90, 31, 0.8);
}
.pl-pct {
  margin-top: 0.6rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  font-variant-numeric: tabular-nums;
  color: rgba(245, 233, 224, 0.75);
}

/* hold the hero entrance until the loader opens, then let it play */
html.is-loading #home .reveal {
  opacity: 0 !important;
  transform: translateY(26px) !important;
  transition: none !important;
}

/* =====================================================
   Sections with background image or video
   ===================================================== */

/* shared background media: photo first, video fades in over it once it can play */
.bg-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(145deg, var(--coal), #4a1c0c 60%, #7a2208);
}
.bg-layer {
  position: absolute;
  inset: -16% 0;
}
.bg-layer img,
.bg-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-layer img.img-fail {
  visibility: hidden;
}
.bg-layer video {
  opacity: 0;
  transition: opacity 1s ease;
}
.bg-layer video.ready {
  opacity: 1;
}
.bg-overlay {
  position: absolute;
  inset: 0;
}
.ov-fire {
  background:
    linear-gradient(180deg, rgba(18, 8, 6, 0.9), rgba(18, 8, 6, 0.55) 45%, rgba(18, 8, 6, 0.92)),
    radial-gradient(70% 60% at 50% 100%, rgba(255, 90, 31, 0.35), transparent 70%);
}
.ov-dark {
  background:
    linear-gradient(180deg, rgba(18, 8, 6, 0.94), rgba(18, 8, 6, 0.74) 50%, rgba(18, 8, 6, 0.94)),
    radial-gradient(60% 50% at 85% 20%, rgba(212, 32, 26, 0.25), transparent 70%);
}
.ov-side {
  background:
    linear-gradient(90deg, rgba(18, 8, 6, 0.95), rgba(18, 8, 6, 0.7) 55%, rgba(18, 8, 6, 0.55)),
    radial-gradient(60% 60% at 100% 100%, rgba(255, 90, 31, 0.25), transparent 70%);
}
@media (max-width: 1023px) {
  .ov-side {
    background: linear-gradient(180deg, rgba(18, 8, 6, 0.92), rgba(18, 8, 6, 0.8));
  }
}

.glass {
  background: rgba(18, 8, 6, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
}

/* why band */
.pillar {
  padding: 1.6rem;
}
.pillar-icon {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.9rem;
  background: rgba(255, 90, 31, 0.18);
  color: var(--amber);
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.3s, color 0.3s;
}
.pillar-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.pillar:hover .pillar-icon {
  transform: rotate(-8deg) scale(1.12);
  background: var(--ember);
  color: var(--ink);
}
.pillar h3 {
  margin-top: 1.1rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
.pillar p {
  margin-top: 0.4rem;
  color: rgba(245, 233, 224, 0.75);
  font-size: 0.95rem;
}

/* industries */
.ind-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.ind-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 21rem;
  display: flex;
  align-items: flex-end;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, var(--coal), #7a2208);
  cursor: pointer;
}
.ind-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ind-card img.img-fail {
  visibility: hidden;
}
.ind-card:hover img,
.ind-card:focus-within img,
.ind-card.open img {
  transform: scale(1.1);
}
.ind-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(18, 8, 6, 0.96) 8%, rgba(18, 8, 6, 0.4) 55%, rgba(18, 8, 6, 0.1));
  transition: background 0.4s;
}
.ind-card:hover .ind-shade,
.ind-card:focus-within .ind-shade,
.ind-card.open .ind-shade {
  background: linear-gradient(0deg, rgba(18, 8, 6, 0.97) 20%, rgba(212, 60, 20, 0.35) 100%);
}
.ind-body {
  width: 100%;
  padding: 1.4rem;
}
.ind-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  background: rgba(255, 90, 31, 0.9);
  color: var(--ink);
  transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.ind-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}
.ind-card:hover .ind-icon,
.ind-card.open .ind-icon {
  transform: translateY(-4px) rotate(-8deg);
}
.ind-body h3 {
  margin-top: 0.9rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}
.ind-body p {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: rgba(245, 233, 224, 0.78);
}
.ind-body ul {
  display: grid;
  gap: 0.3rem;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 0.88rem;
  color: var(--ash);
  transition: max-height 0.5s ease, opacity 0.4s, margin-top 0.4s;
}
.ind-body li::before {
  content: "▸";
  margin-right: 0.5rem;
  color: var(--amber);
}
.ind-card:hover .ind-body ul,
.ind-card:focus-within .ind-body ul,
.ind-card.open .ind-body ul {
  max-height: 9rem;
  margin-top: 0.8rem;
  opacity: 1;
}
@media (hover: none) {
  .ind-body ul {
    max-height: 9rem;
    margin-top: 0.8rem;
    opacity: 1;
  }
}

/* emergency response timeline */
.note {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  font-size: 0.92rem;
  color: rgba(245, 233, 224, 0.85);
  border-color: rgba(255, 178, 30, 0.4);
}
.note b {
  color: var(--amber);
}
.note-icon {
  flex: none;
  color: var(--amber);
}
.note-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}
.timeline-fill {
  position: absolute;
  left: 1.05rem;
  top: 0.5rem;
  width: 3px;
  height: 0;
  max-height: calc(100% - 1rem);
  border-radius: 3px;
  background: linear-gradient(var(--amber), var(--ember), var(--crimson));
  box-shadow: 0 0 14px rgba(255, 90, 31, 0.85);
}
.t-step {
  position: relative;
  margin-bottom: 1.1rem;
  padding: 1.2rem 1.3rem 1.2rem 4rem;
}
.t-step:last-child {
  margin-bottom: 0;
}
.t-step::before {
  content: "";
  position: absolute;
  left: -2.65rem;
  top: 1.45rem;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid rgba(255, 255, 255, 0.35);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}
.t-step.on::before {
  background: var(--ember);
  border-color: var(--amber);
  box-shadow: 0 0 18px rgba(255, 90, 31, 0.95);
  transform: scale(1.15);
}
.t-num {
  position: absolute;
  left: 1.1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(245, 233, 224, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.4s, background 0.4s, border-color 0.4s;
}
.t-step.on .t-num {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
}
.t-step h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
.t-step p {
  margin-top: 0.3rem;
  font-size: 0.93rem;
  color: rgba(245, 233, 224, 0.75);
}
@media (max-width: 480px) {
  .t-step {
    padding-left: 3.6rem;
  }
}

/* training */
.train-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.2rem;
  text-align: left;
  border-radius: 1.1rem;
  background: rgba(18, 8, 6, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.train-tab:hover {
  transform: translateX(6px);
  border-color: rgba(255, 90, 31, 0.6);
}
.train-tab.is-active {
  border-color: var(--ember);
  background: linear-gradient(135deg, rgba(255, 178, 30, 0.22), rgba(212, 32, 26, 0.2));
}
.train-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  background: rgba(255, 90, 31, 0.18);
  color: var(--amber);
  transition: background 0.3s, color 0.3s;
}
.train-tab.is-active .train-ico {
  background: linear-gradient(135deg, #ffb21e, #ff5a1f);
  color: var(--ink);
}
.train-ico svg {
  width: 1.4rem;
  height: 1.4rem;
}
.train-tab b {
  display: block;
  font-size: 1.05rem;
}
.train-tab small {
  display: block;
  font-size: 0.82rem;
  color: rgba(245, 233, 224, 0.65);
}
.train-panel {
  padding: clamp(1.4rem, 3.5vw, 2.2rem);
}
.train-panel .tp-in {
  animation: pop 0.4s ease;
}
.train-panel .tp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.train-panel .tp-meta span {
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 178, 30, 0.16);
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.train-panel h3 {
  margin-top: 0.9rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.train-panel .tp-lead {
  margin-top: 0.7rem;
  color: rgba(245, 233, 224, 0.78);
}
.train-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.2rem 0 1.6rem;
}
.train-panel li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.train-panel li svg {
  flex: none;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  color: var(--ember);
}

/* showreel modal */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 3, 2, 0.96);
  animation: pop 0.25s;
}
.vmodal[hidden] {
  display: none;
}
.vm-box {
  position: relative;
  width: min(1000px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #000;
  box-shadow: 0 30px 90px rgba(255, 90, 31, 0.25);
}
.vm-box video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vm-missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: 2rem;
  text-align: center;
  background: rgba(18, 8, 6, 0.9);
  color: var(--ash);
}
.vm-missing[hidden] {
  display: none;
}
.vm-missing code {
  color: var(--amber);
}