@font-face {
  font-family: "Russo One";
  src: url("../fonts/RussoOne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --max: 72rem;
  --accent-bar: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.28) 100%), linear-gradient(90deg, #f0c878 0%, #e2b86a 50%, #b88a3e 100%);
  --accent-bar-shadow: inset 0 1px 0 rgba(255, 244, 214, 0.7), inset 0 -1px 0 rgba(0, 0, 0, 0.45), inset 1px 0 0 rgba(255, 244, 214, 0.35);
  --accent-bar-h: 8px;
  --accent-ink: #1a1408;
  --hero-ink: #f7f3ea;
  --hero-gold: #f0d7a4;
  --hero-soft: #e7e0d4;
  color-scheme: dark;
  --bg: #12110e;
  --bg-elev: #1c1a16;
  --line: #3a342c;
  --text: #c8c4bc;
  --muted: #a39e96;
  --link: #f0d7a4;
  --link-hover: #fff6e4;
  --focus: #f0d7a4;
  --heading: #f0d7a4;
  --kicker: #f0d7a4;
  --nav: #d9d3c8;
  --nav-current: #f0d7a4;
  --nav-current-bg: #2a261f;
  --sheet: #16140f;
  --header-bg: #12110e;
  --header-brand: #f0d7a4;
  --toggle-border: #8a7e6a;
  --toggle-bg: #1c1a16;
  --toggle-color: #f0d7a4;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --bg: #f8dbcc;
    --bg-elev: rgba(255, 255, 255, 0.4);
    --line: rgba(76, 29, 149, 0.18);
    --text: #2e2a36;
    --muted: #4d4860;
    --link: #005a66;
    --link-hover: #003d47;
    --focus: #6d28d9;
    --heading: #6c21eb;
    --kicker: #9d174d;
    --nav: #4d4860;
    --nav-current: #4c1d95;
    --nav-current-bg: rgba(109, 40, 217, 0.12);
    --sheet: rgba(255, 255, 255, 0.34);
    --header-bg: transparent;
    --header-brand: #6c21eb;
    --toggle-border: #6d28d9;
    --toggle-bg: rgba(255, 255, 255, 0.4);
    --toggle-color: #6c21eb;
    --accent-bar: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0) 50%, rgba(40, 8, 60, 0.22) 100%), linear-gradient(90deg, #f2b705 0%, #d63384 55%, #6d28d9 100%);
    --accent-bar-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(46, 10, 72, 0.35), inset 1px 0 0 rgba(255, 255, 255, 0.35);
    --accent-bar-h: 8px;
  }
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12110e;
  --bg-elev: #1c1a16;
  --line: #3a342c;
  --text: #c8c4bc;
  --muted: #a39e96;
  --link: #f0d7a4;
  --link-hover: #fff6e4;
  --focus: #f0d7a4;
  --heading: #f0d7a4;
  --kicker: #f0d7a4;
  --nav: #d9d3c8;
  --nav-current: #f0d7a4;
  --nav-current-bg: #2a261f;
  --sheet: #16140f;
  --header-bg: #12110e;
  --header-brand: #f0d7a4;
  --toggle-border: #8a7e6a;
  --toggle-bg: #1c1a16;
  --toggle-color: #f0d7a4;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8dbcc;
  --bg-elev: rgba(255, 255, 255, 0.4);
  --line: rgba(76, 29, 149, 0.18);
  --text: #2e2a36;
  --muted: #4d4860;
  --link: #005a66;
  --link-hover: #003d47;
  --focus: #6d28d9;
  --heading: #6c21eb;
  --kicker: #9d174d;
  --nav: #4d4860;
  --nav-current: #4c1d95;
  --nav-current-bg: rgba(109, 40, 217, 0.12);
  --sheet: rgba(255, 255, 255, 0.34);
  --header-bg: transparent;
  --header-brand: #6c21eb;
  --toggle-border: #6d28d9;
  --toggle-bg: rgba(255, 255, 255, 0.4);
  --toggle-color: #6c21eb;
  --accent-bar: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0) 50%, rgba(40, 8, 60, 0.22) 100%), linear-gradient(90deg, #f2b705 0%, #d63384 55%, #6d28d9 100%);
  --accent-bar-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(46, 10, 72, 0.35), inset 1px 0 0 rgba(255, 255, 255, 0.35);
  --accent-bar-h: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--hero-gold);
  color: var(--accent-ink);
  padding: 0.55rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 8;
  text-decoration: none;
  font-weight: 650;
}

