.poker-events-page {
  background: var(--color-cream);
}

.poker-events-page .meta {
  margin-block-end: var(--space-3);
}

.poker-hero__grid,
.poker-audiences__grid,
.poker-elements__grid,
.poker-process__grid,
.poker-cta__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}

.poker-hero__copy {
  grid-column: span 5;
  min-width: 0;
  align-self: center;
}

.poker-hero__copy > :last-child,
.poker-hero__media > :last-child,
.poker-organising__intro > :last-child,
.poker-audiences__intro > :last-child,
.poker-elements__intro > :last-child,
.poker-process__intro > :last-child,
.poker-inspiration__intro > :last-child,
.poker-faq__intro > :last-child,
.poker-cta__content > :last-child,
.poker-summary__content > :last-child {
  margin-block-end: 0;
}

.poker-hero__copy .deck {
  max-width: 29.375rem;
}

.poker-hero__promise {
  max-width: 28rem;
  color: var(--color-forest-dark);
  font-weight: 600;
}

.poker-hero__action {
  margin-block-end: var(--space-4);
}

.poker-hero__trust {
  max-width: 28rem;
  color: var(--color-graphite-muted);
  font-size: var(--text-caption);
}

.poker-hero__media {
  grid-column: span 7;
  min-width: 0;
  margin: 0;
  position: relative;
}

.poker-hero__media::before {
  position: absolute;
  z-index: 0;
  inset: 1.5rem -1rem -1rem 1.5rem;
  background: var(--color-dusty-rose);
  content: "";
}

.poker-hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-line);
  object-fit: cover;
  object-position: center;
}

.poker-hero__media figcaption {
  position: relative;
  z-index: 1;
  max-width: 26rem;
}

.poker-organising__intro,
.poker-inspiration__intro,
.poker-faq__intro {
  width: min(100%, 35rem);
  margin-inline: auto;
  text-align: center;
}

.poker-organising__intro .eyebrow,
.poker-inspiration__intro .eyebrow,
.poker-faq__intro .eyebrow {
  justify-content: center;
}

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

.poker-organising__card {
  min-width: 0;
  padding: var(--space-5);
  border-top: 1px solid var(--color-champagne);
  background: rgb(255 253 248 / 48%);
}

.poker-organising__card:nth-child(2) {
  margin-block-start: var(--space-5);
}

.poker-organising__card--accent {
  margin-block-start: var(--space-2);
  border-inline-start: 3px solid var(--color-terracotta);
}

.poker-organising__card > :last-child,
.poker-story > :last-child,
.poker-element > :last-child,
.poker-venue__panel > :last-child,
.poker-timeline__copy > :last-child,
.poker-rail__content > :last-child,
.poker-accordion__panel > :last-child,
.poker-philosophy__quote > :last-child,
.poker-cta__help > :last-child {
  margin-block-end: 0;
}

.poker-number {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-block-end: var(--space-4);
  border-radius: var(--radius-round);
  background: var(--color-champagne);
  color: var(--color-forest-dark);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.poker-audiences__intro {
  grid-column: span 4;
  min-width: 0;
  align-self: start;
}

.poker-audiences__intro p {
  max-width: 26.25rem;
}

.poker-audiences__stories {
  display: grid;
  grid-column: span 8;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: var(--space-5);
  min-width: 0;
}

.poker-story {
  min-width: 0;
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  background: var(--color-white);
  transition: transform var(--transition-base);
}

.poker-story:hover {
  transform: translateY(-2px);
}

.poker-story:hover .meta {
  color: var(--color-terracotta);
}

.poker-story--corporate {
  grid-column: 1 / span 4;
}

.poker-story--team {
  grid-column: 5 / span 4;
  margin-block-start: var(--space-7);
  background: var(--color-dusty-rose);
}

.poker-story--private {
  grid-column: 2 / span 5;
  margin-block-start: var(--space-3);
  border-inline-start: 3px solid var(--color-terracotta);
}

.poker-venue__image-wrap {
  position: relative;
  min-width: 0;
}

.poker-venue__image-wrap > img {
  width: 100%;
  max-width: 100%;
  min-height: 32.5rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.poker-venue__overlay-wrap {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-width: 0;
}

.poker-venue__panel {
  grid-column: span 4;
  min-width: 0;
  margin-block: -10rem var(--space-7);
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  background: var(--color-cream);
}

.poker-venue__panel p:not(.caption) {
  max-width: 23.75rem;
}

.poker-elements__intro {
  grid-column: span 4;
  min-width: 0;
}

.poker-elements__intro p {
  max-width: 26.875rem;
}

.poker-elements__list {
  display: grid;
  grid-column: span 8;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  min-width: 0;
}

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

.poker-element .poker-number {
  background: transparent;
  color: var(--color-terracotta);
}

.poker-element--rose {
  padding: var(--space-5);
  border-bottom: 0;
  background: var(--color-dusty-rose);
}

.poker-process__intro {
  grid-column: span 4;
  min-width: 0;
}

.poker-process__intro p {
  max-width: 26.25rem;
}

.poker-timeline {
  display: grid;
  grid-column: 7 / span 6;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-7);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.poker-timeline::before {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 2px;
  background: var(--color-forest);
  content: "";
}

.poker-timeline__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-4);
  min-width: 0;
  align-items: start;
  position: relative;
}

