:root {
  --color-text: #2b2b2b;
  --color-muted: #6f6f6f;
  --color-accent: #e27b47;
  --color-accent-hover: #d06a37;
  --color-bg: #f6f5f3;
  --color-video-bg: #fcf8eb;
  --font-sans: "DM Sans", "Google Sans", "Product Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% top;
  z-index: -2;
}

/* Keeps the left side bright so dark text stays readable over any frame */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 35%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 22%);
}

.hero__brand {
  position: absolute;
  top: clamp(20px, 3vw, 40px);
  left: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px);
}

.hero__brand img {
  display: block;
  width: 150px;
  height: auto;
}

.hero__content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px);
}

.hero__title {
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 14ch;
}

.hero__highlight {
  display: block;
  color: var(--color-accent);
}

.hero__subtitle {
  margin-top: clamp(20px, 2.4vw, 32px);
  max-width: 35rem;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  font-weight: 400;
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(24px, 2.8vw, 36px);
  padding: 16px 26px;
  font-family: inherit;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--color-accent);
  border-radius: 10px;
  box-shadow: 0 8px 20px -8px rgba(226, 123, 71, 0.6);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgba(226, 123, 71, 0.7);
}

.btn:focus-visible {
  outline: 3px solid rgba(226, 123, 71, 0.4);
  outline-offset: 3px;
}

.btn__arrow {
  transition: transform 0.2s ease;
}

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

/* Wider than the 16:9 video: show it at full height on the right instead of
   cropping, and fade its left edge into a matching backdrop colour */
@media (min-aspect-ratio: 16/9) {
  .hero {
    background: var(--color-video-bg);
  }

  .hero__video {
    left: auto;
    width: auto;
    aspect-ratio: 16 / 9;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 25%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 25%);
  }
}

@media (max-width: 768px) {
  .hero {
    align-items: flex-start;
  }

  .hero__content {
    padding-top: 15vh;
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 45%, rgba(255, 255, 255, 0) 75%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }

  .hero {
    background: url("../assets/video/hero-poster.jpg") 70% top / cover no-repeat;
  }

  .btn,
  .btn__arrow {
    transition: none;
  }
}
