/* omnipresentgame.com
   Structural sibling of ajstarkey.com -- same ambient layers, eyebrow/chip/
   panel idioms and 840px breakpoint -- with the cyan accent swapped for the
   key art's red. Dark only: it's a game site, there is no light theme. */

:root {
  color-scheme: dark;

  --bg: oklch(0.145 0.012 25);
  --bg-raise: oklch(0.19 0.014 25 / 0.6);
  --bg-solid: oklch(0.185 0.014 25);

  --text: oklch(0.95 0.008 30);
  --body: oklch(0.79 0.012 30);
  --dim: oklch(0.71 0.012 30);
  --muted: oklch(0.56 0.012 30);

  --accent: oklch(0.58 0.22 27);
  --accent-text: oklch(0.76 0.17 27);
  --accent-bright: oklch(0.68 0.22 27);

  --line: oklch(0.92 0.02 30 / 0.1);
  --line-strong: oklch(0.92 0.02 30 / 0.16);

  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;

  --frame-w: 1180px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: oklch(0.58 0.22 27 / 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

@keyframes slowpan {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  position: relative;
  overflow: hidden;
}

/* ambient layers */
.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient-grid {
  background-image:
    linear-gradient(oklch(0.92 0.02 30 / 0.022) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.92 0.02 30 / 0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: slowpan 24s linear infinite;
}

.ambient-glow {
  inset: auto;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 760px;
  background: radial-gradient(ellipse at center, oklch(0.58 0.22 27 / 0.16), transparent 65%);
  filter: blur(24px);
}

.ambient-vignette {
  background: radial-gradient(ellipse at 50% 35%, transparent 38%, oklch(0.145 0.012 25 / 0.9) 100%);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient-grid { animation: none; }
}

/* content frame */
.frame {
  position: relative;
  z-index: 1;
  max-width: var(--frame-w);
  margin: 0 auto;
  padding: 32px 48px 56px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ---------- header ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  height: 22px;
  width: auto;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.25s;
}

.site-nav a:hover {
  color: var(--accent-text);
}

.site-nav a[aria-current='page'] {
  color: var(--accent-text);
}

.nav-toggle-input {
  display: none;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 22px;
  height: 15px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent-text);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 6.5px; }
.menu-toggle span:nth-child(3) { top: 13px; }

.nav-toggle-input:checked ~ .topbar .menu-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle-input:checked ~ .topbar .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-input:checked ~ .topbar .menu-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
}

.mobile-nav a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: oklch(0.84 0.03 30);
  text-decoration: none;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.nav-toggle-input:checked ~ .mobile-nav {
  display: flex;
}

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--accent-text);
  margin-bottom: 18px;
}

.page-title {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

.body-text {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.68;
  max-width: 62ch;
  color: var(--body);
}

.body-text-dim {
  color: var(--dim);
}

.body-text em {
  color: var(--accent-text);
  font-style: italic;
}

.body-text strong {
  color: var(--text);
  font-weight: 600;
}

.lead {
  font-size: 19.5px;
  line-height: 1.62;
  color: var(--body);
}

a.inline-link {
  color: var(--accent-text);
  transition: color 0.25s;
}

a.inline-link:hover {
  color: var(--accent-bright);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: oklch(0.84 0.03 30);
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-raise);
}

/* ---------- buttons ---------- */

.cta-button {
  display: inline-block;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: oklch(0.99 0.005 30);
  background: var(--accent);
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}

.cta-button:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 26px oklch(0.58 0.22 27 / 0.45);
  transform: translateY(-1px);
}

.cta-ghost {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--accent-text);
  background: transparent;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid oklch(0.58 0.22 27 / 0.45);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.cta-ghost:hover {
  border-color: var(--accent);
  color: var(--text);
  background: oklch(0.58 0.22 27 / 0.12);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.note {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.note::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px oklch(0.58 0.22 27 / 0.9);
  flex-shrink: 0;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  margin: 28px 0 8px;
  border: 1px solid oklch(0.58 0.22 27 / 0.24);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, oklch(0.145 0.012 25 / 0.96) 8%, oklch(0.145 0.012 25 / 0.55) 55%, oklch(0.145 0.012 25 / 0.8)),
    linear-gradient(to right, oklch(0.145 0.012 25 / 0.85), transparent 70%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 96px 52px 56px;
  max-width: 680px;
}

.hero-logo {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin-bottom: 26px;
}

.hero-logline {
  margin: 0;
  font-size: 25px;
  line-height: 1.42;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent-text);
}

.hero-meta span + span::before {
  content: '/';
  margin-right: 14px;
  color: oklch(0.5 0.08 27);
}

/* ---------- panels & grids ---------- */

.band {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.band:first-child {
  border-top: none;
}

.band-head {
  max-width: 62ch;
  margin-bottom: 36px;
}

.band-head .body-text:first-of-type {
  margin-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 26px 24px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    radial-gradient(90% 100% at 0% 0%, oklch(0.5 0.18 27 / 0.1), transparent 70%),
    var(--bg-raise);
  transition: border-color 0.25s, box-shadow 0.25s;
}

a.card {
  text-decoration: none;
  display: block;
}

a.card:hover {
  border-color: oklch(0.58 0.22 27 / 0.5);
  box-shadow: 0 0 28px oklch(0.58 0.22 27 / 0.13);
}

.card-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.card-title {
  margin: 12px 0 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.card-text {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dim);
}

/* alternating feature sections */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.feature:nth-child(even) .feature-media {
  order: -1;
}

.feature-media {
  position: relative;
}

.feature-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-solid);
}

