.poker-page {
  overflow: clip;
}

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

.poker-page .media-frame {
  width: 100%;
  max-width: 100%;
}

.poker-page .media-frame img {
  transition: transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .poker-page .media-frame:hover img {
    transform: scale(1.02);
  }
}

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

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

.poker-hero__copy,
.poker-hero__media {
  min-width: 0;
  width: 100%;
}

.poker-hero__copy {
  max-width: 35rem;
}

.poker-hero__copy > :last-child {
  margin-bottom: 0;
}

.poker-hero h1 {
  max-width: 10.5ch;
}

.poker-hero__lead {
  max-width: 34rem;
  color: var(--color-text-muted);
  font-size: var(--font-size-intro);
  line-height: var(--line-height-intro);
}

.poker-hero__guarantee {
  max-width: 33rem;
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-oak);
  color: var(--color-leaf);
  font-size: var(--font-size-label);
  line-height: 1.55;
}

.poker-hero__actions {
  align-items: stretch;
}

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

.poker-hero__media {
  aspect-ratio: 3 / 2;
  margin-top: var(--space-5);
}

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

.poker-principles__header > :last-child,
.poker-formats__header > :last-child,
.poker-reasons__header > :last-child,
.poker-evening__header > :last-child,
.poker-paths__header > :last-child,
.poker-faq__header > :last-child {
  margin-bottom: 0;
}

.poker-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--space-8);
}

.poker-principle {
  min-width: 0;
  padding: 0 var(--space-6);
}

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

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

.poker-principle + .poker-principle {
  border-left: 1px solid rgba(73, 100, 84, 0.28);
}

.poker-principle__icon {
  display: block;
  width: 2rem;
  height: 2rem;
  margin-bottom: var(--space-4);
  color: var(--color-oak);
  font-size: 2rem;
  line-height: 1;
}

.poker-principle h3 {
  font-size: var(--font-size-card-title);
}

.poker-principle p {
  max-width: 25rem;
  margin-bottom: 0;
}

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

.poker-table__copy,
.poker-table__media {
  min-width: 0;
  width: 100%;
}

.poker-table__copy {
  max-width: 31.25rem;
}

.poker-table__copy > :last-child {
  margin-bottom: 0;
}

.poker-table__intro {
  max-width: 31rem;
  font-size: var(--font-size-intro);
  line-height: var(--line-height-intro);
}

.poker-table__secondary {
  max-width: 30rem;
}

.poker-table__secondary span {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-botanical);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.poker-table__media {
  aspect-ratio: 4 / 3;
  margin-top: var(--space-5);
}

.poker-table__media figcaption {
  max-width: 100%;
}

.poker-formats__header {
  width: min(100%, 33.75rem);
}

.poker-formats__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}

.poker-format {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: var(--space-5);
  align-items: start;
  min-width: 0;
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

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

.poker-format__number,
.poker-reason__number,
.poker-step__number {
  color: var(--color-oak);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: var(--line-height-label);
}

.poker-format h3 {
  font-size: 1.75rem;
}

.poker-format > p:not(.poker-format__number) {
  max-width: 35rem;
}

.poker-text-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-width: 0;
  min-height: 2.75rem;
  color: var(--color-botanical);
  font-size: var(--font-size-label);
  font-weight: 700;
}

.poker-text-link span {
  margin-left: var(--space-2);
  transition: transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .poker-text-link:hover span {
    transform: translateX(0.25rem);
  }
}

.poker-salon {
  padding-top: var(--space-9);
  padding-bottom: var(--space-10);
}

.poker-salon__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr);
  align-items: center;
}

.poker-salon__copy,
.poker-salon__media {
  min-width: 0;
  width: 100%;
}

.poker-salon__copy {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 31.875rem;
}

.poker-salon__copy > * {
  margin: 0;
}

.poker-salon__copy p {
  max-width: 31rem;
  line-height: 1.7;
}

