:root {
  --bg: #09090b;
  --bg-2: #121318;
  --ink: #f3f4f6;
  --muted: #9aa0ab;
  --line: rgba(255, 255, 255, 0.1);
  --silver: #d5d8df;
  --metal: linear-gradient(135deg, #f7f8fa 0%, #aeb4bf 45%, #6f7684 100%);
  --heat: #e01820;
  --heat-soft: rgba(224, 24, 32, 0.35);
  --blue: #8b95ff;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(139, 149, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(224, 24, 32, 0.08), transparent 50%),
    linear-gradient(180deg, #0c0c10 0%, var(--bg) 40%, #0a0a0c 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Intro splash (cinematic) —— */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #030304;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease, filter 0.65s ease;
}

.intro.is-outro {
  filter: blur(10px);
  opacity: 0;
  transform: none;
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, transparent 20%, #000 78%),
    radial-gradient(circle at 50% 48%, rgba(224, 24, 32, 0.22), transparent 42%);
  opacity: 0;
  animation: vignetteIn 1.2s ease 0.2s forwards;
}

.intro__heat {
  position: absolute;
  width: min(90vw, 560px);
  height: min(90vw, 560px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 24, 32, 0.45), transparent 68%);
  filter: blur(36px);
  opacity: 0;
  transform: scale(0.6);
  animation: heatRise 3.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

.intro__stage {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  text-align: center;
  animation: stageOut 0.7s ease 3.55s forwards;
}

.intro__radiator {
  width: min(36vw, 190px);
  height: auto;
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  animation: radIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}

.rad-bar {
  fill: url(#tubeMetal);
}

.rad-tubes .tube {
  fill: #1a1c21;
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.6;
}

.rad-fills .fill {
  fill: url(#tubeHeat);
  clip-path: inset(100% 0 0 0);
  opacity: 0.95;
}

.rad-fills .fill:nth-child(1) {
  animation: tubeHeat 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}
.rad-fills .fill:nth-child(2) {
  animation: tubeHeat 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}
.rad-fills .fill:nth-child(3) {
  animation: tubeHeat 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards;
}
.rad-fills .fill:nth-child(4) {
  animation: tubeHeat 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}
.rad-fills .fill:nth-child(5) {
  animation: tubeHeat 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}
.rad-fills .fill:nth-child(6) {
  animation: tubeHeat 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

.intro__word {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  letter-spacing: 0.08em;
  line-height: 1;
  opacity: 0;
  transform: translateY(16px);
  animation: wordIn 0.85s cubic-bezier(0.22, 1, 0.36, 1) 1.45s forwards;
}

.intro__riz,
.intro__rm {
  color: transparent;
  background: linear-gradient(180deg, #ffffff 10%, #b8bec8 55%, #6d7380 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.intro__e {
  display: inline-grid;
  gap: 0.22em;
  width: 0.52em;
  margin: 0 0.02em 0.06em;
  align-content: space-between;
  height: 0.78em;
  flex: 0 0 auto;
}

.intro__e i {
  display: block;
  height: 0.13em;
  width: 100%;
  border-radius: 1px;
  background: linear-gradient(90deg, #f5f6f8, #9aa1ad);
  transform: scaleX(0);
  transform-origin: left center;
  animation: barDraw 0.45s ease forwards;
}

.intro__e i:nth-child(1) {
  animation-delay: 1.7s;
}
.intro__e i.mid {
  background: linear-gradient(90deg, #ff5a45, var(--heat));
  box-shadow: 0 0 22px rgba(224, 24, 32, 0.95);
  animation-delay: 1.95s;
}
.intro__e i:nth-child(3) {
  animation-delay: 2.15s;
}

.intro__tag,
.intro__by {
  margin: 0;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  opacity: 0;
  transform: translateY(10px);
}

.intro__tag {
  font-size: clamp(0.65rem, 1.8vw, 0.85rem);
  animation: fadeUp 0.7s ease 2.25s forwards;
}

.intro__by {
  font-size: clamp(0.55rem, 1.5vw, 0.72rem);
  color: var(--muted);
  letter-spacing: 0.22em;
  animation: fadeUp 0.7s ease 2.45s forwards;
}

.intro__brand {
  position: absolute;
  z-index: 3;
  width: min(78vw, 420px);
  opacity: 0;
  transform: scale(0.94);
  filter: blur(8px) brightness(0.7);
  animation: brandReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 3.2s forwards,
    brandPulse 2.4s ease-in-out 4.2s infinite;
}

.intro__skip {
  position: absolute;
  bottom: 7vh;
  z-index: 4;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s ease 2.8s forwards;
}

@keyframes vignetteIn {
  to {
    opacity: 1;
  }
}

@keyframes heatRise {
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes radIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes tubeHeat {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes barDraw {
  to {
    transform: scaleX(1);
  }
}

@keyframes brandReveal {
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes brandPulse {
  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: brightness(1.06) drop-shadow(0 0 32px rgba(224, 24, 32, 0.4));
  }
}

@keyframes stageOut {
  to {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(6px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.is-locked {
  overflow: hidden;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* —— Header —— */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 11, 0.72);
  border-bottom: 1px solid var(--line);
}

.top__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.top__brand img {
  border-radius: 50%;
}

.top__nav {
  display: none;
  gap: 1.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.top__nav a:hover {
  color: var(--ink);
}

.top__call {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--silver);
  white-space: nowrap;
}

@media (min-width: 860px) {
  .top__nav {
    display: flex;
  }
}

/* —— Hero —— */
.hero {
  min-height: min(100svh, 920px);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 7vw, 4.5rem);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0.55;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.05);
  transition: transform 0.45s ease-out;
  will-change: transform;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.55) 48%, rgba(9, 9, 11, 0.35) 100%),
    linear-gradient(0deg, rgba(9, 9, 11, 0.95) 0%, transparent 42%);
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  background: linear-gradient(100deg, #dfe3ff 0%, var(--blue) 45%, #b7befc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: 14ch;
}

.hero__lead {
  margin: 0 0 1.6rem;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--heat);
  color: #fff;
  box-shadow: 0 10px 30px rgba(224, 24, 32, 0.28);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
}

/* —— Sections —— */
.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section__head {
  max-width: 38rem;
  margin-bottom: 2.2rem;
}

.section__head h2,
.riztherm__copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section__head p,
.riztherm__copy > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--heat);
  font-weight: 600;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .service-list li {
    grid-template-columns: 11rem 1fr;
    align-items: baseline;
  }
}

.service-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* RIZTHERM band */
.riztherm {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .riztherm {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }
}

.riztherm__visual {
  position: relative;
  background:
    radial-gradient(circle at 50% 40%, rgba(224, 24, 32, 0.2), transparent 55%),
    linear-gradient(160deg, #15161c, #0a0a0c);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.riztherm__visual img {
  width: min(100%, 420px);
  padding: 1.5rem;
}

.riztherm__copy .btn {
  margin-top: 1.4rem;
}

/* About */
.quote {
  margin: 0 0 2rem;
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 3px solid var(--heat);
}

.quote p {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--silver);
}

.quote footer {
  color: var(--muted);
  font-size: 0.92rem;
}

.quote a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.facts {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.facts div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.4rem;
}

.facts strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.facts span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Works */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.steps li {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.steps span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--heat);
  font-weight: 700;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.works__note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.works__note a {
  color: var(--silver);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contacts — interactive cards allowed */
.contact-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(224, 24, 32, 0.55);
  background: rgba(224, 24, 32, 0.08);
}

.contact-card span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.addresses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.addresses li {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.addresses strong {
  color: var(--ink);
  font-family: var(--font-display);
}

.foot {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot > div {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.foot img {
  border-radius: 50%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .intro {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}
