/* ==========================================================================
   VESPOT — Industrial Mono (Dark)
   "Tactile Minimalist" design system
   Source of truth: DESIGN-DARK.md
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Color — surfaces */
  --surface: #121314;
  --surface-dim: #121314;
  --surface-bright: #393939;
  --surface-container-lowest: #0d0e0f;
  --surface-container-low: #1b1c1c;
  --surface-container: #1f2020;
  --surface-container-high: #292a2a;
  --surface-container-highest: #343535;
  --surface-variant: #343535;

  /* Color — content */
  --on-surface: #e3e2e2;
  --on-surface-variant: #c4c7c8;
  --inverse-surface: #e3e2e2;
  --inverse-on-surface: #303031;
  --surface-tint: #c6c6c7;

  /* Color — lines */
  --outline: #8e9192;
  --outline-variant: #444748;

  /* Color — primary (the "ink") */
  --primary: #ffffff;
  --on-primary: #2f3131;
  --primary-container: #e2e2e2;
  --on-primary-container: #636565;
  --inverse-primary: #5d5f5f;

  /* Color — secondary */
  --secondary: #c8c6c5;
  --on-secondary: #313030;
  --secondary-container: #4a4949;
  --on-secondary-container: #bab8b7;

  /* Color — tertiary */
  --tertiary: #ffffff;
  --on-tertiary: #303030;
  --tertiary-container: #e4e2e1;
  --on-tertiary-container: #656464;

  /* Color — error */
  --error: #ffb4ab;
  --on-error: #690005;
  --error-container: #93000a;
  --on-error-container: #ffdad6;

  /* Typography */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-display: clamp(2.5rem, 1.15rem + 5.4vw, 4.5rem); /* 40px -> 72px */
  --text-headline-lg: clamp(2rem, 1.3rem + 2.8vw, 3rem); /* 32px -> 48px */
  --text-headline-md: clamp(1.5rem, 1.3rem + 1vw, 2rem); /* 24px -> 32px */
  --text-headline-sm: 1.25rem;
  --text-body-lg: 1.125rem;
  --text-body-md: 1rem;
  --text-body-sm: 0.875rem;
  --text-label: 0.875rem; /* label-mono 14px */
  --text-label-sm: 0.75rem;

  /* Radii — soft-industrial */
  --rounded-sm: 0.125rem;
  --rounded: 0.25rem;
  --rounded-md: 0.375rem;
  --rounded-lg: 0.5rem;
  --rounded-xl: 0.75rem;
  --rounded-full: 9999px;

  /* Spacing — 4px baseline grid */
  --unit: 4px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Section rhythm */
  --section-y: clamp(3.5rem, 2rem + 6vw, 8rem);
  --margin-side: 1.25rem; /* 20px mobile */
  --gutter: 1rem; /* 16px mobile */
  --content-max: 84rem;
  --header-h: 4.5rem; /* matches .site-header__inner min-height */

  /* Motion */
  --ease: cubic-bezier(0.2, 0, 0.1, 1);
  --dur: 220ms;

  /* Elevations are tonal — no drop shadows in this system */
}

