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

:root {
  --red: #d80b01;
  --red-dark: #ab0801;
  --red-darker: #800601;
  --red-darkest: #550400;
  --red-lightest: #fcd1cf;
  --off-black: #131313;
  --off-white: #f7f7f7;
  --ink: #222222;
  --ink-muted: #434343;
  --surface: #ffffff;
  --border: #e6e6e6;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container-max: 80rem;
  --gutter: 5%;
  --prose-max: 65rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

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

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

a:hover {
  color: var(--red-dark);
}

/* Layout utilities */

.padding-global {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-large {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.padding-section-large {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.section-dark {
  background: var(--off-black);
  color: var(--surface);
}

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

.section-muted {
  background: var(--off-white);
}

/* Prose / FAQ */

.prose {
  max-width: var(--prose-max);
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
  overflow-wrap: break-word;
}

.prose h2 {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.section-dark .prose h2 {
  color: var(--surface);
}

.prose h3 {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.prose p {
  margin-bottom: 1rem;
  color: var(--ink-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul {
  margin: 0.75rem 0 1rem 1.25rem;
  color: var(--ink-muted);
}

.prose ul li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.prose ul li::marker {
  color: var(--red-dark);
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--ink-muted);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.faq-section + .faq-section {
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
}

/* Section headers (full-width bands) */

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.section-dark .section-header h2 {
  color: var(--surface);
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: oklch(0.92 0 0 / 0.7);
}

.section-light .section-header p,
.section-muted .section-header p {
  color: var(--ink-muted);
}

.section-header__accent {
  display: block;
  width: 3rem;
  height: 3px;
  margin: 1.25rem auto 0;
  background: var(--red);
}

/* Video testimonials */

.section-videos {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  max-width: 100%;
  overflow-x: clip;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.video-embed,
.vimeo-facade {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  background: oklch(0.15 0.02 25);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out);
}

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

.vimeo-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.88;
  transition: opacity 0.22s var(--ease-out);
}

.vimeo-facade:hover img {
  opacity: 1;
}

.vimeo-facade .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.vimeo-facade .play-btn svg {
  width: 3.5rem;
  height: 3.5rem;
  fill: var(--red);
  filter: drop-shadow(0 2px 8px oklch(0 0 0 / 0.45));
  transition: transform 0.22s var(--ease-out);
}

.vimeo-facade:hover .play-btn svg {
  transform: scale(1.08);
}

.video-embed iframe,
.vimeo-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  background: oklch(0.15 0.02 25);
}

/* Google reviews widget */

.reviews-widget {
  width: 100%;
  min-width: 0;
  overflow: visible;
  padding-inline: clamp(1.5rem, 5vw, 2.5rem);
}

/* Mobile */

@media (max-width: 1200px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .vimeo-facade:hover {
    transform: none;
  }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
