:where(
  a.focus-ring.inline-flex,
  button.focus-ring,
  button.intro-video-card,
  [role="button"]
) {
  --mx: 0px;
  --my: 0px;
  --lift: 0px;
  --magnet-ease: 180ms;
  position: relative;
  isolation: isolate;
  cursor: pointer;
  transform: translate(var(--mx), calc(var(--my) + var(--lift)));
  will-change: transform, box-shadow, border-color, background-color;
  transition:
    transform var(--magnet-ease) ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

:where(
  a.focus-ring.inline-flex,
  button.focus-ring,
  button.intro-video-card,
  [role="button"]
)::after {
  position: absolute;
  inset: -2px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(200, 164, 77, 0.28),
    0 0 22px rgba(200, 164, 77, 0.34),
    0 12px 34px rgba(200, 164, 77, 0.16);
  transition: opacity 180ms ease;
}

:where(
  a.focus-ring.inline-flex,
  button.focus-ring,
  button.intro-video-card,
  [role="button"]
):hover,
:where(
  a.focus-ring.inline-flex,
  button.focus-ring,
  button.intro-video-card,
  [role="button"]
):focus-visible {
  --lift: -1px;
  box-shadow:
    0 0 0 1px rgba(200, 164, 77, 0.38),
    0 0 28px rgba(200, 164, 77, 0.28),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

:where(
  a.focus-ring.inline-flex,
  button.focus-ring,
  button.intro-video-card,
  [role="button"]
):hover::after,
:where(
  a.focus-ring.inline-flex,
  button.focus-ring,
  button.intro-video-card,
  [role="button"]
):focus-visible::after {
  opacity: 1;
}

:where(
  a.focus-ring.inline-flex,
  button.focus-ring,
  button.intro-video-card,
  [role="button"]
):active {
  --lift: 0px;
  box-shadow:
    0 0 0 1px rgba(200, 164, 77, 0.34),
    0 0 18px rgba(200, 164, 77, 0.18),
    inset 0 2px 8px rgba(0, 0, 0, 0.24);
}

@media (prefers-reduced-motion: reduce) {
  :where(
    a.focus-ring.inline-flex,
    button.focus-ring,
    button.intro-video-card,
    [role="button"]
  ) {
    --mx: 0px;
    --my: 0px;
    --lift: 0px;
    transition: box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
    transform: none !important;
  }
}

:where(a, button)[class*="bg-[var(--gold)]"] {
  color: #07111d !important;
}

:where(a, button)[class*="bg-[var(--gold)]"] :where(svg, path) {
  color: #07111d !important;
}

header nav a,
footer a {
  text-decoration-line: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease,
    text-shadow 180ms ease;
}

header nav a:hover,
header nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--gold) !important;
  text-decoration-line: underline;
  text-decoration-color: var(--gold);
  text-shadow: 0 0 16px rgba(200, 164, 77, 0.36);
}

.torvelin-catalog-overview {
  color: #fff;
}

.catalog-overview-heading {
  margin-bottom: 2.25rem;
  max-width: 58rem;
}

.catalog-overview-eyebrow,
.catalog-overview-kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.catalog-overview-heading h2 {
  margin: 0;
  max-width: 52rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
}

.catalog-overview-heading p {
  margin: 1.25rem 0 0;
  max-width: 56rem;
  color: var(--light-gray);
  font-size: 1.05rem;
  line-height: 1.75;
}

.catalog-overview-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background:
    linear-gradient(135deg, rgba(200, 164, 77, 0.12), rgba(7, 17, 29, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.catalog-overview-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.35;
}

.catalog-overview-copy,
.catalog-tier-grid,
.catalog-overview-action {
  position: relative;
  z-index: 1;
}

.catalog-overview-copy {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.catalog-overview-copy h3 {
  margin: 0;
  max-width: 42rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.catalog-overview-copy p:not(.catalog-overview-kicker) {
  margin: 0;
  max-width: 48rem;
  color: var(--muted);
  line-height: 1.7;
}

.catalog-overview-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.catalog-overview-facts span {
  border: 1px solid rgba(200, 164, 77, 0.45);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.62);
  color: #f4d683;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.75rem;
  text-transform: uppercase;
}

.catalog-tier-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .catalog-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.catalog-tier-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.625rem;
  background: rgba(7, 17, 29, 0.72);
  padding: 1.15rem;
}

.catalog-tier-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.catalog-tier-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.catalog-overview-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.catalog-overview-cta {
  display: inline-flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 0.5rem;
  background: var(--gold);
  color: #07111d !important;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  padding: 1rem 1.65rem;
  text-decoration: none;
  box-shadow:
    0 16px 42px rgba(200, 164, 77, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.catalog-overview-cta:hover,
.catalog-overview-cta:focus-visible {
  background: #e0b85b;
  box-shadow:
    0 20px 52px rgba(200, 164, 77, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}
