/* Heat Injector V2 — industrial product site */
:root {
  --ink: #15191d;
  --ink-soft: #3a434c;
  --paper: #f3f5f7;
  --paper-2: #e4e9ee;
  --ember: #e25516;
  --ember-deep: #b33f0c;
  --steel: #5b7384;
  --white: #ffffff;
  --max: 1120px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ui: "Barlow", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(226, 85, 22, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(91, 115, 132, 0.12), transparent 50%),
    linear-gradient(180deg, #eef1f4 0%, var(--paper) 40%, #e9edf1 100%);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ember-deep);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  padding: 1.25rem 0;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--ember);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: hero-drift 18s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 16, 20, 0.45) 0%, rgba(12, 16, 20, 0.25) 40%, rgba(12, 16, 20, 0.82) 100%),
    linear-gradient(90deg, rgba(12, 16, 20, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 4.5rem;
  max-width: 38rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(1.2rem);
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-line {
  margin: 0 0 1.5rem;
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 28rem;
  opacity: 0;
  transform: translateY(1rem);
  animation: rise 0.9s var(--ease) 0.35s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  opacity: 0;
  transform: translateY(1rem);
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  color: inherit;
  transform: translateY(-1px);
}

.btn-ember {
  background: var(--ember);
  color: var(--white);
}

.btn-ember:hover {
  background: var(--ember-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: #000;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

/* —— Sections —— */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-deep);
}

.section-head h2,
.page-intro h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-head p,
.page-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.page-intro {
  padding: 7.5rem 0 2.5rem;
  background:
    linear-gradient(180deg, #1c2329 0%, #2a343d 100%);
  color: var(--white);
}

.page-intro .eyebrow {
  color: #ffb089;
}

.page-intro p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
}

/* —— Features —— */
.feature-list {
  display: grid;
  gap: 2.5rem 2rem;
}

@media (min-width: 800px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.feature.is-in {
  opacity: 1;
  transform: none;
}

.feature-num {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ember);
}

.feature h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* —— Split —— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .split-reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split-reverse .split-media {
    order: 2;
  }
}

.split-media {
  overflow: hidden;
  min-height: 280px;
  background: var(--paper-2);
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.split-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.split-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.split-copy p:last-child {
  margin-bottom: 0;
}

/* —— Product / market grids —— */
.product-grid,
.market-grid,
.case-grid {
  display: grid;
  gap: 2.25rem 1.75rem;
}

@media (min-width: 720px) {
  .product-grid,
  .market-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-item,
.market-item,
.case-item {
  display: grid;
  gap: 1rem;
}

.product-item img,
.market-item img,
.case-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper-2);
}

.product-item h3,
.market-item h3,
.case-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-item p,
.market-item p,
.case-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* —— Quote —— */
.quote-band {
  background: var(--ink);
  color: var(--white);
}

.quote-band .section-head .eyebrow {
  color: #ffb089;
}

.quote-band .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.quotes {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote {
  border-top: 2px solid var(--ember);
  padding-top: 1.25rem;
}

.quote p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.quote cite {
  display: block;
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.quote cite strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* —— CTA —— */
.cta {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, #2a343d 0%, #1a2026 55%, #3a2218 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.cta p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* —— Footer —— */
.site-footer {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(21, 25, 29, 0.12);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* —— Contact —— */
.contact-panel {
  display: grid;
  gap: 2rem;
  max-width: 40rem;
}

.contact-panel a {
  color: var(--ember-deep);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  font-family: var(--font-ui);
}

.contact-list li span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.2rem;
}

.doc-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.doc-list a {
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 25, 29, 0.2);
  padding-bottom: 0.35rem;
}

/* —— Inner nav (light pages) —— */
.page-nav {
  background: var(--ink);
}

.page-nav .nav-brand,
.page-nav .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.page-nav {
  position: relative;
}

/* —— Animations —— */
@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-brand,
  .hero-line,
  .hero-actions,
  .feature {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .nav-links {
    gap: 0.65rem 0.9rem;
    font-size: 0.85rem;
    justify-content: flex-end;
  }

  .hero-content {
    padding-bottom: 3.25rem;
  }
}
