.amx-hero,
.amx-caption {
  --amx-max: 1180px;
  --amx-gutter: clamp(22px, 5vw, 64px);
  --amx-ground: #F1EADC;
  --amx-shell: #E7DFCD;
  --amx-ink: #141210;
  --amx-muted: rgba(20, 18, 16, 0.66);
  --amx-faint: rgba(20, 18, 16, 0.38);
  --amx-hair: rgba(20, 18, 16, 0.13);
  --amx-gold: #B98A2E;
  --amx-gold-text: #6E4F12;
  --amx-serif:
    "EB Garamond",
    Georgia,
    "Times New Roman",
    serif;
  --amx-lead: max(var(--amx-gutter), calc((100vw - var(--amx-max)) / 2 + var(--amx-gutter)));
}
.amx-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(600px, 50vw, 820px);
  background: var(--amx-ground);
  color: var(--amx-ink);
  font-family: var(--amx-serif);
  border-bottom: 1px solid var(--amx-hair);
  overflow: hidden;
}
.amx-hero *,
.amx-hero *::before,
.amx-hero *::after {
  box-sizing: border-box;
}
.amx-scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 78%;
  overflow: hidden;
  isolation: isolate;
  background: var(--amx-shell);
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, .24) 14%,
      rgba(0, 0, 0, .66) 26%,
      #000 37%);
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, .24) 14%,
      rgba(0, 0, 0, .66) 26%,
      #000 37%);
}
.amx-scene-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 80%;
  display: block;
}
.amx-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.amx-scene-light {
  mix-blend-mode: screen;
}
.amx-scene-toggle {
  position: absolute;
  z-index: 3;
  right: clamp(14px, 2vw, 26px);
  bottom: clamp(14px, 2vw, 26px);
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(241, 234, 220, 0.62);
  background: rgba(20, 18, 16, 0.24);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  opacity: 0;
  transition: opacity .4s ease;
}
.amx-scene-toggle[hidden] {
  display: none !important;
}
.amx-scene.amx-live .amx-scene-toggle,
.amx-scene.amx-paused .amx-scene-toggle {
  opacity: .7;
}
.amx-scene-toggle:hover,
.amx-scene-toggle:focus-visible {
  opacity: 1;
}
.amx-scene-toggle:focus-visible {
  outline: 1px solid #D8AC53;
  outline-offset: 3px;
}
.amx-scene-toggle::before,
.amx-scene-toggle::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 3px;
  height: 12px;
  background: #F1EADC;
}
.amx-scene-toggle::before {
  left: 13px;
}
.amx-scene-toggle::after {
  left: 20px;
}
.amx-scene.amx-paused .amx-scene-toggle::before {
  left: 14px;
  top: 11px;
  width: 0;
  height: 0;
  background: none;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #F1EADC;
}
.amx-scene.amx-paused .amx-scene-toggle::after {
  display: none;
}
.amx-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--amx-max);
  margin-inline: auto;
  padding-inline: var(--amx-gutter);
  pointer-events: none;
}
.amx-hero-type {
  pointer-events: auto;
  max-width: calc(42vw - var(--amx-lead));
  padding-block: clamp(72px, 9vw, 128px);
}
.amx-horizon {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--amx-gold);
  margin: 0 0 30px;
}
.amx-hero h1 {
  font-family: var(--amx-serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.004em;
  text-wrap: balance;
  color: var(--amx-ink);
  margin: 0;
}
.amx-hero h1 em {
  font-style: italic;
}
.amx-sub {
  font-size: 19.5px;
  line-height: 1.72;
  color: var(--amx-muted);
  max-width: 46ch;
  margin: 30px 0 0;
}
.amx-cta {
  margin: 38px 0 0;
}
.amx-cta a {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amx-gold-text);
  text-decoration: none;
  border-bottom: 1px solid var(--amx-gold);
  padding-bottom: 6px;
  transition: opacity .14s ease;
}
.amx-cta a:hover {
  opacity: .66;
}
.amx-cta a:focus-visible {
  outline: 1px solid var(--amx-gold);
  outline-offset: 4px;
}
.amx-caption {
  max-width: var(--amx-max);
  margin: 0 auto;
  padding: 12px var(--amx-gutter) 0;
  text-align: right;
  font-family: var(--amx-serif);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amx-faint);
}
@media (max-width: 860px) {
  .amx-hero {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .amx-hero-inner {
    order: 0;
  }
  .amx-hero-type {
    max-width: none;
    padding-block: 56px 36px;
  }
  .amx-sub {
    font-size: 18px;
  }
  .amx-scene {
    order: 1;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3.3;
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        transparent 0,
        #000 14%);
    mask-image:
      linear-gradient(
        to bottom,
        transparent 0,
        #000 14%);
  }
  .amx-scene-photo {
    object-position: 45% 50%;
  }
  .amx-scene-toggle {
    width: 32px;
    height: 32px;
  }
  .amx-scene-toggle::before,
  .amx-scene-toggle::after {
    top: 10px;
  }
  .amx-scene-toggle::before {
    left: 11px;
  }
  .amx-scene-toggle::after {
    left: 18px;
  }
  .amx-scene.amx-paused .amx-scene-toggle::before {
    left: 12px;
    top: 9px;
  }
  .amx-caption {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .amx-cta a,
  .amx-scene-toggle {
    transition: none;
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .amx-hero,
  :root:not([data-theme=light]) .amx-caption {
    --amx-ground: #1E1B17;
    --amx-shell: #191612;
    --amx-ink: #F1EADC;
    --amx-muted: rgba(241,234,220,.62);
    --amx-faint: rgba(241,234,220,.34);
    --amx-hair: rgba(241,234,220,.14);
    --amx-gold: #D8AC53;
    --amx-gold-text: #D8AC53;
  }
}
:root[data-theme=dark] .amx-hero,
:root[data-theme=dark] .amx-caption {
  --amx-ground: #1E1B17;
  --amx-shell: #191612;
  --amx-ink: #F1EADC;
  --amx-muted: rgba(241,234,220,.62);
  --amx-faint: rgba(241,234,220,.34);
  --amx-hair: rgba(241,234,220,.14);
  --amx-gold: #D8AC53;
  --amx-gold-text: #D8AC53;
}
.amx-hero {
  transition: background .5s cubic-bezier(0.32, 0.72, 0, 1), color .5s cubic-bezier(0.32, 0.72, 0, 1);
}
