.am-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.am-entry-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow: hidden;
  color: var(--am-paper);
  background: #050605;
  visibility: hidden;
  pointer-events: none;
  will-change: clip-path;
}

.am-entry-pending,
.am-entry-pending body {
  overflow: hidden;
}

.am-entry-pending .am-entry-gate {
  visibility: visible;
  pointer-events: auto;
}

.am-entry-pending .am-support {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.am-home-page:not(.am-support-ready) .am-support {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.am-entry-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(8% 12% 8% 12%);
  will-change: clip-path, transform, opacity;
}

.am-entry-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(4, 5, 4, 0.3), rgba(4, 5, 4, 0.05) 46%, rgba(4, 5, 4, 0.58));
}

.am-entry-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) contrast(1.08);
  transform: translate3d(var(--entry-x, 0), var(--entry-y, 0), 0) scale(1.08);
  will-change: transform;
}

.am-entry-reel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.44fr 0.78fr;
  gap: 2px;
}

.am-entry-reel figure {
  min-width: 0;
  overflow: hidden;
  background: #090a09;
  will-change: transform, opacity;
}

.am-entry-reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) brightness(0.7) contrast(1.12);
  transform: scale(1.06);
}

.am-entry-reel figure:nth-child(2) img {
  object-position: center;
}

.am-entry-reel figure:nth-child(3) img {
  object-position: 54% center;
}

.am-entry-interface {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: 32px;
  padding: 24px 28px clamp(48px, 7vh, 96px);
}

.am-entry-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
}

.am-entry-brand img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.am-entry-meta {
  max-width: 45ch;
  color: rgba(239, 237, 231, 0.72);
  font-family: "AM Mono", monospace;
  font-size: 0.58rem;
  line-height: 1.5;
  text-align: right;
}

.am-entry-title {
  grid-column: 1 / -1;
  align-self: end;
  margin-bottom: clamp(32px, 5vh, 68px);
  display: grid;
  font-size: clamp(6rem, 13vw, 13.5rem);
  font-weight: 500;
  line-height: 0.72;
  pointer-events: none;
}

.am-entry-title span {
  display: block;
  width: max-content;
  will-change: transform, opacity;
}

.am-entry-title span:last-child {
  justify-self: end;
}

.am-enter-button {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: center;
  min-width: 248px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 8px 8px 34px;
  overflow: hidden;
  border: 1px solid rgba(239, 237, 231, 0.3);
  border-radius: 999px;
  color: var(--am-paper);
  background: rgba(239, 237, 231, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: "AM Mono", monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(239, 237, 231, 0.03) inset,
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset;
  transition: border-color 260ms var(--am-ease), background-color 260ms var(--am-ease), box-shadow 320ms var(--am-ease), transform 220ms var(--am-ease);
}

.am-enter-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  border: 1px solid rgba(214, 62, 44, 0.4);
  opacity: 0;
  pointer-events: none;
  animation: am-enter-pulse 2.8s ease-out infinite;
}

/* Shine sweep — a soft diagonal highlight travels across the glass on
   hover, the way light catches a physical bevel. Pure CSS, no JS. */
.am-enter-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.22) 48%, rgba(255, 255, 255, 0.03) 58%, transparent 72%);
  background-size: 220% 220%;
  background-position: 130% -30%;
  pointer-events: none;
  transition: background-position 750ms var(--am-ease);
}

.am-enter-button:hover::after,
.am-enter-button:focus-visible::after {
  background-position: -30% 130%;
}

.am-enter-button-label {
  position: relative;
  z-index: 1;
  min-width: 4.4ch;
  text-align: center;
}

.am-enter-button-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--am-paper);
  color: var(--am-black);
  font-size: 1rem;
  transition: background-color 260ms var(--am-ease), color 260ms var(--am-ease), transform 320ms var(--am-ease);
}

.am-enter-button:hover,
.am-enter-button:focus-visible {
  border-color: rgba(239, 237, 231, 0.6);
  background: rgba(239, 237, 231, 0.12);
  box-shadow:
    0 30px 70px rgba(214, 62, 44, 0.22),
    0 0 0 1px rgba(239, 237, 231, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.24) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset;
  transform: translateY(-3px);
}

