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

:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-soft: #101113;
  --surface: rgba(18, 18, 20, 0.78);
  --surface-strong: rgba(24, 24, 27, 0.92);
  --surface-alt: rgba(255, 255, 255, 0.04);
  --text: #f5f2ef;
  --muted: #b6aea7;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #9f2628;
  --accent-strong: #6d1419;
  --accent-soft: rgba(159, 38, 40, 0.18);
  --accent-warm: #c46b63;
  --red-surface: rgba(88, 16, 21, 0.5);
  --red-surface-soft: rgba(159, 38, 40, 0.12);
  --red-glow: rgba(159, 38, 40, 0.28);
  --success: #9de2b0;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --container: min(1180px, calc(100vw - 32px));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 15% 15%, rgba(159, 38, 40, 0.26), transparent 26%),
    radial-gradient(circle at 85% 18%, rgba(196, 107, 99, 0.16), transparent 19%),
    radial-gradient(circle at 50% 110%, rgba(159, 38, 40, 0.18), transparent 34%),
    linear-gradient(125deg, rgba(96, 14, 20, 0.16), transparent 32%, rgba(159, 38, 40, 0.07) 68%, transparent 100%),
    linear-gradient(180deg, #060606 0%, #0c0b0c 32%, #131113 100%);
  transition: color 420ms ease, background 520ms ease;
}

body::before, body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(88px);
  z-index: 0;
}

body::before {
  top: -12vw;
  left: -10vw;
  background: rgba(159, 38, 40, 0.13);
}

body::after {
  right: -14vw;
  bottom: -8vw;
  background: rgba(196, 107, 99, 0.08);
}

body.menu-open, body.intro-active, body.sheet-open {
  overflow: hidden;
}

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

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  z-index: 1;
  background-image:
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
    radial-gradient(rgba(255, 255, 255, 0.12) 0.7px, transparent 0.7px);
  background-size: 100% 100%, 8px 8px;
  mix-blend-mode: soft-light;
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding: 48px 0 110px;
}

.section--services::before, .section--products::before, .section--contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(620px, 62vw);
  height: min(420px, 48vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 38, 40, 0.22), rgba(109, 20, 25, 0.08) 44%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

.section--services::before {
  top: 22%;
  left: -18%;
}

.section--products::before {
  top: 12%;
  right: -16%;
}

.section--contact::before {
  top: 6%;
  left: -14%;
}

.section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-head h2, .contact-copy h2 {
  margin: 16px 0 16px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-head p, .contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: #f8d9d3;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 18px rgba(255, 77, 45, 0.52);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(110deg, rgba(159, 38, 40, 0.14), transparent 34%, rgba(109, 20, 25, 0.12)),
    rgba(8, 8, 9, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(159, 38, 40, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(159, 38, 40, 0.035)),
    rgba(16, 9, 11, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(159, 38, 40, 0.06);
  box-shadow:
    0 0 0 7px rgba(159, 38, 40, 0.1),
    0 0 24px rgba(159, 38, 40, 0.2);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand__mark img.brand__logo--light {
  display: none;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.16em;
}

.brand__copy small {
  color: rgba(245, 242, 239, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav, .nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 242, 239, 0.82);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    transform 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.desktop-nav a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

.theme-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 68px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 242, 239, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
}

.theme-toggle:hover {
  border-color: rgba(196, 107, 99, 0.36);
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(196, 107, 99, 0.72);
  outline-offset: 3px;
}

.theme-toggle__icon {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 300ms ease;
}

.theme-toggle__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle__icon--sun {
  left: 5px;
}

.theme-toggle__icon--moon {
  right: 5px;
  color: #fff7f4;
}

.theme-toggle__thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b93438, #79171c);
  box-shadow:
    0 7px 16px rgba(73, 7, 12, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateX(30px);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 220ms ease, opacity 220ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  margin-top: 12px;
}

.mobile-nav {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12, 12, 14, 0.94);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 242, 239, 0.9);
  font-weight: 800;
  transition:
    color 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.mobile-nav a:last-child {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff6f2;
}

.hero {
  padding-top: 34px;
}

.hm-mark {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 0.06em;
  vertical-align: baseline;
  line-height: 1;
}

.hm-mark__slash {
  position: relative;
  display: block;
  width: 0.38em;
  height: 0.9em;
  align-self: center;
}

.hm-mark__slash::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.08em;
  height: 100%;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(18deg);
  transform-origin: center;
}

.services-showcase {
  position: relative;
}

.services-showcase__wrap {
  position: relative;
  min-height: auto;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-panel {
  position: relative;
  height: 100%;
  min-height: 620px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(159, 38, 40, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(18, 13, 14, 0.96);
  box-shadow: var(--shadow);
  transform:
    perspective(1200px)
    rotateX(var(--tilt-y, 0deg))
    rotateY(var(--tilt-x, 0deg));
  transition: transform 180ms ease;
}

.hero-panel::before, .hero-panel::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
}

.hero-panel::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(159, 38, 40, 0.34), transparent 64%);
}

.hero-panel::after {
  width: 280px;
  height: 280px;
  left: -100px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(196, 107, 99, 0.18), transparent 68%);
}

.hero-panel--services {
  min-height: auto;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px;
}

.services-interactive {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.services-interactive__nav {
  display: grid;
  gap: 14px;
  align-content: start;
}

.service-tab {
  appearance: none;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 50%, rgba(159, 38, 40, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(159, 38, 40, 0.035)),
    rgba(16, 9, 11, 0.78);
  color: #f6f0ec;
  text-align: left;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.service-tab:focus-visible {
  outline: 2px solid rgba(255, 77, 45, 0.28);
  outline-offset: 3px;
}

.service-tab::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.service-tab:hover, .service-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 77, 45, 0.2);
  background:
    radial-gradient(circle at 100% 50%, rgba(196, 107, 99, 0.18), transparent 44%),
    linear-gradient(90deg, rgba(159, 38, 40, 0.24), rgba(255, 255, 255, 0.025)),
    rgba(22, 9, 12, 0.88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.service-tab.is-active::after {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 18px rgba(255, 77, 45, 0.32);
  transform: scale(1.15);
}

.service-tab__index {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(212, 83, 73, 0.22);
  border-radius: 14px;
  background: rgba(159, 38, 40, 0.12);
  color: #ffcbc2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.service-tab.is-active .service-tab__index {
  border-color: rgba(255, 77, 45, 0.3);
  background: linear-gradient(135deg, rgba(159, 38, 40, 0.36), rgba(196, 107, 99, 0.2));
  color: #fff4ee;
  box-shadow: 0 0 18px rgba(255, 77, 45, 0.16);
}

.service-tab__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.services-interactive__stage {
  display: grid;
}

.service-panel {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(159, 38, 40, 0.34), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(196, 107, 99, 0.2), transparent 24%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.065), rgba(111, 21, 26, 0.08)),
    rgba(19, 11, 13, 0.92);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.service-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 44%);
  pointer-events: none;
}

.service-panel > * {
  position: relative;
  z-index: 1;
}

.service-panel.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.service-panel__ghost {
  position: absolute;
  top: 16px;
  right: 22px;
  color: rgba(255, 255, 255, 0.045);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4.6rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

.service-panel__eyebrow {
  color: #ffc2a5;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-panel h3 {
  margin: 0;
  max-width: 580px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.service-panel p {
  margin: 0;
  max-width: 580px;
  color: var(--muted);
  line-height: 1.78;
}

.service-panel__list {
  display: grid;
  gap: 10px;
  max-width: 620px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-panel__list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.68;
}

.service-panel__list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 14px rgba(255, 77, 45, 0.24);
}

.service-panel__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-panel__badges span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 242, 239, 0.84);
  font-size: 0.84rem;
  font-weight: 700;
}

.contact-board__item span {
  display: block;
  margin-bottom: 6px;
  color: rgba(245, 242, 239, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-board__item strong {
  display: block;
  font-size: 1rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.section--services {
  padding-top: 30px;
}

.section--products {
  padding-top: 12px;
}

.contact-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
  overflow: hidden;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 0%, rgba(159, 38, 40, 0.3), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(109, 20, 25, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(111, 21, 26, 0.08)),
    rgba(14, 9, 11, 0.9);
  box-shadow: var(--shadow);
}

.contact-shell::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -120px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 38, 40, 0.2), transparent 68%);
  pointer-events: none;
}

.contact-shell::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(30px, 4vw, 46px);
  width: 116px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  box-shadow: 0 8px 24px rgba(159, 38, 40, 0.28);
}

.contact-shell > * {
  position: relative;
  z-index: 1;
}

.section--contact {
  padding-top: 32px;
}

.contact-copy {
  max-width: 760px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.contact-copy h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.contact-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-board__item {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(159, 38, 40, 0.035), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(159, 38, 40, 0.015)),
    rgba(17, 17, 19, 0.96);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.contact-board__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 54px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transition: width 260ms ease;
}

.contact-board__item:hover {
  transform: translateY(-3px);
  border-color: rgba(196, 107, 99, 0.24);
  background-color: rgba(159, 38, 40, 0.012);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.contact-board__item:hover::before {
  width: calc(100% - 44px);
}

.contact-board__item > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.contact-board__item > span::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 14px rgba(196, 107, 99, 0.32);
}

.contact-board__item strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.02rem, 1.6vw, 1.24rem);
  letter-spacing: -0.02em;
}

.contact-board__item--wide {
  grid-column: 1 / -1;
  min-height: 100px;
  background:
    radial-gradient(circle at 88% 10%, rgba(159, 38, 40, 0.045), transparent 34%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.04), rgba(159, 38, 40, 0.018)),
    rgba(17, 17, 19, 0.97);
}

.contact-board__item--action {
  padding-right: 64px;
  color: inherit;
  user-select: text;
  -webkit-user-select: text;
  -webkit-user-drag: none;
}