@media (min-width: 48rem) {
  :root {
    --margin-side: 5rem; /* 80px desktop */
    --gutter: 1.5rem; /* 24px desktop */
  }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

/* Pages with a sticky in-page subnav need extra clearance above targets */
html:has(.subnav) {
  scroll-padding-top: 7.75rem;
}

body {
  background-color: var(--surface);
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

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

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

ul,
ol {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

::selection {
  background: var(--primary);
  color: var(--on-primary);
}

.skip-link {
  position: absolute;
  left: var(--margin-side);
  top: 0;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.25rem;
  border-radius: var(--rounded);
  transition: transform var(--dur) var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(1rem);
}

/* Grain / noise overlay — ~2.5% opacity for the tactile feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

.display,
.headline-lg,
.headline-md {
  font-family: var(--font-display);
  color: var(--primary);
  text-wrap: balance;
}

.display {
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.headline-lg {
  font-size: var(--text-headline-lg);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.headline-md {
  font-size: var(--text-headline-md);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.headline-sm {
  font-family: var(--font-display);
  font-size: var(--text-headline-sm);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.body-lg {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--on-surface-variant);
}

.body-md {
  font-size: var(--text-body-md);
  line-height: 1.6;
  color: var(--on-surface-variant);
}

.lead {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--on-surface-variant);
  max-width: 60ch;
}

.prose {
  color: var(--on-surface-variant);
  line-height: 1.75;
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1.25rem;
}

/* label-mono — technical labels, data, eyebrows */
.mono {
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}

.mono-xs {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--outline);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--outline-variant);
  flex: none;
}

.eyebrow--plain::before {
  display: none;
}

/* --------------------------------------------------------------------------
   4. Layout — fluid grid
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--content-max) + var(--margin-side) * 2);
  margin-inline: auto;
  padding-inline: var(--margin-side);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}

@media (min-width: 48rem) {
  .grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: calc(var(--section-y) / 2);
}

.section--lowest {
  background: var(--surface-container-lowest);
}

.section--low {
  background: var(--surface-container-low);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}

@media (min-width: 48rem) {
  .section-head--split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: end;
  }

  .section-head--split > *:first-child {
    grid-column: 1 / span 7;
  }

  .section-head--split > *:last-child {
    grid-column: 9 / span 4;
  }
}

.section-head__title {
  margin-top: 1.25rem;
}

/* Column spans — 4-col on mobile, 12-col from md up */
[class*="col-"] {
  grid-column: 1 / -1;
}

@media (min-width: 48rem) {
  .col-1-12 { grid-column: 1 / span 12; }
  .col-1-8  { grid-column: 1 / span 8; }
  .col-1-7  { grid-column: 1 / span 7; }
  .col-1-6  { grid-column: 1 / span 6; }
  .col-1-5  { grid-column: 1 / span 5; }
  .col-1-4  { grid-column: 1 / span 4; }
  .col-5-8  { grid-column: 5 / span 8; }
  .col-6-12 { grid-column: 6 / span 7; }
  .col-7-12 { grid-column: 7 / span 6; }
  .col-8-12 { grid-column: 8 / span 5; }
  .col-9-12 { grid-column: 9 / span 4; }
  .col-11-12 { grid-column: 11 / span 2; }
  .col-md-1-6 { grid-column: span 6; }
  .col-md-1-4 { grid-column: span 4; }
  .col-md-1-3 { grid-column: span 4; }
}

@media (min-width: 64rem) {
  .col-md-1-3 { grid-column: span 4; }
}

/* --------------------------------------------------------------------------
   5. Rules & dividers
   -------------------------------------------------------------------------- */

.rule {
  height: 1px;
  border: 0;
  background: color-mix(in srgb, var(--outline-variant) 60%, transparent);
}

.rule--strong {
  background: var(--outline-variant);
}

.rule--white {
  background: color-mix(in srgb, var(--primary) 22%, transparent);
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--rounded-sm);
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.btn__arrow {
  width: 1rem;
  height: 1rem;
  flex: none;
  transition: transform var(--dur) var(--ease);
}

/* Leading glyph inside a button (WhatsApp, etc.) */
.btn__icon {
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Primary — solid white ink, "illuminated" active state */
.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn--primary:hover {
  background: var(--on-primary);
  color: var(--surface);
}

/* Sharp corner option for structural emphasis */
.btn--sharp {
  border-radius: 0;
}

.btn--lg {
  padding: 1.25rem 2.25rem;
}

/* Secondary — ghost border */
.btn--secondary {
  background: transparent;
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}

.btn--secondary:hover {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

/* Ghost — text only, underline on hover */
.btn--ghost {
  background: transparent;
  color: var(--primary);
  padding-inline: 0;
  border-radius: 0;
  text-decoration: none;
  position: relative;
}

.btn--ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.btn--ghost:hover::after {
  transform: scaleX(1);
}

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

/* Inline text link with underline on hover */
.link {
  color: var(--primary);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease);
}

.link:hover {
  background-size: 100% 1px;
}

/* --------------------------------------------------------------------------
   7. Chips & status indicators
   -------------------------------------------------------------------------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-full);
  padding: 0.5rem 0.875rem;
  white-space: nowrap;
}

.chip--solid {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.chip--live {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}

.chip__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--rounded-full);
  background: currentColor;
  flex: none;
}

.chip__dot--pulse {
  animation: pulse 2.4s var(--ease) infinite;
}

.chip__icon {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}

.card--interactive:hover {
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  background: var(--surface-container-high);
}

.card--low {
  background: var(--surface-container-low);
}

.card--high {
  background: var(--surface-container-high);
}

.card--flush {
  padding: 0;
  overflow: hidden;
}

.card__index {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--outline);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-headline-sm);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--primary);
}

.card__body {
  color: var(--on-surface-variant);
  line-height: 1.6;
}

.card__footer {
  margin-top: auto;
  padding-top: 1.25rem;
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-container-lowest);
  border-bottom: 1px solid var(--outline-variant);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Check lists — thin rules, generous vertical padding */
.check-list {
  display: flex;
  flex-direction: column;
}

.check-list__item {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-block: 0.875rem;
  border-bottom: 1px solid color-mix(in srgb, var(--outline-variant) 55%, transparent);
  color: var(--on-surface-variant);
  line-height: 1.5;
}

.check-list__item:last-child {
  border-bottom: 0;
}

.check-list__icon {
  width: 1rem;
  height: 1rem;
  margin-top: 0.3rem;
  color: var(--primary);
}

/* Numbered data rows */
.data-list {
  display: flex;
  flex-direction: column;
}

.data-list__row {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  padding-block: 1.125rem;
  border-bottom: 1px solid color-mix(in srgb, var(--outline-variant) 55%, transparent);
}

.data-list__row:last-child {
  border-bottom: 0;
}

.data-list__key {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  letter-spacing: 0.1em;
  color: var(--outline);
  padding-top: 0.2rem;
}

.data-list__value {
  color: var(--on-surface);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field__label {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline);
}

.field__control {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--outline-variant);
  border-radius: 0;
  padding: 0.875rem 0.125rem;
  font-family: var(--font-mono);
  font-size: var(--text-body-md);
  line-height: 1.5;
  color: var(--on-surface);
  width: 100%;
  transition: border-color var(--dur) var(--ease);
}

.field__control::placeholder {
  font-family: var(--font-mono);
  font-size: var(--text-body-sm);
  color: var(--outline);
  opacity: 1;
}

.field__control:hover {
  border-bottom-color: var(--outline);
}

.field__control:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

textarea.field__control {
  resize: vertical;
  min-height: 8rem;
}

.field__hint {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  color: var(--outline);
}

.field__error {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  letter-spacing: 0.05em;
  color: var(--error);
  text-transform: uppercase;
}

.field__control[aria-invalid="true"] {
  border-bottom-color: var(--error);
}

/* --------------------------------------------------------------------------
   10. Header & navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.site-header[data-stuck="true"] {
  border-bottom-color: var(--outline-variant);
  background: color-mix(in srgb, var(--surface-container-lowest) 88%, transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
  text-transform: uppercase;
}

.brand:hover .brand__mark {
  border-color: var(--primary);
}

.brand__mark {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid var(--outline);
  border-radius: var(--rounded-sm);
  display: grid;
  place-items: center;
  transition: border-color var(--dur) var(--ease);
}

.brand__mark svg {
  width: 1rem;
  height: 1rem;
}

.brand__dot {
  color: var(--outline);
  font-weight: 500;
}

.nav {
  display: none;
}

@media (min-width: 64rem) {
  .nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
  }
}

.nav__link {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  padding-block: 0.5rem;
  transition: color var(--dur) var(--ease);
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link[aria-current="page"] {
  color: var(--primary);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 1px;
  background: var(--primary);
}

.header__actions {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 64rem) {
  .header__actions {
    display: flex;
  }
}

.header__social {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-sm);
  color: var(--on-surface-variant);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.header__social:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.header__social svg {
  width: 1rem;
  height: 1rem;
}

/* Mobile toggle */
.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded-sm);
  color: var(--primary);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  border-color: var(--primary);
}