.skip:focus {
  transform: none;
}

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-skip-ink: auto;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--link-hover);
}

a:focus-visible,
.theme-toggle:focus-visible,
.door:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.2rem;
}

.wrap {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0;
}

.brand {
  color: var(--header-brand);
  text-decoration: none;
  font-family: "Russo One", "Arial Black", "Gill Sans", "Gill Sans MT", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  font-size: 1.2rem;
  line-height: 1.2;
}

.brand:hover,
.brand:focus-visible {
  text-decoration: none;
  color: var(--header-brand);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  flex: 1 1 100%;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  color: var(--nav);
  text-decoration: none;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

nav a:hover,
nav a:focus-visible {
  text-decoration: none;
  color: var(--nav-current);
  background: var(--nav-current-bg);
}

nav a[aria-current="page"] {
  color: var(--nav-current);
  background: var(--nav-current-bg);
  text-decoration: none;
}

.theme-toggle:not([hidden]) {
  position: relative;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--toggle-border);
  color: var(--toggle-color);
  background: var(--toggle-bg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.theme-toggle[hidden] {
  display: none !important;
}

.theme-toggle-icons {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
}

.theme-icon {
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  fill: currentColor;
}

.theme-icon-sun {
  fill: none;
}

html[data-theme="dark"] .theme-icon-moon,
html[data-theme="light"] .theme-icon-sun,
:root:not([data-theme]) .theme-icon-moon {
  opacity: 1;
}

html[data-theme="dark"] .theme-icon-sun,
html[data-theme="light"] .theme-icon-moon,
:root:not([data-theme]) .theme-icon-sun {
  opacity: 0;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .theme-icon-sun {
    opacity: 1;
  }

  :root:not([data-theme]) .theme-icon-moon {
    opacity: 0;
  }
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--kicker);
  font-size: 0.78rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Russo One", "Arial Black", "Gill Sans", "Gill Sans MT", sans-serif;
  font-weight: 400;
  color: var(--heading);
  text-decoration: none;
  letter-spacing: 0.04em;
}

h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.2rem, 12vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  max-width: 14ch;
}

h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 4.5vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: 0.045em;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

p {
  margin: 0 0 1rem;
}

.lede {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.45;
}

.sheet-wrap {
  background: var(--bg);
  padding: 1.15rem 0 1.35rem;
}

.sheet {
  position: relative;
  background: var(--sheet);
  color: var(--text);
  padding: 1.15rem 1.05rem 1.25rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 22px) 100%, 0 100%);
}

.sheet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(42%, 11rem);
  height: var(--accent-bar-h, 6px);
  background: var(--accent-bar);
  box-shadow: var(--accent-bar-shadow, none);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

.sheet > :last-child {
  margin-bottom: 0;
}

.sheet p,
.prose p {
  max-width: 42rem;
}

.hero {
  position: relative;
  margin: 0;
  background: #0e0d0b;
  color: var(--hero-ink);
}

.hero-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 640px;
  overflow: hidden;
  background: #0e0d0b;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim,
.frame-scrim,
.footer-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.18) 0%, rgba(8, 7, 6, 0.28) 36%, rgba(8, 7, 6, 0.78) 68%, rgba(8, 7, 6, 0.94) 100%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 26vh 0 7rem;
}

.hero-copy h1,
.hero-copy .lede,
.hero figcaption,
.frame figcaption,
.footer-copy,
.footer-copy p {
  color: var(--hero-ink);
}

