.poker-page {
  overflow: hidden;
}

.poker-page section {
  scroll-margin-top: 6rem;
}

.poker-hero {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--color-charcoal-noir);
}

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

.poker-hero__copy,
.poker-table__copy,
.poker-dining__copy,
.poker-hero__media,
.poker-table__media,
.poker-dining__media {
  min-width: 0;
  width: 100%;
}

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

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

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

.poker-hero__copy > .lead {
  max-width: 54ch;
}

.poker-hero__media,
.poker-table__media,
.poker-dining__media {
  margin: 0;
  border: var(--border-subtle);
  overflow: hidden;
  background: var(--color-midnight-obsidian);
}

.poker-hero__media {
  aspect-ratio: 16 / 9;
}

.poker-table__media,
.poker-dining__media {
  aspect-ratio: 4 / 3;
}

.poker-hero__media img,
.poker-table__media img,
.poker-dining__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

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

.poker-table__media {
  align-self: end;
}

.poker-table__media img {
  object-position: center;
}

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

.poker-hero__policy {
  display: flex;
  flex-direction: column;
  width: min(100%, 40ch);
  min-width: 0;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 1px solid var(--color-vintage-merlot);
  background: rgba(143, 29, 44, 0.1);
}

.poker-hero__policy p {
  margin: 0;
}

.poker-policy-label {
  margin: 0;
  color: #d87883;
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.poker-hero__actions,
.poker-final__actions,
.poker-arrival__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  width: 100%;
}

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

.poker-experience__intro,
.poker-rotation__intro,
.poker-calendar__intro,
.poker-pathways__intro,
.poker-arrival__intro,
.poker-faq__intro {
  width: 100%;
  max-width: 62ch;
}

.poker-experience__intro {
  max-width: 62ch;
  margin-bottom: var(--space-7);
}

.poker-experience__intro > :last-child,
.poker-rotation__intro > :last-child,
.poker-calendar__intro > :last-child,
.poker-pathways__intro > :last-child,
.poker-arrival__intro > :last-child,
.poker-faq__intro > :last-child {
  margin-bottom: 0;
}

.poker-experience__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
}

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

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

.poker-experience__card .metadata {
  margin-top: auto;
}

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

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

.poker-table__copy > h2 {
  max-width: 15ch;
}

.poker-mechanics {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 58ch);
  min-width: 0;
}

.poker-mechanics__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-4);
  width: 100%;
  min-width: 0;
  padding-block: var(--space-5);
  border-top: var(--border-subtle);
}

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

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

.poker-mechanics__item h3,
.poker-mechanics__item p {
  max-width: 52ch;
}

.poker-mechanics__number,
.poker-stage__number {
  margin: 0;
  color: var(--color-muted-slate);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.12em;
}

.poker-rotation__intro {
  max-width: 60ch;
  margin-bottom: var(--space-7);
}

.poker-rotation__stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
}

.poker-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: var(--border-subtle);
}

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

.poker-stage p:not(.poker-stage__number) {
  max-width: 32ch;
}

.poker-calendar__intro {
  max-width: 64ch;
  margin-bottom: var(--space-7);
}

.poker-calendar__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  gap: 0;
}

.poker-calendar__row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  gap: var(--space-5);
  align-items: start;
  width: 100%;
  min-width: 0;
  padding-block: var(--space-5);
  border-top: var(--border-subtle);
}

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

.poker-calendar__row:last-child {
  padding-bottom: 0;
}

.poker-calendar__label,
.poker-calendar__description,
.poker-calendar__action {
  min-width: 0;
  width: 100%;
}

.poker-calendar__label p,
.poker-calendar__description h3,
.poker-calendar__description p,
.poker-calendar__action a {
  margin: 0;
}

.poker-calendar__description p {
  max-width: 48ch;
  margin-top: var(--space-3);
}

.poker-calendar__action {
  display: flex;
  justify-content: flex-end;
}

.poker-calendar__action .button-secondary {
  width: auto;
}

.poker-dining__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

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

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

.poker-dining__copy > .lead {
  max-width: 58ch;
}

.poker-dining__inset {
  display: flex;
  flex-direction: column;
  width: min(100%, 40ch);
  min-width: 0;
  gap: var(--space-4);
  margin-top: var(--space-2);
  padding: var(--space-5);
  border: var(--border-subtle);
  background: var(--color-panel);
}

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

.poker-dining__inset p {
  max-width: 40ch;
}

.poker-dining__inset .button-secondary {
  width: auto;
  align-self: flex-start;
}

.poker-pathways__intro {
  max-width: 58ch;
  margin-bottom: var(--space-7);
}

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