@media (min-width: 64rem) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 1.125rem;
  height: 1.125rem;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

/* Mobile panel */
.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  border-top: 1px solid transparent;
  transition: grid-template-rows var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.mobile-nav[data-open="true"] {
  grid-template-rows: 1fr;
  border-top-color: var(--outline-variant);
}

.mobile-nav__inner {
  overflow: hidden;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding-block: 0.5rem;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
  border-bottom: 1px solid color-mix(in srgb, var(--outline-variant) 55%, transparent);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--on-surface-variant);
}

.mobile-nav__link[aria-current="page"] {
  color: var(--primary);
}

.mobile-nav__link span {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  letter-spacing: 0.12em;
  color: var(--outline);
}

.mobile-nav__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}

@media (min-width: 64rem) {
  .mobile-nav {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   11. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 7vw, 7rem) clamp(3rem, 2rem + 5vw, 6rem);
  border-bottom: 1px solid var(--outline-variant);
  overflow: hidden;
}

/* Technical grid backdrop */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--outline-variant) 40%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--outline-variant) 40%, transparent) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.hero__title {
  max-width: 18ch;
}

.hero__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px var(--outline);
  text-stroke: 1px var(--outline);
}

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

.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  padding-top: 2rem;
  border-top: 1px solid var(--outline-variant);
}