.poker-salon__rule {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background: rgba(184, 137, 91, 0.7);
}

.poker-salon__media {
  grid-column: 3;
  aspect-ratio: 4 / 5;
  margin-bottom: calc(var(--space-7) * -1);
}

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

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

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

.poker-reason:nth-child(odd) {
  padding-right: var(--space-6);
}

.poker-reason:nth-child(even) {
  padding-left: var(--space-6);
}

.poker-reason > :last-child {
  margin-bottom: 0;
}

.poker-reason h3 {
  font-size: var(--font-size-card-title);
}

.poker-reason p:not(.poker-reason__number) {
  max-width: 35rem;
}

.poker-evening__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr);
  align-items: start;
}

.poker-evening__header,
.poker-evening__steps {
  min-width: 0;
  width: 100%;
}

.poker-evening__header {
  grid-column: 1;
  max-width: 24.375rem;
}

.poker-evening__steps {
  grid-column: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--color-border);
}

.poker-step {
  min-width: 0;
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.poker-step > * {
  max-width: 35rem;
}

.poker-step h3 {
  margin-bottom: var(--space-3);
  font-size: 1.625rem;
}

.poker-step p:last-child {
  margin-bottom: 0;
}

.poker-evening__reminder {
  max-width: 100%;
  margin: var(--space-5) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-oak);
  color: var(--color-botanical);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.55;
}

.poker-paths__header {
  width: min(100%, 33.75rem);
}

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

.poker-path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 100%;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-glass-white);
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

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

.poker-path h3 {
  font-size: 1.75rem;
}

.poker-path p {
  max-width: 24rem;
}

.poker-path .button {
  margin-top: auto;
}

@media (hover: hover) and (pointer: fine) {
  .poker-path:hover {
    border-color: var(--color-oak);
  }
}

.poker-cta__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  width: min(100%, 62.5rem);
  margin-inline: auto;
  padding: 4.5rem var(--space-7);
  border-radius: var(--radius-lg);
  background: var(--color-botanical);
  color: var(--color-text-inverse);
  text-align: center;
}

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

.poker-cta__panel .eyebrow {
  color: var(--color-peach);
}

.poker-cta__panel h2 {
  max-width: 40rem;
  margin-top: var(--space-3);
  color: var(--color-text-inverse);
}

.poker-cta__panel > p:not(.eyebrow) {
  max-width: 40.625rem;
  margin-top: var(--space-5);
  color: rgba(255, 253, 247, 0.9);
  line-height: 1.7;
}

.poker-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  width: 100%;
  margin-top: var(--space-6);
}

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

.poker-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  color: var(--color-text-inverse);
  font-size: var(--font-size-label);
  font-weight: 700;
}

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

.poker-faq__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 50rem);
  margin: var(--space-8) auto 0;
  border-top: 1px solid var(--color-border);
}

.poker-faq__item {
  min-width: 0;
  border-bottom: 1px solid var(--color-border);
}

.poker-faq__item h3 {
  margin: 0;
  font-size: inherit;
}

.poker-faq__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  min-height: 4rem;
  padding: var(--space-4) 0;
  border: 0;
  background: transparent;
  color: var(--color-botanical);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.poker-faq__button > span:first-child {
  min-width: 0;
}