.feature-body .body-text:first-of-type {
  margin-top: 0;
}

/* ---------- screenshot gallery ---------- */

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shot {
  margin: 0;
}

/* The homepage strip uses bare <img> children; /media wraps each in a button. */
.shot > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg-solid);
}

.shot-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-solid);
  cursor: zoom-in;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.shot-button:hover {
  border-color: oklch(0.58 0.22 27 / 0.55);
  box-shadow: 0 0 30px oklch(0.58 0.22 27 / 0.16);
  transform: translateY(-2px);
}

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

/* Key art has its own proportions -- don't crop it to the screenshot ratio. */
.shot-art .shot-button img {
  aspect-ratio: auto;
  object-fit: contain;
}

.shot figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .shot-button:hover,
  .cta-button:hover {
    transform: none;
  }
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: oklch(0.1 0.01 25 / 0.94);
  backdrop-filter: blur(6px);
}

.lightbox[open],
.lightbox.is-open {
  display: flex;
}

.lightbox-figure {
  margin: 0;
  max-width: 1400px;
  width: 100%;
}

.lightbox-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
}

.lightbox-figure figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--dim);
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--bg-solid);
  color: var(--text);
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
  position: absolute;
  top: 30px;
  left: 28px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------- factsheet / tables ---------- */

.factsheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.factsheet th,
.factsheet td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.factsheet th {
  width: 190px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  white-space: nowrap;
}

.factsheet td {
  color: var(--body);
}

/* ---------- lists ---------- */

.key-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.key-features li {
  position: relative;
  padding: 18px 20px 18px 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-raise);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--dim);
}

.key-features li::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 27px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px oklch(0.58 0.22 27 / 0.8);
}

.key-features strong {
  color: var(--text);
  font-weight: 600;
}

.download-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.download-list a {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-raise);
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}

.download-list a:hover {
  border-color: oklch(0.58 0.22 27 / 0.5);
  background: oklch(0.58 0.22 27 / 0.1);
}

.download-name {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.download-meta {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- news ---------- */

.post {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.post:first-of-type {
  border-top: none;
  padding-top: 0;
}

.post-date {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.post-title {
  margin: 10px 0 0;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}

/* ---------- contact form ---------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
  margin-top: 28px;
}

.hp-field {
  display: none;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--accent-text);
}

.form-input {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-raise);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input:focus {
  outline: none;
  border-color: oklch(0.58 0.22 27 / 0.65);
  box-shadow: 0 0 18px oklch(0.58 0.22 27 / 0.16);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.contact-form .cta-button {
  align-self: flex-start;
}

.form-status {
  margin: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--dim);
  min-height: 1em;
}

.form-status-ok { color: oklch(0.8 0.14 165); }
.form-status-error { color: oklch(0.75 0.19 30); }

.form-consent-row {
  margin-top: -4px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-consent input[type='checkbox'] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-consent span {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--dim);
}

.consent-details {
  margin-top: 6px;
}

.consent-details summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--accent-text);
}

.consent-details p {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer a {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.25s;
}

.footer a:hover {
  color: var(--accent-text);
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cursor {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--accent);
  animation: blink 1.1s step-end infinite;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}

/* ---------- error page ---------- */

.error-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 0;
}

.error-code {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--accent-text);
  margin-bottom: 18px;
}

/* ---------- responsive ---------- */

@media (max-width: 840px) {
  .frame {
    padding: 20px 16px 40px;
  }

  .topbar {
    flex-wrap: wrap;
    row-gap: 14px;
  }

  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .brand-sub { display: none; }

  .hero-inner {
    min-height: 420px;
    padding: 56px 24px 32px;
  }

  .hero-logo { width: min(100%, 320px); }
  .hero-logline { font-size: 20px; }

  .page-title { font-size: 34px; }
  .section-title { font-size: 24px; }
  .lead { font-size: 17.5px; }

  .band { padding: 40px 0; }

  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }

  .feature:nth-child(even) .feature-media {
    order: 0;
  }

  .factsheet th,
  .factsheet td {
    display: block;
    width: auto;
    padding: 0 0 4px;
    border-bottom: none;
  }

  .factsheet td {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-counter { top: 22px; left: 16px; }

  .contact-form { max-width: none; }
}

/* trailer slot -- used when the commented-out embed on /media goes live */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-solid);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-load poster: no YouTube request until the play button is used. */
.video-facade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-solid);
  cursor: pointer;
}

.video-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s, transform 0.4s;
}

.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid oklch(0.58 0.22 27 / 0.5);
  background: oklch(0.145 0.012 25 / 0.72);
  backdrop-filter: blur(4px);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.video-facade-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--accent-text);
}

.video-facade:hover img {
  opacity: 0.8;
  transform: scale(1.02);
}

.video-facade:hover .video-facade-play {
  border-color: var(--accent-bright);
  background: oklch(0.145 0.012 25 / 0.85);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-facade:hover .video-facade-play::after {
  border-left-color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .video-facade img,
  .video-facade-play {
    transition: none;
  }

  .video-facade:hover img {
    transform: none;
  }

  .video-facade:hover .video-facade-play {
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 840px) {
  .video-facade-play {
    width: 58px;
    height: 58px;
  }

  .video-facade-play::after {
    border-width: 9px 0 9px 14px;
  }
}