.am-enter-button:hover .am-enter-button-icon,
.am-enter-button:focus-visible .am-enter-button-icon {
  background: var(--am-red);
  color: #fff;
  transform: rotate(45deg);
}

@keyframes am-enter-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.22); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .am-enter-button::before {
    animation: none;
    display: none;
  }

  .am-enter-button::after {
    display: none;
  }
}

.am-entry-sound {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  color: rgba(239, 237, 231, 0.58);
  font-family: "AM Mono", monospace;
  font-size: 0.56rem;
}

.am-hero {
  position: relative;
  min-height: 115dvh;
  overflow: hidden;
  display: grid;
  align-items: start;
  isolation: isolate;
  background: var(--am-black);
}

.am-hero-stage,
.am-hero-shade {
  position: absolute;
  inset: 0;
}

.am-hero-stage {
  z-index: -2;
  overflow: hidden;
  perspective: 1200px;
}

.am-hero-signal {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.62;
  mix-blend-mode: overlay;
  pointer-events: none;
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .am-hero-signal { display: none; }
}

.am-hero-plane {
  position: absolute;
  overflow: hidden;
  will-change: transform, clip-path;
}

.am-hero-plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--pointer-x, 0), var(--pointer-y, 0), 0) scale(1.035);
  will-change: transform;
}

.am-hero-plane-main {
  inset: 0;
}

.am-hero-plane-main img {
  object-position: center center;
  filter: saturate(0.72) contrast(1.09);
}

.am-hero-plane-portrait {
  top: 15%;
  left: 6%;
  width: min(22vw, 340px);
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(239, 237, 231, 0.22);
  clip-path: inset(0 0 0 0);
  opacity: 0.56;
  transform: translateZ(80px) rotate(-2deg);
}

.am-hero-plane-portrait img {
  object-position: 48% center;
  filter: grayscale(0.55) contrast(1.15);
}

.am-hero-plane-signal {
  right: 4%;
  bottom: 9%;
  width: min(28vw, 450px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(239, 237, 231, 0.3);
  opacity: 0.76;
  transform: translateZ(150px) rotate(2deg);
}

.am-hero-plane-signal img {
  filter: saturate(0.68) brightness(0.68) contrast(1.1);
}

.am-hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 9, 8, 0.38) 0%, rgba(8, 9, 8, 0.06) 34%, rgba(8, 9, 8, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 9, 8, 0.94) 0%, rgba(8, 9, 8, 0.46) 42%, rgba(8, 9, 8, 0.08) 76%);
}

.am-hero-content {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 30px;
  padding-top: 138px;
  padding-bottom: 44px;
}

.am-hero-statement {
  grid-column: 2;
  align-self: center;
  max-width: 22ch;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  will-change: transform, opacity;
}

.am-hero h1 {
  grid-column: 1 / -1;
  display: grid;
  font-size: clamp(5.8rem, 10.8vw, 11.4rem);
  font-weight: 500;
  line-height: 0.73;
  letter-spacing: 0;
}

.am-hero h1 span {
  display: block;
  width: max-content;
  will-change: transform;
}

.am-hero h1 span:last-child {
  margin-left: 15vw;
}

.am-hero-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(239, 237, 231, 0.38);
  color: rgba(239, 237, 231, 0.72);
  font-family: "AM Mono", monospace;
  font-size: 0.62rem;
  will-change: transform, opacity;
}

@media (min-width: 901px) {
  .am-hero-footer {
    padding-right: 92px;
  }
}

.am-hero-scroll {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 1px;
  height: 92px;
  overflow: hidden;
  background: rgba(239, 237, 231, 0.22);
}

.am-hero-scroll span {
  display: block;
  width: 100%;
  height: 45%;
  background: var(--am-paper);
  animation: am-scroll-pulse 1.8s var(--am-ease) infinite;
}

@keyframes am-scroll-pulse {
  from { transform: translateY(-110%); }
  to { transform: translateY(240%); }
}

.am-focus-stage {
  position: relative;
  min-height: 100dvh;
  color: var(--am-paper);
  background: #080908;
}

.am-focus-pin {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #080908;
}