.poker-faq__state {
  flex: 0 0 auto;
  color: var(--color-leaf);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.poker-faq__answer {
  max-width: 44rem;
  padding-bottom: var(--space-5);
}

.poker-faq__answer p {
  margin-bottom: 0;
}

@media (max-width: 57.4375rem) {
  .poker-hero {
    padding-top: 0;
  }

  .poker-hero__grid,
  .poker-table__grid,
  .poker-salon__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .poker-hero__media,
  .poker-table__media,
  .poker-salon__media {
    grid-row: 1;
    grid-column: 1;
    width: calc(100% + (var(--container-padding) * 2));
    max-width: none;
    margin-inline: calc(var(--container-padding) * -1);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .poker-hero__media {
    aspect-ratio: auto;
    height: 58vw;
    max-height: 30rem;
    margin-top: 0;
  }

  .poker-table__media {
    aspect-ratio: auto;
    height: 62vw;
    max-height: 32rem;
    margin-top: 0;
  }

  .poker-salon__media {
    aspect-ratio: auto;
    height: 68vw;
    max-height: 36rem;
    margin-bottom: 0;
  }

  .poker-hero__copy,
  .poker-table__copy,
  .poker-salon__copy {
    grid-column: 1;
    max-width: 40rem;
  }

  .poker-hero__copy {
    grid-row: 2;
  }

  .poker-table__copy {
    grid-row: 2;
  }

  .poker-salon__copy {
    grid-row: 2;
    width: calc(100% + (var(--container-padding) * 2));
    max-width: none;
    margin-inline: calc(var(--container-padding) * -1);
    padding: var(--space-6) var(--container-padding);
  }

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

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

  .poker-principle:nth-child(2) {
    padding-right: 0;
    border-left: 1px solid rgba(73, 100, 84, 0.28);
  }

  .poker-principle:nth-child(3) {
    grid-column: 1 / -1;
    padding: var(--space-6) 0 0;
    border-top: 1px solid rgba(73, 100, 84, 0.28);
    border-left: 0;
  }

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

  .poker-format h3 {
    font-size: var(--font-size-card-title);
  }

  .poker-text-link {
    justify-self: start;
  }

  .poker-reasons__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: var(--space-7);
    border-top: 1px solid rgba(73, 100, 84, 0.28);
  }

  .poker-reason,
  .poker-reason:nth-child(odd),
  .poker-reason:nth-child(even) {
    padding: var(--space-5) 0;
    border-bottom: 1px solid rgba(73, 100, 84, 0.28);
  }

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

  .poker-evening__header,
  .poker-evening__steps {
    grid-column: 1;
    max-width: none;
  }

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

  .poker-path:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 53.6875rem) {
  .poker-principles__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: var(--space-7);
    border-top: 1px solid rgba(73, 100, 84, 0.28);
  }

  .poker-principle,
  .poker-principle:first-child,
  .poker-principle:last-child,
  .poker-principle:nth-child(2),
  .poker-principle:nth-child(3) {
    grid-column: auto;
    padding: var(--space-5) 0;
    border: 0;
    border-bottom: 1px solid rgba(73, 100, 84, 0.28);
  }
}

@media (max-width: 42.4375rem) {
  .poker-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

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

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

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

  .poker-cta__actions .button,
  .poker-cta__link {
    width: 100%;
  }
}

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

  .poker-path:nth-child(3) {
    grid-column: auto;
  }

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

@media (max-width: 37.4375rem) {
  .poker-hero h1 {
    font-size: clamp(3.25rem, 14vw, 3.5rem);
    line-height: 1;
  }

  .poker-table h2,
  .poker-salon h2,
  .poker-formats h2,
  .poker-reasons h2,
  .poker-evening h2,
  .poker-paths h2,
  .poker-faq h2 {
    font-size: 2.125rem;
    line-height: 1.08;
  }

  .poker-principles__header h2,
  .poker-reasons__header h2,
  .poker-faq__header h2,
  .poker-cta__panel h2 {
    font-size: 2.25rem;
    line-height: 1.05;
  }

  .poker-hero__lead {
    font-size: var(--font-size-intro);
  }

  .poker-salon__copy {
    gap: var(--space-4);
  }

  .poker-faq__button {
    min-height: 2.75rem;
    padding-block: var(--space-4);
    font-size: 1rem;
  }

  .poker-faq__state {
    font-size: 0.625rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poker-page .media-frame img,
  .poker-text-link span {
    transition: none;
  }

  .poker-page .media-frame:hover img,
  .poker-text-link:hover span {
    transform: none;
  }
}
