.poker-page {
  background: var(--color-sea-salt);
}

.poker-page .section {
  position: relative;
}

.poker-hero {
  padding-block: var(--space-9) var(--space-8);
  overflow: hidden;
}

.poker-hero::after {
  position: absolute;
  z-index: 0;
  right: -7rem;
  bottom: 1rem;
  width: 20rem;
  height: 9rem;
  border: 2px solid rgba(40, 184, 176, 0.25);
  border-radius: 50%;
  content: "";
  transform: rotate(-13deg);
}

.poker-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: var(--space-6);
}

.poker-hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.poker-hero__copy > * {
  min-width: 0;
  margin: 0;
}

.poker-hero__copy h1 {
  width: 100%;
  max-width: 32rem;
}

.poker-hero__copy .intro {
  width: 100%;
  max-width: 31rem;
}

.poker-hero__figure,
.poker-detail__figure,
.poker-room__figure {
  min-width: 0;
  margin: 0;
}

.poker-hero__figure {
  width: 100%;
  transform: translateY(var(--space-5));
}

.poker-hero__figure img,
.poker-detail__figure img,
.poker-room__figure img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(0.97);
}

.poker-hero__figure img {
  aspect-ratio: 16 / 9;
  border: var(--space-5) solid var(--color-white);
  border-radius: var(--radius-image);
  object-position: center;
}

.poker-hero__figure figcaption,
.poker-detail__figure figcaption,
.poker-room__figure figcaption {
  margin: 0;
  border: var(--border);
  background: var(--color-sea-salt);
  padding: var(--space-3) var(--space-4);
}

.poker-hero__figure figcaption {
  margin-inline: var(--space-5);
  transform: translateY(calc(-1 * var(--space-3)));
}

.poker-elements__intro {
  width: min(100%, 38rem);
  min-width: 0;
}

.poker-elements__intro .intro {
  max-width: 36rem;
}

.poker-elements__cards,
.poker-atmosphere__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.poker-element-card,
.poker-atmosphere-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-3);
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--color-surface);
  padding: var(--space-5);
}

.poker-element-card > *,
.poker-atmosphere-card > * {
  min-width: 0;
  margin: 0;
}

.poker-element-card__number {
  color: var(--color-subtle-brass);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  line-height: var(--line-height-label);
  text-transform: uppercase;
}

.poker-element-card--layout {
  border-top: var(--rule-turquoise);
}

.poker-table-sketch {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: var(--space-2);
  border: 1px dashed var(--color-subtle-brass);
  border-radius: var(--radius-pill);
  padding: var(--space-2);
}

.poker-table-sketch span {
  min-width: 0;
  min-height: 1.25rem;
  border: 1px solid var(--color-turquoise);
  border-radius: var(--radius-pill);
}

.poker-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
  gap: var(--space-7);
}

.poker-detail__figure img {
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-image);
  object-position: center;
}

.poker-detail__figure figcaption {
  background: var(--color-sea-salt);
}

.poker-detail__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
}

.poker-detail__copy > * {
  min-width: 0;
  margin: 0;
}

.poker-detail__copy > p:not(.eyebrow) {
  max-width: 28rem;
}

.poker-note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  border-top: var(--rule-brass);
  background: rgba(255, 253, 247, 0.6);
  padding: var(--space-4);
}

.poker-note > * {
  min-width: 0;
  margin: 0;
}

.poker-note ul {
  padding-inline-start: 1.25rem;
}

.poker-note li + li {
  margin-top: var(--space-2);
}

.poker-room__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: var(--space-6);
}

.poker-room__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
}

.poker-room__copy > * {
  min-width: 0;
  margin: 0;
}

.poker-room__copy > p:not(.eyebrow) {
  max-width: 29rem;
}

.poker-space-fact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  border: var(--border);
  border-inline-start: 3px solid var(--color-turquoise);
  border-radius: var(--radius-card);
  padding: var(--space-4);
}

.poker-space-fact > * {
  min-width: 0;
  margin: 0;
}

.poker-room__figure img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-image);
  object-position: center;
}

.poker-room__bridge {
  display: flex;
  min-width: 0;
  grid-column: 1 / -1;
  flex-direction: column;
  gap: var(--space-2);
  border-top: var(--rule-turquoise);
  padding-top: var(--space-4);
}

.poker-room__bridge > * {
  min-width: 0;
  margin: 0;
}

.poker-room__bridge p:last-child {
  max-width: 52rem;
}

.poker-atmosphere__intro {
  width: min(100%, 42.5rem);
  min-width: 0;
  margin-inline: auto;
  text-align: center;
}

.poker-atmosphere__intro .intro {
  margin-inline: auto;
}

.poker-atmosphere-card {
  gap: var(--space-3);
}

.poker-atmosphere-card::before {
  width: 2.5rem;
  height: 0.375rem;
  border-radius: var(--radius-pill);
  content: "";
}

.poker-atmosphere-card--turquoise::before {
  background: var(--color-turquoise);
}

.poker-atmosphere-card--coral::before {
  background: var(--color-soft-coral);
}

.poker-availability {
  overflow: hidden;
}

.poker-availability::before {
  position: absolute;
  top: -1.75rem;
  left: -5%;
  width: 110%;
  height: 3rem;
  border-radius: 50%;
  background: var(--color-sea-salt);
  content: "";
}

.poker-availability__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: var(--space-7);
}

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

.poker-availability__copy p:not(.eyebrow) {
  max-width: 31rem;
}

.poker-availability__facts {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}

