.poker-page {
  overflow-x: clip;
}

.poker-page .poker-hero,
.poker-page .poker-manifesto,
.poker-page .poker-table-scene,
.poker-page .poker-guidelines,
.poker-page .poker-dining,
.poker-page .poker-timeline,
.poker-page .poker-materials,
.poker-page .poker-visit,
.poker-page .poker-closing-image,
.poker-page .poker-transparency {
  min-width: 0;
}

.poker-page .poker-hero {
  padding-block: var(--space-6) var(--space-9);
}

.poker-page .poker-hero__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-width: 0;
}

.poker-page .poker-hero__media {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  min-height: 42.5rem;
  margin: 0;
}

.poker-page .poker-hero__media img {
  object-position: 66% center;
}

.poker-page .poker-hero__media::after {
  background: linear-gradient(90deg, rgb(9 5 14 / 0.82) 0%, rgb(9 5 14 / 0.72) 35%, rgb(9 5 14 / 0.22) 66%, rgb(9 5 14 / 0.1) 100%);
}

.poker-page .poker-hero__media figcaption {
  position: absolute;
  right: var(--space-4);
  bottom: var(--space-3);
  z-index: 1;
  margin: 0;
  color: var(--color-muted-opal);
}

.poker-page .poker-hero__copy {
  z-index: 2;
  grid-column: 1 / span 5;
  grid-row: 1;
  align-self: end;
  width: 100%;
  min-width: 0;
  padding: var(--space-8);
}

.poker-page .poker-hero__copy h1 {
  max-width: 21ch;
  margin: 0;
}

.poker-page .poker-hero__copy .intro {
  max-width: 55ch;
  margin: 0;
}

.poker-page .poker-hero__notice {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-left: 1px solid var(--color-violet-signal);
  background: rgb(9 5 14 / 0.48);
}

.poker-page .poker-hero__notice > * {
  min-width: 0;
}

.poker-page .poker-hero__notice p {
  max-width: 48ch;
  margin: 0;
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.poker-page .poker-age-badge {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 2.75rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  padding-inline: var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--color-warning-amber);
  color: var(--color-night);
  font-size: var(--text-micro);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.poker-page .poker-hero__actions {
  width: 100%;
}

.poker-page .poker-hero__actions > * {
  flex: 0 1 auto;
}

.poker-page .poker-manifesto__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  min-width: 0;
}

.poker-page .poker-manifesto__heading {
  grid-column: 1 / span 4;
  width: 100%;
  min-width: 0;
  align-self: start;
}

.poker-page .poker-manifesto__heading h2 {
  max-width: 20ch;
  margin: 0;
}

.poker-page .poker-manifesto__stories {
  display: grid;
  grid-column: 5 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
  padding-top: var(--space-7);
  background-image: linear-gradient(var(--border-subtle), var(--border-subtle));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: top;
}

.poker-page .poker-manifesto__story {
  width: 100%;
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.poker-page .poker-manifesto__story--offset {
  margin-top: var(--space-6);
}

.poker-page .poker-manifesto__number {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--color-violet-soft);
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
}

.poker-page .poker-manifesto__story h3 {
  margin-bottom: var(--space-3);
}

.poker-page .poker-manifesto__story p {
  max-width: 42ch;
  margin-bottom: 0;
}

.poker-page .poker-table-scene__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-6);
  min-width: 0;
}

.poker-page .poker-table-scene__media {
  grid-column: 1 / span 7;
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
}

.poker-page .poker-table-scene__media img {
  object-position: 48% center;
}

.poker-page .poker-table-scene__copy {
  grid-column: 9 / span 4;
  width: 100%;
  min-width: 0;
  align-self: start;
}

.poker-page .poker-table-scene__copy h2 {
  max-width: 19ch;
  margin: 0;
}

.poker-page .poker-table-scene__copy > div > p:not(.eyebrow) {
  max-width: 50ch;
  margin: 0;
}

.poker-page .poker-table-scene__reflection {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) 0 var(--space-4) var(--space-5);
  border-left: 1px solid var(--color-violet-signal);
}

.poker-page .poker-table-scene__reflection p {
  max-width: 48ch;
  margin: 0;
}

.poker-page .poker-table-scene__reflection p:first-child {
  max-width: 28ch;
  color: var(--color-opal-text);
  font-size: var(--text-intro);
  line-height: var(--leading-intro);
}

.poker-page .poker-glitch-frame {
  position: relative;
}

.poker-page .poker-glitch-frame::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(90deg, rgb(157 78 221 / 0.2), transparent 34%, transparent 66%, rgb(201 139 238 / 0.18));
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--transition-fast), transform 160ms var(--transition-fast);
}

@media (hover: hover) and (min-width: 43.8125rem) {
  .poker-page .poker-glitch-frame:hover::before {
    opacity: 1;
    transform: translateX(2px);
  }
}

