/* Auto Detailing demo | mobile-first, custom properties */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #0f1114;
  --bg-deep: #0c0e12;
  --bg-mid: #10141c;
  --hero-fallback: #07090d;
  --cf-line: rgba(255, 255, 255, 0.065);
  --cf-shadow: rgba(0, 0, 0, 0.18);
  --cf-line-strong: rgba(255, 255, 255, 0.092);
  --glint-spec: rgba(255, 255, 255, 0.07);
  --glint-warm: rgba(201, 162, 39, 0.12);
  --glint-cool: rgba(130, 165, 215, 0.09);
  --hot-spot-gold-core: rgba(201, 162, 39, 0.34);
  --hot-spot-gold-mid: rgba(201, 162, 39, 0.17);
  --hot-spot-gold-edge: rgba(180, 145, 45, 0.08);
  --color-bg-elevated: #181c22;
  --color-surface: #1e232b;
  --color-text: #e8eaed;
  --color-text-muted: #9aa3af;
  --color-accent: #c9a227;
  --color-accent-soft: rgba(201, 162, 39, 0.18);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-focus: #f5d76e;
  --font-heading: "Libre Baskerville", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: clamp(2.5rem, 5vw, 4rem);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-header: 0 4px 24px rgba(0, 0, 0, 0.35);
  --transition-fast: 0.2s ease;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-luxury-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 4.25rem;
  --max-width: 72rem;
  --img-sharpness-filter: contrast(1.08) saturate(1.06) brightness(1.02);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  position: relative;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.125rem);
  line-height: 1.6;
  color: var(--color-text);
  min-height: 100vh;
  background-color: var(--bg-deep);
  /* Depth: soft global wash, then micro-glints (stronger in center, faded at edges) */
  background-image:
    linear-gradient(
      112deg,
      transparent 38%,
      rgba(255, 255, 255, 0.028) 49.2%,
      rgba(255, 255, 255, 0.035) 50%,
      transparent 61%
    ),
    linear-gradient(
      18deg,
      transparent 55%,
      rgba(255, 255, 255, 0.018) 62%,
      transparent 69%
    ),
    radial-gradient(ellipse 22% 18% at 19% 44%, var(--glint-spec), transparent 64%),
    radial-gradient(ellipse 16% 22% at 71% 27%, rgba(255, 255, 255, 0.045), transparent 58%),
    radial-gradient(ellipse 30% 22% at 91% 74%, var(--glint-warm), transparent 56%),
    radial-gradient(ellipse 14% 26% at 43% 86%, var(--glint-cool), transparent 62%),
    radial-gradient(ellipse 34% 28% at 7% 71%, rgba(255, 255, 255, 0.04), transparent 58%),
    radial-gradient(ellipse 18% 26% at 54% 11%, rgba(201, 162, 39, 0.09), transparent 54%),
    radial-gradient(ellipse 26% 20% at 63% 52%, rgba(255, 255, 255, 0.035), transparent 52%),
    radial-gradient(ellipse 75% 55% at 15% 8%, rgba(201, 162, 39, 0.1), transparent 48%),
    radial-gradient(ellipse 55% 45% at 92% 12%, rgba(100, 150, 205, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 48% 95%, rgba(30, 38, 52, 0.55), transparent 52%),
    linear-gradient(168deg, var(--bg-mid) 0%, var(--bg-deep) 48%, #08090c 100%);
  background-attachment: scroll;
}

/* Keep page content above decorative layers */
body > * {
  position: relative;
  z-index: 1;
}

/* Carbon weave: scrolls with the page (absolute to body, not fixed to viewport) */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background-image:
    repeating-linear-gradient(
      45deg,
      var(--cf-line) 0,
      var(--cf-line) 1px,
      transparent 1px,
      transparent 5px
    ),
    repeating-linear-gradient(
      -45deg,
      var(--cf-shadow) 0,
      var(--cf-shadow) 1px,
      transparent 1px,
      transparent 5px
    );
  -webkit-mask-image: radial-gradient(
    ellipse 92% 88% at 50% 48%,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.45) 82%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 92% 88% at 50% 48%,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.45) 82%,
    transparent 100%
  );
}