.poker-pathways__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  gap: var(--space-4);
}

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

.poker-pathways__panel > p:not(.overline, .poker-policy-label) {
  max-width: 44ch;
}

.poker-pathways__contact {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: var(--space-2);
  margin-top: auto;
}

.poker-pathways__contact a {
  overflow-wrap: anywhere;
}

.poker-pathways__panel .button,
.poker-pathways__panel .button-secondary {
  width: auto;
}

.poker-arrival__intro {
  max-width: 60ch;
  margin-bottom: var(--space-7);
}

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

.poker-arrival__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  gap: var(--space-4);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: var(--border-subtle);
}

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

.poker-arrival__panel p:not(.metadata, .poker-policy-label) {
  max-width: 48ch;
}

.poker-arrival__panel--policy {
  border-color: var(--color-vintage-merlot);
  background: rgba(143, 29, 44, 0.08);
}

.poker-arrival__panel--hospitality {
  background: var(--color-panel-alt);
}

.poker-arrival__links {
  margin-top: auto;
}

.poker-faq__intro {
  max-width: 60ch;
  margin-bottom: var(--space-7);
}

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

.poker-faq__item {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: var(--border-subtle);
}

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

.poker-faq__item p:not(.poker-policy-label) {
  max-width: 48ch;
}

.poker-final {
  padding-top: var(--section-space-compact);
}

.poker-final__panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(100%, calc((100% / 12) * 8 + (var(--space-5) * 7 / 6)));
  min-width: 0;
  gap: var(--space-4);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: var(--border-subtle);
  border-top-color: var(--color-australian-gold);
}

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

.poker-final__panel > .lead {
  max-width: 54ch;
}

.poker-final__utility {
  width: 100%;
  color: var(--color-sand-cream);
  font-size: var(--text-label);
  overflow-wrap: anywhere;
}

.poker-final__utility span {
  padding-inline: var(--space-1);
  color: var(--color-cognac-amber);
}

.poker-final__secondary {
  max-width: 50ch;
  color: var(--color-muted-slate);
}

@media (max-width: 1024px) {
  .poker-experience__cards,
  .poker-rotation__stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .poker-experience__card:last-child,
  .poker-stage:last-child {
    grid-column: 1 / -1;
  }

  .poker-experience__card:last-child p,
  .poker-stage:last-child p:not(.poker-stage__number) {
    max-width: 48ch;
  }
}

@media (max-width: 960px) {
  .poker-calendar__row {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }

  .poker-calendar__description p {
    max-width: 60ch;
  }

  .poker-calendar__action {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .poker-hero__grid,
  .poker-table__grid,
  .poker-dining__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .poker-hero__copy,
  .poker-table__copy,
  .poker-dining__copy {
    grid-column: 1;
  }

  .poker-hero__media,
  .poker-table__media,
  .poker-dining__media {
    grid-column: 1;
  }

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

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

  .poker-hero__copy > .lead,
  .poker-table__copy > .lead,
  .poker-dining__copy > .lead {
    max-width: 62ch;
  }

  .poker-final__panel {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .poker-faq__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .poker-faq__item p:not(.poker-policy-label) {
    max-width: 60ch;
  }
}

@media (max-width: 820px) {
  .poker-pathways__panels,
  .poker-arrival__panels {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .poker-hero {
    padding-block: var(--section-space-compact);
  }

  .poker-hero__grid,
  .poker-table__grid,
  .poker-dining__grid {
    gap: var(--space-5);
  }

  .poker-hero__media,
  .poker-table__media,
  .poker-dining__media {
    aspect-ratio: 4 / 3;
  }

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

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

  .poker-experience__card:last-child,
  .poker-stage:last-child {
    grid-column: auto;
  }

  .poker-experience__card:last-child p,
  .poker-stage:last-child p:not(.poker-stage__number) {
    max-width: 100%;
  }

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

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

  .poker-stage p:not(.poker-stage__number),
  .poker-mechanics__item h3,
  .poker-mechanics__item p {
    max-width: 100%;
  }

  .poker-calendar__panel,
  .poker-arrival__panel,
  .poker-pathways__panel {
    padding: var(--space-5);
  }

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

  .poker-dining__inset .button-secondary,
  .poker-pathways__panel .button,
  .poker-pathways__panel .button-secondary {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .poker-hero__actions,
  .poker-final__actions,
  .poker-arrival__links {
    flex-direction: column;
    align-items: stretch;
  }

  .poker-hero__actions > *,
  .poker-final__actions > *,
  .poker-arrival__links > * {
    width: 100%;
  }

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