:root {
  --bg: #0c0c0e;
  --surface: #141416;
  --elevated: #1c1c20;
  --fg: #f2efe8;
  --muted: #9a958c;
  --accent: #7f9a8c;
  --border: color-mix(in oklab, var(--fg) 12%, transparent);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.5;
}

h1, h2 {
  text-wrap: balance;
  font-family: Fraunces, "Times New Roman", serif;
  font-weight: 500;
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(64rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.375rem;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--border);
}

.wordmark {
  font-family: Fraunces, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.slogan {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 0 2.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: 0 0 0 1px var(--border);
}

.card-shot {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 16 / 9;
}

.card-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 200ms var(--ease);
}

.card:hover .card-shot img {
  transform: scale(1.05);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}

.card h2 {
  margin: 0;
  font-size: 1.875rem;
  letter-spacing: -0.03em;
}

.card p {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.75rem;
  width: fit-content;
  margin-top: auto;
  padding: 0 1.25rem;
  border-radius: 0.375rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 150ms var(--ease), transform 150ms var(--ease);
}

.play:hover { opacity: 0.9; }
.play:active { transform: scale(0.98); }
.play svg { width: 1rem; height: 1rem; }

.version {
  margin: 0;
  padding: 0.5rem 0 2rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: #6e6a64;
}

@media (min-width: 640px) {
  header { padding-top: 3rem; }
  .logo img { width: 3rem; height: 3rem; }
  .wordmark { font-size: 1.5rem; }
  .wrap { width: min(64rem, calc(100% - 4rem)); }
  .card { flex-direction: row; }
  .card-shot {
    aspect-ratio: auto;
    min-height: 20rem;
    width: 58.333%;
  }
  .card-body {
    justify-content: center;
    padding: 2rem;
  }
  .card h2 { font-size: 2.25rem; }
  .card p { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card-shot img, .play { transition: none; }
  .card:hover .card-shot img { transform: none; }
}