.am-focus-beats {
  position: absolute;
  inset: 0;
}

.am-focus-beat {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.65fr);
  align-items: stretch;
  padding: 92px max(32px, calc((100vw - var(--am-shell)) / 2 + 32px)) 32px;
}

.js .am-focus-beat:not(.is-active) {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.am-focus-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 1200px;
  background: #0e100f;
}

.am-focus-backdrop {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(0.65) brightness(0.64);
}

.am-focus-object {
  position: relative;
  z-index: 2;
  width: min(76%, 940px);
  display: block;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  will-change: transform, opacity;
}

.am-focus-object img {
  width: 100%;
  max-height: 68dvh;
  object-fit: contain;
}

.am-focus-visual-skins .am-focus-object {
  transform: rotate(-2deg) scale(1.12);
}

.am-focus-visual-voltra {
  background: #060807;
}

.am-focus-visual-voltra .am-focus-object {
  width: min(88%, 1120px);
  transform: rotate(1.5deg);
}

.am-focus-wordmark {
  position: absolute;
  inset: auto auto 1% -2%;
  color: rgba(239, 237, 231, 0.07);
  font-family: "AM Display", "AM Grotesk", sans-serif;
  font-size: clamp(7rem, 16vw, 17rem);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.02em;
}

.am-focus-rail {
  position: absolute;
  z-index: 4;
  left: max(32px, calc((100vw - var(--am-shell)) / 2 + 32px));
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "AM Mono", monospace;
  color: rgba(239, 237, 231, 0.5);
}

.am-focus-rail-count {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: "AM Display", "AM Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--am-paper);
  letter-spacing: -0.01em;
  min-width: 2ch;
}

.am-focus-rail-count::after {
  content: "/ 03";
  margin-left: 2px;
  font-family: "AM Mono", monospace;
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(239, 237, 231, 0.42);
}

.am-focus-rail-track {
  position: relative;
  width: 84px;
  height: 1px;
  background: rgba(239, 237, 231, 0.2);
}

.am-focus-rail-track span {
  position: absolute;
  inset: 0;
  width: 33.33%;
  background: var(--am-red);
  transform-origin: left center;
  transition: transform 120ms linear;
}

@media (max-width: 900px) {
  .am-focus-rail { display: none; }
}

.am-focus-visual-neural {
  background: #0a0b0a;
}

.am-focus-visual-neural .am-focus-object {
  width: min(82%, 1080px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.2deg);
}

.am-focus-orbit {
  position: absolute;
  width: min(64vw, 780px);
  aspect-ratio: 1;
  border: 1px solid rgba(8, 9, 8, 0.18);
  border-radius: 50%;
}

.am-focus-orbit::before,
.am-focus-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: inherit;
  border-radius: inherit;
}

.am-focus-orbit::after {
  inset: 31%;
}

.am-focus-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 22px;
  padding: 48px 0 18px 48px;
  will-change: transform, opacity;
}

.am-focus-copy h3 {
  font-size: clamp(3rem, 5.2vw, 6.3rem);
  font-weight: 500;
  line-height: 0.85;
}

.am-focus-copy > p:not(.am-kicker, .am-product-spec) {
  max-width: 34ch;
  color: var(--am-muted);
  line-height: 1.55;
}

.am-product-spec {
  font-family: "AM Mono", monospace;
  font-size: 0.72rem;
}

.am-worlds {
  position: relative;
  overflow: hidden;
  padding: 138px 0 150px;
  color: var(--am-paper);
  background: #111311;
}

.am-worlds::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image: linear-gradient(rgba(239, 237, 231, 0.035) 1px, transparent 1px);
  background-size: 100% 70px;
}

.am-worlds::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--am-black));
}

.am-worlds-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 34px;
  margin-bottom: 76px;
}

.am-worlds-heading h2 {
  font-size: clamp(4rem, 7.5vw, 8.4rem);
  font-weight: 500;
  line-height: 0.84;
}

.am-world-selector {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  align-items: center;
  gap: 5vw;
}

.am-world-options {
  display: grid;
}

.am-world-options a {
  min-width: 0;
  min-height: 86px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--am-line);
  color: rgba(239, 237, 231, 0.36);
  transition: color 360ms var(--am-ease), padding-left 360ms var(--am-ease);
}