.poker-page .poker-guidelines__panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  width: 100%;
  min-width: 0;
  padding: var(--space-7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-panel);
  background-color: var(--color-plum-panel);
  background-image: var(--surface-panel-gradient);
}

.poker-page .poker-guidelines__heading {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.poker-page .poker-guidelines__heading h2 {
  max-width: 22ch;
  margin: 0;
}

.poker-page .poker-guidelines__list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
}

.poker-page .poker-guidelines__item {
  width: 100%;
  min-width: 0;
  padding: var(--space-5);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.poker-page .poker-guidelines__item--age {
  background: rgb(9 5 14 / 0.22);
}

.poker-page .poker-guidelines__item--emphasis {
  border-color: var(--border-signal);
  background: rgb(157 78 221 / 0.06);
}

.poker-page .poker-guidelines__item h3 {
  max-width: 24ch;
  margin-bottom: var(--space-3);
}

.poker-page .poker-guidelines__item p:last-child {
  max-width: 46ch;
  margin: 0;
}

.poker-page .poker-guidelines__signal {
  margin: 0 0 var(--space-3);
  color: var(--color-violet-soft);
  font-size: var(--text-micro);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: var(--leading-micro);
  text-transform: uppercase;
}

.poker-page .poker-guidelines__item .poker-age-badge {
  margin-bottom: var(--space-3);
}

.poker-page .poker-dining__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  min-width: 0;
}

.poker-page .poker-dining__intro {
  grid-column: 1 / span 6;
  width: 100%;
  min-width: 0;
}

.poker-page .poker-dining__intro h2 {
  max-width: 24ch;
  margin: 0;
}

.poker-page .poker-dining__intro .intro {
  max-width: 60ch;
  margin: 0;
}

.poker-page .poker-dining__media {
  grid-column: 7 / -1;
  grid-row: 1 / span 2;
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
}

.poker-page .poker-dining__media img {
  object-position: center center;
}

.poker-page .poker-dining__notes {
  display: flex;
  grid-column: 1 / span 5;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.poker-page .poker-dining__note {
  width: 100%;
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.poker-page .poker-dining__note h3 {
  max-width: 28ch;
  margin-bottom: var(--space-3);
}

.poker-page .poker-dining__note p:last-child {
  max-width: 40ch;
  margin: 0;
}

.poker-page .poker-dining__link {
  width: auto;
  min-width: 0;
}

.poker-page .poker-timeline__heading {
  width: 100%;
  min-width: 0;
  margin-bottom: var(--space-7);
}

.poker-page .poker-timeline__heading h2 {
  max-width: 24ch;
  margin: 0;
}

.poker-page .poker-timeline__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: var(--space-6);
  width: 100%;
  min-width: 0;
}

.poker-page .poker-timeline__list::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 0.5px);
  width: 1px;
  background: var(--border-subtle);
  content: "";
}

.poker-page .poker-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.25rem;
  column-gap: var(--space-4);
  width: 100%;
  min-width: 0;
}

.poker-page .poker-timeline__item--left {
  grid-column: 1 / span 6;
}

.poker-page .poker-timeline__item--right {
  grid-column: 7 / -1;
  grid-template-columns: 3.25rem minmax(0, 1fr);
}

.poker-page .poker-timeline__number {
  display: flex;
  grid-column: 2;
  width: 3.25rem;
  min-width: 0;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-signal);
  border-radius: 50%;
  background: var(--color-night);
  color: var(--color-violet-soft);
  font-size: var(--text-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.poker-page .poker-timeline__item--right .poker-timeline__number {
  grid-column: 1;
}

.poker-page .poker-timeline__number--glow {
  box-shadow: var(--shadow-glow);
}

.poker-page .poker-timeline__copy {
  grid-column: 1;
  width: 100%;
  min-width: 0;
  padding-right: var(--space-6);
}

.poker-page .poker-timeline__item--right .poker-timeline__copy {
  grid-column: 2;
  padding-right: 0;
  padding-left: var(--space-2);
}

.poker-page .poker-timeline__copy h3 {
  max-width: 28ch;
  margin-bottom: var(--space-3);
}

.poker-page .poker-timeline__copy p {
  max-width: 48ch;
  margin: 0;
}

.poker-page .poker-materials__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  min-width: 0;
}

.poker-page .poker-materials__intro {
  grid-column: 1 / span 6;
  width: 100%;
  min-width: 0;
  margin-bottom: var(--space-3);
}

.poker-page .poker-materials__intro h2 {
  max-width: 24ch;
  margin: 0;
}

.poker-page .poker-materials__intro p:last-child {
  max-width: 54ch;
  margin: 0;
}

.poker-page .poker-materials__figure {
  width: 100%;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1;
}

