@charset "UTF-8";

.poker-page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  padding-block: var(--space-2xl) var(--space-3xl);
  background-color: var(--color-paper);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.poker-section {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
  position: relative;
}

.poker-section h2 {
  margin-block-end: var(--space-md);
}

.poker-section h3 {
  margin-block-start: var(--space-lg);
}

.poker-section p {
  max-width: 65ch;
  margin-block-end: var(--space-md);
}

.poker-section blockquote {
  max-width: 65ch;
  margin-block: var(--space-lg);
  padding-block-start: var(--space-sm);
  border-inline-start: none;
  border-block-start: 2px solid var(--color-brass);
  padding-inline-start: 0;
}

.poker-section blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line-height);
  color: var(--color-sepia);
  max-width: 60ch;
}

.poker-section blockquote cite {
  display: block;
  margin-block-start: var(--space-xs);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  color: var(--color-sepia);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.poker-section .film-frame {
  border: 1px solid var(--color-sepia-30);
  border-radius: var(--radius-none);
  overflow: hidden;
  position: relative;
}

.poker-section .film-frame img {
  border: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%);
  transition: filter var(--transition-medium), transform var(--transition-medium);
}

.poker-section .film-frame:hover img {
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.poker-section figcaption {
  margin-block-start: var(--space-2xs);
  text-align: start;
}

.film-strip {
  position: relative;
  border: 1px solid var(--color-sepia-30);
  border-radius: var(--radius-none);
  overflow: hidden;
}

.film-strip img {
  border: none;
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(40%);
  transition: filter var(--transition-medium), transform var(--transition-medium);
}

.film-strip:hover img {
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.film-strip::before,
.film-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background-image: repeating-linear-gradient(
    to right,
    var(--color-paper) 0,
    var(--color-paper) 4px,
    transparent 4px,
    transparent 8px
  );
  z-index: 1;
  pointer-events: none;
}

.film-strip::before {
  top: 0;
}

.film-strip::after {
  bottom: 0;
}

.year-numeral {
  position: absolute;
  top: -0.5rem;
  left: var(--container-gutter);
  z-index: 1;
  font-size: var(--text-year-size);
  color: var(--color-brass);
  pointer-events: none;
}

.poker-intro {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-xl);
  align-items: start;
  padding-block-start: var(--space-3xl);
}

.poker-intro__year {
  top: var(--space-md);
  left: var(--container-gutter);
  color: var(--color-oxblood);
}

.poker-intro__text {
  min-width: 0;
}

.poker-intro__text h1 {
  margin-block-end: var(--space-sm);
}

.poker-intro__text h2 {
  margin-block-start: var(--space-lg);
}

.poker-intro__filmstrip {
  min-width: 0;
  align-self: start;
}

.poker-silent__content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-xl);
  align-items: start;
}

.poker-silent__text {
  min-width: 0;
}

.poker-silent__image {
  min-width: 0;
}

.poker-classical {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-classical__text {
  min-width: 0;
}

.poker-classical__filmstrip {
  align-self: center;
  width: 100%;
  max-width: 48rem;
}

.poker-new-hollywood__content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-xl);
  align-items: start;
}

.poker-new-hollywood__image {
  min-width: 0;
}

.poker-new-hollywood__text {
  min-width: 0;
}

.poker-rounders__content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-xl);
  align-items: start;
}

.poker-rounders__text {
  min-width: 0;
}

.poker-rounders__image {
  min-width: 0;
}

.poker-casino-royale__content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-xl);
  align-items: start;
}

.poker-casino-royale__image {
  min-width: 0;
}

.poker-casino-royale__text {
  min-width: 0;
}

.poker-mollys-game__content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-xl);
  align-items: start;
}

.poker-mollys-game__text {
  min-width: 0;
}

.poker-mollys-game__image {
  min-width: 0;
}

.poker-motifs {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-motifs__text {
  min-width: 0;
}

.poker-motifs__filmstrip {
  align-self: center;
  width: 100%;
  max-width: 48rem;
}

.poker-cultural {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-cultural__text {
  min-width: 0;
}

.poker-cultural__timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  height: 2px;
  background-color: var(--color-brass);
  margin-block: var(--space-lg);
}

.timeline-node {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: var(--space-2xs) var(--space-sm);
  background-color: var(--color-paper);
  border: 1px solid var(--color-sepia-30);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-small-size);
  line-height: var(--text-small-line-height);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-ink);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.timeline-node:hover {
  border-color: var(--color-brass);
  color: var(--color-oxblood);
}