.hero-copy .lede {
  color: var(--hero-soft);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero-copy h1 {
  color: #fd8831;
  text-shadow: 0 1px 0 #b85413, 0 2px 0 #8f3f0c, 0 4px 14px rgba(0, 0, 0, 0.6);
}

/* Hero title in the Autonomicity Games logo orange, with a 3D tone: light top
   highlight, orange body, deeper base, a thin extrusion and a soft drop shadow.
   The solid orange above stays as the fallback. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-copy h1 {
    width: fit-content;
    background-image: linear-gradient(180deg, #ffe2b4 0%, #fbb15b 26%, #fd8831 62%, #e5691a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fd8831;
    text-shadow: none;
    filter: drop-shadow(0 1px 0 #b85413) drop-shadow(0 1px 0 #8f3f0c) drop-shadow(0 -1px 0 rgba(255, 228, 186, 0.7)) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.6));
  }
}

.hero-copy .kicker,
.on-art .kicker {
  color: var(--hero-gold);
}

.hero figcaption,
.frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 1.6rem 0 0.75rem;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0), rgba(8, 7, 6, 0.92));
  color: var(--hero-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hero figcaption .wrap,
.frame figcaption .wrap {
  width: min(var(--max), calc(100% - 1.5rem));
}

.frame {
  position: relative;
  margin: 0;
  min-height: 16rem;
  background: #0e0d0b;
  overflow: hidden;
}

.frame img {
  display: block;
  width: 100%;
  height: 46vh;
  min-height: 240px;
  max-height: 520px;
  object-fit: cover;
}

.doors {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0 0 1.35rem;
  list-style: none;
}

.door {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--sheet);
  color: var(--heading);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 22px) 100%, 0 100%);
}

.door:hover,
.door:focus-visible {
  text-decoration: none;
  color: var(--heading);
}

.door:focus-visible {
  clip-path: none;
}

.door-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0e0d0b;
  line-height: 0;
}

.door-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.65s ease;
}

.door:hover .door-frame img,
.door:focus-visible .door-frame img {
  transform: scale(1.045);
}

.door-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem 1.15rem;
}

.door-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: var(--accent-bar-h, 6px);
  background: var(--accent-bar);
  box-shadow: var(--accent-bar-shadow, none);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
}

.door-title {
  font-family: "Russo One", "Arial Black", "Gill Sans", "Gill Sans MT", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--heading);
  text-decoration: none;
}

.door-copy p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.section-label {
  padding-top: 0.2rem;
}

.media-strip {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0 0 1.25rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
}

.media-strip li {
  flex: 0 0 82%;
  scroll-snap-align: start;
  min-width: 0;
}

.shot {
  position: relative;
  margin: 0;
  background: #0e0d0b;
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.4rem 0.75rem 0.55rem;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0), rgba(8, 7, 6, 0.92));
  color: var(--hero-soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

.people {
  display: grid;
  gap: 0.75rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.people li,
.split article,
.system {
  position: relative;
  background: var(--bg-elev);
  color: var(--text);
  padding: 0.95rem 0.9rem 1rem;
}

.people li::before,
.split article::before,
.system::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: calc(var(--accent-bar-h, 6px) - 1px);
  background: var(--accent-bar);
  box-shadow: var(--accent-bar-shadow, none);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
}

.people strong,
.system h3 {
  display: block;
  font-family: "Russo One", "Arial Black", "Gill Sans", "Gill Sans MT", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--heading);
  text-decoration: none;
  margin-bottom: 0.3rem;
}

.people span,
.split p,
.system p {
  color: var(--text);
}

.people span {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
}

.split h3 {
  color: var(--heading);
}

.systems {
  display: grid;
  gap: 0.8rem;
  margin: 0.35rem 0 0;
}

.system p:last-child {
  margin-bottom: 0;
}

.sources {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sources a {
  overflow-wrap: anywhere;
}

.site-footer {
  position: relative;
  margin-top: auto;
  background: #0e0d0b;
  color: var(--hero-ink);
}

.footer-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 22rem;
  overflow: hidden;
}

.footer-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 5rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0) 0, rgba(8, 7, 6, 0.9) 4.25rem, rgba(8, 7, 6, 0.94) 100%);
}

.footer-copy > * {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
}

.footer-copy p {
  margin: 0.2rem auto;
  color: var(--hero-soft);
}

.site-footer a {
  color: var(--hero-gold);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff6e4;
}

.site-footer a:focus-visible {
  outline-color: var(--hero-gold);
}

.footer-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
}

code {
  overflow-wrap: anywhere;
}

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

.op-home { object-position: 40% 50%; }
.op-world { object-position: 35% 50%; }
.op-systems { object-position: 45% 45%; }
.op-play { object-position: 40% 50%; }
.op-cable { object-position: 55% 50%; }
.op-garden { object-position: 35% 50%; }
.op-cydruid { object-position: 58% 50%; }
.op-crystal { object-position: 60% 50%; }
.op-farm { object-position: 50% 50%; }
.op-dock { object-position: 62% 50%; }
.op-market { object-position: 30% 50%; }
.op-bridge { object-position: 45% 50%; }

@media (min-width: 800px) {
  .wrap {
    width: min(var(--max), calc(100% - 2.5rem));
  }

  nav {
    flex: 0 1 auto;
    justify-content: flex-end;
  }

  h1 {
    font-size: clamp(2.7rem, 5vw, 4.5rem);
  }

  .hero-media {
    min-height: 72vh;
  }

  .hero-copy {
    padding-top: 20vh;
    padding-bottom: 6.2rem;
  }

  .doors {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .media-strip li {
    flex-basis: calc((100% - 1.5rem) / 3);
  }

  .people,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .people {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  }

  .frame img {
    height: 52vh;
  }
}

@media (min-width: 1100px) {
  .media-strip li {
    flex-basis: calc((100% - 2.25rem) / 4);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .door-frame img {
    transition: none;
    transform: none;
  }
}

/* Light mode: a soft wash sampled from the Powrush art (sunset peach, rose,
   Quellorian lavender, sky, lake teal, warm sand), blending down the page. */
html[data-theme="light"] body {
  background-color: #f8dbcc;
  background-image:
    radial-gradient(60rem 38rem at 12% 8%, rgba(248, 204, 212, 0.8), rgba(248, 204, 212, 0) 70%),
    radial-gradient(56rem 40rem at 92% 30%, rgba(211, 204, 248, 0.8), rgba(211, 204, 248, 0) 70%),
    radial-gradient(60rem 44rem at 8% 62%, rgba(204, 236, 248, 0.8), rgba(204, 236, 248, 0) 70%),
    radial-gradient(56rem 40rem at 90% 88%, rgba(248, 231, 204, 0.8), rgba(248, 231, 204, 0) 70%),
    linear-gradient(180deg, #f8dbcc 0%, #f8ccd4 18%, #e8ccf8 36%, #ccd9f8 54%, #ccecf8 72%, #f8e7cc 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

html[data-theme="light"] .sheet-wrap {
  background: transparent;
}

html[data-theme="light"] .sheet,
html[data-theme="light"] .door {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.2));
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) body {
    background-color: #f8dbcc;
    background-image: linear-gradient(180deg, #f8dbcc 0%, #f8ccd4 18%, #e8ccf8 36%, #ccd9f8 54%, #ccecf8 72%, #f8e7cc 100%);
  }

  :root:not([data-theme]) .sheet-wrap {
    background: transparent;
  }
}

/* Cross-link cards: one link each, full art, scrim behind the words. */
.xlinks-wrap {
  padding-top: 1.35rem;
}

.xlinks-title {
  margin-bottom: 0.8rem;
}

.xlinks {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xcard {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 17rem;
  border-radius: 0.6rem;
  color: var(--hero-ink);
  text-decoration: none;
  background: #0e0d0b;
}

.xcard-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.xcard-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.65s ease;
}

.xcard-scrim {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0.05) 0%, rgba(8, 7, 6, 0.3) 35%, rgba(8, 7, 6, 0.86) 62%, rgba(8, 7, 6, 0.93) 100%);
  pointer-events: none;
}

.xcard-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  padding: 3rem 1rem 1.05rem;
  border-radius: 0 0 0.6rem 0.6rem;
  background: linear-gradient(180deg, rgba(8, 7, 6, 0) 0, rgba(8, 7, 6, 0.88) 2.6rem, rgba(8, 7, 6, 0.9) 100%);
}

.xcard-copy .kicker {
  margin: 0;
  color: var(--hero-gold);
}

.xcard-title {
  font-family: "Russo One", "Arial Black", "Gill Sans", "Gill Sans MT", sans-serif;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--hero-ink);
}

.xcard-text {
  color: var(--hero-soft);
  line-height: 1.45;
}

.xcard:hover,
.xcard:focus-visible {
  color: var(--hero-ink);
  text-decoration: none;
}

.xcard:hover .xcard-title,
.xcard:focus-visible .xcard-title {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.xcard:hover .xcard-art img,
.xcard:focus-visible .xcard-art img {
  transform: scale(1.04);
}

.xcard:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.6rem;
}

@media (min-width: 800px) {
  .xlinks {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .xcard {
    min-height: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xcard-art img {
    transition: none;
    transform: none !important;
  }
}