.am-world-options a:last-child {
  border-bottom: 1px solid var(--am-line);
}

.am-world-options a:hover,
.am-world-options a:focus-visible,
.am-world-options a.is-active {
  padding-left: 12px;
  color: var(--am-paper);
}

.am-world-options small {
  font-family: "AM Display", "AM Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(239, 237, 231, 0.3);
  letter-spacing: -0.01em;
  transition: color 360ms var(--am-ease);
}

.am-world-options a:hover small,
.am-world-options a:focus-visible small,
.am-world-options a.is-active small {
  color: var(--am-red);
}

.am-world-options span {
  font-family: "AM Mono", monospace;
  font-size: 0.58rem;
}

.am-world-options strong {
  min-width: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
}

.am-world-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #070807;
  transform: perspective(1000px) rotateX(var(--world-rx, 0deg)) rotateY(var(--world-ry, 0deg));
  transition: transform 500ms var(--am-ease);
}

.am-world-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: var(--world-glow, 0);
  background: radial-gradient(320px circle at var(--world-px, 50%) var(--world-py, 50%), rgba(239, 237, 231, 0.22), transparent 62%);
  transition: opacity 260ms var(--am-ease);
  pointer-events: none;
}

.am-world-stage figure {
  position: absolute;
  inset: 0;
  margin: 0;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.08);
}

.am-world-stage figure.is-active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.am-world-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.am-world-stage figcaption {
  position: absolute;
  inset: auto 24px 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(239, 237, 231, 0.3);
  color: rgba(239, 237, 231, 0.76);
  font-family: "AM Mono", monospace;
  font-size: 0.6rem;
}

.am-featured {
  overflow: hidden;
  padding-top: 164px;
  padding-bottom: 180px;
  background: var(--am-black);
}

.am-product-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  padding-block: 8vh;
}

.am-product-lane {
  display: grid;
  gap: clamp(64px, 9vw, 140px);
  will-change: transform;
}

.am-product-lane:nth-child(2) {
  padding-top: 18vh;
}

.am-product-lane:nth-child(3) {
  padding-top: 7vh;
}

.am-product {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
}

.am-product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--am-panel);
  transform: perspective(900px) rotateX(var(--product-rx, 0deg)) rotateY(var(--product-ry, 0deg));
  transition: transform 420ms var(--am-ease);
}

.am-product-rank {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 9px 4px;
  background: rgba(8, 9, 8, 0.66);
  backdrop-filter: blur(6px);
  color: var(--am-paper);
  font-family: "AM Display", "AM Grotesk", sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.am-product-rank::before {
  content: "#";
  font-family: "AM Mono", monospace;
  font-weight: 400;
  font-size: 0.6rem;
  color: var(--am-red);
}

.am-product-lane:nth-child(3) .am-product-media {
  aspect-ratio: 16 / 10;
}

.am-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms var(--am-ease), filter 600ms var(--am-ease);
}

.am-product:hover .am-product-media img {
  transform: scale(1.045);
  filter: brightness(1.08);
}

.am-product-copy {
  display: grid;
  gap: 8px;
  padding-right: 18px;
}

.am-product-copy small {
  color: var(--am-muted);
  font-family: "AM Mono", monospace;
  font-size: 0.62rem;
}

.am-product-copy strong {
  font-size: 1.35rem;
  font-weight: 500;
}

.am-software {
  overflow: hidden;
  border-top: 1px solid var(--am-line);
  background: #0d100e;
}

.am-software-stage {
  display: grid;
  gap: 12vh;
}

.am-software-product {
  position: relative;
  min-height: 84dvh;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
  background: #020303;
}

.am-software-product-neural {
  width: 72%;
  min-height: 72dvh;
  margin-left: auto;
  background: var(--am-paper);
}

.am-software-product::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(3, 4, 3, 0.95) 100%);
}

/* Neural Seq gets its own motion language: a light, framed device panel
   instead of Voltra's full-bleed cinematic wipe — same brand-paper accent
   already established in the Current Focus beat, so the two products never
   read as the same template reused twice. */
