/* ==========================================================================
   IndieFrame v2.8.0 isolated homepage hero
   This file intentionally uses unique .ifm-hero-clean class names so older hero
   CSS in theme.css cannot fight the Customizer controls.
   ========================================================================== */

.ifm-hero-clean {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 14% 12%, rgba(210, 174, 64, 0.10), transparent 30%),
    var(--ifm-bg);
  overflow: clip;
}

.ifm-hero-clean,
.ifm-hero-clean * {
  box-sizing: border-box;
}

.ifm-hero-clean__container {
  position: relative;
  z-index: 3;
  max-width: var(--ifm-container);
  margin-inline: auto;
  padding-inline: var(--ifm-pad);
}

.ifm-hero-clean--split {
  padding-block: clamp(70px, 9vw, 150px);
}

.ifm-hero-clean--split .ifm-hero-clean__container {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.ifm-hero-clean__copy {
  min-width: 0;
  max-width: min(100%, 760px);
}

.ifm-hero-clean__eyebrow {
  margin: 0 0 1.2rem;
  color: var(--ifm-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.ifm-hero-clean__title {
  display: block;
  width: 100%;
  margin: 0;
  color: var(--ifm-text);
  font-size: var(--ifm-clean-title-size, 88px);
  line-height: var(--ifm-clean-title-line-height, 0.92);
  letter-spacing: var(--ifm-clean-title-letter-spacing, -0.055em);
  max-width: min(100%, 13ch);
  text-wrap: balance;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

.ifm-hero-clean__title--font-serif {
  font-family: var(--ifm-serif);
  font-weight: 900;
}

.ifm-hero-clean__title--font-editorial {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 900;
}

.ifm-hero-clean__title--font-book {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 800;
}

.ifm-hero-clean__title--font-slab {
  font-family: Rockwell, "Rockwell Extra Bold", "Courier New", Georgia, serif;
  font-weight: 900;
}

.ifm-hero-clean__title--font-sans,
.ifm-hero-clean__title--font-modern_sans {
  font-family: var(--ifm-sans);
  font-weight: 900;
}

.ifm-hero-clean__title--font-condensed,
.ifm-hero-clean__title--font-impact {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", var(--ifm-sans);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: max(var(--ifm-clean-title-letter-spacing, -0.055em), -0.02em);
}

.ifm-hero-clean__title--font-typewriter {
  font-family: "Courier Prime", "Courier New", Courier, monospace;
  font-weight: 900;
}

.ifm-hero-clean__title--font-system {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
}

.ifm-hero-clean__title--font-custom {
  font-family: var(--ifm-clean-title-custom-font, var(--ifm-serif));
  font-weight: 900;
}

.ifm-hero-clean__title--width-narrow {
  max-width: min(100%, 9.5ch);
}

.ifm-hero-clean__title--width-standard {
  max-width: min(100%, 13ch);
}

.ifm-hero-clean__title--width-wide {
  max-width: min(100%, 17ch);
}

.ifm-hero-clean__title--width-full {
  max-width: 100%;
}

.ifm-hero-clean__title--behavior-single {
  max-width: min(100%, 18ch);
  white-space: nowrap;
}

.ifm-hero-clean__title--behavior-compact {
  max-width: min(100%, 15ch);
}

.ifm-hero-clean__tagline {
  margin: 1.35rem 0 0;
  max-width: 46rem;
  color: var(--ifm-text);
  font-family: var(--ifm-sans);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.ifm-hero-clean__body {
  max-width: 43rem;
  margin-top: 1.6rem;
  color: var(--ifm-muted);
  font-family: var(--ifm-sans);
  font-size: 1.03rem;
  line-height: 1.72;
}

.ifm-hero-clean__body p {
  margin: 0 0 1rem;
}

.ifm-hero-clean__body p:last-child {
  margin-bottom: 0;
}

.ifm-hero-clean__button {
  margin-top: 2rem;
}

.ifm-hero-clean__media {
  min-width: 0;
}

.ifm-hero-clean__media-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.ifm-hero-clean__image,
.ifm-hero-clean__video,
.ifm-hero-clean__embed,
.ifm-hero-clean__media-frame > .ifm-fallback-art {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.ifm-hero-clean__embed {
  position: absolute;
  inset: 0;
  background: #030303;
}

.ifm-hero-clean--media-video .ifm-hero-clean__media-frame {
  background: #030303;
}

.ifm-hero-clean--shape-poster .ifm-hero-clean__media-frame {
  aspect-ratio: 4 / 5;
}

.ifm-hero-clean--shape-square .ifm-hero-clean__media-frame {
  aspect-ratio: 1 / 1;
}

.ifm-hero-clean--shape-wide .ifm-hero-clean__media-frame {
  aspect-ratio: 16 / 9;
}

.ifm-hero-clean--shape-natural .ifm-hero-clean__media-frame {
  min-height: 420px;
}

.ifm-hero-clean--fit-contain .ifm-hero-clean__image,
.ifm-hero-clean--fit-contain .ifm-hero-clean__video,
.ifm-hero-clean--fit-contain .ifm-hero-clean__media-frame > .ifm-fallback-art {
  object-fit: contain;
}

.ifm-hero-clean--frame-card .ifm-hero-clean__media-frame {
  border: 1px solid var(--ifm-border);
  border-radius: var(--ifm-radius);
  box-shadow: var(--ifm-shadow);
}

.ifm-hero-clean--frame-soft .ifm-hero-clean__media-frame {
  border: 1px solid rgba(255, 248, 236, 0.10);
  border-radius: calc(var(--ifm-radius) * 1.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.ifm-hero-clean--frame-cinematic .ifm-hero-clean__media-frame {
  border: 1px solid rgba(255, 248, 236, 0.12);
  border-radius: 26px;
  box-shadow: 0 30px 96px rgba(0, 0, 0, 0.52);
}

.ifm-hero-clean--frame-cinematic .ifm-hero-clean__media-frame::after,
.ifm-hero-clean--media-video .ifm-hero-clean__media-frame::after,
.ifm-hero-clean--banner .ifm-hero-clean__media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 36%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.04) 24%, rgba(0, 0, 0, 0.10) 76%, rgba(0, 0, 0, 0.62));
}

.ifm-hero-clean--frame-angled .ifm-hero-clean__media-frame {
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  box-shadow: 0 30px 92px rgba(0, 0, 0, 0.42);
}

.ifm-hero-clean--frame-notched .ifm-hero-clean__media-frame {
  border: 0;
  border-radius: 0;
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
  box-shadow: 0 30px 92px rgba(0, 0, 0, 0.42);
}

.ifm-hero-clean--frame-none .ifm-hero-clean__media-frame {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.ifm-hero-clean--frame-stripes .ifm-hero-clean__media-frame {
  border: 0;
  border-radius: 0;
  box-shadow: 0 30px 92px rgba(0, 0, 0, 0.42);
}

.ifm-hero-clean--frame-stripes .ifm-hero-clean__media-frame::before,
.ifm-hero-clean--frame-stripes .ifm-hero-clean__media-frame::after {
  content: "";
  position: absolute;
  left: -3vw;
  right: -3vw;
  height: 18px;
  z-index: 5;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(186, 198, 34, 0.98) 0 5px,
    rgba(170, 184, 26, 0.98) 5px 10px,
    rgba(118, 128, 19, 0.98) 10px 14px,
    rgba(186, 198, 34, 0.95) 14px 20px
  );
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.28), 0 6px 18px rgba(0, 0, 0, 0.38);
  transform: skewX(-10deg);
}

.ifm-hero-clean--frame-stripes .ifm-hero-clean__media-frame::before {
  top: 26px;
}

.ifm-hero-clean--frame-stripes .ifm-hero-clean__media-frame::after {
  bottom: 26px;
}

/* Full-width cinematic banner mode */
.ifm-hero-clean--banner {
  min-height: clamp(360px, 52vw, 760px);
}

.ifm-hero-clean--banner.ifm-hero-clean--height-short {
  min-height: clamp(280px, 34vw, 460px);
}

.ifm-hero-clean--banner.ifm-hero-clean--height-medium {
  min-height: clamp(360px, 44vw, 600px);
}

.ifm-hero-clean--banner.ifm-hero-clean--height-tall {
  min-height: clamp(460px, 58vw, 760px);
}

.ifm-hero-clean__banner-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ifm-hero-clean--banner .ifm-hero-clean__media-frame {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: transparent;
}

.ifm-hero-clean--banner.ifm-hero-clean--media-video .ifm-hero-clean__media-frame {
  background: #030303;
}

.ifm-hero-clean--banner .ifm-hero-clean__image,
.ifm-hero-clean--banner .ifm-hero-clean__video,
.ifm-hero-clean--banner .ifm-hero-clean__media-frame > .ifm-fallback-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ifm-hero-clean--banner .ifm-hero-clean__embed {
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: 120vw;
  height: 67.5vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}

.ifm-hero-clean__banner-overlay {
  position: relative;
  z-index: 3;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(48px, 8vw, 110px);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.42) 40%, rgba(0,0,0,0.10) 76%, rgba(0,0,0,0.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.18) 45%, rgba(0,0,0,0.62) 100%);
}

.ifm-hero-clean--banner .ifm-hero-clean__container {
  width: 100%;
}

.ifm-hero-clean--banner .ifm-hero-clean__copy {
  max-width: min(100%, 860px);
}

.ifm-hero-clean--banner .ifm-hero-clean__title {
  max-width: min(100%, 17ch);
}

.ifm-hero-clean__sound-toggle {
  position: absolute;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 248, 236, 0.22);
  border-radius: 999px;
  background: rgba(9, 8, 6, 0.82);
  color: var(--ifm-text);
  font-family: var(--ifm-sans);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.ifm-hero-clean--split .ifm-hero-clean__sound-toggle {
  right: 18px;
  bottom: 18px;
}

.ifm-hero-clean__sound-toggle:hover,
.ifm-hero-clean__sound-toggle:focus-visible {
  background: rgba(9, 8, 6, 0.94);
  border-color: rgba(255, 248, 236, 0.42);
}

.ifm-hero-clean__sound-toggle:focus-visible {
  outline: 2px solid var(--ifm-accent);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .ifm-hero-clean--split .ifm-hero-clean__container {
    grid-template-columns: 1fr;
  }

  .ifm-hero-clean__media {
    max-width: 640px;
  }

  .ifm-hero-clean__title--behavior-single {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .ifm-hero-clean--split {
    padding-block: 56px 84px;
  }

  .ifm-hero-clean__title {
    max-width: 100%;
    font-size: var(--ifm-clean-title-mobile-size, 46px);
    white-space: normal;
  }

  .ifm-hero-clean__tagline {
    font-size: 1.08rem;
  }

  .ifm-hero-clean__body {
    font-size: 0.98rem;
  }

  .ifm-hero-clean--banner {
    min-height: 560px;
  }

  .ifm-hero-clean__banner-overlay {
    align-items: flex-end;
    padding-block: 64px 44px;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.34) 36%, rgba(0,0,0,0.78) 100%);
  }

  .ifm-hero-clean--frame-stripes .ifm-hero-clean__media-frame::before,
  .ifm-hero-clean--frame-stripes .ifm-hero-clean__media-frame::after {
    height: 14px;
  }
}


/* ==========================================================================
   IndieFrame clean hero banner text inset
   Adds more breathing room for banner hero text on desktop without changing
   mobile layout or other site sections.
   ========================================================================== */

@media (min-width: 981px) {
  .ifm-hero-clean--banner .ifm-hero-clean__copy {
    margin-left: clamp(72px, 6vw, 110px);
  }
}

@media (max-width: 980px) {
  .ifm-hero-clean--banner .ifm-hero-clean__copy {
    margin-left: 0;
  }
}
