:root {
  --bg: #07080a;
  --panel: #101216;
  --panel-2: #171a20;
  --text: #f6f7f8;
  --muted: #a9adb5;
  --line: rgba(255, 255, 255, 0.14);
  --red: #d71920;
  --red-2: #ff3b3f;
  --white: #ffffff;
  --graphite: #252a31;
  --max: 1180px;
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
  max-width: 100%;
}

main {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

body::selection {
  background: var(--red);
  color: var(--white);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.05;
  background-image:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 48%, transparent 49%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05), transparent 24%);
  background-size: 5px 5px, 900px 900px;
  mix-blend-mode: overlay;
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  left: var(--cursor-x, 50vw);
  top: var(--cursor-y, 50vh);
  z-index: 1;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 25, 32, 0.14), transparent 63%);
  transform: translate(-50%, -50%);
  opacity: 0.8;
  transition: opacity 200ms ease;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header[data-elevated="true"] {
  padding-block: 0.72rem;
  background: rgba(7, 8, 10, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 12rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.67rem;
  letter-spacing: 0.2em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vw, 2rem);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding-block: 0.4rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--red-2);
  transition: right 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  min-width: 17rem;
}

.lang-switch {
  display: inline-flex;
  gap: 0.18rem;
  padding: 0.18rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.lang-switch button {
  min-width: 2.1rem;
  height: 2rem;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  color: var(--white);
  background: var(--red);
}

.call-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.call-link:hover,
.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--white);
  color: #0a0b0d;
  border-color: var(--white);
}

.button.primary:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  padding: clamp(7.5rem, 12vw, 9rem) clamp(1rem, 4vw, 4rem) clamp(2.2rem, 5vw, 4.5rem);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 4vw, 4rem);
  right: clamp(1rem, 4vw, 4rem);
  bottom: 1.3rem;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent 30%, rgba(255, 255, 255, 0.26), transparent 72%);
  z-index: -1;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: translate3d(0, calc(var(--scroll-y, 0) * 0.02px), 0);
  filter: saturate(0.95) contrast(1.04);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.92) 0%, rgba(7, 8, 10, 0.74) 32%, rgba(7, 8, 10, 0.1) 68%),
    linear-gradient(0deg, rgba(7, 8, 10, 0.95) 0%, transparent 34%, rgba(7, 8, 10, 0.26) 100%);
}

.hero-content {
  width: min(48rem, 100%);
}