.am-software-product-neural::after {
  content: none;
}

.am-software-product-neural .am-software-media {
  inset: 7%;
  background: #d8d4cb;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

.am-software-product-neural img {
  height: 100%;
  object-fit: contain;
  padding: 6%;
  transform: none;
}

.am-software-product-neural:hover img {
  transform: scale(1.03);
}

.am-software-ring {
  position: absolute;
  z-index: -3;
  top: 50%;
  left: 50%;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(8, 9, 8, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.am-software-ring::before,
.am-software-ring::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: inherit;
  border-radius: inherit;
}

.am-software-ring::after {
  inset: 28%;
}

.am-software-product-neural > span {
  color: var(--am-black);
}

.am-software-product-neural small {
  color: #5f625d;
}

.am-software-product-neural em {
  color: #6b6e68;
}

.am-software-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  clip-path: inset(0);
  will-change: clip-path;
}

.am-software-product img {
  width: 100%;
  height: 112%;
  object-fit: contain;
  transform: translateY(-5%) scale(1.02);
  transition: transform 800ms var(--am-ease);
  will-change: transform;
}

.am-software-product > span {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 9px;
  padding: 42px;
}

.am-software-product small,
.am-software-product em {
  font-family: "AM Mono", monospace;
  font-size: 0.64rem;
  font-style: normal;
}

.am-software-product em {
  color: var(--am-muted);
}

.am-software-product strong {
  font-size: clamp(3.2rem, 7vw, 7.6rem);
  font-weight: 500;
  line-height: 0.86;
}

.am-software-product:hover img {
  transform: translateY(-5%) scale(1.045);
}

/* ---------- MUUR teaser — the plugin's own amber accent lives only here,
   the rest of the home page stays on the site red. ---------- */

.am-muur-teaser {
  border-top: 1px solid var(--am-line);
  background: #0d0b08;
}

.am-muur-teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.am-muur-teaser-media {
  display: block;
  position: relative;
  overflow: hidden;
  background: #0d0b08;
  border: 1px solid rgba(224, 152, 63, 0.24);
}

.am-muur-teaser-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 700ms var(--am-ease);
}

.am-muur-teaser-media:hover img {
  transform: scale(1.035);
}

.am-muur-teaser-copy .am-kicker {
  display: block;
  margin-bottom: 16px;
  color: #e0983f;
  letter-spacing: 0.16em;
}

.am-muur-teaser-copy h2 {
  margin: 0.4em 0 0.5em;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  font-weight: 500;
  line-height: 0.92;
}

.am-muur-teaser-copy > p {
  max-width: 54ch;
  margin: 0 0 30px;
  color: var(--am-muted);
  line-height: 1.68;
}

.am-muur-teaser-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
}

.am-muur-teaser-facts span {
  padding: 9px 14px;
  border: 1px solid rgba(224, 152, 63, 0.28);
  color: rgba(239, 237, 231, 0.82);
  font-family: "AM Mono", monospace;
  font-size: 0.68rem;
}

.am-muur-teaser-action.am-action {
  border-color: #e0983f;
  background: #e0983f;
  color: #1a1206;
}

.am-muur-teaser-action.am-action:hover {
  color: #e0983f;
  background: transparent;
}

@media (max-width: 900px) {
  .am-muur-teaser-grid {
    grid-template-columns: 1fr;
  }
}

.am-artist {
  position: relative;
  min-height: 112dvh;
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
  background: #070807;
}

.am-artist-media,
.am-artist-shade {
  position: absolute;
  inset: 0;
}

.am-artist-media {
  z-index: -2;
  overflow: hidden;
  clip-path: inset(6% 7% 4% 7%);
  will-change: clip-path, transform;
}

.am-artist-image {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 43%;
  transform: translateY(-6%) scale(1.04);
  will-change: transform;
}

.am-artist-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 9, 8, 0.08) 0%, rgba(8, 9, 8, 0.8) 100%);
}

