/* -------------------------------------------------------------------------
   Home Hero — Figma 2610:517 (+ copy 2015:14/15, social 2016:84, rule 2017:4)
   Keep the product photo proportional and let copy determine section height.
   Extend the barrel background across wide screens without stretching products.
   ------------------------------------------------------------------------- */
:root {
  --vp-home-hero-pad-x: 10vw;
  --vp-home-hero-pad-y: 48px;
  --vp-home-hero-copy-top: 18%;
  --vp-home-hero-title-size: 60px;
  --vp-home-hero-title-lh: 1.133333;
  --vp-home-hero-title-max: 44vw;
  --vp-home-hero-body-size: 20px;
  --vp-home-hero-body-lh: 1.4;
  --vp-home-hero-body-max: min(32vw, 435px);
  --vp-home-hero-gap-title-body: 28px;
  --vp-home-hero-accent: #f4d48f;
  --vp-home-hero-text: #ffffff;
  --vp-home-hero-social-gap: 24px;
  --vp-home-hero-rule-gap: 16px;
  --vp-home-hero-rule-w: calc(var(--vp-home-hero-pad-x) - var(--vp-home-hero-rule-gap));
}

.vp-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  column-gap: 0;
  row-gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  height: auto;
  min-height: clamp(700px, 63.2vw, 910px);
  max-height: none;
  aspect-ratio: auto;
  color: var(--vp-home-hero-text);
  background: #1a120c;
  overflow: hidden;
}

.vp-home-hero__media,
.vp-home-hero__shade {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: none;
  line-height: 0;
}

/* Extend only the barrel detail behind the copy; the full product shot stays
   proportional on the right. Both layers use the selected hero photograph. */
.vp-home-hero__media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 65%;
  background-image: var(--vp-home-hero-photo);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto max(200%, 130vw);
  mask-image: linear-gradient(to right, #000 60%, transparent);
}

.vp-home-hero__shade {
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  background: linear-gradient(
    90deg,
    rgba(12, 9, 6, 0.58) 0%,
    rgba(12, 9, 6, 0.38) 22%,
    rgba(12, 9, 6, 0.16) 44%,
    rgba(12, 9, 6, 0.04) 62%,
    rgba(12, 9, 6, 0) 78%
  );
}

.vp-home-hero__image,
.vp-home-hero__image--shot {
  position: absolute;
  inset: 0 0 0 auto;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: right center;
  mask-image: linear-gradient(to right, transparent, #000 22%);
}

.vp-home-hero__content {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  padding: 0;
  background: none;
}

.vp-home-hero__copy {
  box-sizing: border-box;
  width: 100%;
  max-width: 52%;
  margin: 0;
  padding: clamp(100px, 15vw, 216px) 0 0 var(--vp-home-hero-pad-x);
}

.vp-home-hero__title {
  display: block;
  margin: 0;
  max-width: var(--vp-home-hero-title-max);
  font-family: "Catamaran", sans-serif;
  font-weight: 700;
  font-size: var(--vp-home-hero-title-size);
  line-height: var(--vp-home-hero-title-lh);
  letter-spacing: 0;
  color: var(--vp-home-hero-text);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
  animation: vp-home-hero-fade-up 700ms var(--vp-menu-ease) both;
}

.vp-home-hero__accent {
  color: var(--vp-home-hero-accent);
}

.vp-home-hero__title-line,
.vp-home-hero__accent {
  display: block;
}

.vp-home-hero__body {
  margin: var(--vp-home-hero-gap-title-body) 0 0;
  max-width: var(--vp-home-hero-body-max);
  font-family: "Catamaran", sans-serif;
  font-weight: 400;
  font-size: var(--vp-home-hero-body-size);
  line-height: var(--vp-home-hero-body-lh);
  color: var(--vp-home-hero-text);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
  text-align: left;
  text-wrap: wrap;
  animation: vp-home-hero-fade-up 700ms var(--vp-menu-ease) both;
  animation-delay: 120ms;
}

.vp-home-hero__social-row {
  display: flex;
  align-items: center;
  gap: var(--vp-home-hero-rule-gap);
  width: 100%;
  margin-top: clamp(64px, 7vw, 100px);
  padding: 0 var(--vp-home-hero-pad-x) var(--vp-home-hero-pad-y) 0;
  animation: vp-home-hero-fade-up 700ms var(--vp-menu-ease) both;
  animation-delay: 220ms;
}

.vp-home-hero__rule {
  display: block;
  flex: 0 0 auto;
  width: var(--vp-home-hero-rule-w);
  height: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.55);
}

.vp-home-hero__social {
  display: flex;
  align-items: center;
  gap: var(--vp-home-hero-social-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}

.vp-home-hero__social-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vp-home-hero__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--vp-home-hero-accent);
  text-decoration: none;
}

.vp-home-hero__social-icon {
  width: 22px;
  height: 22px;
  max-width: 22px;
  object-fit: contain;
  object-position: center;
}

.vp-home-hero__social-link:hover .vp-home-hero__social-icon,
.vp-home-hero__social-link:focus-visible .vp-home-hero__social-icon {
  opacity: 0.85;
}

.vp-home-hero__social-link:focus-visible {
  outline: 2px solid var(--vp-home-hero-accent);
  outline-offset: 4px;
}

@keyframes vp-home-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 769px) {
  .vp-home-hero__title-line {
    white-space: nowrap;
  }
}

@media (min-width: 1600px) {
  :root {
    --vp-home-hero-title-size: 68px;
  }
}

