@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/barlow-condensed.woff2') format('woff2');
  font-display: swap;
  font-weight: 800;
}
@font-face {
  font-family: 'DM Sans';
  src: url('./assets/dm-sans.woff2') format('woff2');
  font-display: swap;
  font-weight: 400 700;
}
:root {
  color-scheme: dark;
  --background: #0e1210;
  --surface: #17201c;
  --ink: #f2f8f4;
  --muted: #bdcbc2;
  --brand: #00dc64;
  --on-brand: #001a0c;
  --line: #2e3c34;
  --body: 'DM Sans', Arial, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.wrap { width: min(100% - 7rem, 80rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  z-index: 5;
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--background);
}
.site-header { background: #0e1210; border-bottom: 1px solid #25362c; }
.navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 4.5rem;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  justify-self: start;
  white-space: nowrap;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .54rem;
  flex: 0 0 auto;
}
.play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: .34rem solid transparent;
  border-bottom: .34rem solid transparent;
  border-left: .53rem solid currentColor;
}
.brand-accent { color: var(--brand); }
.navigation nav { display: flex; gap: 2rem; align-items: center; }
.navigation nav a, .back-top {
  color: var(--muted);
  font-size: .9375rem;
  font-weight: 600;
  padding-block: .65rem;
}
.navigation nav a:hover, .back-top:hover { color: var(--ink); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  padding: .65rem 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease;
}
.button-outline { color: var(--ink); border-color: #4c6857; }
.button-outline:hover { background: #1c3928; border-color: var(--brand); }
.header-app { justify-self: end; min-height: 2.625rem; font-size: .9rem; }
.button-primary { background: var(--brand); color: var(--on-brand); min-height: 3.25rem; }
.button-primary:hover { background: #45ea8e; }
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(32rem, 42vw, 42rem);
  isolation: isolate;
  background: #181f1b;
}
.hero-picture, .hero::after { position: absolute; z-index: -1; inset: 0; }
.hero-picture { z-index: -2; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::after {
  content: '';
  background:
    linear-gradient(0deg, #0e1210 0%, #0e12104d 20%, transparent 46%),
    linear-gradient(90deg, #0e1210 0%, #101410ec 19%, #101410ad 39%, #10141000 68%);
}
.hero-content { padding-block: 3rem 4.5rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: #94f3b9;
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.35;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-line { display: inline-block; width: 1.4rem; height: 2px; background: var(--brand); }
h1, h2 { font-family: var(--display); font-weight: 800; }
h1 {
  margin: 1rem 0 1.25rem;
  font-size: clamp(4.5rem, 7.7vw, 8.75rem);
  line-height: .87;
  letter-spacing: -.012em;
  text-transform: uppercase;
}
h1 span { color: var(--brand); }
.hero-description { max-width: 25rem; color: #e5ebe5; font-size: 1.125rem; line-height: 1.55; }
.hero .button { margin-top: 1.65rem; }
.discovery { padding-block: .9rem 4.7rem; }
.section-heading { display: flex; gap: 1rem 1.5rem; justify-content: space-between; align-items: end; margin-bottom: 1.6rem; }
h2 { font-size: clamp(2.65rem, 4vw, 4rem); line-height: .95; letter-spacing: -.012em; }
.section-heading p { margin-top: .6rem; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button {
  min-height: 2.75rem;
  padding-inline: .8rem;
  border: 1px solid var(--line);
  border-radius: .36rem;
  background: transparent;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
.filters button:hover { background: #23352b; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.story-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.story {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 4.12;
  background: var(--surface);
  border: 1px solid #3b4b41;
  border-radius: .75rem;
  isolation: isolate;
  overflow: hidden;
  transition: border-color .18s ease;
}
.story:hover, .story:focus-within { border-color: var(--brand); }
.story > img { width: 100%; height: 100%; object-fit: cover; }
.story details {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: linear-gradient(0deg, #101411 0%, #101411d9 14%, #10141140 43%, transparent 65%);
}
.story details[open] { background: #141d17f5; }
.story summary {
  position: relative;
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: .75rem 2rem .85rem .9rem;
  cursor: pointer;
}
.story summary::-webkit-details-marker { display: none; }
.story summary::after {
  position: absolute;
  right: .75rem;
  bottom: 1rem;
  content: '+';
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}
.story details[open] summary::after { content: '−'; }
.story summary::before { content: ''; position: absolute; inset: -40rem 0 0; }
.story details[open] summary::before { inset: 0; }
.story summary:focus-visible { outline-offset: -4px; border-radius: .5rem; }
.story-genre { font-size: .75rem; font-weight: 700; color: #b6f7cc; }
.story-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 2.3vw, 2.15rem); line-height: 1; }
.story details p { padding: 0 .9rem .95rem; font-size: .9375rem; line-height: 1.35; color: #e0eae3; }
.about { padding-bottom: 4rem; }
.about-panel {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2.75rem 3rem;
  background: radial-gradient(ellipse at 0% 85%, #153c26, transparent 75%), var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.about h2 { margin: .65rem 0 .75rem; }
.about-copy > p:last-child { color: var(--muted); max-width: 32rem; }
.app {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #111a15;
  border: 1px solid #365343;
  border-radius: .75rem;
  padding: 1.25rem;
}
.app h3 { font-size: 1.1rem; line-height: 1.2; }
.app p { margin-top: .35rem; color: var(--muted); }
.app-mark {
  flex: 0 0 auto;
  border-radius: .8rem;
}
.site-footer { border-top: 1px solid var(--line); }
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5.75rem;
  padding-block: .8rem;
}
.footer-content p { color: var(--muted); font-size: .875rem; }
.contact-email { text-decoration: underline; text-underline-offset: .16em; }
.contact-email:hover, .contact-email:focus-visible { color: var(--ink); }
.footer-content .brand { font-size: 1.25rem; }
.footer-content .brand-mark { width: 1.95rem; height: 1.95rem; border-radius: .42rem; }
@media (max-width: 1050px) {
  .wrap { width: min(100% - 4rem, 80rem); }
  .story-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .section-heading { align-items: start; flex-direction: column; }
  .story-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-panel { padding: 2rem; gap: 1.5rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .navigation { min-height: 3.9rem; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; }
  .navigation nav { display: none; }
  .brand { font-size: 1.3rem; }
  .header-app { padding-inline: .8rem; }
  .hero { min-height: 36rem; align-items: end; }
  .hero-picture { bottom: auto; height: min(28rem, 95vw); }
  .hero-picture img { object-position: 49% 22%; }
  .hero::after {
    background: linear-gradient(0deg, #0e1210 0%, #0e1210 9%, #111711ee 28%, #11171177 53%, #11171100 80%);
  }
  .hero-content { padding: 12rem 0 2.35rem; }
  h1 { font-size: clamp(3.5rem, 13vw, 5.75rem); margin: .7rem 0 .85rem; }
  .hero-description { font-size: 1rem; }
  .hero .button { margin-top: 1.15rem; }
  .discovery { padding-block: .9rem 2.5rem; }
  .section-heading { margin-bottom: 1rem; }
  .filters { gap: .35rem; }
  .filters button { padding-inline: .58rem; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .story { min-height: 13rem; }
  .story details[open] { justify-content: safe end; overflow-y: auto; }
  .story details p { font-size: .875rem; }
  .story-title { font-size: 1.6rem; }
  .about { padding-bottom: 2rem; }
  .about-panel { grid-template-columns: 1fr; padding: 1.25rem; }
  .footer-content { flex-wrap: wrap; gap: .25rem .8rem; }
  .footer-content p { order: 1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