.poker-page .poker-materials__figure:first-of-type {
  grid-column: 1 / span 5;
}

.poker-page .poker-materials__figure:last-of-type {
  grid-column: 8 / span 5;
}

.poker-page .poker-materials__figure img {
  object-position: center center;
}

.poker-page .poker-materials__figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: var(--space-5) var(--space-4) var(--space-4);
  background: linear-gradient(transparent, rgb(9 5 14 / 0.9));
  color: var(--color-opal-text);
}

.poker-page .poker-materials__figure figcaption span {
  color: var(--color-violet-soft);
  font-size: var(--text-micro);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.poker-page .poker-materials__sigil {
  display: flex;
  grid-column: 6 / span 2;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: var(--color-violet-signal);
  font-size: var(--text-small);
}

.poker-page .poker-materials__sigil span {
  width: 1px;
  height: 3rem;
  background: var(--border-subtle);
}

.poker-page .poker-visit__panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  width: 100%;
  min-width: 0;
  padding: var(--space-7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-panel);
  background-color: var(--color-plum-panel);
  background-image: var(--surface-panel-gradient);
}

.poker-page .poker-visit__heading {
  grid-column: 1 / span 4;
  width: 100%;
  min-width: 0;
  align-self: start;
}

.poker-page .poker-visit__heading h2 {
  max-width: 20ch;
  margin: 0;
}

.poker-page .poker-visit__advice {
  display: flex;
  grid-column: 7 / span 6;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
}

.poker-page .poker-visit__item {
  position: relative;
  width: 100%;
  min-width: 0;
  padding-top: var(--space-4);
  padding-left: 3.5rem;
  border-top: 1px solid var(--border-subtle);
}

.poker-page .poker-visit__number {
  position: absolute;
  top: var(--space-4);
  left: 0;
  color: var(--color-violet-soft);
  font-size: var(--text-micro);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.poker-page .poker-visit__item h3 {
  max-width: 28ch;
  margin-bottom: var(--space-3);
}

.poker-page .poker-visit__item p {
  max-width: 46ch;
  margin-bottom: var(--space-4);
}

.poker-page .poker-visit__item .button {
  width: auto;
  min-width: 0;
}

.poker-page .poker-visit__age-note {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: var(--space-4) var(--space-5);
  background: var(--color-warning-amber);
  color: var(--color-night);
  line-height: var(--leading-small);
}

.poker-page .poker-closing-image__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-width: 0;
}

.poker-page .poker-closing-image__media {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  height: 32.5rem;
  margin: 0;
}

.poker-page .poker-closing-image__media img {
  object-position: 58% center;
}

.poker-page .poker-closing-image__media::after {
  background: linear-gradient(90deg, rgb(9 5 14 / 0.76), rgb(9 5 14 / 0.48) 38%, transparent 72%);
}

.poker-page .poker-closing-image__copy {
  z-index: 1;
  grid-column: 1 / span 4;
  grid-row: 1;
  align-self: end;
  width: 100%;
  min-width: 0;
  padding: var(--space-7);
}

.poker-page .poker-closing-image__copy .intro {
  max-width: 52ch;
  margin: 0;
}

.poker-page .poker-closing-image__copy .button {
  width: auto;
  min-width: 0;
}

.poker-page .poker-transparency {
  padding-top: var(--space-7);
  padding-bottom: var(--space-10);
}