@media (min-width: 1440px) and (max-width: 1599px) {
  :root {
    --vp-home-hero-title-size: 60px;
  }
}


@media (max-width: 1200px) and (min-width: 769px) {
  :root {
    --vp-home-hero-pad-x: 64px;
    --vp-home-hero-title-size: 52px;
    --vp-home-hero-body-size: 20px;
    --vp-home-hero-title-max: none;
    --vp-home-hero-body-max: min(38vw, 520px);
    --vp-home-hero-copy-top: 18%;
  }

  .vp-home-hero__copy {
    max-width: 56%;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  :root {
    --vp-home-hero-pad-x: 40px;
    --vp-home-hero-title-size: 44px;
    --vp-home-hero-body-size: 18px;
    --vp-home-hero-body-max: min(42vw, 420px);
    --vp-home-hero-copy-top: 16%;
  }

  .vp-home-hero__copy {
    max-width: 48%;
  }

  .vp-home-hero__shade {
    background: linear-gradient(
      90deg,
      rgba(12, 9, 6, 0.72) 0%,
      rgba(12, 9, 6, 0.5) 28%,
      rgba(12, 9, 6, 0.22) 48%,
      rgba(12, 9, 6, 0.06) 64%,
      rgba(12, 9, 6, 0) 78%
    );
  }
}

/* Mobile: stacked product shot, then black copy block */
@media (max-width: 768px) {
  :root {
    --vp-home-hero-pad-x: 24px;
    --vp-home-hero-pad-y: 32px;
    --vp-home-hero-title-size: 36px;
    --vp-home-hero-title-lh: 1.05;
    --vp-home-hero-body-size: 16px;
    --vp-home-hero-body-lh: 1.4;
    --vp-home-hero-body-max: none;
    --vp-home-hero-title-max: none;
    --vp-home-hero-gap-title-body: 20px;
    --vp-home-hero-social-gap: 20px;
    --vp-home-hero-rule-gap: 16px;
    --vp-home-hero-rule-w: 48px;
    --vp-home-hero-copy-top: 0;
  }

  .vp-home-hero,
  .vp-home-hero *,
  .vp-home-hero *::before,
  .vp-home-hero *::after {
    box-sizing: border-box;
  }

  .vp-home-hero {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    background: #0a0908;
    overflow: hidden;
  }

  .vp-home-hero__media {
    position: relative;
    z-index: 0;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: clamp(220px, 36svh, 340px);
    aspect-ratio: auto;
    min-height: 0;
  }

  .vp-home-hero__image,
  .vp-home-hero__image--shot {
    /* Fit the full photo height and crop only the empty background on the left. */
    inset: 0 0 0 auto;
    max-width: none;
    width: auto;
    height: 100%;
    object-position: right 92%;
    mask-image: none;
  }

  .vp-home-hero__media::before,
  .vp-home-hero__shade {
    display: none;
  }

  .vp-home-hero__content {
    z-index: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    background: #0a0908;
    overflow: hidden;
  }

  .vp-home-hero__copy,
  .vp-home-hero__content,
  .vp-home-hero__body,
  .vp-home-hero__social-row {
    box-sizing: border-box !important;
  }

  .vp-home-hero__copy {
    width: auto;
    max-width: 100%;
    min-width: 0;
    padding: 24px 24px 0;
  }

  .vp-home-hero__title,
  .vp-home-hero__body {
    max-width: 100%;
    min-width: 0;
    text-shadow: none;
  }

  .vp-home-hero__title,
  .vp-home-hero__title-line,
  .vp-home-hero__accent {
    color: var(--vp-home-hero-accent);
  }

  .vp-home-hero h1.vp-home-hero__title {
    width: auto;
    max-width: 100%;
    font-size: var(--vp-home-hero-title-size);
    text-transform: uppercase;
    white-space: normal;
  }

  .vp-home-hero h1.vp-home-hero__title .vp-home-hero__title-line,
  .vp-home-hero h1.vp-home-hero__title .vp-home-hero__accent {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .vp-home-hero__body {
    width: auto;
    max-width: 100%;
    white-space: normal;
    text-wrap: wrap;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
  }

  .vp-home-hero__social-row {
    margin-top: 24px;
    padding: 0 24px 24px;
  }

  .vp-home-hero__rule {
    background: rgba(244, 212, 143, 0.85);
  }
}

@media (max-width: 430px) {
  :root {
    --vp-home-hero-pad-x: 20px;
    --vp-home-hero-pad-y: 28px;
    --vp-home-hero-title-size: 36px;
    --vp-home-hero-body-size: 15px;
    --vp-home-hero-body-lh: 1.4;
    --vp-home-hero-gap-title-body: 16px;
    --vp-home-hero-social-gap: 18px;
    --vp-home-hero-rule-w: 40px;
  }

  .vp-home-hero__image--shot {
    object-position: right 90%;
  }

  .vp-home-hero__copy {
    padding: 24px 20px 0;
  }

  .vp-home-hero__social-row {
    margin-top: 20px;
    padding: 0 20px 24px;
  }
}

@media (max-width: 375px) {
  :root {
    --vp-home-hero-pad-x: 20px;
    --vp-home-hero-title-size: 32px;
    --vp-home-hero-body-size: 14px;
    --vp-home-hero-gap-title-body: 14px;
  }

  .vp-home-hero__media {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vp-home-hero__title,
  .vp-home-hero__body,
  .vp-home-hero__social-row {
    animation: none;
  }
}