.am-artist-layer {
  position: absolute;
  z-index: 1;
  width: min(19vw, 270px);
  margin: 0;
  border: 1px solid rgba(239, 237, 231, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  will-change: transform;
}

.am-artist-layer img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.am-artist-layer-one {
  top: 15%;
  right: 7%;
  transform: rotate(4deg);
}

.am-artist-layer-two {
  top: 39%;
  left: 5%;
  transform: rotate(-5deg);
}

.am-artist-content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 24px;
  padding-top: 160px;
  padding-bottom: 72px;
}

.am-artist-content .am-kicker {
  color: rgba(239, 237, 231, 0.74);
}

.am-artist-content h2 {
  width: 100%;
  display: grid;
  font-size: clamp(5.5rem, 10.4vw, 11.8rem);
  font-weight: 500;
  line-height: 0.76;
}

.am-artist-content h2 span {
  display: block;
  width: max-content;
}

.am-artist-content h2 span:last-child {
  margin-left: 13vw;
}

.am-artist-content > p:not(.am-kicker) {
  font-size: 1.15rem;
}

.am-artist-releases {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 12px;
}

.am-artist-release {
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
  width: 128px;
}

.am-artist-release img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  transition: transform 480ms var(--am-ease), filter 480ms var(--am-ease);
}

.am-artist-release:hover img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.1);
}

.am-artist-release span {
  display: grid;
  gap: 3px;
}

.am-artist-release small {
  font-family: "AM Mono", monospace;
  font-size: 0.56rem;
  color: rgba(239, 237, 231, 0.5);
}

.am-artist-release strong {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.25;
}

@media (max-width: 760px) {
  .am-artist-releases { gap: 14px; }
  .am-artist-release { width: 30%; }
}

.am-content {
  color: var(--am-black);
  background: var(--am-paper);
}

.am-content .am-kicker {
  color: #5f625d;
}

.am-live-signal {
  overflow: hidden;
  padding-top: 158px;
  padding-bottom: 180px;
}

.am-video-stage {
  display: grid;
  gap: 12vh;
}

.am-video {
  position: relative;
  width: 88%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  transform: perspective(1400px) rotateX(var(--product-rx, 0deg)) rotateY(var(--product-ry, 0deg));
  transition: transform 460ms var(--am-ease);
}

.am-video + .am-video {
  width: 62%;
  margin-left: auto;
}

.am-video img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.42) contrast(1.14) brightness(0.88);
  transform: scale(1.04);
  transition: transform 800ms var(--am-ease), filter 800ms var(--am-ease);
  will-change: transform;
}

.am-video > span {
  position: absolute;
  inset: auto 28px 28px;
  z-index: 2;
  display: grid;
  gap: 8px;
  max-width: calc(100% - 120px);
  color: #fff;
}

.am-video > span small,
.am-video > span em {
  font-family: "AM Mono", monospace;
  font-size: 0.62rem;
  font-style: normal;
}

.am-video > span strong {
  font-size: 1.45rem;
  font-weight: 500;
}

.am-video > span em {
  color: rgba(255, 255, 255, 0.7);
}

.am-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(3, 4, 3, 0.88) 100%);
}

.am-video::after {
  content: "PLAY";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  min-width: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 9, 8, 0.42);
  font-family: "AM Mono", monospace;
  font-size: 0.58rem;
  backdrop-filter: blur(8px);
}

.am-video:hover img {
  transform: scale(1.065);
  filter: saturate(0.8) contrast(1.05) brightness(1);
}

.am-catalog-entry {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  align-items: end;
  color: var(--am-paper);
  background: var(--am-black);
}

.am-catalog-reel,
.am-catalog-shade {
  position: absolute;
  inset: 0;
}

.am-catalog-reel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  opacity: 0.62;
}

.am-catalog-reel figure {
  min-width: 0;
  overflow: hidden;
  will-change: transform;
}

.am-catalog-reel figure:nth-child(even) {
  transform: translateY(8%);
}

.am-catalog-reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.74) brightness(0.72) contrast(1.08);
  transform: scale(1.07);
}

.am-catalog-shade {
  background:
    linear-gradient(180deg, rgba(8, 9, 8, 0.06), rgba(8, 9, 8, 0.34) 50%, rgba(8, 9, 8, 0.96)),
    linear-gradient(90deg, rgba(8, 9, 8, 0.78), transparent 70%);
}