.poker-availability-fact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  border: 1px solid var(--color-subtle-brass);
  border-radius: var(--radius-card);
  background: var(--color-sea-salt);
  color: var(--color-deep-ocean);
  padding: var(--space-5);
}

.poker-availability-fact > * {
  min-width: 0;
  margin: 0;
}

.poker-availability-fact .label {
  color: var(--color-subtle-brass);
}

.poker-checklist__intro {
  width: min(100%, 42.5rem);
  min-width: 0;
}

.poker-checklist__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.poker-check-item {
  display: grid;
  min-width: 0;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: start;
  gap: var(--space-3);
  border-top: var(--rule-brass);
  padding-top: var(--space-4);
}

.poker-check-item__number {
  min-width: 0;
  color: var(--color-subtle-brass);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.poker-check-item > div {
  min-width: 0;
}

.poker-check-item h3 {
  margin-bottom: var(--space-2);
}

.poker-check-item p {
  margin: 0;
  max-width: 30rem;
}

.poker-choice__copy {
  width: min(58.333%, 45rem);
  min-width: 0;
  margin-left: 16.666%;
}

.poker-choice__copy p {
  max-width: 45rem;
}

.poker-alternatives {
  display: flex;
  width: min(66.666%, 52.5rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  margin-left: 16.666%;
  border: var(--border);
  border-radius: var(--radius-card);
  background: var(--color-pale-lemon);
  padding: var(--space-5);
}

.poker-alternatives > * {
  min-width: 0;
  margin: 0;
}

.poker-alternatives p:last-child {
  max-width: 46rem;
}

.poker-reading {
  padding-top: var(--space-7);
}

.poker-reading__panel {
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--color-mediterranean-blue);
  padding: var(--space-8) var(--space-6);
}

.poker-reading__panel::after {
  display: block;
  width: 112%;
  height: 2rem;
  margin: var(--space-7) -6% calc(-1 * var(--space-8));
  border-radius: 50% 50% 0 0;
  background: rgba(40, 184, 176, 0.45);
  content: "";
}

.poker-reading__content {
  display: flex;
  width: min(100%, 45rem);
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-inline: auto;
  color: var(--color-white);
  text-align: center;
}

.poker-reading__content > * {
  min-width: 0;
  margin: 0;
}

.poker-reading__content h2 {
  color: var(--color-white);
}

.poker-reading__content .eyebrow {
  color: var(--color-pale-lemon);
}

.poker-reading__content > p:not(.poker-reading__note) {
  max-width: 43rem;
}

.poker-reading__actions {
  justify-content: center;
}

.poker-reading__actions > * {
  min-width: 11.875rem;
}

.poker-reading__secondary {
  border-color: var(--color-white);
  background: transparent;
  color: var(--color-white);
}

.poker-reading__secondary:hover {
  border-color: var(--color-pale-lemon);
  background: var(--color-pale-lemon);
  color: var(--color-deep-ocean);
}

.poker-reading__note {
  width: min(100%, 30rem);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-meta);
  line-height: var(--line-height-meta);
}

@media (max-width: 56.25rem) {
  .poker-hero {
    padding-block: var(--space-8) var(--space-7);
  }

  .poker-hero__grid,
  .poker-detail__grid,
  .poker-room__grid,
  .poker-availability__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-hero__figure {
    transform: none;
  }

  .poker-hero__copy h1,
  .poker-hero__copy .intro,
  .poker-detail__copy > p:not(.eyebrow),
  .poker-room__copy > p:not(.eyebrow),
  .poker-availability__copy p:not(.eyebrow) {
    max-width: none;
  }

  .poker-detail__figure {
    order: 2;
  }

  .poker-detail__copy {
    order: 1;
  }

  .poker-room__figure {
    order: 2;
  }

  .poker-room__bridge {
    order: 3;
  }

  .poker-elements__cards,
  .poker-atmosphere__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-choice__copy,
  .poker-alternatives {
    width: min(100%, 45rem);
    margin-left: 0;
  }
}

@media (max-width: 46.875rem) {
  .poker-checklist__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 43.75rem) {
  .poker-hero__figure img {
    aspect-ratio: 4 / 3;
  }

  .poker-elements__cards,
  .poker-atmosphere__cards {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
  }

  .poker-atmosphere__intro {
    width: 100%;
    margin-inline: 0;
    text-align: left;
  }

  .poker-atmosphere__intro .intro {
    margin-inline: 0;
  }

  .poker-checklist__grid {
    gap: var(--space-4);
    margin-top: var(--space-6);
  }

  .poker-check-item {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
    padding: var(--space-4);
    border: var(--border);
    border-top: var(--rule-brass);
    border-radius: var(--radius-card);
    background: var(--color-sea-salt);
  }

  .poker-reading__panel {
    padding: var(--space-6) var(--space-5);
  }

  .poker-reading__panel::after {
    margin-top: var(--space-6);
  }
}

@media (max-width: 38.75rem) {
  .poker-reading__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .poker-reading__actions > * {
    width: 100%;
  }
}

@media (max-width: 35rem) {
  .poker-hero::after {
    display: none;
  }

  .poker-hero__figure figcaption {
    margin-inline: 0;
    transform: none;
  }

  .poker-hero__figure img {
    border-width: var(--space-3);
  }

  .poker-detail__grid,
  .poker-room__grid,
  .poker-availability__grid {
    gap: var(--space-5);
  }

  .poker-reading {
    padding-top: var(--space-6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-hero__figure {
    transform: none;
  }
}