/* Gold hot spots: same absolute positioning so pattern is tied to document height */
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.64;
  background-image:
    radial-gradient(
      ellipse 40% 36% at 24% 38%,
      var(--hot-spot-gold-core) 0%,
      var(--hot-spot-gold-mid) 45%,
      var(--hot-spot-gold-edge) 62%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 36% 42% at 83% 61%,
      rgba(215, 175, 55, 0.3) 0%,
      var(--hot-spot-gold-mid) 48%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 32% 28% at 58% 16%,
      rgba(230, 190, 80, 0.26) 0%,
      var(--hot-spot-gold-edge) 55%,
      transparent 66%
    );
  -webkit-mask-image: radial-gradient(ellipse 36% 32% at 24% 38%, #000 0%, transparent 68%),
    radial-gradient(ellipse 32% 38% at 83% 61%, rgba(0, 0, 0, 0.92) 0%, transparent 66%),
    radial-gradient(ellipse 28% 24% at 58% 16%, rgba(0, 0, 0, 0.72) 0%, transparent 62%);
  -webkit-mask-composite: source-over;
  mask-image: radial-gradient(ellipse 36% 32% at 24% 38%, #000 0%, transparent 68%),
    radial-gradient(ellipse 32% 38% at 83% 61%, rgba(0, 0, 0, 0.92) 0%, transparent 66%),
    radial-gradient(ellipse 28% 24% at 58% 16%, rgba(0, 0, 0, 0.72) 0%, transparent 62%);
  mask-composite: add;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    opacity: 0.42;
  }

  body::after {
    opacity: 0.4;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  filter: var(--img-sharpness-filter);
  transform: translateZ(0);
  backface-visibility: hidden;
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #e4c45a;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-accent);
  color: #111;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  left: var(--space-md);
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(15, 17, 20, 0.94) 12%,
      rgba(12, 14, 18, 0.96) 100%
    ),
    rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: box-shadow var(--transition-fast);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-header);
}

.site-header__inner {
  --logo-slot-h: calc(var(--header-height) - 2 * var(--space-sm));
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-height);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-text);
}

.site-header__brand:hover {
  color: var(--color-text);
}

.site-header__logo {
  display: block;
  max-height: var(--logo-slot-h);
  width: auto;
  max-width: min(18rem, max(5.5rem, calc(100vw - 13.5rem)));
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  border: 0;
  box-shadow: 0 0 0 1px var(--color-border);
  flex-shrink: 0;
  background: rgba(10, 12, 16, 0.5);
}

.site-header__title {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--logo-slot-h);
  height: var(--logo-slot-h);
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle__icon {
  width: 22px;
  height: 22px;
}

@media (min-width: 56rem) {
  .nav-toggle {
    display: none;
  }
}

.site-nav {
  position: fixed;
  inset: 0 0 auto auto;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(30, 32, 38, 0.98) 0%, rgba(18, 20, 26, 0.99) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-fast), opacity var(--transition-fast),
    visibility var(--transition-fast);
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.site-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-nav__link {
  display: block;
  padding: var(--space-sm) var(--space-sm);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.site-nav__link:hover {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

.site-nav__link--cta {
  background: var(--color-accent);
  color: #111;
  text-align: center;
}

.site-nav__link--cta:hover {
  background: #d4b23a;
  color: #111;
}

@media (min-width: 56rem) {
  .site-nav {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm);
  }

  .site-nav__link {
    padding: var(--space-xs) var(--space-sm);
  }
}

.hero {
  position: relative;
  z-index: 1;
  isolation: isolate;
  min-height: min(78vh, 38rem);
  display: grid;
  align-items: end;
  background-color: var(--hero-fallback);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 17, 20, 0.95) 0%,
    rgba(15, 17, 20, 0.45) 45%,
    rgba(15, 17, 20, 0.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
  width: 100%;
}

.hero__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.55),
    0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  color: rgba(232, 234, 237, 0.96);
  max-width: 36rem;
  margin-bottom: var(--space-lg);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero__actions .btn--ghost {
  border-color: rgba(230, 234, 240, 0.55);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media img {
    transform: translate3d(0, 0, 0) scale(1.05);
    transform-origin: center center;
  }

  .hero__content {
    opacity: 0;
    animation: heroContentReveal 1.15s var(--ease-luxury) 0.06s forwards;
  }
}

@keyframes heroContentReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast);
}

.btn--primary {
  background: var(--color-accent);
  color: #111;
}

.btn--primary:hover {
  background: #d4b23a;
  color: #111;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.section {
  padding: var(--space-xl) var(--space-md);
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
  position: relative;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem);
  margin-bottom: var(--space-md);
}

.section__lead {
  color: var(--color-text-muted);
  max-width: 42rem;
  margin-bottom: var(--space-lg);
}

.split {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 48rem) {
  .split--about {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.card-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 40rem) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.svc-card__heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.svc-card__text {
  color: var(--color-text-muted);
}

.gallery-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 48rem) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.review-cards {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

@media (min-width: 52rem) {
  .review-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
  }
}

.review-card {
  text-align: left;
  background: linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.02) 42%,
      transparent 100%
    ),
    var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: clamp(1.35rem, 3.5vw, 1.85rem);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 18px 48px rgba(0, 0, 0, 0.35);
}

