:root {
  --bg: #f6f8f4;
  --surface: #ffffff;
  --surface-soft: #edf4eb;
  --text: #182018;
  --muted: #5d695d;
  --green: #2f7d46;
  --green-dark: #225f35;
  --green-soft: #dfeee3;
  --blue: #2573b8;
  --blue-dark: #18598f;
  --blue-soft: #e1effa;
  --accent: var(--green);
  --accent-dark: var(--green-dark);
  --accent-soft: var(--green-soft);
  --accent-rgb: 47 125 70;
  --accent-readable: #9ee0ad;
  --accent-shadow: rgb(var(--accent-rgb) / 0.22);
  --border: #d8e1d5;
  --page-start: #fbfcf9;
  --hero-bg: #142015;
  --hero-ink-rgb: 10 18 11;
  --footer-bg: #142015;
  --shadow: 0 20px 60px rgba(24, 32, 24, 0.1);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgb(var(--accent-rgb) / 0.12), transparent 34rem),
    linear-gradient(180deg, var(--page-start) 0%, var(--bg) 42%, #ffffff 100%);
  line-height: 1.6;
  transition: background 0.35s ease, color 0.35s ease;
}

body.service-wash {
  --bg: #f4f8fb;
  --surface-soft: #edf6fc;
  --muted: #566675;
  --accent: var(--blue);
  --accent-dark: var(--blue-dark);
  --accent-soft: var(--blue-soft);
  --accent-rgb: 37 115 184;
  --accent-readable: #9ed4ff;
  --border: #d4e1ec;
  --page-start: #f9fcff;
  --hero-bg: #0d1f31;
  --hero-ink-rgb: 8 21 34;
  --footer-bg: #0d1f31;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #fff;
  background: var(--accent);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: #fff;
  background:
    radial-gradient(circle at 50% 34%, rgb(var(--accent-rgb) / 0.24), transparent 26rem),
    linear-gradient(180deg, var(--hero-bg), rgb(var(--hero-ink-rgb) / 1));
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-box {
  width: min(100%, 420px);
  text-align: center;
}

.loader-kicker,
.loader-box strong {
  display: block;
}

.loader-kicker {
  margin-bottom: 0.5rem;
  color: var(--accent-readable);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.loader-box strong {
  font-size: clamp(1.55rem, 5vw, 2.45rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.loader-bar {
  position: relative;
  overflow: hidden;
  height: 7px;
  margin-top: 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.loader-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-readable));
  animation: loaderMove 1.05s ease-in-out infinite;
}

@keyframes loaderMove {
  0% {
    transform: translateX(-115%);
  }

  100% {
    transform: translateX(250%);
  }
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  min-height: var(--header-height);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 12px 28px var(--accent-shadow);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a,
.header-phone {
  transition: color 0.2s ease;
}

.nav a:hover,
.header-phone:hover {
  color: var(--accent-dark);
}

.header-phone {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-dark);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(24, 32, 24, 0.05);
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.service-content,
.calc-grid,
.faq-contact-grid,
.process-grid,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 16px 32px var(--accent-shadow);
}

.btn-secondary {
  color: var(--accent-dark);
  background: var(--surface);
  border-color: var(--border);
}

.btn-ghost {
  color: var(--text);
  background: var(--accent-soft);
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2.5rem 0 0;
}

.hero-stats div {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
}

.hero-stats dt {
  color: var(--accent-dark);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

.hero-stats dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  border: 12px solid #fff;
  border-radius: 44px;
  background: var(--accent-soft);
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
}

.hero-visual img,
.hero-visual video {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  color: #fff;
  background: rgba(24, 32, 24, 0.55);
  backdrop-filter: blur(16px);
}

.floating-card span,
.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card span {
  font-size: 0.85rem;
  opacity: 0.82;
}

.floating-card strong {
  margin-top: 0.2rem;
  font-size: 1.25rem;
}

.floating-card small {
  margin-top: 0.2rem;
  opacity: 0.82;
}


/* Hero video intro */
.hero-video-wrap {
  background: var(--hero-bg);
}

.hero-video,
.hero-video-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  z-index: 0;
  object-fit: cover;
}

.hero-video-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(var(--hero-ink-rgb) / 0.16), rgb(var(--hero-ink-rgb) / 0.02)),
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.js .hero-enter {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js .hero.is-ready .hero-enter {
  opacity: 1;
  transform: translateY(0);
}


.js .hero.is-ready .floating-card {
  transition-delay: 0.14s;
}

.trust-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mini-card,
.service-panel,
.calc-card,
.contact-card,
.faq-item,
.steps article {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(24, 32, 24, 0.06);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.mini-card {
  padding: 1.35rem;
  border-radius: var(--radius-md);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 14px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-weight: 950;
}

.mini-card h2 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.mini-card p,
.section-heading p,
.service-copy p,
.steps p,
.contact-card p,
.footer p,
.calc-result small,
.contact-list,
.faq-answer {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.service-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.service-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
}

.service-tab {
  flex: 1;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.service-tab.is-active {
  color: #fff;
  background: var(--accent);
}

.service-content {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.service-copy {
  padding: clamp(0.5rem, 2vw, 1rem);
}

.check-list,
.contact-list {
  padding: 0;
  margin: 1.5rem 0 1.8rem;
  list-style: none;
}

.check-list li,
.contact-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
}

.check-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.service-image {
  overflow: hidden;
  border-radius: 28px;
  background: var(--accent-soft);
}

.service-image img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.25s ease;
}

.service-image:hover img {
  transform: scale(1.035);
}

.process-grid,
.calc-grid,
.faq-contact-grid {
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.steps article {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 950;
}

.steps h3 {
  font-size: 1.15rem;
  letter-spacing: -0.035em;
}

.compare {
  --position: 52%;
  position: relative;
  overflow: hidden;
  min-height: 590px;
  border: 12px solid #fff;
  border-radius: 42px;
  background: var(--accent-soft);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.compare-after {
  clip-path: inset(0 0 0 var(--position));
}

.compare-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-handle {
  position: absolute;
  top: 0;
  left: var(--position);
  z-index: 4;
  width: 4px;
  height: 100%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(24, 32, 24, 0.08), 0 0 18px rgba(24, 32, 24, 0.25);
}

.compare-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: #fff;
  font-weight: 900;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
}

.compare-label {
  position: absolute;
  top: 1rem;
  z-index: 3;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(24, 32, 24, 0.58);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.before-label {
  left: 1rem;
}

.after-label {
  right: 1rem;
}

.gallery-grid {
  margin-top: 1.5rem;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: var(--radius-lg);
  background: var(--text);
  box-shadow: var(--shadow);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.work-card:hover img {
  transform: scale(1.04);
}

.work-card div {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  color: #fff;
}

.work-card span {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 900;
}

.work-card h3 {
  margin: 0;
  font-size: 1.6rem;
}

.calculator {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--surface-soft));
}

.calc-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 54px;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  background: #fff;
  outline: 0;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent);
  outline-offset: 3px;
}

.calc-result {
  display: grid;
  gap: 0.25rem;
  margin: 0.5rem 0;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
}

.calc-result span {
  color: var(--accent-dark);
  font-weight: 900;
}

.calc-result strong {
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.faq-contact-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.accordion {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  overflow: hidden;
  border-radius: 18px;
}

.faq-item button {
  width: 100%;
  padding: 1.15rem 3.2rem 1.15rem 1.15rem;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 950;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  color: var(--accent-dark);
  font-size: 1.4rem;
  transform: translateY(-50%);
}

.faq-item.is-open button::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.22s ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.15rem;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 1.15rem;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  padding: clamp(1.2rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-list {
  margin-bottom: 0;
}

.footer {
  padding: 56px 0 100px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--footer-bg);
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.footer .brand strong,
.footer h2 {
  color: #fff;
}

.footer .brand small,
.footer p {
  color: rgba(255, 255, 255, 0.68);
}

.footer h2 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.footer a,
.footer span {
  display: block;
  margin-bottom: 0.45rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-cta {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.mobile-cta a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 950;
}

.mobile-cta a + a {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

  .reveal,
  .js .hero-enter {
    opacity: 1;
    transform: none;
  }

  .loader-bar span {
    animation: none;
    width: 100%;
  }
}


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

  .hero-grid,
  .service-content,
  .process-grid,
  .calc-grid,
  .faq-contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 470px;
  }

  .trust-grid,
  .steps,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    margin-bottom: 1.25rem;
  }

  .contact-card {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .section-sm {
    padding: 44px 0;
  }

  .header-phone {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .hero-visual,
  .hero-visual img {
    min-height: 390px;
    border-radius: 30px;
  }

  .service-tabs {
    flex-direction: column;
  }

  .service-image img {
    height: 340px;
  }

  .compare {
    min-height: 360px;
    border-width: 8px;
    border-radius: 28px;
  }

  .work-card,
  .work-card img {
    min-height: 320px;
  }

  .footer {
    padding-bottom: 112px;
  }

  .mobile-cta {
    display: grid;
  }
}

/* Fullscreen hero video background */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  color: #fff;
  background: var(--hero-bg);
  isolation: isolate;
}

.hero-bg-video,
.hero-bg-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-video {
  z-index: -2;
  object-fit: cover;
}

.hero-bg-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 24% 38%, var(--accent-shadow), transparent 26rem),
    linear-gradient(90deg, rgb(var(--hero-ink-rgb) / 0.86) 0%, rgb(var(--hero-ink-rgb) / 0.68) 42%, rgb(var(--hero-ink-rgb) / 0.34) 100%),
    linear-gradient(180deg, rgb(var(--hero-ink-rgb) / 0.18) 0%, rgb(var(--hero-ink-rgb) / 0.78) 100%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  min-height: min(720px, calc(100svh - 8rem));
}

.hero .eyebrow,
.hero-stats dt {
  color: var(--accent-readable);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  max-width: 12ch;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-stats dd {
  color: rgba(255, 255, 255, 0.72);
}

.hero-aside {
  align-self: end;
  justify-self: stretch;
}

.hero .floating-card {
  position: static;
  max-width: 420px;
  margin-left: auto;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgb(var(--hero-ink-rgb) / 0.58);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.js .hero .hero-enter {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js .hero.is-ready .hero-enter {
  opacity: 1;
  transform: translateY(0);
}

.js .hero.is-ready .hero-aside {
  transition-delay: 0.16s;
}

@media (max-width: 980px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-aside {
    justify-self: start;
  }

  .hero .floating-card {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 100svh;
    padding: 4rem 0 3rem;
  }

  .hero-bg-shade {
    background:
      linear-gradient(180deg, rgb(var(--hero-ink-rgb) / 0.82) 0%, rgb(var(--hero-ink-rgb) / 0.62) 46%, rgb(var(--hero-ink-rgb) / 0.86) 100%);
  }
}

/* Intro header + dynamic media state */
.js .site-header.site-enter {
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.72s ease, transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.js body.is-ready .site-header.site-enter {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}


.js .hero-bg-shade {
  opacity: 0.12;
  transition: opacity 0.75s ease;
}

.js .hero.is-ready .hero-bg-shade {
  opacity: 1;
}

.hero-bg-video {
  transition: opacity 0.25s ease;
}

.hero-bg-video.is-switching {
  opacity: 0;
}

.compare-img {
  transition: opacity 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .js .site-header.site-enter {
    opacity: 1;
    transform: none;
  }
}