.poker-page .poker-transparency__block {
  width: calc((100% - (11 * var(--space-6))) / 12 * 7 + (6 * var(--space-6)));
  min-width: 0;
  margin-inline: auto;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.poker-page .poker-transparency__block p:last-child {
  max-width: 62ch;
  margin: 0;
}

.poker-page .poker-transparency__rule {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  color: var(--color-violet-signal);
  font-size: var(--text-small);
}

.poker-page .poker-transparency__rule span {
  width: min(18vw, 10rem);
  height: 1px;
  background: var(--border-subtle);
}

@media (max-width: 57.5rem) {
  .poker-page .poker-manifesto__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-page .poker-manifesto__heading,
  .poker-page .poker-manifesto__stories {
    grid-column: 1;
  }

  .poker-page .poker-manifesto__stories {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-top: 0;
    background-image: none;
  }

  .poker-page .poker-manifesto__story--offset {
    margin-top: 0;
  }

  .poker-page .poker-timeline__list {
    grid-template-columns: 1fr;
    row-gap: var(--space-5);
    padding-left: 4.25rem;
  }

  .poker-page .poker-timeline__list::before {
    left: 1.625rem;
  }

  .poker-page .poker-timeline__item,
  .poker-page .poker-timeline__item--right {
    grid-column: 1;
    grid-template-columns: 3.25rem minmax(0, 1fr);
  }

  .poker-page .poker-timeline__number,
  .poker-page .poker-timeline__item--right .poker-timeline__number {
    grid-column: 1;
    margin-left: -4.25rem;
  }

  .poker-page .poker-timeline__copy,
  .poker-page .poker-timeline__item--right .poker-timeline__copy {
    grid-column: 2;
    padding: 0;
  }
}

@media (max-width: 56.25rem) {
  .poker-page .poker-hero__copy {
    grid-column: 1 / span 6;
    padding: var(--space-6);
  }

  .poker-page .poker-guidelines__panel,
  .poker-page .poker-visit__panel {
    padding: var(--space-6);
  }
}

@media (max-width: 53.75rem) {
  .poker-page .poker-table-scene__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-page .poker-table-scene__copy,
  .poker-page .poker-table-scene__media {
    grid-column: 1;
  }

  .poker-page .poker-table-scene__copy {
    display: contents;
  }

  .poker-page .poker-table-scene__copy > div:first-child {
    grid-row: 1;
  }

  .poker-page .poker-table-scene__media {
    grid-row: 2;
  }

  .poker-page .poker-table-scene__reflection {
    grid-row: 3;
  }

  .poker-page .poker-dining__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-page .poker-dining__intro,
  .poker-page .poker-dining__media,
  .poker-page .poker-dining__notes {
    grid-column: 1;
    grid-row: auto;
  }

  .poker-page .poker-dining__media {
    order: 2;
  }

  .poker-page .poker-dining__notes {
    order: 3;
  }

  .poker-page .poker-visit__panel {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-page .poker-visit__heading,
  .poker-page .poker-visit__advice,
  .poker-page .poker-visit__age-note {
    grid-column: 1;
  }
}

@media (max-width: 47.5rem) {
  .poker-page .poker-guidelines__list {
    grid-template-columns: 1fr;
  }

  .poker-page .poker-materials__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-page .poker-materials__intro,
  .poker-page .poker-materials__figure:first-of-type,
  .poker-page .poker-materials__figure:last-of-type {
    grid-column: 1;
  }

  .poker-page .poker-materials__sigil {
    display: none;
  }
}

@media (max-width: 43.75rem) {
  .poker-page .poker-hero {
    padding-top: var(--space-7);
  }

  .poker-page .poker-hero__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .poker-page .poker-hero__copy {
    order: 1;
    width: 100%;
    padding: 0;
  }

  .poker-page .poker-hero__copy h1 {
    max-width: 18ch;
  }

  .poker-page .poker-hero__media {
    order: 2;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .poker-page .poker-hero__media::after {
    background: rgb(9 5 14 / 0.12);
  }

  .poker-page .poker-hero__media figcaption {
    position: static;
    padding-top: var(--space-3);
    color: var(--color-muted-opal);
  }

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

  .poker-page .poker-hero__actions > .button {
    width: 100%;
  }

  .poker-page .poker-guidelines__panel,
  .poker-page .poker-visit__panel {
    padding: var(--space-5);
  }

  .poker-page .poker-guidelines__item {
    padding: var(--space-4);
  }

  .poker-page .poker-materials__figure figcaption {
    position: static;
    padding: var(--space-3) 0 0;
    background: transparent;
    color: var(--color-muted-opal);
  }

  .poker-page .poker-closing-image__container {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .poker-page .poker-closing-image__media {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .poker-page .poker-closing-image__media::after {
    background: rgb(9 5 14 / 0.12);
  }

  .poker-page .poker-closing-image__copy {
    width: 100%;
    padding: var(--space-5);
    border: 1px solid var(--border-subtle);
    border-top: 0;
    background: var(--color-night);
  }

  .poker-page .poker-transparency {
    padding-top: var(--space-5);
    padding-bottom: var(--space-8);
  }

  .poker-page .poker-transparency__block {
    width: 100%;
    padding-inline: 0;
  }
}

@media (max-width: 30rem) {
  .poker-page .poker-timeline__list {
    padding-left: 0;
  }

  .poker-page .poker-timeline__list::before {
    display: none;
  }

  .poker-page .poker-timeline__item,
  .poker-page .poker-timeline__item--right {
    grid-template-columns: 1fr;
    padding-left: var(--space-4);
    border-left: 1px solid var(--border-subtle);
  }

  .poker-page .poker-timeline__number,
  .poker-page .poker-timeline__item--right .poker-timeline__number {
    grid-column: 1;
    margin: 0 0 var(--space-3);
  }

  .poker-page .poker-timeline__copy,
  .poker-page .poker-timeline__item--right .poker-timeline__copy {
    grid-column: 1;
  }

  .poker-page .poker-dining__link,
  .poker-page .poker-closing-image__copy .button,
  .poker-page .poker-visit__item .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-page .poker-glitch-frame::before {
    display: none;
  }
}
