.poker-page {
  background: linear-gradient(180deg, rgb(9 7 15 / 0%) 0%, rgb(21 16 32 / 32%) 52%, rgb(9 7 15 / 0%) 100%);
}

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

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

.poker-hero__container,
.poker-hero__frame,
.poker-hero__copy,
.poker-hero__actions,
.poker-intro__heading,
.poker-intro__grid,
.poker-intro__item,
.poker-material__grid,
.poker-material__content,
.poker-material__details,
.poker-material__detail,
.poker-material__figure,
.poker-rhythm__heading,
.poker-rhythm__grid,
.poker-rhythm__step,
.poker-interior__media,
.poker-interior__caption,
.poker-interior__copy,
.poker-interior__accent-copy,
.poker-audience__heading,
.poker-audience__grid,
.poker-audience__item,
.poker-rules__heading,
.poker-rules__grid,
.poker-rules__item,
.poker-faq__panel,
.poker-faq__list,
.poker-gallery__heading,
.poker-gallery__grid,
.poker-gallery__figure,
.poker-contact__panel {
  min-width: 0;
}

.poker-hero__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 42.5rem;
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--color-surface-strong);
}

.poker-hero__image {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-base);
}

.poker-hero__frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(9 7 15 / 94%) 0%, rgb(9 7 15 / 76%) 37%, rgb(9 7 15 / 22%) 70%), linear-gradient(0deg, rgb(9 7 15 / 66%) 0%, transparent 48%), linear-gradient(145deg, rgb(33 18 56 / 16%), transparent 60%);
  content: "";
}

.poker-hero__copy {
  z-index: 1;
  grid-area: 1 / 1;
  align-self: end;
  width: min(43%, 35rem);
  padding: var(--space-8);
}

.poker-hero__copy > :last-child,
.poker-hero__actions > :last-child,
.poker-material__content > :last-child,
.poker-material__detail > :last-child,
.poker-rhythm__heading > :last-child,
.poker-rhythm__step > :last-child,
.poker-interior__caption > :last-child,
.poker-interior__copy > :last-child,
.poker-interior__accent-copy > :last-child,
.poker-audience__item > :last-child,
.poker-rules__item > :last-child,
.poker-faq__panel > :last-child,
.poker-gallery__heading > :last-child,
.poker-contact__panel > :last-child {
  margin-bottom: 0;
}

.poker-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

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

.poker-intro__heading {
  width: min(100%, 38.75rem);
  margin-bottom: var(--space-7);
}

.poker-intro__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.poker-intro__item {
  width: 100%;
  min-width: 0;
  padding-right: var(--space-6);
  border-right: var(--border-subtle);
}

.poker-intro__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.poker-intro__mark {
  margin-bottom: var(--space-5);
  color: var(--color-accent-bright);
  font-family: var(--font-heading);
  font-size: var(--text-24);
  line-height: 1;
}

.poker-material__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(22.5rem, 5fr);
  gap: var(--space-8);
  align-items: stretch;
}

.poker-material__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.poker-material__lead {
  width: min(100%, 35rem);
}

.poker-material__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 35rem);
  margin-top: var(--space-5);
}

.poker-material__detail {
  width: 100%;
  min-width: 0;
  padding-right: var(--space-5);
}

.poker-material__detail + .poker-material__detail {
  padding-right: 0;
  padding-left: var(--space-5);
  border-left: var(--border-subtle);
}

.poker-material__detail .eyebrow {
  margin-bottom: var(--space-2);
}

.poker-material__figure {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--color-surface);
}

.poker-material__figure img {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 34rem;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-base);
}

.poker-material__figure figcaption {
  padding: var(--space-3) var(--space-4);
}

.poker-rhythm {
  border-block: var(--border-subtle);
  background: rgb(21 16 32 / 72%);
}

.poker-rhythm__heading {
  width: min(100%, 38.75rem);
  margin-bottom: var(--space-7);
}

.poker-rhythm__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
}

.poker-rhythm__grid::before {
  position: absolute;
  z-index: 0;
  top: 1.1rem;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--color-border);
  content: "";
}

.poker-rhythm__step {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  padding: var(--space-4);
  background: var(--color-ink-night);
}

.poker-rhythm__step--tinted {
  background: var(--color-smoky-purple);
}

.poker-rhythm__number {
  width: max-content;
  margin-bottom: var(--space-5);
  color: var(--color-accent-bright);
  background: inherit;
  font-family: var(--font-heading);
  font-size: var(--text-24);
  line-height: 1;
}

.poker-interior__media {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: var(--border-subtle);
}

.poker-interior__media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgb(9 7 15 / 88%) 0%, rgb(9 7 15 / 20%) 58%, transparent 100%);
  content: "";
}

.poker-interior__media img {
  width: 100%;
  height: 35rem;
  min-width: 0;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition-base), object-position var(--transition-base);
}

.poker-interior__caption {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: min(100%, 30rem);
  padding: var(--space-7);
}

.poker-interior__copy {
  width: min(100%, 42.5rem);
  margin-top: var(--space-7);
}

.poker-interior__accent-copy {
  width: 100%;
  margin-top: var(--space-6);
  padding-left: var(--space-5);
  border-left: 1px solid var(--color-accent);
}

.poker-audience {
  border-block: var(--border-subtle);
  background: rgb(21 16 32 / 76%);
}

.poker-audience__heading {
  width: min(100%, 37.5rem);
  margin-bottom: var(--space-7);
}

.poker-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: var(--border-subtle);
}

.poker-audience__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  padding: var(--space-5);
  border-right: var(--border-subtle);
}

.poker-audience__item:first-child {
  padding-left: 0;
}