.am-catalog-entry-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  align-items: end;
  gap: 34px 58px;
  padding-top: 130px;
  padding-bottom: 44px;
}

.am-catalog-entry-inner h2 {
  grid-column: 1;
  display: grid;
  margin-top: 20px;
  max-width: 100%;
  font-size: clamp(6.2rem, 14vw, 15rem);
  font-weight: 500;
  line-height: 0.7;
  overflow-wrap: anywhere;
}

.am-catalog-entry-inner h2 span {
  display: block;
  width: max-content;
  max-width: 100%;
  overflow-wrap: break-word;
  will-change: transform;
}

.am-catalog-entry-inner .am-kicker {
  grid-column: 1 / -1;
  color: rgba(239, 237, 231, 0.64);
}

.am-catalog-entry-inner .am-action {
  grid-column: 2;
  align-self: end;
  min-width: 230px;
}

.am-catalog-secondary {
  grid-column: 1;
  color: rgba(239, 237, 231, 0.68);
  font-family: "AM Mono", monospace;
  font-size: 0.76rem;
}

@media (max-width: 1180px) {
  .am-hero h1 {
    font-size: clamp(5.2rem, 12vw, 8rem);
  }

  .am-focus-beat {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  }

  .am-focus-copy {
    padding-left: 32px;
  }

  .am-world-selector {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    gap: 34px;
  }

  .am-product-lanes {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .am-hero {
    min-height: 100dvh;
  }

  .am-hero-plane-portrait {
    top: 19%;
    left: 4%;
    width: 28vw;
  }

  .am-hero-plane-signal {
    right: -5%;
    bottom: 18%;
    width: 38vw;
  }

  .am-focus-stage {
    min-height: auto;
    padding: 108px 0 92px;
  }

  .am-focus-pin {
    min-height: auto;
    overflow: visible;
  }

  .am-focus-beats {
    position: static;
    display: grid;
    gap: 72px;
  }

  .am-focus-beat {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    padding: 0 32px;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .am-focus-visual {
    min-height: 58vw;
  }

  .am-focus-copy {
    gap: 17px;
    padding: 28px 0 0;
  }

  .am-focus-copy h3 {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .am-world-selector {
    grid-template-columns: 1fr;
  }

  .am-world-stage {
    grid-row: 1;
    width: min(100%, 680px);
    aspect-ratio: 16 / 10;
  }

  .am-world-options {
    grid-row: 2;
  }

  .am-product-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .am-product-lane:nth-child(3) {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 0;
  }

  .am-software-product-neural {
    width: 100%;
  }

  .am-artist-layer {
    width: min(24vw, 210px);
  }
}

@media (max-width: 760px) {
  .am-entry-media {
    clip-path: inset(9% 5% 8% 5%);
  }

  .am-entry-base {
    object-position: 62% center;
  }

  .am-entry-interface {
    gap: 22px;
    padding: 18px 18px clamp(36px, 7vh, 64px);
  }

  .am-entry-meta {
    max-width: 23ch;
    font-size: 0.5rem;
  }

  .am-entry-title {
    margin-bottom: clamp(22px, 4.5vh, 40px);
    font-size: clamp(3.7rem, 19vw, 6.8rem);
    line-height: 0.78;
  }

  .am-enter-button {
    min-width: 210px;
    min-height: 62px;
    padding: 6px 6px 6px 26px;
    gap: 18px;
  }

  .am-enter-button-icon {
    width: 42px;
    height: 42px;
  }

  .am-hero-content {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    gap: 22px;
    padding-top: 94px;
    padding-bottom: 24px;
  }

  .am-hero-plane-main img {
    object-position: 66% center;
  }

  .am-hero-plane-portrait {
    top: 18%;
    left: -5%;
    width: 37vw;
    opacity: 0.4;
  }

  .am-hero-plane-signal {
    right: -12%;
    bottom: 21%;
    width: 56vw;
    opacity: 0.56;
  }

  .am-hero-statement {
    grid-column: 1;
    align-self: end;
    font-size: 0.8rem;
  }

  .am-hero h1 {
    grid-column: 1;
    font-size: clamp(3.55rem, 17.5vw, 5.4rem);
    line-height: 0.8;
  }

  .am-hero h1 span:last-child {
    margin-left: 0;
  }

  .am-hero-footer {
    grid-column: 1;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
  }

  .am-hero-scroll {
    display: none;
  }

  .am-focus-stage {
    padding-top: 84px;
  }

  .am-focus-beat {
    padding: 0 18px;
  }

  .am-focus-visual {
    min-height: 68vw;
  }

  .am-focus-visual-skins .am-focus-object {
    width: 86%;
  }

  .am-focus-visual-neural .am-focus-object {
    width: 92%;
  }

  .am-focus-copy .am-action {
    width: auto;
  }

  .am-worlds {
    padding: 92px 0 104px;
  }

  .am-worlds-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 44px;
  }

  .am-worlds-heading h2 {
    font-size: 3.8rem;
  }

  .am-world-selector {
    width: 100%;
    gap: 26px;
  }

  .am-world-stage {
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .am-world-options {
    width: min(calc(100% - 36px), var(--am-shell));
    margin-inline: auto;
  }

  .am-world-options a {
    min-height: 68px;
    padding-inline: 0;
  }

  .am-world-options a:hover,
  .am-world-options a:focus-visible,
  .am-world-options a.is-active {
    padding-left: 6px;
  }

  .am-world-options strong {
    font-size: 1.35rem;
  }

  .am-featured,
  .am-live-signal {
    padding-top: 92px;
    padding-bottom: 104px;
  }

  .am-product-lanes {
    grid-template-columns: 1fr;
    gap: 54px;
    padding-block: 0;
  }

  .am-product-lane,
  .am-product-lane:nth-child(2),
  .am-product-lane:nth-child(3) {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 0;
  }

  .am-product-copy {
    padding-right: 4px;
  }

  .am-product-copy strong {
    font-size: 0.98rem;
  }

  .am-software-stage {
    gap: 56px;
  }

  .am-software-product,
  .am-software-product-neural {
    width: 100%;
    min-height: 62dvh;
  }

  .am-software-product > span {
    padding: 24px;
  }

  .am-software-product strong {
    font-size: 2.4rem;
  }

  .am-artist {
    min-height: 92dvh;
  }

  .am-artist-media {
    clip-path: inset(3% 0);
  }

  .am-artist-image {
    object-position: 54% center;
  }

  .am-artist-content h2 {
    font-size: 3.55rem;
    line-height: 0.88;
  }

  .am-artist-content h2 span:last-child {
    margin-left: 0;
  }

  .am-artist-layer {
    width: 31vw;
  }

  .am-video,
  .am-video + .am-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-left: 0;
    margin-top: 0;
  }

  .am-catalog-entry {
    min-height: 70dvh;
  }

  .am-catalog-reel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .am-catalog-reel figure:nth-child(n + 4) {
    display: none;
  }

  .am-catalog-entry-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 38px;
  }

  .am-catalog-entry-inner h2 {
    grid-column: 1;
    font-size: clamp(3.6rem, 18vw, 5.2rem);
    line-height: 0.75;
  }

  .am-catalog-entry-inner .am-kicker,
  .am-catalog-secondary,
  .am-catalog-entry-inner .am-action {
    grid-column: 1;
  }

  .am-catalog-entry-inner .am-action {
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .am-worlds-heading h2 {
    font-size: 3.25rem;
  }

  .am-world-options strong {
    font-size: 1.12rem;
  }

  .am-artist-content h2 {
    font-size: 3.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .am-entry-pending .am-entry-gate {
    display: none;
  }

  .am-focus-stage {
    min-height: auto;
    padding: 108px 0 96px;
  }

  .am-focus-pin {
    min-height: auto;
    overflow: visible;
  }

  .am-focus-beats {
    position: static;
    display: grid;
    gap: 76px;
  }

  .am-focus-beat,
  .js .am-focus-beat:not(.is-active) {
    position: relative;
    inset: auto;
    min-height: min(760px, 86dvh);
    padding-top: 0;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .am-hero-scroll span {
    animation: none;
  }

  .am-hero-plane,
  .am-world-stage,
  .am-focus-object,
  .am-focus-copy {
    transform: none !important;
  }
}