@media (min-width: 48rem) {
  .hero__meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat {
  display: block;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.stat__label {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--outline);
}

/* --------------------------------------------------------------------------
   12. Ticker — mono marquee of capabilities
   -------------------------------------------------------------------------- */

.ticker {
  border-bottom: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
  overflow: hidden;
  padding-block: 1rem;
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex: none;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--outline);
}

.ticker__item::after {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  background: var(--outline-variant);
  transform: rotate(45deg);
  flex: none;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   13. Page header (interior pages)
   -------------------------------------------------------------------------- */

.page-header {
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
  border-bottom: 1px solid var(--outline-variant);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--outline-variant) 40%, transparent) 1px, transparent 1px);
  background-size: 80px 100%;
  mask-image: linear-gradient(to right, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%, transparent);
  pointer-events: none;
}

.page-header__inner {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.page-header__title {
  max-width: 16ch;
}

/* --------------------------------------------------------------------------
   14. Product blocks
   -------------------------------------------------------------------------- */

.product {
  display: grid;
  gap: 2rem;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  border-top: 1px solid var(--outline-variant);
}

.product:first-of-type {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 64rem) {
  .product {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gutter);
    align-items: start;
  }

  .product__media {
    grid-column: 1 / span 6;
    position: sticky;
    top: 7rem;
  }

  .product__body {
    grid-column: 8 / span 5;
  }

  .product--flip .product__media {
    grid-column: 7 / span 6;
    order: 2;
  }

  .product--flip .product__body {
    grid-column: 1 / span 5;
    order: 1;
  }
}

.product__media {
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded);
  overflow: hidden;
  background: var(--surface-container-lowest);
  position: relative;
}

.product__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
}

.product__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.product__body {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.product__title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   15. Partners
   -------------------------------------------------------------------------- */

.partner__logo {
  filter: brightness(0) invert(1);
  height: 2.5rem;
  width: auto;
  opacity: 0.75;
  transition: opacity var(--dur) var(--ease);
}

.partner:hover .partner__logo {
  opacity: 1;
}

.partner__logo-slot {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */

.contact-card__value {
  font-family: var(--font-display);
  font-size: var(--text-headline-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--primary);
  word-break: break-word;
}

.contact-card__value--mono {
  font-family: var(--font-mono);
  font-size: var(--text-body-md);
  letter-spacing: 0.02em;
}

.form__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 48rem) {
  .form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form__grid .field--full {
    grid-column: 1 / -1;
  }
}

.form__status {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  min-height: 1rem;
}

.form__status[data-tone="error"] {
  color: var(--error);
}

/* Consent checkbox — sits below the action row and gates the handoff.
   Modelled on .field so it inherits the mono label scale, but laid out as a
   row because the label is a sentence, not a short field name. */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--outline-variant);
  cursor: pointer;
}