.contact-board__item--action > span, .contact-board__item--action > strong {
  cursor: text;
  user-select: text;
  -webkit-user-select: text;
}

.contact-board__item--action::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--accent-warm);
  border-right: 2px solid var(--accent-warm);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 220ms ease, border-color 220ms ease;
}

.contact-board__item--action:hover::after {
  border-color: #ffe4da;
  transform: translate(3px, calc(-50% - 3px)) rotate(45deg);
}

.contact-board__item--action:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 4px;
}

.contact-board__item--phone strong {
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
}

.contact-board__item--phone {
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 107, 99, 0.04), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(159, 38, 40, 0.016)),
    rgba(17, 17, 19, 0.97);
}

.site-footer {
  padding: 0 0 34px;
}

.site-footer__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.site-footer__inner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.site-footer__inner p, .site-footer__inner span {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(159, 38, 40, 0.2), transparent 24%),
    radial-gradient(circle at 72% 72%, rgba(196, 107, 99, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.98), rgba(10, 10, 12, 0.98));
  backdrop-filter: blur(18px);
  transition: opacity 900ms ease, visibility 900ms ease;
}

.intro-screen::before, .intro-screen::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  pointer-events: none;
  animation: introFloat 8s ease-in-out infinite;
}

.intro-screen::before {
  top: -12vw;
  left: -10vw;
  background: rgba(159, 38, 40, 0.18);
}

.intro-screen::after {
  right: -10vw;
  bottom: -16vw;
  background: rgba(196, 107, 99, 0.14);
  animation-delay: 1.4s;
}

.intro-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* An infinite animation keeps dirtying style every frame even while hidden */
.intro-screen.is-hidden::before,
.intro-screen.is-hidden::after,
.intro-screen.is-hidden * {
  animation: none;
}

.intro-screen__backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-screen__grid, .intro-screen__ring {
  position: absolute;
  inset: 0;
}

.intro-screen__grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 78%);
}

.intro-screen__ring {
  display: grid;
  place-items: center;
}

.intro-screen__ring::before,
.intro-screen__ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intro-screen__ring::before {
  display: none;
}

.intro-screen__ring::after {
  width: min(36vw, 460px);
  height: min(36vw, 460px);
  border-color: rgba(159, 38, 40, 0.26);
  box-shadow: 0 0 90px rgba(159, 38, 40, 0.12);
}

.intro-screen__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 28px;
}

.intro-screen__logo {
  width: min(168px, 42vw);
  height: auto;
  display: block;
}

.intro-screen__logo--light {
  display: none;
}

.intro-screen__load {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(168px, 42vw);
}

.intro-screen__bar {
  width: 100%;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.intro-screen__bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 14px rgba(224, 31, 37, 0.45);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.intro-screen__pct {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.38);
  font-variant-numeric: tabular-nums;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #faf6f4;
  --bg-soft: #fffdfc;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-alt: rgba(159, 38, 40, 0.045);
  --text: #281b1c;
  --muted: #756769;
  --line: rgba(109, 20, 25, 0.13);
  --line-strong: rgba(109, 20, 25, 0.22);
  --accent-soft: rgba(159, 38, 40, 0.1);
  --red-surface: rgba(159, 38, 40, 0.14);
  --red-surface-soft: rgba(159, 38, 40, 0.12);
  --red-glow: rgba(159, 38, 40, 0.28);
  --shadow: 0 28px 70px rgba(87, 24, 28, 0.12);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 12% 10%, rgba(159, 38, 40, 0.2), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(196, 107, 99, 0.15), transparent 19%),
    radial-gradient(circle at 50% 110%, rgba(159, 38, 40, 0.16), transparent 34%),
    linear-gradient(125deg, rgba(159, 38, 40, 0.11), transparent 32%, rgba(159, 38, 40, 0.07) 68%, transparent 100%),
    linear-gradient(180deg, #fffdfc 0%, #fbf6f4 42%, #f7efed 100%);
}

html[data-theme="light"] body::before {
  background: rgba(159, 38, 40, 0.12);
}

html[data-theme="light"] body::after {
  background: rgba(196, 107, 99, 0.1);
}

html[data-theme="light"] .intro-screen {
  background:
    radial-gradient(circle at 50% 30%, rgba(159, 38, 40, 0.16), transparent 25%),
    radial-gradient(circle at 72% 72%, rgba(196, 107, 99, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 253, 252, 0.99), rgba(247, 237, 235, 0.99));
}

html[data-theme="light"] .intro-screen::before {
  background: rgba(159, 38, 40, 0.11);
}

html[data-theme="light"] .intro-screen::after {
  background: rgba(196, 107, 99, 0.1);
}

html[data-theme="light"] .intro-screen__grid {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(109, 20, 25, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 20, 25, 0.08) 1px, transparent 1px);
}

html[data-theme="light"] .intro-screen__ring::after {
  border-color: rgba(159, 38, 40, 0.22);
  box-shadow: 0 0 90px rgba(159, 38, 40, 0.1);
}

html[data-theme="light"] .intro-screen__logo--dark {
  display: none;
}

html[data-theme="light"] .intro-screen__logo--light {
  display: block;
}

html[data-theme="light"] .intro-screen__bar {
  background: rgba(109, 20, 25, 0.14);
}

html[data-theme="light"] .intro-screen__pct {
  color: rgba(40, 27, 28, 0.38);
}

html[data-theme="light"] .page-noise {
  opacity: 0.1;
  background-image:
    linear-gradient(transparent 0, rgba(109, 20, 25, 0.035) 50%, transparent 100%),
    radial-gradient(rgba(109, 20, 25, 0.14) 0.7px, transparent 0.7px);
  mix-blend-mode: multiply;
}

html[data-theme="light"] .nav-shell {
  border-color: var(--line);
  background:
    linear-gradient(110deg, rgba(159, 38, 40, 0.14), transparent 34%, rgba(109, 20, 25, 0.12)),
    rgba(255, 253, 252, 0.9);
  box-shadow: 0 18px 44px rgba(87, 24, 28, 0.1);
}

html[data-theme="light"] .brand {
  border-color: var(--line);
  background:
    radial-gradient(circle at 12% 18%, rgba(159, 38, 40, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(159, 38, 40, 0.07)),
    #ffffff;
  box-shadow: inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .brand__copy small, html[data-theme="light"] .contact-board__item span {
  color: var(--muted);
}

html[data-theme="light"] .desktop-nav a, html[data-theme="light"] .mobile-nav a {
  border-color: var(--line);
  background: rgba(159, 38, 40, 0.045);
  color: rgba(40, 27, 28, 0.78);
}

html[data-theme="light"] .desktop-nav a:hover, html[data-theme="light"] .mobile-nav a:hover {
  border-color: rgba(159, 38, 40, 0.24);
  background: rgba(159, 38, 40, 0.09);
  color: var(--accent);
}

html[data-theme="light"] .mobile-nav a:last-child {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff6f2;
}

html[data-theme="light"] .mobile-nav a:last-child:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-strong));
  color: #ffffff;
}

html[data-theme="light"] .theme-toggle {
  border-color: rgba(109, 20, 25, 0.16);
  background: rgba(159, 38, 40, 0.055);
  color: rgba(109, 20, 25, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(159, 38, 40, 0.3);
  background: rgba(159, 38, 40, 0.085);
}

html[data-theme="light"] .theme-toggle__thumb {
  transform: translateX(0);
}

html[data-theme="light"] .theme-toggle__icon--sun {
  color: #fff8f5;
}

html[data-theme="light"] .theme-toggle__icon--moon {
  color: rgba(109, 20, 25, 0.48);
}

html[data-theme="light"] .menu-toggle {
  border-color: var(--line);
  background: rgba(159, 38, 40, 0.05);
}

html[data-theme="light"] .menu-toggle span {
  background: var(--accent);
}

html[data-theme="light"] .mobile-nav {
  border-color: var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(159, 38, 40, 0.16), transparent 42%),
    rgba(255, 253, 252, 0.97);
}

html[data-theme="light"] .section-tag {
  border-color: var(--line);
  background: rgba(159, 38, 40, 0.055);
  color: #7d171c;
}

html[data-theme="light"] .hero-panel {
  border-color: var(--line);
  background:
    radial-gradient(circle at top right, rgba(159, 38, 40, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(159, 38, 40, 0.08)),
    #ffffff;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .service-tab {
  border-color: var(--line);
  background:
    radial-gradient(circle at 100% 50%, rgba(159, 38, 40, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(159, 38, 40, 0.07)),
    #ffffff;
  color: var(--text);
}

html[data-theme="light"] .service-tab::after {
  background: rgba(109, 20, 25, 0.1);
  box-shadow: inset 0 0 0 1px rgba(109, 20, 25, 0.1);
}

html[data-theme="light"] .service-tab:hover, html[data-theme="light"] .service-tab.is-active {
  border-color: rgba(159, 38, 40, 0.24);
  background:
    radial-gradient(circle at 100% 50%, rgba(196, 107, 99, 0.18), transparent 44%),
    linear-gradient(90deg, rgba(159, 38, 40, 0.24), rgba(255, 255, 255, 0.82)),
    #ffffff;
  box-shadow: 0 16px 34px rgba(87, 24, 28, 0.1);
}

html[data-theme="light"] .service-tab__index {
  border-color: rgba(159, 38, 40, 0.2);
  background: rgba(159, 38, 40, 0.08);
  color: #861d21;
}

html[data-theme="light"] .service-tab.is-active .service-tab__index {
  color: #fff7f4;
}

html[data-theme="light"] .service-panel {
  border-color: var(--line);
  background:
    radial-gradient(circle at top right, rgba(159, 38, 40, 0.3), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(196, 107, 99, 0.18), transparent 24%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(159, 38, 40, 0.08)),
    #ffffff;
}

html[data-theme="light"] .service-panel::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 44%);
}