.review-card__stars {
  margin: 0 0 var(--space-xs);
  line-height: 1;
}

.review-card__star-row {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.35);
}

.review-card__tag {
  margin: 0 0 var(--space-sm);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.review-card__quote {
  margin: 0 0 var(--space-md);
  padding: 0;
  border: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.55;
  font-style: italic;
  color: rgba(232, 234, 237, 0.92);
}

.review-card__quote::before,
.review-card__quote::after {
  content: none;
}

.review-card__quote p {
  margin: 0;
}

.review-card__author {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  font-style: normal;
  color: var(--color-text);
}

.location-card__note {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.location-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.location-card address {
  font-style: normal;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
}

.contact-list li + li {
  margin-top: var(--space-xs);
}

.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 48rem) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.quote-section {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.quote-section__title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.quote-section__panel {
  width: 100%;
}

.quote-section .form-panel__demo-note {
  text-align: center;
}

.quote-section #quote-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.quote-section #quote-form .btn--primary {
  align-self: center;
}

.quote-section .form__status {
  text-align: center;
}

.form-panel {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.form-panel__demo-note {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--color-border);
  background: rgba(255, 255, 255, 0.03);
}

.form-panel__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: var(--space-md);
}

.form__row {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

.form__textarea {
  min-height: 8rem;
  resize: vertical;
}

.form__error {
  display: block;
  margin-top: var(--space-xs);
  font-size: 0.9rem;
  color: #f0a8a8;
  min-height: 1.25rem;
}

.form__status {
  margin-top: var(--space-md);
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  min-height: 1.5rem;
}

.form__status--ok {
  background: rgba(46, 160, 67, 0.2);
  color: #b6f0c8;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form__row.hp-field {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
    linear-gradient(172deg, #0a0c10 0%, var(--bg-deep) 100%);
  position: relative;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

@media (min-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.site-footer__nav a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--color-accent);
}

.site-footer__name {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.site-footer__copy {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Scroll-driven reveals (luxury-style fade / rise); JS adds .is-inview */
@media (prefers-reduced-motion: no-preference) {
  main > section.section:not(.hero) .section__inner {
    opacity: 0;
    transform: translate3d(0, 2rem, 0);
    transition:
      opacity 1s var(--ease-luxury),
      transform 1s var(--ease-luxury);
  }

  main > section.section:not(.hero).is-inview .section__inner {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  main > section#services .svc-card {
    opacity: 0;
    transform: translate3d(0, 1.35rem, 0);
    transition:
      opacity 0.85s var(--ease-luxury),
      transform 0.85s var(--ease-luxury);
  }

  main > section#services.is-inview .svc-card:nth-child(1) {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.1s;
  }

  main > section#services.is-inview .svc-card:nth-child(2) {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.2s;
  }

  main > section#services.is-inview .svc-card:nth-child(3) {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.3s;
  }

  main > section#reviews .review-card {
    opacity: 0;
    transform: translate3d(0, 1.35rem, 0);
    transition:
      opacity 0.85s var(--ease-luxury),
      transform 0.85s var(--ease-luxury);
  }

  main > section#reviews.is-inview .review-card:nth-child(1) {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.1s;
  }

  main > section#reviews.is-inview .review-card:nth-child(2) {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.2s;
  }

  main > section#reviews.is-inview .review-card:nth-child(3) {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.3s;
  }

  main > section#gallery .gallery-grid figure {
    opacity: 0;
    transform: translate3d(0, 1.5rem, 0) scale(0.985);
    transition:
      opacity 0.72s var(--ease-luxury-soft),
      transform 0.72s var(--ease-luxury-soft);
    transition-delay: var(--reveal-delay, 0s);
  }

  main > section#gallery.is-inview .gallery-grid figure {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .site-footer {
    opacity: 0;
    transform: translate3d(0, 1.75rem, 0);
    transition:
      opacity 0.95s var(--ease-luxury),
      transform 0.95s var(--ease-luxury);
  }

  .site-footer.is-inview {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  main > section.section:not(.hero) .section__inner,
  main > section#services .svc-card,
  main > section#reviews .review-card,
  main > section#gallery .gallery-grid figure,
  .site-footer {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media print {
  main > section.section:not(.hero) .section__inner,
  main > section#services .svc-card,
  main > section#reviews .review-card,
  main > section#gallery .gallery-grid figure,
  .site-footer {
    opacity: 1 !important;
    transform: none !important;
  }

  body::before,
  body::after {
    display: none !important;
  }

  .site-header .site-nav,
  .nav-toggle,
  .hero__actions,
  .site-footer__nav {
    display: none !important;
  }
}