.poker-timeline__marker {
  display: flex;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background: var(--color-champagne);
  color: var(--color-forest-dark);
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
}

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

.poker-timeline__copy p {
  max-width: 31.25rem;
}

.poker-inspiration__intro {
  margin-block-end: var(--space-6);
}

.poker-rail__controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-block-end: var(--space-4);
}

.poker-rail__button {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  min-height: 3rem;
  padding: 0;
  border: 1px solid var(--color-forest);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-forest);
  font-size: 1.25rem;
}

.poker-rail__button:hover {
  background: var(--color-forest);
  color: var(--color-cream);
}

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

.poker-rail__card {
  min-width: 0;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  overflow: hidden;
}

.poker-rail__card img,
.poker-rail__image {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

.poker-rail__card--portrait img {
  aspect-ratio: 3 / 4;
  object-position: center;
}

.poker-rail__image {
  aspect-ratio: 4 / 3;
  background-color: var(--color-champagne);
}

.poker-rail__image--detail {
  background: linear-gradient(135deg, var(--color-cream-deep) 0 48%, var(--color-champagne) 48% 54%, var(--color-forest) 54% 100%);
}

.poker-rail__image--celebration {
  aspect-ratio: 16 / 9;
  background: linear-gradient(120deg, var(--color-dusty-rose) 0 42%, var(--color-cream) 42% 58%, var(--color-terracotta) 58% 100%);
}

.poker-rail__content {
  min-width: 0;
  padding: var(--space-5);
}

.poker-rail__content p:not(.meta) {
  max-width: 22.5rem;
}

.poker-faq__intro {
  margin-block-end: var(--space-7);
}

.poker-accordion {
  width: min(100%, 43.75rem);
  margin-inline: auto;
  border-top: 1px solid var(--color-line);
}

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

.poker-accordion__item h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0;
}

.poker-accordion__trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  background: transparent;
  color: var(--color-graphite);
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}

.poker-accordion__trigger span {
  flex: 0 0 auto;
  color: var(--color-terracotta);
  font-size: 1.5rem;
  font-weight: 400;
}

.poker-accordion__trigger[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.poker-accordion__panel {
  min-width: 0;
  padding-block: 0 var(--space-5);
}

.poker-accordion__panel p {
  max-width: 38.75rem;
}

.poker-philosophy__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  text-align: center;
}

.poker-philosophy__quote {
  grid-column: 3 / span 8;
  min-width: 0;
}

.poker-philosophy__quote .meta {
  color: var(--color-champagne);
}

.poker-philosophy__quote h2 {
  color: var(--color-cream);
  font-size: var(--text-display);
  line-height: 1.08;
}

.poker-philosophy__rule {
  grid-column: 5 / span 4;
  width: 100%;
  height: 1px;
  background: var(--color-champagne);
}

.poker-philosophy__copy {
  grid-column: 4 / span 6;
  min-width: 0;
  margin: 0;
  color: var(--color-cream);
}

.poker-cta__content {
  grid-column: 2 / span 7;
  min-width: 0;
}

.poker-cta__content > p {
  max-width: 35rem;
}

.poker-cta__help {
  max-width: 30rem;
  margin-block-start: var(--space-6);
}

.poker-cta__help h3 {
  font-size: 1.25rem;
}

.poker-cta__help ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}

.poker-cta__help li {
  min-width: 0;
  padding-block-end: var(--space-3);
  border-bottom: 1px solid var(--color-champagne);
}

.poker-cta__help li::before {
  margin-inline-end: var(--space-2);
  color: var(--color-terracotta);
  content: "—";
}

.poker-cta__annotation {
  grid-column: 10 / span 2;
  width: 100%;
  min-width: 0;
  align-self: start;
  aspect-ratio: 1;
  margin-block-start: var(--space-8);
  background: var(--color-terracotta);
}

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

.poker-summary__content .rule {
  margin-block: var(--space-4);
}

.poker-summary__content > p:last-child {
  color: var(--color-forest-dark);
}