.consent__control {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  border: 1px solid var(--outline);
  border-radius: var(--rounded-sm);
  background: transparent;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.consent__control:hover {
  border-color: var(--on-surface-variant);
}

.consent__control:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.consent__control:checked {
  background-color: var(--primary);
  border-color: var(--primary);
  /* Inline mask keeps the tick in the current text colour without an asset */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 5'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.consent__control[aria-invalid="true"] {
  border-color: var(--error);
}

.consent__text {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: 1.6;
  color: var(--outline);
}

.consent__text a {
  color: var(--on-surface-variant);
  text-underline-offset: 0.2em;
}

.consent__text a:hover {
  color: var(--primary);
}

.form__disclaimer {
  font-size: var(--text-body-sm);
  line-height: 1.6;
  color: var(--outline);
  border-top: 1px solid var(--outline-variant);
  padding-top: 1.25rem;
}

.form__disclaimer a {
  color: var(--on-surface-variant);
  text-underline-offset: 0.2em;
}

.form__disclaimer a:hover {
  color: var(--primary);
}

/* Short explainer under an action group */
.form__hint {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--outline);
}

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded);
  background: var(--surface-container-low);
  padding: clamp(2rem, 1.5rem + 3vw, 4.5rem);
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

@media (min-width: 64rem) {
  .cta {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
  }

  .cta__copy {
    grid-column: 1 / span 7;
  }

  .cta__actions {
    grid-column: 9 / span 4;
    justify-content: flex-start;
  }
}

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

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
  margin-top: auto;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 2rem;
}

.site-footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 64rem) {
  .site-footer__top {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / span 5;
  }

  .site-footer__col {
    grid-column: span 2;
  }
}

.site-footer__tagline {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--text-headline-sm);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--on-surface-variant);
  max-width: 22ch;
}

.footer-link {
  display: block;
  padding-block: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--outline);
  transition: color var(--dur) var(--ease);
}

.footer-link:hover {
  color: var(--primary);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--outline-variant);
}

.site-footer__legal {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--outline);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   19. Featured product panel
   Full-width block used to spotlight a product. The white border is the
   system's "accent" — there is no color in the palette, only contrast.
   -------------------------------------------------------------------------- */

.featured {
  position: relative;
  border: 1px solid var(--primary);
  border-radius: var(--rounded);
  background: var(--surface-container-low);
  padding: clamp(1.5rem, 1rem + 3vw, 4rem);
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

/* Industrial registration ticks in two opposite corners */
.featured::before,
.featured::after {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-style: solid;
  border-color: var(--primary);
  pointer-events: none;
}

.featured::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.featured::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.featured__body {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.featured__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.featured__badge {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.5rem 0.875rem;
  border-radius: var(--rounded-full);
}

.featured__kind {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline);
}

.featured__title {
  font-family: var(--font-display);
  font-size: var(--text-headline-lg);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-wrap: balance;
}

.featured__copy {
  font-size: var(--text-body-lg);
  line-height: 1.6;
  color: var(--on-surface-variant);
  max-width: 58ch;
}

.featured__aside {
  border-left: 1px solid var(--outline-variant);
  padding-left: 2rem;
  display: grid;
  gap: 1.25rem;
  align-content: center;
}

/* Desktop: body and metric rail sit side by side in a 12-column field */
@media (min-width: 64rem) {
  .featured {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
  }

  .featured__body {
    grid-column: 1 / span 8;
  }

  .featured__aside {
    grid-column: 10 / span 3;
  }
}

/* Below desktop the metric rail drops under the body and flips its rule */
@media (max-width: 63.999rem) {
  .featured__aside {
    border-left: 0;
    border-top: 1px solid var(--outline-variant);
    padding-left: 0;
    padding-top: 2rem;
  }
}

.featured__metric {
  display: grid;
  gap: 0.375rem;
}

.featured__metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.featured__metric-label {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--outline);
}

/* --------------------------------------------------------------------------
   20. Sub-navigation (in-page anchors on long product pages)
   -------------------------------------------------------------------------- */

.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: color-mix(in srgb, var(--surface-container-lowest) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--outline-variant);
}