html[data-theme="light"] .service-panel__ghost {
  color: rgba(109, 20, 25, 0.055);
}

html[data-theme="light"] .service-panel__eyebrow {
  color: #8f2024;
}

html[data-theme="light"] .service-panel__badges span {
  border-color: var(--line);
  background: rgba(159, 38, 40, 0.055);
  color: rgba(40, 27, 28, 0.82);
}

html[data-theme="light"] .contact-shell {
  border-color: var(--line);
  background:
    radial-gradient(circle at 92% 0%, rgba(159, 38, 40, 0.26), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(109, 20, 25, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(159, 38, 40, 0.08)),
    #ffffff;
  box-shadow: var(--shadow);
}

html[data-theme="light"] .contact-board__item {
  border-color: var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(159, 38, 40, 0.035), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(159, 38, 40, 0.018)),
    #fffdfc;
}

html[data-theme="light"] .contact-board__item--wide {
  background:
    radial-gradient(circle at 88% 10%, rgba(159, 38, 40, 0.045), transparent 34%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.99), rgba(159, 38, 40, 0.02)),
    #fffdfc;
}

html[data-theme="light"] .contact-board__item--phone {
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 107, 99, 0.04), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(159, 38, 40, 0.02)),
    #fffdfc;
}

html[data-theme="light"] .contact-board__item--action:hover::after {
  border-color: var(--accent);
}

@keyframes introFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 26px, 0) scale(1.05);
  }
}

@media (max-width: 1080px) {.desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
    position: relative;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  

  

  

  

  

  

  .hero-panel {
    min-height: 540px;
  }}

@media (max-width: 820px) {.section {
    padding: 32px 0 82px;
  }

  

  

  

  

  

  

  .hero-panel--services {
    max-width: 100%;
    padding: 20px;
  }

  .services-interactive {
    grid-template-columns: 1fr;
  }

  .service-tab {
    padding: 16px;
  }

  .service-tab__index {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 0.82rem;
  }

  .service-tab__title {
    font-size: 1.02rem;
  }

  .service-panel {
    padding: 26px;
  }

  .service-panel__ghost {
    right: 18px;
    font-size: 5rem;
  }

  .service-panel h3 {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  

  

  

  

  

  

  .contact-board {
    grid-template-columns: 1fr;
  }

  .contact-board__item--wide {
    grid-column: auto;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: start;
  }}

@media (max-width: 640px) {
  .nav-shell {
    gap: 12px;
    padding: 14px 16px;
    border-radius: 22px;
  }

  .nav-actions {
    gap: 8px;
  }

  .brand__copy strong {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }

  .brand {
    gap: 12px;
    padding: 9px 12px 9px 10px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  

  

  

  

  

  

  

  

  

  

  .hero-panel--services {
    max-width: 100%;
    padding: 16px;
  }

  .services-interactive {
    gap: 14px;
  }

  .services-interactive__nav {
    gap: 10px;
  }

  .service-tab {
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .service-tab__index {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 0.76rem;
  }

  .service-tab__title {
    font-size: 0.96rem;
  }

  .service-panel {
    gap: 14px;
    padding: 20px 18px;
    border-radius: 22px;
  }

  .service-panel__ghost {
    top: 12px;
    right: 14px;
    font-size: 3.6rem;
  }

  .service-panel h3 {
    font-size: 1.58rem;
  }

  .service-panel__badges span {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  

  

  

  

  

  .hero-panel {
    min-height: auto;
    padding: 18px;
  }

  

  

  

  

  .contact-shell {
    padding: 22px;
  }

  .contact-shell::after {
    left: 22px;
  }

  .contact-copy {
    padding-bottom: 22px;
  }

  .contact-board__item {
    min-height: 100px;
    padding: 19px;
  }

  .contact-board__item--action {
    padding-right: 54px;
  }

  .contact-board__item--action::after {
    right: 22px;
  }

  .contact-board__item::before {
    left: 19px;
  }

  .contact-board__item:hover::before {
    width: calc(100% - 38px);
  }}

@media (max-width: 420px) {.brand__copy {
    display: none;
  }

  .brand {
    padding-right: 10px;
  }}


/* Immersive 3D hero */

#fire-model {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
  filter: drop-shadow(0 38px 30px rgba(0, 0, 0, 0.42));
  transform: translateY(22px) scale(0.94);
  transition:
    opacity 700ms ease,
    transform 1100ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
  --poster-color: transparent;
  --progress-bar-color: transparent;
}

#fire-model:active {
  cursor: grabbing;
}

#fire-model::part(default-progress-bar) {
  display: none;
}

.model-attribution {
  display: block;
  margin-top: 13px;
  color: color-mix(in srgb, var(--muted) 72%, transparent);
  font-size: 0.64rem;
  line-height: 1.55;
}

.model-attribution a {
  text-decoration: underline;
  text-decoration-color: rgba(196, 107, 99, 0.38);
  text-underline-offset: 3px;
}

.model-attribution a:hover {
  color: var(--text);
}

/* Cinematic landing composition */
html, body {
  overflow-x: clip;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  padding: 0;
}

.site-header::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(4, 5, 6, 0.97) 0%,
    rgba(4, 5, 6, 0.92) 58px,
    rgba(4, 5, 6, 0.45) 100px,
    rgba(4, 5, 6, 0) 100%
  );
}

.site-header .nav-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px max(32px, 4vw);
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

@media (min-width: 901px) {.section--services, .section--products, .section--contact {
    padding-top: 112px;
  }}

.site-header .brand {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-header .brand__mark {
  width: 72px;
  height: 72px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.site-header .brand__mark img {
  object-fit: contain;
}

.site-header .brand__copy {
  display: none;
}

.site-header .brand__copy strong {
  font-size: 1.12rem;
  letter-spacing: 0.12em;
}

.site-header .brand__copy small {
  color: rgba(245, 242, 239, 0.68);
  letter-spacing: 0.16em;
  text-transform: none;
}

.site-header .desktop-nav {
  gap: 4px;
}

.site-header .desktop-nav a {
  position: relative;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(245, 242, 239, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: none;
}

.site-header .desktop-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  transition: width 280ms ease;
  pointer-events: none;
}

.site-header .desktop-nav a:hover, .site-header .desktop-nav a[aria-current="page"] {
  transform: none;
  border-color: transparent;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.site-header .desktop-nav a:hover::after, .site-header .desktop-nav a[aria-current="page"]::after {
  width: calc(100% - 32px);
}

.hero-cinematic {
  position: relative;
  display: block;
  min-height: 100svh;
  padding: 118px 0 28px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #050506;
  box-shadow: none;
}

.hero-cinematic::before,
.hero-cinematic::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-cinematic::before {
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 5, 7, 0.78) 0%, rgba(4, 5, 7, 0.46) 30%, rgba(4, 5, 7, 0.06) 58%, rgba(4, 5, 7, 0) 100%),
    linear-gradient(180deg, rgba(4, 5, 7, 0.4), transparent 24%, transparent 70%, rgba(4, 5, 7, 0.5));
  mask-image: none;
  opacity: 1;
}

.hero-cinematic::after {
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(2, 3, 4, 0.78));
}

.hero-cinematic__copy {
  position: relative;
  z-index: 6;
  width: min(680px, 44vw);
  margin: 0;
  padding: 12px 0 18px max(32px, 5.5vw);
}