@media (max-width: 65.625rem) {
  .poker-audiences__intro,
  .poker-elements__intro,
  .poker-process__intro {
    grid-column: span 12;
  }

  .poker-audiences__stories,
  .poker-elements__list {
    grid-column: span 12;
  }

  .poker-audiences__intro p,
  .poker-elements__intro p,
  .poker-process__intro p {
    max-width: 32rem;
  }

  .poker-process__intro {
    margin-block-end: var(--space-4);
  }

  .poker-timeline {
    grid-column: 2 / span 10;
  }
}

@media (max-width: 61.25rem) {
  .poker-hero__grid,
  .poker-audiences__grid,
  .poker-elements__grid,
  .poker-process__grid,
  .poker-cta__grid,
  .poker-venue__overlay-wrap,
  .poker-philosophy__layout {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-4);
  }

  .poker-hero__copy,
  .poker-hero__media {
    grid-column: span 3;
  }

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

  .poker-organising__card:nth-child(3) {
    grid-column: span 2;
    width: 50%;
  }

  .poker-audiences__intro,
  .poker-elements__intro,
  .poker-process__intro {
    grid-column: span 6;
  }

  .poker-audiences__stories {
    grid-column: span 6;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .poker-story--corporate,
  .poker-story--team {
    grid-column: span 3;
    margin-block-start: 0;
  }

  .poker-story--private {
    grid-column: span 6;
    margin-block-start: 0;
  }

  .poker-venue__panel {
    grid-column: span 5;
    margin-block: var(--space-5) var(--space-7);
  }

  .poker-elements__list {
    grid-column: span 6;
  }

  .poker-timeline {
    grid-column: 1 / span 5;
  }

  .poker-rail {
    display: flex;
    width: 100%;
    overflow-x: auto;
    gap: var(--space-5);
    padding-inline-end: 22vw;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .poker-rail__card {
    flex: 0 0 74vw;
    width: 74vw;
    scroll-snap-align: start;
  }

  .poker-cta__content {
    grid-column: 1 / span 5;
  }

  .poker-cta__annotation {
    grid-column: 6 / span 1;
    margin-block-start: var(--space-7);
  }

  .poker-philosophy__quote {
    grid-column: 1 / span 6;
  }

  .poker-philosophy__rule {
    grid-column: 2 / span 4;
  }

  .poker-philosophy__copy {
    grid-column: 1 / span 6;
  }
}

@media (max-width: 56.25rem) {
  .poker-venue__image-wrap > img {
    min-height: 0;
  }

  .poker-venue__panel {
    margin-block: 0;
  }
}

@media (max-width: 44.9375rem) {
  .poker-hero__grid,
  .poker-audiences__grid,
  .poker-elements__grid,
  .poker-process__grid,
  .poker-cta__grid,
  .poker-venue__overlay-wrap,
  .poker-philosophy__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .poker-hero__copy,
  .poker-hero__media,
  .poker-audiences__intro,
  .poker-audiences__stories,
  .poker-elements__intro,
  .poker-elements__list,
  .poker-process__intro,
  .poker-timeline,
  .poker-cta__content,
  .poker-cta__annotation,
  .poker-philosophy__quote,
  .poker-philosophy__rule,
  .poker-philosophy__copy,
  .poker-venue__panel {
    grid-column: auto;
    width: 100%;
  }

  .poker-hero__media {
    margin-block-start: var(--space-3);
  }

  .poker-hero__media::before {
    inset: 1rem -0.5rem -0.5rem 1rem;
  }

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

  .poker-organising__card:nth-child(2),
  .poker-organising__card--accent {
    margin-block-start: 0;
  }

  .poker-organising__card:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }

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

  .poker-story--corporate,
  .poker-story--team,
  .poker-story--private {
    grid-column: auto;
    margin-block-start: 0;
  }

  .poker-venue__image-wrap > img {
    aspect-ratio: 16 / 9;
  }

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

  .poker-timeline {
    gap: var(--space-6);
  }

  .poker-timeline::before {
    left: 1.125rem;
  }

  .poker-timeline__item {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: var(--space-4);
  }

  .poker-timeline__marker {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.625rem;
  }

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

  .poker-rail {
    margin-inline-end: calc(var(--container-padding) * -1);
    padding-inline-end: 18vw;
  }

  .poker-rail__card {
    flex-basis: 82vw;
    width: 82vw;
  }

  .poker-accordion {
    width: 100%;
  }

  .poker-accordion__trigger {
    min-height: 3.5rem;
  }

  .poker-philosophy__layout {
    text-align: center;
  }

  .poker-philosophy__quote h2 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .poker-philosophy__copy {
    color: var(--color-cream);
  }

  .poker-cta__annotation {
    display: none;
  }

  .poker-summary__content {
    text-align: left;
  }

  .poker-summary__content .meta {
    text-align: center;
  }
}

@media (max-width: 30rem) {
  .poker-cta .actions > .button {
    width: 100%;
  }
}

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

  .poker-accordion__trigger[aria-expanded="true"] span {
    transform: none;
  }
}