.subnav__list {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav__list::-webkit-scrollbar {
  display: none;
}

.subnav__link {
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline);
  text-decoration: none;
  padding: 1rem 0.875rem;
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.subnav__link:first-child {
  padding-left: 0;
}

.subnav__link:hover {
  color: var(--primary);
}

.subnav__link[aria-current="true"] {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Muted product suffix in the brand lockup, e.g. VESPOT AI */
.brand__mod {
  color: var(--outline);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   21. Pricing
   -------------------------------------------------------------------------- */

.price-grid {
  display: grid;
  gap: var(--gutter);
}

/* Three columns only once a card can hold "$699.000 /mes" on one line */
@media (min-width: 64rem) {
  .price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.price-card {
  position: relative;
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 64rem) {
  .price-card {
    padding: 2rem;
  }
}

.price-card--featured {
  border-color: var(--primary);
  background: var(--surface-container-high);
}

.price-card__flag {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--primary);
  color: var(--on-primary);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-radius: 0 0 var(--rounded-sm) var(--rounded-sm);
}

.price-card__tier {
  font-family: var(--font-mono);
  font-size: var(--text-label-sm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline);
}

.price-card__amount {
  font-family: var(--font-display);
  font-size: var(--text-headline-md);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.price-card__amount span {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  font-weight: 400;
  color: var(--on-surface-variant);
}

.price-card__desc {
  color: var(--on-surface-variant);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--outline-variant);
}

/* Dash list — mono em-dash markers, generous vertical rhythm */
.dash-list {
  display: flex;
  flex-direction: column;
}

.dash-list__item {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  padding-block: 0.625rem;
  color: var(--on-surface);
  line-height: 1.5;
}

.dash-list__item::before {
  content: "—";
  font-family: var(--font-mono);
  color: var(--outline);
}

.price-card__cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.price-card__cta .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   21. Numbered steps
   -------------------------------------------------------------------------- */

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  gap: 1rem;
  padding-block: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--outline-variant) 55%, transparent);
  align-items: start;
}

@media (min-width: 48rem) {
  .step {
    grid-template-columns: 6rem 1fr;
    gap: var(--gutter);
  }
}

.step__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--outline-variant);
}

.step__content {
  display: grid;
  gap: 0.75rem;
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   22. Stat band
   -------------------------------------------------------------------------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant);
}

@media (min-width: 48rem) {
  .stat-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-band__item {
  display: block;
}

/* --------------------------------------------------------------------------
   23. Card icon slot
   -------------------------------------------------------------------------- */

.card__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: var(--surface-container-high);
  border-radius: var(--rounded);
  color: var(--primary);
  flex: none;
}

.card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* --------------------------------------------------------------------------
   24. Boxed inputs (allowed variant per the design system)
   -------------------------------------------------------------------------- */

.field__control--boxed {
  background: var(--surface-container-low);
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded);
  padding: 0.875rem 1rem;
}

.field__control--boxed:hover {
  border-color: var(--outline);
  background: var(--surface-container);
}

.field__control--boxed:focus {
  background: var(--surface-container);
  border-color: var(--primary);
}

.field__control--boxed:focus-visible {
  outline: none;
}

.field__control--boxed[aria-invalid="true"] {
  border-color: var(--error);
}

/* Native select needs its own affordance on the boxed variant */
select.field__control--boxed {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 1.25rem center, right 0.95rem center;
  background-size: 0.3rem 0.3rem, 0.3rem 0.3rem;
  background-repeat: no-repeat;
  cursor: pointer;
}

select.field__control--boxed option {
  background: var(--surface-container-high);
  color: var(--on-surface);
}

/* Narrow centered column for standalone form pages */
.form-shell {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   25. Utilities
   -------------------------------------------------------------------------- */

.text-muted {
  color: var(--outline);
}

.text-primary {
  color: var(--primary);
}

.strong {
  color: var(--primary);
  font-weight: 500;
}

.mt-sm {
  margin-top: 1rem;
}

.mt-md {
  margin-top: 1.5rem;
}

.h-full {
  height: 100%;
}

/* Framed figure — bordered image panel, tonal depth without shadows */
.figure-frame {
  margin: 0;
  border: 1px solid var(--outline-variant);
  border-radius: var(--rounded);
  overflow: hidden;
  background: var(--surface-container-lowest);
  aspect-ratio: 16 / 7;
}

.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.mt-lg {
  margin-top: 3rem;
}

.mb-lg {
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   20. Scroll reveal — progressive enhancement, applied by JS only
   -------------------------------------------------------------------------- */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

.js-reveal [data-reveal][data-visible="true"] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