.hero-cinematic__eyebrow {
  display: block;
  margin-bottom: 16px;
  color: rgba(245, 242, 239, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.hero-cinematic__copy h1 {
  margin: 0;
  color: #f8f5f1;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.1rem, 4.6vw, 5.2rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

.hero-cinematic__copy h1 span {
  color: #e01f25;
  text-shadow: 0 0 34px rgba(224, 31, 37, 0.2);
}

.hero-cinematic__subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-cinematic__subtitle i {
  flex: 0 0 auto;
  width: 30px;
  height: 2px;
  background: #e01f25;
  box-shadow: 0 0 16px rgba(224, 31, 37, 0.64);
}

.hero-cinematic__subtitle span {
  color: #e01f25;
}

.hero-cinematic__actions {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}

.hero-cinematic__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 188px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  background: rgba(4, 5, 6, 0.28);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.hero-cinematic__button:hover {
  transform: translateY(-3px);
  border-color: #e01f25;
  background: rgba(159, 38, 40, 0.2);
}

.hero-cinematic__button--primary {
  border-color: #e01f25;
  background: linear-gradient(135deg, #ef1f25, #a90f14);
  box-shadow: 0 16px 38px rgba(191, 17, 23, 0.28);
}

.hero-cinematic__button--primary:hover {
  background: linear-gradient(135deg, #ff3036, #bd1218);
  box-shadow: 0 20px 46px rgba(191, 17, 23, 0.38);
}

.hero-cinematic__panel {
  position: relative;
  z-index: 6;
  width: min(620px, 44vw);
  margin: 26px 0 0 max(32px, 5.5vw);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-cinematic__panel strong {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #ee3136;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-cinematic__panel strong svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.hero-cinematic__panel p {
  margin: 8px 0 0;
  color: rgba(245, 242, 239, 0.82);
  font-size: 0.88rem;
  line-height: 1.62;
}

.hero-cinematic__audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  z-index: 6;
  width: min(680px, 44vw);
  margin: 22px 0 0 max(32px, 5.5vw);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-cinematic__audiences article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 12px 16px 10px 0;
}

.hero-cinematic__audiences article + article {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-cinematic__audiences article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #e01f25;
}

.hero-cinematic__audiences article svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.hero-cinematic__audiences article div {
  display: grid;
  gap: 3px;
}

.hero-cinematic__audiences strong {
  color: #ffffff;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-cinematic__audiences small {
  color: rgba(245, 242, 239, 0.62);
  font-size: 0.67rem;
  line-height: 1.38;
}

html[data-theme="light"] .site-header::after {
  background: linear-gradient(
    180deg,
    rgba(255, 252, 250, 0.97) 0%,
    rgba(255, 252, 250, 0.9) 58px,
    rgba(255, 252, 250, 0.4) 100px,
    rgba(255, 252, 250, 0) 100%
  );
}

html[data-theme="light"] .site-header .nav-shell {
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

html[data-theme="light"] .brand__mark img.brand__logo--dark {
  display: none;
}

html[data-theme="light"] .brand__mark img.brand__logo--light {
  display: block;
}

html[data-theme="light"] .site-header .brand__copy {
  display: none;
}

html[data-theme="light"] .site-header .brand,
html[data-theme="light"] .site-header .brand__mark {
  border: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .site-header .brand {
  width: auto;
  height: auto;
}

html[data-theme="light"] .site-header .brand__copy small {
  color: rgba(53, 31, 32, 0.62);
}

html[data-theme="light"] .site-header .desktop-nav a {
  background: transparent;
  color: rgba(40, 27, 28, 0.78);
  box-shadow: none;
}

html[data-theme="light"] .site-header .desktop-nav a:hover, html[data-theme="light"] .site-header .desktop-nav a[aria-current="page"] {
  color: #2f2021;
}

html[data-theme="light"] .hero-cinematic {
  border: 0;
  background: #050506;
  box-shadow: none;
}

html[data-theme="light"] .hero-cinematic::before {
  background:
    linear-gradient(90deg, rgba(4, 5, 7, 0.78) 0%, rgba(4, 5, 7, 0.46) 30%, rgba(4, 5, 7, 0.06) 58%, rgba(4, 5, 7, 0) 100%),
    linear-gradient(180deg, rgba(4, 5, 7, 0.4), transparent 24%, transparent 70%, rgba(4, 5, 7, 0.5));
}

html[data-theme="light"] .hero-cinematic::after {
  background: linear-gradient(180deg, transparent, rgba(6, 6, 8, 0.72));
}

html[data-theme="light"] .hero-cinematic__eyebrow, html[data-theme="light"] .hero-cinematic__subtitle {
  color: rgba(245, 242, 239, 0.72);
}

html[data-theme="light"] .hero-cinematic__copy h1 {
  color: #f8f5f1;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

html[data-theme="light"] .hero-cinematic__button:not(.hero-cinematic__button--primary) {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(4, 5, 6, 0.28);
  color: #ffffff;
}

html[data-theme="light"] .hero-cinematic__panel {
  background: transparent;
  box-shadow: none;
}

html[data-theme="light"] .hero-cinematic__panel p, html[data-theme="light"] .hero-cinematic__audiences small {
  color: rgba(245, 242, 239, 0.78);
}

html[data-theme="light"] .hero-cinematic__audiences {
  border-top-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="light"] .hero-cinematic__audiences article + article {
  border-left-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="light"] .hero-cinematic__audiences strong {
  color: #ffffff;
}

html[data-theme="light"] .hero-stage__plate:not(.hero-stage__plate--light) {
  display: none;
}

html[data-theme="light"] .hero-stage__plate--light {
  display: block;
}

html[data-theme="light"] .hero-stage__glow {
  mix-blend-mode: overlay;
}

html[data-theme="light"] .site-header .brand__copy strong {
  color: #2f2021;
}

@media (min-width: 901px) {html[data-theme="light"] .hero-cinematic {
    background: #d5dde4;
  }

  html[data-theme="light"] .hero-cinematic::before {
    background:
      linear-gradient(90deg, rgba(255, 252, 250, 0.38) 0%, rgba(255, 252, 250, 0.1) 28%, transparent 52%),
      linear-gradient(180deg, rgba(255, 252, 250, 0.22), transparent 20%, transparent 74%, rgba(236, 232, 230, 0.28));
  }

  html[data-theme="light"] .hero-cinematic::after {
    background: linear-gradient(180deg, transparent, rgba(250, 246, 244, 0.28));
  }

  html[data-theme="light"] .hero-cinematic__eyebrow, html[data-theme="light"] .hero-cinematic__subtitle {
    color: rgba(40, 27, 28, 0.62);
  }

  html[data-theme="light"] .hero-cinematic__copy h1 {
    color: #281b1c;
    text-shadow: none;
  }

  html[data-theme="light"] .hero-cinematic__button:not(.hero-cinematic__button--primary) {
    border-color: rgba(40, 27, 28, 0.22);
    background: rgba(255, 252, 250, 0.55);
    color: #281b1c;
  }

  html[data-theme="light"] .hero-cinematic__panel p, html[data-theme="light"] .hero-cinematic__audiences small {
    color: rgba(40, 27, 28, 0.72);
  }

  html[data-theme="light"] .hero-cinematic__audiences {
    border-top-color: rgba(40, 27, 28, 0.14);
  }

  html[data-theme="light"] .hero-cinematic__audiences article + article {
    border-left-color: rgba(40, 27, 28, 0.14);
  }

  html[data-theme="light"] .hero-cinematic__audiences strong {
    color: #281b1c;
  }

  html[data-theme="light"] .site-header .brand__copy strong {
    color: #2f2021;
  }}

@media (max-width: 1100px) {.hero-cinematic__copy {
    width: min(640px, 50vw);
  }

  .hero-cinematic__copy h1 {
    font-size: clamp(2.8rem, 5.2vw, 4.2rem);
  }

  

  .hero-cinematic__button {
    min-width: 168px;
  }}

@media (max-width: 900px) {
  .site-header {
    z-index: 80;
    opacity: 1;
    pointer-events: auto;
  }

  .site-header::after {
    display: block;
    height: 128px;
  }

  .site-header .nav-shell {
    width: 100%;
    max-width: none;
    padding: 14px 20px;
  }

  .site-header .brand__mark {
    width: 62px;
    height: 62px;
  }

  .site-header .theme-toggle {
    width: 62px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(4, 5, 6, 0.18);
    box-shadow: none;
  }

  .site-header .theme-toggle__thumb {
    width: 26px;
    height: 26px;
    transform: translateX(26px);
  }

  html[data-theme="light"] .site-header .theme-toggle__thumb {
    transform: translateX(0);
  }

  html[data-theme="light"] .site-header .theme-toggle {
    border-color: rgba(109, 20, 25, 0.14);
    background: rgba(255, 252, 250, 0.42);
  }

  .site-header .menu-toggle {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
  }

  html[data-theme="light"] .site-header .menu-toggle {
    border: 0;
    background: transparent;
  }

  .site-header .mobile-menu {
    margin-top: 0;
    padding: 4px 20px 18px;
  }

  .section--services,
  .section--products,
  .section--contact {
    padding-top: 108px;
  }

  .hero-cinematic {
    display: grid;
    grid-template-areas:
      "copy"
      "figure"
      "panel"
      "audiences";
    min-height: auto;
    padding: 118px 24px 34px;
    background-position: 72% center;
  }

  .hero-cinematic__copy { grid-area: copy; }
  
  .hero-cinematic__panel { grid-area: panel; }
  .hero-cinematic__audiences { grid-area: audiences; }

  .hero-cinematic::before {
    background:
      linear-gradient(180deg, rgba(2, 4, 5, 0.82) 0%, rgba(2, 4, 5, 0.46) 42%, rgba(2, 4, 5, 0.78) 100%),
      radial-gradient(circle at 68% 42%, rgba(219, 25, 25, 0.16), transparent 34%);
  }

  

  .hero-cinematic__copy, .hero-cinematic__panel, .hero-cinematic__audiences {
    width: min(100%, 680px);
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-cinematic__copy h1 {
    font-size: clamp(3rem, 8.5vw, 4.6rem);
  }}

@media (max-width: 600px) {
  .site-header .nav-shell {
    padding: 12px 16px;
  }

  .site-header .mobile-menu {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-cinematic {
    padding: 108px 18px 28px;
  }

  .hero-cinematic__eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.28em;
  }

  .hero-cinematic__copy h1 {
    font-size: clamp(2.7rem, 12.8vw, 3.8rem);
  }

  .hero-cinematic__subtitle {
    align-items: flex-start;
    font-size: 0.61rem;
    letter-spacing: 0.08em;
  }

  .hero-cinematic__subtitle i {
    width: 20px;
    margin-top: 0.45em;
  }

  .hero-cinematic__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-cinematic__button {
    min-width: 0;
    min-height: 50px;
    padding: 0 15px;
    border-radius: 12px;
    font-size: 0.75rem;
  }

  

  .hero-cinematic__panel p {
    font-size: 0.82rem;
  }

  .hero-cinematic__audiences {
    grid-template-columns: 1fr;
  }

  .hero-cinematic__audiences article {
    min-height: 64px;
    padding: 10px 0;
  }

  .hero-cinematic__audiences article + article {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }}

/* The scroll-driven hero variables do not inherit: main.js writes each one only on
   the elements that read it, so a scroll frame restyles 1-3 elements instead of
   the whole hero subtree. */
@property --hero-text {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@property --hero-after {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@property --hero-plate {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@property --hero-bleed {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --hero-layout {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

@property --hero-zoom {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@property --fire-o {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@property --fire-s {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@property --hero-spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --hero-orb-x {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}

@property --hero-orb-y {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}

/* Pseudo-elements read the scene root's values, so they opt back into inheriting */
.hero-scroll .hero-cinematic::before {
  --hero-text: inherit;
}

.hero-scroll .hero-cinematic::after {
  --hero-after: inherit;
}

/* Scroll-driven hero: pinned scene, extinguisher sequence, looping fire on the floor */
.hero-scroll {
  height: 380vh;
  padding: 0;
}

.hero-scroll__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  container-type: size;
}

.hero-scroll .hero-cinematic {
  --hero-text: 1;
  --hero-after: 1;
  --fire-o: 1;
  --fire-s: 1;
  --hero-zoom: 1;
  --hero-spin: 0deg;
  --hero-orb-x: 0%;
  --hero-orb-y: 0%;
  --hero-scale: min(calc(100vw / 1920), calc(100svh / 1080), 1.5px);
  height: 100svh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: max(88px, calc(108 * var(--hero-scale))) 0 calc(18 * var(--hero-scale));
}

.hero-bleed {
  display: none;
}

.hero-stage {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0;
  width: min(100cqi, calc(100cqh * 16 / 9));
  aspect-ratio: 16 / 9;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-stage__plate {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage__plate--light {
  display: none;
}

.hero-stage__glow {
  position: absolute;
  left: 66%;
  bottom: 14%;
  width: 28%;
  height: 24%;
  background: radial-gradient(ellipse at 50% 78%, rgba(255, 110, 28, 0.42), rgba(224, 31, 37, 0.16) 46%, transparent 74%);
  mix-blend-mode: screen;
  opacity: calc(var(--fire-o) * 0.9);
  filter: blur(14px);
  transform: scale(var(--fire-s));
  transform-origin: 49% 80%;
}

.hero-stage__fire {
  position: absolute;
  left: 62.5%;
  top: 16.667%;
  display: block;
  width: 37.5%;
  height: 83.333%;
  opacity: 0;
  transform: scale(var(--fire-s));
  transform-origin: 49% 80%;
  transition: opacity 500ms ease;
}

.hero-stage__fire.is-ready {
  opacity: var(--fire-o);
}

.hero-stage__extinguisher {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform-origin: 56% 58%;
  transform:
    translate(var(--hero-orb-x, 0%), var(--hero-orb-y, 0%))
    rotate(var(--hero-spin, 0deg))
    scale(var(--hero-zoom, 1));
  transition: opacity 500ms ease;
}

.hero-stage__extinguisher.is-ready {
  opacity: 1;
}

/* Static first frame: the hero always shows the extinguisher, even before the
   frames arrive or if canvas drawing fails. Hidden once the canvas has painted;
   the delay lets the canvas finish its fade-in first. */
.hero-stage__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 56% 58%;
  transform:
    translate(var(--hero-orb-x, 0%), var(--hero-orb-y, 0%))
    rotate(var(--hero-spin, 0deg))
    scale(var(--hero-zoom, 1));
}

.hero-stage__extinguisher.is-ready ~ .hero-stage__poster {
  opacity: 0;
}

.hero-stage__reflection {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scaleY(-1);
  transform-origin: 50% 88.3%;
  filter: saturate(0.9);
  -webkit-mask-image: linear-gradient(180deg, transparent 80%, rgba(0, 0, 0, 0.85) 88%, rgba(0, 0, 0, 0.35) 95%, transparent 99%);
  mask-image: linear-gradient(180deg, transparent 80%, rgba(0, 0, 0, 0.85) 88%, rgba(0, 0, 0, 0.35) 95%, transparent 99%);
  transition: opacity 500ms ease;
}

.hero-stage__reflection.is-ready {
  opacity: 0.3;
}

.hero-scroll .hero-cinematic__copy {
  opacity: var(--hero-text);
  transform: translate3d(0, calc((1 - var(--hero-text)) * -16px), 0);
  transition: none;
}

.hero-scroll .hero-cinematic__panel,
.hero-scroll .hero-cinematic__audiences {
  opacity: var(--hero-after);
  transform: translate3d(0, calc((1 - var(--hero-after)) * 20px), 0);
  transition: none;
}

@media (min-width: 901px) {
  .hero-scroll .hero-cinematic__copy,
  .hero-scroll .hero-cinematic__panel,
  .hero-scroll .hero-cinematic__audiences {
    transform: none;
  }

  .hero-scroll .hero-cinematic__copy {
    width: min(48vw, calc(860 * var(--hero-scale)));
    padding: calc(8 * var(--hero-scale)) 0 calc(12 * var(--hero-scale)) max(24px, calc(72 * var(--hero-scale)));
  }

  .hero-scroll .hero-cinematic__eyebrow {
    margin-bottom: calc(14 * var(--hero-scale));
    font-size: calc(13 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__copy h1 {
    font-size: calc(92 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__subtitle {
    gap: calc(12 * var(--hero-scale));
    margin-top: calc(18 * var(--hero-scale));
    font-size: calc(15 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__subtitle i {
    width: calc(32 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__actions {
    gap: calc(16 * var(--hero-scale));
    margin-top: calc(22 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__button {
    min-width: calc(196 * var(--hero-scale));
    min-height: calc(56 * var(--hero-scale));
    padding: 0 calc(22 * var(--hero-scale));
    font-size: calc(16 * var(--hero-scale));
    border-radius: calc(14 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__panel {
    width: min(48vw, calc(820 * var(--hero-scale)));
    margin: calc(22 * var(--hero-scale)) 0 0 max(24px, calc(72 * var(--hero-scale)));
  }

  .hero-scroll .hero-cinematic__panel strong {
    margin-bottom: calc(8 * var(--hero-scale));
    font-size: calc(15 * var(--hero-scale));
    gap: calc(10 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__panel strong svg {
    width: calc(20 * var(--hero-scale));
    height: calc(20 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__panel p {
    margin-top: calc(8 * var(--hero-scale));
    font-size: calc(17 * var(--hero-scale));
    line-height: 1.58;
  }

  .hero-scroll .hero-cinematic__audiences {
    width: min(48vw, calc(860 * var(--hero-scale)));
    margin: auto 0 0 max(24px, calc(72 * var(--hero-scale)));
  }

  .hero-scroll .hero-cinematic__audiences article {
    min-height: calc(72 * var(--hero-scale));
    gap: calc(12 * var(--hero-scale));
    padding: calc(12 * var(--hero-scale)) calc(14 * var(--hero-scale)) calc(10 * var(--hero-scale)) 0;
  }

  .hero-scroll .hero-cinematic__audiences article > span {
    width: calc(34 * var(--hero-scale));
    height: calc(34 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__audiences article svg {
    width: calc(28 * var(--hero-scale));
    height: calc(28 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__audiences strong {
    font-size: calc(14 * var(--hero-scale));
  }

  .hero-scroll .hero-cinematic__audiences small {
    font-size: calc(12.5 * var(--hero-scale));
  }}

@media (max-width: 900px) {.hero-scroll {
    height: 420vh;
  }

  .hero-scroll .hero-cinematic {
    --hero-after: 0;
    --hero-plate: 1;
    --hero-bleed: 0;
    --hero-layout: 0;
    --hero-veil: 0;
    display: block;
    padding: 0;
  }

  .hero-scroll .hero-cinematic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(180deg, rgba(4, 5, 7, 0.78) 0%, rgba(4, 5, 7, 0.28) 38%, rgba(4, 5, 7, 0.62) 100%);
    opacity: var(--hero-text);
    pointer-events: none;
    transition: none;
  }

  .hero-scroll .hero-cinematic::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    height: auto;
    background: rgba(5, 5, 6, 0.88);
    opacity: var(--hero-after);
    pointer-events: none;
    transition: none;
  }

  

  .hero-bleed {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: var(--hero-bleed);
  }

  .hero-bleed img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 22% 50%;
    transform: none;
  }

  .hero-bleed img.hero-bleed__light {
    display: none;
  }

  .hero-stage__plate {
    opacity: var(--hero-plate);
  }

  .hero-stage__fire, .hero-stage__glow {
    transition: none;
  }

  .hero-stage__extinguisher {
    transition: none;
    will-change: transform;
  }

  .hero-stage__reflection {
    transform:
      translate(var(--hero-orb-x, 0%), var(--hero-orb-y, 0%))
      scale(var(--hero-zoom, 1))
      scaleY(-1);
    transform-origin: 56% 88.3%;
    transition: none;
  }

  .hero-stage {
    --scene-w: max(100cqi, calc(100cqh * 9 / 16));
    --scene-h: calc(var(--scene-w) * 16 / 9);
    --scene-left: calc(0.22 * (100cqi - var(--scene-w)));
    --scene-top: calc(0.5 * (100cqh - var(--scene-h)));
    --anim-w: calc(var(--scene-w) * 1.9906);
    --anim-tx: calc(var(--scene-left) - 0.9879 * var(--scene-w) - 50cqi);
    --anim-ty: calc(var(--scene-top) + 0.188 * var(--scene-h) - 50cqh);
    --start-w: min(190cqi, calc(100cqh * 16 / 9));
    --layout: var(--hero-layout);
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    width: calc(var(--start-w) * (1 - var(--layout)) + var(--anim-w) * var(--layout));
    transform: translate(
      calc(-72% * (1 - var(--layout)) + var(--anim-tx) * var(--layout)),
      calc((50cqh - 100%) * (1 - var(--layout)) + var(--anim-ty) * var(--layout))
    );
    opacity: calc(1 - var(--hero-after));
    will-change: transform, width;
  }

  .hero-scroll .hero-cinematic__copy, .hero-scroll .hero-cinematic__panel, .hero-scroll .hero-cinematic__audiences {
    transition: none;
  }

  .hero-scroll .hero-cinematic__copy {
    position: absolute;
    z-index: 6;
    top: 108px;
    left: 22px;
    right: 22px;
    width: auto;
    padding: 0;
    pointer-events: none;
  }

  .hero-scroll .hero-cinematic__copy .hero-cinematic__actions {
    pointer-events: auto;
  }

  .hero-scroll .hero-cinematic__copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }

  .hero-scroll .hero-cinematic__panel, .hero-scroll .hero-cinematic__audiences {
    display: block;
    position: absolute;
    z-index: 7;
    left: 22px;
    right: 22px;
    width: auto;
    margin: 0;
    pointer-events: none;
  }

  .hero-scroll .hero-cinematic__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 108px;
    bottom: 118px;
    overflow: auto;
    text-align: center;
  }

  .hero-scroll .hero-cinematic__panel strong {
    justify-content: center;
    margin-bottom: 14px;
    font-size: 0.78rem;
  }

  .hero-scroll .hero-cinematic__panel p {
    margin-top: 12px;
    color: rgba(245, 242, 239, 0.86);
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.01em;
    word-spacing: 0.04em;
  }

  .hero-scroll .hero-cinematic__audiences {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-scroll .hero-cinematic__audiences article {
    display: grid;
    justify-items: start;
    gap: 8px;
    min-height: 0;
    padding: 14px 8px 8px 0;
  }

  .hero-scroll .hero-cinematic__audiences article + article {
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-scroll .hero-cinematic__audiences article > span {
    width: 28px;
    height: 28px;
  }

  .hero-scroll .hero-cinematic__audiences article svg {
    width: 22px;
    height: 22px;
  }

  .hero-scroll .hero-cinematic__audiences strong {
    font-size: 0.68rem;
  }

  .hero-scroll .hero-cinematic__audiences small {
    font-size: 0.62rem;
    line-height: 1.35;
  }

  .hero-panel--services {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .hero-panel--services::before, .hero-panel--services::after {
    display: none;
  }

  .services-interactive {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .services-interactive__nav {
    display: grid;
    gap: 8px;
  }

  .service-tab, .service-tab:hover, .service-tab.is-active {
    transform: none;
    gap: 12px;
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .service-tab__title {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .services-interactive__stage {
    display: none;
  }

  .services-interactive__nav .service-panel {
    grid-area: auto;
    min-height: 0;
    margin: -2px 0 6px;
    padding: 14px 16px 16px;
    border-radius: 16px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .service-panel__ghost, .service-panel__eyebrow, .service-panel h3, .service-panel__badges {
    display: none;
  }

  .service-panel p, .service-panel__list {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .service-panel__list {
    display: grid;
    gap: 6px;
    padding-left: 18px;
  }}

@media (max-width: 900px) {html[data-theme="light"] .hero-scroll .hero-cinematic {
    background: #d5dde4;
  }

  html[data-theme="light"] .hero-scroll .hero-cinematic::before {
    background:
      linear-gradient(180deg, rgba(255, 252, 250, 0.78) 0%, rgba(255, 252, 250, 0.18) 36%, rgba(250, 246, 244, 0.58) 100%);
  }

  html[data-theme="light"] .hero-scroll .hero-cinematic::after {
    background: rgba(255, 252, 250, 0.94);
  }

  html[data-theme="light"] .hero-bleed img:not(.hero-bleed__light) {
    display: none;
  }

  html[data-theme="light"] .hero-bleed img.hero-bleed__light {
    display: block;
  }

  html[data-theme="light"] .hero-cinematic__eyebrow, html[data-theme="light"] .hero-cinematic__subtitle {
    color: rgba(40, 27, 28, 0.62);
  }

  html[data-theme="light"] .hero-cinematic__copy h1 {
    color: #281b1c;
    text-shadow: none;
  }

  html[data-theme="light"] .hero-cinematic__button:not(.hero-cinematic__button--primary) {
    border-color: rgba(40, 27, 28, 0.22);
    background: rgba(255, 252, 250, 0.62);
    color: #281b1c;
  }

  html[data-theme="light"] .hero-scroll .hero-cinematic__panel p, html[data-theme="light"] .hero-cinematic__audiences small {
    color: rgba(40, 27, 28, 0.72);
  }

  html[data-theme="light"] .hero-scroll .hero-cinematic__audiences {
    border-top-color: rgba(40, 27, 28, 0.14);
  }

  html[data-theme="light"] .hero-scroll .hero-cinematic__audiences article + article {
    border-left-color: rgba(40, 27, 28, 0.14);
  }

  html[data-theme="light"] .hero-cinematic__audiences strong {
    color: #281b1c;
  }

  html[data-theme="light"] .site-header .brand__copy small {
    color: rgba(53, 31, 32, 0.62);
  }}

@media (max-width: 900px) and (max-height: 740px) {.hero-scroll .hero-cinematic__copy, .hero-scroll .hero-cinematic__panel {
    top: 88px;
  }

  .hero-scroll .hero-cinematic__copy h1 {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .hero-scroll .hero-cinematic__panel p {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .hero-scroll .hero-cinematic__audiences article {
    padding-top: 10px;
  }}


/* Product categories (template: images + descriptions to be filled in) */
.product-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* Workspace under the categories: subcategories + products on the left, detail panel on the right */
.product-workspace {
  display: grid;
  align-items: start;
  gap: 18px;
  margin-top: 18px;
}

.product-workspace__main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

/* Subcategories revealed under a grouped category (e.g. Πυροσβεστήρες) */
.product-subcategories {
  display: grid;
  gap: 16px;
  padding: 20px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(159, 38, 40, 0.22), transparent 45%),
    rgba(10, 10, 12, 0.9);
  animation: product-sub-in 320ms ease both;
}

.product-subcategories[hidden] {
  display: none;
}

.product-subcategories__label, .product-browser__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Short red dash in front of the panel headings */
.product-subcategories__label::before, .product-browser__title::before {
  content: "";
  flex: 0 0 22px;
  height: 2px;
  border-radius: 2px;
  background: #e01f25;
}

.product-browser__title {
  display: block;
}

.product-browser__title::before {
  display: inline-block;
  width: 22px;
  margin-right: 14px;
  vertical-align: middle;
}

.product-browser__count {
  color: var(--muted);
  font-weight: 400;
}

.product-browser__count:empty {
  display: none;
}

/* Subcategory cards: photo on the left, number + title on the right */
.product-categories--sub {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-categories--sub .product-category {
  grid-template-columns: 128px minmax(0, 1fr) auto;
  grid-template-rows: none;
  align-items: center;
  gap: 16px;
  padding: 10px 16px 10px 10px;
}

.product-categories--sub .product-category__media {
  position: relative;
  grid-column: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Soft fade on the photo's inner edge so it blends into the card */
.product-categories--sub .product-category__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(14, 14, 16, 0.55));
  pointer-events: none;
}

html[data-theme="light"] .product-categories--sub .product-category__media::after {
  background: linear-gradient(90deg, transparent 55%, rgba(255, 255, 255, 0.4));
}

.product-categories--sub .product-category__body {
  gap: 4px;
  padding-left: 0;
}

.product-categories--sub .product-category__arrow {
  padding-right: 0;
}

.product-categories--sub .product-category__title {
  font-size: 0.82rem;
}

@keyframes product-sub-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.product-category__num {
  color: #ff4a44;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-category {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 12px 8px;
  padding: 0 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  color: var(--text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(159, 38, 40, 0.03)),
    rgba(14, 14, 16, 0.92);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    background 250ms ease,
    box-shadow 250ms ease;
}

.product-category__media {
  grid-column: 1 / -1;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(159, 38, 40, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.25));
}

.product-category__media img {
  display: block;
  width: 100%;
  height: 100%;
  /* Category photos are 16:9 like their frame, so they fill it */
  object-fit: cover;
  transition: transform 250ms ease;
}

.product-category__body {
  display: grid;
  gap: 6px;
  padding-left: 14px;
}

.product-category__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.product-category__title sub {
  font-size: 0.65em;
  line-height: 0;
}

.product-category__desc {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.product-category__desc:empty {
  display: none;
}

.product-category__arrow {
  padding-right: 14px;
  font-size: 1rem;
  line-height: 1.3;
  transition: transform 250ms ease;
}

/* Only the selected card turns red; hover just lights the border */
.product-category.is-active {
  border-color: rgba(255, 90, 85, 0.6);
  background:
    linear-gradient(180deg, rgba(224, 31, 37, 0.1), rgba(159, 38, 40, 0.32)),
    rgba(40, 10, 12, 0.96);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.3), 0 0 28px rgba(224, 31, 37, 0.18);
}

.product-category:focus-visible {
  border-color: rgba(255, 90, 85, 0.6);
}

/* Touch screens keep :hover on the last tapped card, so hover effects are mouse-only */
@media (hover: hover) {.product-category:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 90, 85, 0.45);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.3), 0 0 18px rgba(224, 31, 37, 0.12);
  }

  .product-category:hover .product-category__media img {
    transform: scale(1.03);
  }

  .product-category:hover .product-category__arrow {
    transform: translateX(4px);
  }}

.product-category:focus-visible .product-category__arrow {
  transform: translateX(4px);
}

html[data-theme="light"] .product-category {
  border-color: rgba(109, 20, 25, 0.12);
  background:
    linear-gradient(180deg, #ffffff, rgba(159, 38, 40, 0.04)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(87, 24, 28, 0.08);
}

html[data-theme="light"] .product-category__media {
  background:
    radial-gradient(circle at 50% 40%, rgba(159, 38, 40, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.07));
}

html[data-theme="light"] .product-category.is-active {
  border-color: rgba(159, 38, 40, 0.4);
  background:
    linear-gradient(180deg, #ffffff, rgba(159, 38, 40, 0.1)),
    #ffffff;
  box-shadow: 0 24px 58px rgba(87, 24, 28, 0.14);
}

html[data-theme="light"] .product-category:focus-visible {
  border-color: rgba(159, 38, 40, 0.4);
}

@media (hover: hover) {html[data-theme="light"] .product-category:hover {
    border-color: rgba(159, 38, 40, 0.3);
    box-shadow: 0 24px 58px rgba(87, 24, 28, 0.12);
  }}

@media (max-width: 1100px) {.product-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-categories--sub {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-categories--sub .product-category {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: 10px;
    padding-right: 12px;
  }}

/* Mobile: swipeable row showing two cards plus a peek of the next one */
@media (max-width: 640px) {.product-categories {
    display: flex;
    gap: 10px;
    width: auto;
    margin-inline: 0;
    padding: 4px 16px 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-categories::-webkit-scrollbar {
    display: none;
  }

  .product-category {
    flex: 0 0 calc((100% - 10px) / 2.3);
    scroll-snap-align: start;
  }

  .product-category:hover {
    transform: none;
  }

  .product-category__title {
    font-size: 0.8rem;
  }

  .product-workspace {
    width: auto;
    margin-inline: 0;
  }

  .product-subcategories {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .product-subcategories__label {
    padding-inline: 16px;
    font-size: 1.1rem;
  }

  .product-categories--sub {
    display: flex;
  }

  .product-categories--sub .product-category {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    align-items: end;
    gap: 12px 8px;
    padding: 0 0 14px;
  }

  .product-categories--sub .product-category__media {
    grid-column: 1 / -1;
    border-radius: 0;
  }

  .product-categories--sub .product-category__body {
    padding-left: 14px;
  }

  .product-categories--sub .product-category__arrow {
    padding-right: 14px;
  }

  .product-browser {
    padding-inline: 16px;
  }}

/* Product browser: toolbar, product grid and detail panel (opens from a category) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.product-browser {
  display: grid;
  gap: 18px;
  animation: product-browser-in 360ms ease both;
}

.product-browser[hidden], .product-detail[hidden] {
  display: none;
}

@keyframes product-browser-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.product-browser svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Title on its own line, search / sort / view tools in a row underneath */
.product-browser__head {
  display: grid;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-browser__title {
  min-width: 0;
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 16px;
}

.product-toolbar__end {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.product-search, .product-select {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(14, 14, 16, 0.9);
  color: var(--text);
}

.product-search {
  flex: 1 1 260px;
  max-width: 420px;
  gap: 8px;
  padding: 0 12px;
}

.product-search input, .product-select select {
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.82rem;
}

.product-search input {
  flex: 1;
  height: 38px;
}

.product-search input::placeholder {
  color: var(--muted);
}

.product-select select {
  height: 38px;
  padding: 0 34px 0 14px;
  appearance: none;
  cursor: pointer;
}

.product-select select option {
  background: var(--bg-soft);
  color: var(--text);
}

.product-select svg {
  position: absolute;
  right: 10px;
  pointer-events: none;
}

.product-search:focus-within, .product-select:focus-within {
  border-color: rgba(224, 31, 37, 0.55);
}

.product-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.product-view {
  display: flex;
  gap: 6px;
}

.product-view button, .product-detail__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(14, 14, 16, 0.9);
  color: var(--text);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}

.product-view button.is-active {
  border-color: rgba(224, 31, 37, 0.6);
  background: rgba(159, 38, 40, 0.35);
}

/* Fixed column count so the products spread over the full width */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 0 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(159, 38, 40, 0.03)),
    rgba(14, 14, 16, 0.92);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.product-card__media {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 5 / 4;
  padding: 16px 14px 10px;
  background:
    radial-gradient(circle at 50% 40%, rgba(159, 38, 40, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.25));
}

/* Photos stand on the same base line; height follows --photo-scale (set per product) */
.product-card__media img {
  display: block;
  width: 100%;
  height: calc(100% * var(--photo-scale, 1));
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.35));
  transform-origin: center bottom;
  transition: transform 250ms ease;
}

.product-card__body {
  display: grid;
  gap: 4px;
  padding-left: 16px;
}

.product-card__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}

.product-card__arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 16px;
  border: 1px solid rgba(224, 31, 37, 0.7);
  border-radius: 50%;
  color: #ff5a55;
  transition: background 250ms ease, color 250ms ease;
}

.product-card__arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 250ms ease;
}

.product-card:hover, .product-card:focus-visible, .product-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(255, 90, 85, 0.6);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3), 0 0 24px rgba(224, 31, 37, 0.16);
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card:hover .product-card__arrow svg {
  transform: translateX(3px);
}

.product-card:hover .product-card__arrow, .product-card.is-active .product-card__arrow {
  background: #c8191f;
  color: #fff;
}

.product-grid.is-list {
  grid-template-columns: 1fr;
  gap: 8px;
}

.product-grid.is-list .product-card {
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  padding: 0;
}

.product-grid.is-list .product-card__media {
  grid-column: auto;
  height: 96px;
  padding: 8px 8px 6px;
  aspect-ratio: auto;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: #c8191f;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Category notice (e.g. Fire Gadgets disclaimer) */
.product-note {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid rgba(224, 31, 37, 0.35);
  border-left: 3px solid #e01f25;
  border-radius: 10px;
  background: rgba(159, 38, 40, 0.12);
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.55;
}

.product-note::before {
  content: "!";
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  height: 22px;
  border-radius: 50%;
  background: #e01f25;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-note[hidden] {
  display: none;
}

html[data-theme="light"] .product-note {
  background: rgba(159, 38, 40, 0.06);
}

.product-empty {
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.product-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr);
  grid-template-rows: auto 1fr;
  gap: 28px;
  margin-top: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 50%, rgba(159, 38, 40, 0.2), transparent 40%),
    rgba(10, 10, 12, 0.94);
  box-shadow: var(--shadow);
  animation: product-browser-in 320ms ease both;
}

.product-detail__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-color: transparent;
  background: none;
}

.product-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  grid-row: span 2;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 45%, rgba(159, 38, 40, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
}

/* Same capacity scale as the grid photos */
.product-photo > img {
  display: block;
  width: 100%;
  height: calc(100% * var(--photo-scale, 1));
  padding: 6%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4));
}

/* Thumbnails for products with more than one photo */
.product-photo {
  position: relative;
}

.product-photo__thumbs {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}

.product-photo__thumbs button {
  width: 46px;
  height: 46px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(14, 14, 16, 0.85);
  cursor: pointer;
  transition: border-color 250ms ease;
}

.product-photo__thumbs button.is-active,
.product-photo__thumbs button:hover {
  border-color: rgba(255, 90, 85, 0.7);
}

.product-photo__thumbs img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  filter: none;
}

html[data-theme="light"] .product-photo__thumbs button {
  background: rgba(255, 255, 255, 0.9);
}

.product-detail__info {
  display: grid;
  align-content: start;
  gap: 12px;
}

.product-detail__info .product-badge {
  position: static;
  justify-self: start;
}

.product-detail__info h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.product-detail__desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.product-detail__desc {
  white-space: pre-line;
}

.product-detail__desc strong {
  color: var(--text);
  font-weight: 700;
}

.product-detail__desc:empty {
  display: none;
}

.product-detail__check {
  color: var(--text);
}

.product-detail__sub {
  display: inline-block;
  padding-left: 22px;
  font-size: 0.92em;
}

.product-detail__check::before {
  content: "✓";
  margin-right: 8px;
  color: #ff4a44;
}

.product-detail h4[hidden] {
  display: none;
}

.product-specs:empty {
  display: none;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
}

.product-specs div {
  position: relative;
  display: grid;
  align-content: start;
}

/* Thin red divider between the spec columns */
.product-specs div:not(:first-child):not(.product-specs__wide) {
  padding-left: 14px;
}

.product-specs div:not(:first-child):not(.product-specs__wide)::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(224, 31, 37, 0.65), transparent);
}

.product-specs__icon {
  display: grid;
  margin-bottom: 8px;
  color: #ff4a44;
}

.product-specs .product-specs__icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
}

.product-specs__wide {
  grid-column: 1 / -1;
}

.product-specs dt {
  font-weight: 700;
  font-size: 0.86rem;
}

.product-specs dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.product-detail h4 {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
}

.product-features:empty {
  display: none;
}

.product-features li::before {
  content: "✓";
  margin-right: 8px;
  color: #ff4a44;
}

.product-features li.is-empty::before {
  content: none;
}

.product-features li.is-empty {
  color: var(--muted);
}

html[data-theme="light"] .product-search,
html[data-theme="light"] .product-select,
html[data-theme="light"] .product-view button,
html[data-theme="light"] .product-card {
  border-color: rgba(109, 20, 25, 0.14);
  background: #ffffff;
}

html[data-theme="light"] .product-view button.is-active {
  border-color: rgba(159, 38, 40, 0.5);
  background: rgba(159, 38, 40, 0.1);
}

html[data-theme="light"] .product-card__media,
html[data-theme="light"] .product-photo {
  background:
    radial-gradient(circle at 50% 40%, rgba(159, 38, 40, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.07));
}

html[data-theme="light"] .product-card:hover,
html[data-theme="light"] .product-card.is-active {
  box-shadow: 0 22px 52px rgba(87, 24, 28, 0.14);
}

html[data-theme="light"] .product-detail {
  border-color: rgba(109, 20, 25, 0.12);
  background:
    radial-gradient(circle at 0% 50%, rgba(159, 38, 40, 0.08), transparent 40%),
    #ffffff;
  box-shadow: 0 24px 60px rgba(87, 24, 28, 0.12);
}

@media (max-width: 1100px) {.product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}

@media (max-width: 900px) {.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }}

@media (max-width: 760px) {.product-toolbar__end {
    margin-left: 0;
  }

  .product-search {
    flex: 1 1 100%;
    max-width: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .product-photo {
    width: min(100%, 360px);
    justify-self: center;
  }

  .product-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-specs div:nth-child(odd) {
    padding-left: 0;
  }

  .product-specs div:nth-child(odd)::before {
    content: none;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .product-detail__cta {
    grid-column: 1;
    justify-self: stretch;
  }

  .product-detail {
    grid-template-rows: none;
  }

  .product-photo {
    grid-row: auto;
  }}

/* Product detail extras used only by the phone bottom sheet */
.product-detail svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-detail__cta {
  grid-column: 2;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid #c8191f;
  border-radius: 8px;
  background: linear-gradient(180deg, #d61e24, #a3161b);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.product-detail__cta:hover {
  background: linear-gradient(180deg, #e8262c, #b8191f);
  box-shadow: 0 10px 28px rgba(200, 25, 31, 0.3);
}

.product-detail__cta-web span {
  margin-left: 8px;
}

.product-detail__handle, .product-detail__cta-mobile, .product-sheet-backdrop {
  display: none;
}

@media (max-width: 640px) {.product-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 190;
    display: block;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    transition: opacity 300ms ease;
  }

  .product-sheet-backdrop[hidden] {
    display: none;
  }

  .product-sheet-backdrop.is-open {
    opacity: 1;
  }

  .product-detail.is-sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 14px;
    max-height: 88vh;
    max-height: 88dvh;
    margin: 0;
    padding: 30px 16px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-width: 1px 0 0;
    border-radius: 24px 24px 0 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(159, 38, 40, 0.22), transparent 45%),
      #0c0b0d;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5);
    animation: none;
    transform: translateY(100%);
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .product-detail.is-sheet.is-open {
    transform: translateY(0);
  }

  .product-detail.is-sheet.is-dragging {
    transition: none;
  }

  .is-sheet .product-detail__handle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    height: 26px;
    touch-action: none;
    cursor: grab;
  }

  .is-sheet .product-detail__handle::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 44px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transform: translateX(-50%);
  }

  .is-sheet .product-detail__close {
    top: 14px;
    right: 10px;
    z-index: 1;
  }

  .is-sheet .product-photo {
    position: sticky;
    top: 0;
    width: 100%;
    aspect-ratio: 3 / 5;
    border-radius: 14px;
  }

  .is-sheet .product-photo > img {
    padding: 4%;
  }

  .is-sheet .product-detail__info {
    gap: 10px;
    padding-top: 6px;
  }

  .is-sheet .product-detail__info h3 {
    padding-right: 26px;
    font-size: 1.2rem;
  }

  .is-sheet .product-detail__desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .is-sheet .product-specs {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 12px;
  }

  .is-sheet .product-specs div {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    padding-left: 0;
    border-left: 0;
  }

  .is-sheet .product-specs div:not(:first-child):not(.product-specs__wide) {
    padding-left: 0;
  }

  .is-sheet .product-specs div:not(:first-child):not(.product-specs__wide)::before {
    content: none;
  }

  .is-sheet .product-specs__icon {
    grid-row: span 2;
    display: grid;
    place-items: center;
    margin-bottom: 0;
    color: #ff4a44;
  }

  .is-sheet .product-specs__icon svg {
    width: 26px;
    height: 26px;
    stroke-width: 1.6;
  }

  .is-sheet .product-specs dt {
    font-size: 0.84rem;
    overflow-wrap: anywhere;
  }

  .is-sheet .product-specs dd {
    font-size: 0.7rem;
  }

  .is-sheet .product-detail__cta {
    position: sticky;
    bottom: 0;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    justify-self: stretch;
    min-width: 0;
    margin: 6px -16px 0;
    padding: 0 16px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #0c0b0d;
    box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.35);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .is-sheet .product-detail__cta::before {
    content: "";
    position: absolute;
    inset: 10px 16px calc(10px + env(safe-area-inset-bottom));
    z-index: -1;
    border-radius: 12px;
    background: linear-gradient(180deg, #d61e24, #a3161b);
  }

  .is-sheet .product-detail__cta:hover {
    background: #0c0b0d;
    box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.35);
  }

  .is-sheet .product-detail__cta {
    isolation: isolate;
    min-height: calc(68px + env(safe-area-inset-bottom));
  }

  .is-sheet .product-detail__cta-web {
    display: none;
  }

  .is-sheet .product-detail__cta-mobile {
    display: inline;
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .is-sheet .product-detail__cta-mobile span {
    margin-left: 10px;
    font-size: 1.3rem;
    line-height: 1;
  }

  html[data-theme="light"] .product-detail.is-sheet,
  html[data-theme="light"] .is-sheet .product-detail__cta {
    background: #ffffff;
  }

  html[data-theme="light"] .is-sheet .product-detail__handle::before {
    background: rgba(0, 0, 0, 0.2);
  }}

/* Lite mode (weak / data-saving devices, set from main.js): drop the heaviest GPU effects */
html.is-lite body::before,
html.is-lite body::after,
html.is-lite .intro-screen::before,
html.is-lite .intro-screen::after {
  display: none;
}

html.is-lite .intro-screen,
html.is-lite .site-header *,
html.is-lite .hero-cinematic * {
  backdrop-filter: none;
}

html.is-lite .hero-stage__reflection {
  display: none;
}

html.is-lite .hero-stage__glow {
  filter: none;
}

/* Desktop: categories, products and the detail panel all fit on one screen */
@media (min-width: 1101px) {.section--products .product-categories:not(.product-categories--sub),
  .product-workspace {
    width: min(1440px, calc(100% - 64px));
  }

  /* Full-width row, but a shorter photo band to keep the cards compact */
  .product-categories:not(.product-categories--sub) .product-category__media {
    aspect-ratio: 2.3 / 1;
  }

  .product-toolbar {
    flex-wrap: nowrap;
  }

  .product-search {
    min-width: 200px;
  }}

/* Tablet/desktop: the detail opens as a compact strip right under the clicked product's row */
@media (min-width: 641px) {.product-grid > .product-detail {
    grid-column: 1 / -1;
    grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "photo name h4"
      "photo desc features"
      "photo desc specs"
      "photo cta specs";
    column-gap: 28px;
    row-gap: 10px;
    margin: 6px 0;
    padding: 22px 26px;
  }

  /* Small pointer towards the open product */
  .product-grid > .product-detail::before {
    content: "";
    position: absolute;
    top: -8px;
    left: var(--arrow-x, 50%);
    width: 14px;
    height: 14px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: rgba(10, 10, 12, 0.98);
    transform: translateX(-50%) rotate(45deg);
  }

  .product-grid > .product-detail .product-detail__info {
    display: contents;
  }

  .product-grid > .product-detail .product-photo {
    grid-area: photo;
    width: 100%;
    aspect-ratio: 3 / 4;
    align-self: start;
  }

  .product-grid > .product-detail .product-photo > img {
    padding: 5%;
  }

  .product-grid > .product-detail h3 {
    grid-area: name;
    margin: 0;
    font-size: 1.35rem;
  }

  .product-grid > .product-detail .product-badge {
    grid-area: name;
    align-self: start;
    justify-self: end;
    margin-right: 0;
  }

  .product-grid > .product-detail .product-detail__desc {
    grid-area: desc;
    font-size: 0.84rem;
  }

  .product-grid > .product-detail h4 {
    grid-area: h4;
    align-self: end;
    margin: 0;
    padding-right: 36px;
  }

  .product-grid > .product-detail .product-features {
    grid-area: features;
    grid-template-columns: 1fr;
  }

  /* Specs in two columns, icon on the left, thin red dividers */
  .product-grid > .product-detail .product-specs {
    grid-area: specs;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    align-content: start;
    padding-top: 2px;
  }

  .product-grid > .product-detail .product-specs div {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(224, 31, 37, 0.18);
  }

  .product-grid > .product-detail .product-specs div.product-specs__wide {
    border-bottom: 0;
  }

  .product-grid > .product-detail .product-specs div:not(:first-child):not(.product-specs__wide) {
    padding-left: 0;
  }

  .product-grid > .product-detail .product-specs div:not(:first-child):not(.product-specs__wide)::before {
    content: none;
  }

  .product-grid > .product-detail .product-specs__icon {
    grid-row: span 2;
    place-items: center;
    margin-bottom: 0;
  }

  .product-grid > .product-detail .product-specs .product-specs__icon svg {
    width: 24px;
    height: 24px;
  }

  .product-grid > .product-detail .product-specs dt {
    overflow-wrap: anywhere;
  }

  .product-grid > .product-detail .product-detail__cta {
    grid-area: cta;
    align-self: end;
    justify-self: start;
    min-width: 240px;
  }}

/* Narrower screens: photo on the left, everything else stacked on the right */
@media (min-width: 641px) and (max-width: 900px) {.product-grid > .product-detail {
    grid-template-columns: 170px minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "photo name"
      "photo desc"
      "photo h4"
      "photo features"
      "photo specs"
      "photo cta";
    column-gap: 22px;
  }

  .product-grid > .product-detail h4 {
    padding-right: 0;
  }}

html[data-theme="light"] .product-grid > .product-detail::before {
  background: #ffffff;
}

html[data-theme="light"] .product-subcategories {
  border-color: rgba(109, 20, 25, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(159, 38, 40, 0.08), transparent 45%),
    #ffffff;
}

@media (max-width: 640px) {html[data-theme="light"] .product-subcategories {
    background: none;
  }}

/* Products heading: left-aligned with the cards, red accent word */
.section-head--products {
  max-width: none;
  margin-bottom: 28px;
}

.section-head--products .section-tag {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
}

.section-head--products .section-tag::before {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #e01f25;
  box-shadow: 0 0 14px rgba(224, 31, 37, 0.45);
}

.section-head--products h2 {
  margin: 14px 0 12px;
}

.section-head--products h2 span {
  color: #e5262c;
}

.section-head--products p {
  font-size: 1rem;
  line-height: 1.6;
}

@media (min-width: 1101px) {.section-head--products {
    width: min(1440px, calc(100% - 64px));
  }}