.poker-audience__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.poker-audience__item .eyebrow {
  margin-bottom: var(--space-2);
}

.poker-audience__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-top: auto;
  font-weight: 600;
}

.poker-audience__note {
  width: min(100%, 42.5rem);
  margin-top: var(--space-6);
  margin-bottom: 0;
  color: var(--color-mist);
}

.poker-rules__heading {
  width: min(100%, 40rem);
  margin-bottom: var(--space-7);
}

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

.poker-rules__item {
  width: 100%;
  min-width: 0;
}

.poker-rules__note {
  width: min(100%, 42.5rem);
  margin-top: var(--space-5);
  margin-bottom: 0;
}

.poker-faq {
  border-block: var(--border-subtle);
  background: rgb(21 16 32 / 78%);
}

.poker-faq__panel {
  width: min(100%, 53.75rem);
}

.poker-faq__list {
  width: 100%;
}

.poker-faq__list details {
  width: 100%;
}

.poker-faq__list details > div {
  width: min(100%, 42.5rem);
}

.poker-gallery__heading {
  width: min(100%, 36.25rem);
  margin-bottom: var(--space-7);
}

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

.poker-gallery__figure {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: var(--border-subtle);
  background: var(--color-surface);
}

.poker-gallery__figure img {
  width: 100%;
  min-width: 0;
  object-fit: cover;
  transition: transform var(--transition-base), filter var(--transition-base);
}

.poker-gallery__figure--detail img {
  aspect-ratio: 4 / 3;
}

.poker-gallery__figure--room img {
  aspect-ratio: 16 / 10;
}

.poker-gallery__figure figcaption {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.poker-contact__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  width: min(70%, 51.25rem);
  padding: var(--space-7);
  border: var(--border-accent);
  background: radial-gradient(circle at 16% 14%, rgb(154 114 216 / 18%), transparent 19rem), var(--color-ink-violet);
  box-shadow: var(--shadow-surface);
}

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

.poker-contact__meta {
  overflow-wrap: anywhere;
}

@media (hover: hover) and (pointer: fine) {
  .poker-hero__frame:hover .poker-hero__image {
    transform: scale(1.01);
  }

  .poker-material__figure:hover img {
    transform: scale(1.015);
  }

  .poker-interior__media:hover img {
    transform: scale(1.01) translateX(1%);
  }

  .poker-gallery__figure:hover img {
    filter: drop-shadow(1px 0 0 rgb(194 155 255 / 38%));
    transform: scale(1.01) translateX(1px);
  }
}

@media (max-width: 65rem) {
  .poker-rhythm__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-rhythm__grid::before {
    display: none;
  }

  .poker-rhythm__step {
    border-top: var(--border-subtle);
  }
}

@media (max-width: 60rem) {
  .poker-material__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .poker-material__content {
    grid-row: 1;
  }

  .poker-material__figure {
    grid-row: 2;
    max-width: 42rem;
  }

  .poker-material__figure img {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 55rem) {
  .poker-intro__grid,
  .poker-audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-intro__item:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .poker-intro__item:nth-child(3) {
    padding-top: var(--space-6);
    border-top: var(--border-subtle);
  }

  .poker-audience__item:first-child {
    padding-left: 0;
  }

  .poker-audience__item:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .poker-audience__item:nth-child(3) {
    grid-column: 1 / -1;
    padding-right: 0;
    padding-left: 0;
    border-top: var(--border-subtle);
    border-right: 0;
  }
}

@media (max-width: 56.1875rem) {
  .poker-hero__frame {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .poker-hero__frame::after {
    display: none;
  }

  .poker-hero__image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    border: var(--border-subtle);
    object-position: center;
  }

  .poker-hero__copy {
    width: 100%;
    margin-top: 0;
    padding: var(--space-6) var(--space-5);
    border-right: var(--border-subtle);
    border-bottom: var(--border-subtle);
    border-left: var(--border-subtle);
    background: linear-gradient(145deg, var(--color-ink-night), var(--color-smoky-purple));
  }
}

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

  .poker-gallery__figure--room img {
    aspect-ratio: 4 / 3;
  }
}

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

  .poker-interior__media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .poker-interior__caption {
    position: static;
    width: 100%;
    padding: var(--space-5);
    border-top: var(--border-subtle);
    background: var(--color-ink-night);
  }
}

@media (max-width: 37.5rem) {
  .poker-hero {
    padding-top: var(--space-5);
  }

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

  .poker-intro__grid,
  .poker-rhythm__grid,
  .poker-audience__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .poker-intro__item,
  .poker-intro__item:nth-child(2),
  .poker-intro__item:nth-child(3) {
    padding: var(--space-5) 0;
    border-top: var(--border-subtle);
    border-right: 0;
  }

  .poker-intro__item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .poker-material__details {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .poker-material__detail,
  .poker-material__detail + .poker-material__detail {
    padding: 0;
    border-left: 0;
  }

  .poker-material__detail + .poker-material__detail {
    padding-top: var(--space-5);
    border-top: var(--border-subtle);
  }

  .poker-rhythm__step {
    padding-left: var(--space-6);
    border-left: 1px solid var(--color-border);
  }

  .poker-audience__item,
  .poker-audience__item:first-child,
  .poker-audience__item:nth-child(2),
  .poker-audience__item:nth-child(3) {
    padding: var(--space-5) 0;
    border-top: var(--border-subtle);
    border-right: 0;
  }

  .poker-audience__item:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .poker-contact__panel {
    width: 100%;
    padding: var(--space-5);
  }

  .poker-contact__panel .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-hero__image,
  .poker-material__figure img,
  .poker-interior__media img,
  .poker-gallery__figure img {
    transform: none !important;
    transition: none;
  }
}