.timeline-node--vice {
  color: var(--color-oxblood);
}

.timeline-node--mainstream {
  color: var(--color-slate);
}

.poker-heist__content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-xl);
  align-items: start;
}

.poker-heist__image {
  min-width: 0;
}

.poker-heist__text {
  min-width: 0;
}

.poker-future {
  position: relative;
  overflow: hidden;
}

.poker-future__beam {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(165, 140, 97, 0.12) 40%,
    rgba(165, 140, 97, 0.25) 100%
  );
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.poker-future__text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.poker-exploration {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.poker-exploration__text {
  min-width: 0;
}

.poker-exploration__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-block-start: var(--space-md);
}

.poker-exploration__chips .era-chip {
  pointer-events: none;
}

.poker-exploration__chips .era-chip:hover {
  border-color: var(--color-brass);
  background-color: transparent;
  color: var(--color-ink);
}

@media (max-width: 1024px) {
  .poker-page {
    gap: var(--space-xl);
    padding-block: var(--space-xl) var(--space-2xl);
  }

  .poker-intro,
  .poker-silent__content,
  .poker-new-hollywood__content,
  .poker-rounders__content,
  .poker-casino-royale__content,
  .poker-mollys-game__content,
  .poker-heist__content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .poker-intro__year,
  .poker-silent__year,
  .poker-classical__year,
  .poker-new-hollywood__year,
  .poker-rounders__year,
  .poker-casino-royale__year,
  .poker-mollys-game__year,
  .poker-heist__year {
    position: static;
    display: block;
    margin-block-end: var(--space-sm);
  }

  .poker-intro {
    padding-block-start: var(--space-xl);
  }

  .poker-intro__filmstrip,
  .poker-silent__image,
  .poker-new-hollywood__image,
  .poker-rounders__image,
  .poker-casino-royale__image,
  .poker-mollys-game__image,
  .poker-heist__image {
    order: -1;
  }

  .poker-classical__filmstrip,
  .poker-motifs__filmstrip {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .poker-page {
    gap: var(--space-lg);
    padding-block: var(--space-lg) var(--space-xl);
  }

  .poker-section {
    padding-inline: var(--container-gutter);
  }

  .poker-section h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .poker-section h3 {
    font-size: clamp(1.125rem, 4vw, 1.375rem);
  }

  .poker-section p,
  .poker-section blockquote p {
    max-width: 100%;
  }

  .poker-section blockquote {
    margin-block: var(--space-md);
    padding-block-start: var(--space-xs);
  }

  .poker-intro__year,
  .poker-silent__year,
  .poker-classical__year,
  .poker-new-hollywood__year,
  .poker-rounders__year,
  .poker-casino-royale__year,
  .poker-mollys-game__year,
  .poker-heist__year {
    font-size: 2.5rem;
  }

  .poker-cultural__timeline {
    flex-direction: column;
    height: auto;
    gap: var(--space-md);
    background-color: transparent;
    align-items: flex-start;
    max-width: 100%;
  }

  .poker-cultural__timeline::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-brass);
  }

  .timeline-node {
    position: relative;
    z-index: 1;
    margin-inline-start: 0;
  }

  .poker-future__beam {
    width: 100%;
    height: 40%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 60%);
  }
}

@media (max-width: 480px) {
  .poker-page {
    padding-block: var(--space-md) var(--space-lg);
  }

  .poker-section {
    padding-inline: var(--space-xs);
  }

  .poker-section h2 {
    font-size: 1.75rem;
  }

  .poker-section h3 {
    font-size: 1.25rem;
  }

  .poker-intro__year,
  .poker-silent__year,
  .poker-classical__year,
  .poker-new-hollywood__year,
  .poker-rounders__year,
  .poker-casino-royale__year,
  .poker-mollys-game__year,
  .poker-heist__year {
    font-size: 2rem;
  }

  .poker-exploration__chips {
    flex-direction: column;
    align-items: stretch;
  }

  .poker-exploration__chips .era-chip {
    width: 100%;
  }
}