.eyebrow,
.section-kicker {
  color: var(--red-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-title,
.section-head h2,
.feature-copy h2,
.band-content h2,
.commerce-copy h2,
.contact-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(3.8rem, 8.5vw, 7.8rem);
}

.hero-lead {
  max-width: 43rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.brand-disclaimer {
  max-width: 44rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

.hero-panel {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(2.2rem, 4vw, 4rem);
  width: min(22rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(9, 10, 12, 0.58);
  backdrop-filter: blur(20px);
}

.hero-panel span,
.hero-panel a {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-panel strong {
  display: block;
  margin: 0.35rem 0 0.8rem;
  font-size: 1.15rem;
  line-height: 1.1;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0b0c0f;
}

.ticker div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  gap: 0.75rem clamp(1rem, 3vw, 3rem);
  padding: 0.9rem 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ticker span {
  white-space: nowrap;
  animation: tickerPulse 5s var(--ease) infinite;
}

.ticker span:nth-child(2n) {
  animation-delay: 700ms;
}

.ticker span:nth-child(3n) {
  animation-delay: 1400ms;
}

.section-pad {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1rem, 4vw, 4rem);
}

.intro,
.services,
.process,
.commerce,
.legal {
  max-width: calc(var(--max) + 8rem);
  margin: 0 auto;
}

.intro-grid,
.section-head,
.commerce {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(18rem, 0.8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}

.section-title,
.section-head h2,
.feature-copy h2,
.band-content h2,
.commerce-copy h2,
.contact-card h2 {
  font-size: clamp(2.4rem, 6vw, 5.7rem);
}

.section-copy,
.feature-copy p,
.band-content p,
.commerce-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 17rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: #0d0f12;
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: #14171c;
  transform: translateY(-2px);
}

.service-card span {
  color: var(--red-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.service-card h3 {
  min-height: 3.8rem;
  margin: 2.2rem 0 0.8rem;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.02;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.visual-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.75fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  max-width: calc(var(--max) + 8rem);
  margin: 0 auto;
}

.feature-image {
  position: relative;
  overflow: hidden;
  min-height: 32rem;
  background: #111;
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 32rem;
  object-fit: cover;
}

.feature-copy {
  padding-block: 2rem;
}

.feature-copy ul {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-copy li {
  position: relative;
  padding-left: 1.3rem;
  color: rgba(255, 255, 255, 0.78);
}

.feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--red);
  transform: rotate(45deg);
}

.diagnostic-band {
  position: relative;
  min-height: 38rem;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  margin-block: clamp(2rem, 5vw, 4rem);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.band-media,
.band-media::after {
  position: absolute;
  inset: 0;
}

.band-media {
  z-index: -2;
}

.band-media::after {
  content: "";
  background: linear-gradient(90deg, rgba(7, 8, 10, 0.9), rgba(7, 8, 10, 0.38) 55%, rgba(7, 8, 10, 0.82));
}

.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-content {
  width: min(48rem, 100%);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 18rem;
  padding: 1.5rem;
  background: #0d0f12;
}

.step strong {
  display: block;
  color: var(--red-2);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.step h3 {
  margin: 4rem 0 0.8rem;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.step p {
  margin: 0;
  color: var(--muted);
}

.commerce {
  align-items: center;
  border-block: 1px solid var(--line);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat-grid div {
  min-height: 9rem;
  display: grid;
  align-content: center;
  padding: 1rem;
  background: #0d0f12;
}

.stat-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.stat-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.18), transparent 26%),
    #0f1115;
}

.contact-lines {
  display: grid;
  gap: 0.85rem;
}

.contact-lines a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.contact-lines a:hover {
  color: var(--red-2);
}

.legal {
  border-top: 1px solid var(--line);
}

.legal-note {
  color: var(--muted);
  margin: 0;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.legal-tabs button {
  min-height: 2.8rem;
  border: 1px solid var(--line);
  padding: 0.75rem 1rem;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.legal-tabs button[aria-selected="true"] {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.legal-panel {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: #0d0f12;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.96rem;
}

.legal-panel h3,
.legal-panel h4 {
  color: var(--white);
  line-height: 1.15;
}

.legal-panel h3 {
  margin: 0 0 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
}

.legal-panel h4 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1rem;
}

.legal-panel p {
  margin: 0.35rem 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

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

:focus-visible {
  outline: 2px solid var(--red-2);
  outline-offset: 4px;
}

@keyframes tickerPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }

  45% {
    opacity: 1;
    transform: translateY(-1px);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand {
    min-width: auto;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .header-actions {
    min-width: auto;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-panel {
    position: static;
    margin-top: 2rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 10, 0.92), rgba(7, 8, 10, 0.54)),
      linear-gradient(0deg, rgba(7, 8, 10, 0.95), transparent 52%);
  }

  .intro-grid,
  .section-head,
  .visual-split,
  .commerce,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .cursor-glow {
    display: none;
  }

  .site-header {
    position: absolute;
    padding: 0.85rem;
  }

  .brand-copy span {
    display: none;
  }

  .call-link {
    display: none;
  }

  .lang-switch button {
    min-width: 1.9rem;
  }

  .hero {
    padding: 9.5rem 1rem 2rem;
  }

  .hero-media img {
    transform: none;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
  }

  .hero-panel {
    display: none;
  }

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

  .button {
    width: 100%;
  }

  .service-grid,
  .timeline,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .step {
    min-height: auto;
  }

  .step h3,
  .service-card h3 {
    margin-top: 2rem;
  }

  .feature-image,
  .feature-image img {
    min-height: 22rem;
  }

  .diagnostic-band {
    min-height: 31rem;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 0.55rem;
  }

  .main-nav {
    justify-content: space-between;
    gap: 0.35rem;
    overflow: visible;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .lang-switch button {
    min-width: 1.72rem;
    height: 1.85rem;
    font-size: 0.66rem;
  }

  .brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .brand-copy strong {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
