.poker-page {
  overflow: hidden;
}

.poker-page__hero {
  position: relative;
  display: grid;
  min-height: 38.75rem;
  isolation: isolate;
  background: var(--color-navy);
}

.poker-page__hero-media,
.poker-page__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.poker-page__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-page__hero-overlay {
  z-index: -1;
  background: linear-gradient(90deg, rgb(18 31 45 / 78%) 0%, rgb(26 41 55 / 58%) 45%, rgb(36 56 78 / 18%) 78%);
}

.poker-page__hero-container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: 38.75rem;
  padding-block: var(--space-8);
}

.poker-page__hero-content {
  grid-column: 1 / span 5;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.poker-page__hero-content > * {
  margin: 0;
}

.poker-page__hero-content h1 {
  max-width: 12ch;
  color: var(--color-off-white);
  font-size: clamp(3.2rem, 5.4vw, 4rem);
}

.poker-page__hero-lead {
  max-width: 45ch;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.poker-page__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  width: 100%;
}

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

.poker-page__hero-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 32rem;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-off-white);
  color: var(--color-navy);
}

.poker-page__hero-note p {
  margin: 0;
  font-size: var(--font-size-label);
  line-height: var(--line-height-label);
}

.poker-page__age-mark,
.poker-page__tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 1.625rem;
  padding-inline: var(--space-2);
  border-radius: 999px;
  background: var(--color-terracotta);
  color: var(--color-off-white);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.poker-page__section-intro,
.poker-page__process-intro,
.poker-page__occasions-intro,
.poker-page__checklist-intro,
.poker-page__inquiry-intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.poker-page__section-intro,
.poker-page__occasions-intro {
  width: calc((100% - 11 * var(--space-5)) * 5 / 12 + 4 * var(--space-5));
  max-width: 36rem;
  margin-bottom: var(--space-7);
}

.poker-page__section-intro > *,
.poker-page__process-intro > *,
.poker-page__occasions-intro > *,
.poker-page__checklist-intro > *,
.poker-page__inquiry-intro > * {
  margin: 0;
}

.poker-page__section-intro h2,
.poker-page__occasions-intro h2 {
  max-width: 20ch;
}

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

.poker-page__narrative-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}

.poker-page__narrative-item > * {
  margin: 0;
}

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

.poker-page__item-number,
.poker-page__step-number,
.poker-page__checklist-item > span {
  color: var(--color-sea);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.poker-page__text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-weight: 700;
}

.poker-page__process {
  background: var(--color-off-white);
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 2.75rem, rgb(36 56 78 / 4%) 2.75rem, rgb(36 56 78 / 4%) calc(2.75rem + 1px));
}

.poker-page__process-intro,
.poker-page__checklist-intro,
.poker-page__inquiry-intro {
  width: 50%;
  max-width: 42rem;
  margin-bottom: var(--space-7);
}

.poker-page__process-intro h2,
.poker-page__checklist-intro h2,
.poker-page__inquiry-intro h2 {
  max-width: 23ch;
}

.poker-page__lead {
  max-width: 62ch;
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.poker-page__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.poker-page__step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-subtle);
}

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

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

.poker-page__step-number--accent {
  color: var(--color-terracotta);
}

.poker-page__rules,
.poker-page__closing {
  background-color: var(--color-navy);
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 2.75rem, rgb(250 247 242 / 4%) 2.75rem, rgb(250 247 242 / 4%) calc(2.75rem + 1px));
}

.poker-page__rules-declaration {
  display: flex;
  width: 58.333%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

.poker-page__rules-declaration > * {
  margin: 0;
}

.poker-page__rules-declaration h2 {
  max-width: 25ch;
  color: var(--color-off-white);
}

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

.poker-page__rule-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--border-on-dark);
  border-radius: var(--radius-lg);
  background: rgb(250 247 242 / 5%);
}

.poker-page__rule-card > * {
  margin: 0;
}

.poker-page__rule-card h3 {
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  letter-spacing: 0.02em;
}

.poker-page__rule-card--accent {
  border-top: 3px solid var(--color-terracotta);
}

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

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

.poker-page__dining-copy > * {
  margin: 0;
}

.poker-page__dining-copy h2 {
  max-width: 18ch;
}

.poker-page__dining-copy h3 {
  margin-top: var(--space-2);
  font-size: var(--font-size-card-title);
}

.poker-page__dining-copy > p:not(.eyebrow):not(.poker-page__lead) {
  max-width: 52ch;
}

.poker-page__dining-media {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  margin: 0;
}

.poker-page__dining-media img {
  width: 100%;
  height: 100%;
  min-height: 31rem;
  object-fit: cover;
  object-position: right center;
}

.poker-page__reservation-tip {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  margin-top: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: rgb(250 247 242 / 68%);
}

.poker-page__reservation-tip > * {
  margin: 0;
}

.poker-page__tip-label {
  color: var(--color-sea);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.03em;
}

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

.poker-page__occasion-card {
  min-width: 0;
}

.poker-page__occasion-card--accent {
  border-bottom: 3px solid var(--color-terracotta);
}

.poker-page__occasion-card .card__body {
  gap: var(--space-4);
}

.poker-page__occasion-card .card__body > * {
  margin: 0;
}

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

.poker-page__occasion-note {
  max-width: 65ch;
  margin: var(--space-6) 0 0;
  color: var(--color-driftwood);
}

.poker-page__atmosphere {
  position: relative;
  display: grid;
  min-height: 38.75rem;
  background: var(--color-navy);
}

.poker-page__atmosphere-media {
  position: absolute;
  inset: 0;
}

.poker-page__atmosphere-media::after {
  position: absolute;
  inset: 0;
  background: rgb(36 56 78 / 26%);
  content: "";
}

.poker-page__atmosphere-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poker-page__atmosphere-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  padding-block: var(--space-8);
}

.poker-page__atmosphere-panel {
  grid-column: 1 / span 6;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-7);
  border-radius: var(--radius-xl);
  background: var(--color-navy);
}

.poker-page__atmosphere-panel > * {
  margin: 0;
}

.poker-page__atmosphere-panel h2 {
  max-width: 18ch;
  color: var(--color-off-white);
}

.poker-page__atmosphere-panel > p:not(.eyebrow) {
  max-width: 55ch;
}

.poker-page__atmosphere-lead {
  font-size: var(--font-size-lead);
  line-height: var(--line-height-lead);
}

.poker-page__checklist-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--border-dark-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-off-white);
}

.poker-page__checklist-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  gap: var(--space-4);
  padding: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
}

.poker-page__checklist-item:nth-child(odd) {
  border-right: 1px solid var(--border-subtle);
}

.poker-page__checklist-item:nth-last-child(-n + 2) {
  border-bottom: 0;
}

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

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

.poker-page__checklist-item em {
  color: var(--color-terracotta);
  font-family: var(--font-body);
  font-size: var(--font-size-label);
  font-style: normal;
}

.poker-page__checklist-action {
  grid-column: 1 / -1;
  justify-self: start;
  margin: var(--space-5) var(--space-6) var(--space-6);
}

.poker-page__inquiry {
  background: rgb(250 247 242 / 54%);
}

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

.poker-page__form-card {
  min-width: 0;
  padding: clamp(var(--space-5), 4vw, var(--space-7));
}

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

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

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

.poker-page__field--full {
  grid-column: 1 / -1;
}

.poker-page__field label,
.poker-page__field p {
  margin: 0;
}

.poker-page__field-error {
  min-height: 1.25rem;
  color: #9a3d2c;
  font-size: var(--font-size-caption);
  font-weight: 700;
  line-height: var(--line-height-caption);
}

.poker-page__field input[aria-invalid="true"],
.poker-page__field textarea[aria-invalid="true"] {
  border-color: #9a3d2c;
}

.poker-page__form-helper {
  max-width: 66ch;
  margin: 0;
  color: var(--color-driftwood);
  font-size: var(--font-size-label);
  line-height: var(--line-height-label);
}

.poker-page__form-success > * {
  margin: 0;
}

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

.poker-page__contact-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  border-radius: var(--radius-xl);
  background: var(--color-navy);
}

.poker-page__contact-panel > * {
  margin: 0;
}

.poker-page__contact-panel h3 {
  max-width: 17ch;
  color: var(--color-off-white);
  font-size: var(--font-size-card-title);
}

.poker-page__contact-panel > p {
  max-width: 34ch;
}

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

.poker-page__contact-panel dl,
.poker-page__contact-panel dd {
  margin: 0;
}

.poker-page__contact-panel dl > div {
  min-width: 0;
}

.poker-page__contact-panel dt {
  color: #b5d0db;
  font-size: var(--font-size-caption);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.poker-page__contact-panel dd {
  margin-top: var(--space-1);
  color: var(--color-off-white);
  overflow-wrap: anywhere;
}

.poker-page__closing-panel {
  display: flex;
  width: 50%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  margin-inline: auto;
  padding: var(--space-9) 0;
}

.poker-page__closing-panel > * {
  margin: 0;
}

.poker-page__closing-panel h2 {
  max-width: 17ch;
  color: var(--color-off-white);
}

.poker-page__closing-panel > p {
  max-width: 50ch;
}

.poker-page__closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
  width: 100%;
}

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

.poker-page__closing-actions a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 2.875rem;
  color: var(--color-off-white);
  font-weight: 700;
}

@media (max-width: 1099px) {
  .poker-page__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-page__step {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 979px) {
  .poker-page__hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding-top: 19rem;
  }

  .poker-page__hero-media {
    bottom: auto;
    height: 19rem;
  }

  .poker-page__hero-overlay {
    display: none;
  }

  .poker-page__hero-container {
    display: block;
    min-height: 0;
    padding-block: 0;
  }

  .poker-page__hero-content {
    width: 100%;
    max-width: none;
    padding: var(--space-7) 0;
  }

  .poker-page__hero-content h1 {
    max-width: 15ch;
  }

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

  .poker-page__rules-grid > :last-child,
  .poker-page__occasion-grid > :last-child {
    grid-column: 1 / span 1;
  }

  .poker-page__dining-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .poker-page__dining-copy {
    order: 1;
  }

  .poker-page__dining-media {
    order: 0;
    min-height: 0;
  }

  .poker-page__dining-media img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .poker-page__atmosphere {
    display: flex;
    min-height: 0;
    flex-direction: column;
    background: var(--color-navy);
  }

  .poker-page__atmosphere-media {
    position: relative;
    height: 24rem;
  }

  .poker-page__atmosphere-media::after {
    display: none;
  }

  .poker-page__atmosphere-container {
    display: block;
    padding-block: 0;
  }

  .poker-page__atmosphere-panel {
    width: 100%;
    padding: var(--space-7) 0;
    border-radius: 0;
  }

  .poker-page__inquiry-layout {
    grid-template-columns: 1fr;
  }

  .poker-page__contact-panel {
    width: 100%;
  }
}

@media (max-width: 939px) {
  .poker-page__narrative-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poker-page__narrative-grid > :last-child {
    grid-column: 1 / span 1;
  }

  .poker-page__rules-declaration {
    width: 75%;
  }
}

@media (max-width: 759px) {
  .poker-page__section-intro,
  .poker-page__process-intro,
  .poker-page__occasions-intro,
  .poker-page__checklist-intro,
  .poker-page__inquiry-intro,
  .poker-page__rules-declaration,
  .poker-page__closing-panel {
    width: 100%;
  }

  .poker-page__narrative-grid,
  .poker-page__rules-grid,
  .poker-page__occasion-grid,
  .poker-page__steps,
  .poker-page__checklist-card,
  .poker-page__form-grid {
    grid-template-columns: 1fr;
  }

  .poker-page__rules-grid > :last-child,
  .poker-page__occasion-grid > :last-child,
  .poker-page__field--full {
    grid-column: auto;
  }

  .poker-page__narrative-grid > :last-child {
    grid-column: auto;
  }

  .poker-page__checklist-item,
  .poker-page__checklist-item:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .poker-page__checklist-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--border-subtle);
  }

  .poker-page__checklist-item:last-of-type {
    border-bottom: 0;
  }

  .poker-page__checklist-action {
    grid-column: auto;
  }
}

@media (max-width: 599px) {
  .poker-page__hero {
    padding-top: 18.5rem;
  }

  .poker-page__hero-media {
    height: 18.5rem;
  }

  .poker-page__hero-media img {
    object-position: center;
  }

  .poker-page__hero-content {
    gap: var(--space-4);
    padding: var(--space-6) 0;
  }

  .poker-page__hero-content h1 {
    max-width: 13ch;
    font-size: clamp(2.625rem, 12vw, 2.9rem);
  }

  .poker-page__hero-actions,
  .poker-page__closing-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .poker-page__hero-actions > .button,
  .poker-page__closing-actions > .button {
    width: 100%;
  }

  .poker-page__hero-note {
    width: 100%;
  }

  .poker-page__section-intro,
  .poker-page__process-intro,
  .poker-page__occasions-intro,
  .poker-page__checklist-intro,
  .poker-page__inquiry-intro,
  .poker-page__rules-declaration {
    margin-bottom: var(--space-6);
  }

  .poker-page__step {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .poker-page__rule-card,
  .poker-page__checklist-item {
    padding: var(--space-5);
  }

  .poker-page__dining-media img {
    aspect-ratio: 4 / 3;
  }

  .poker-page__atmosphere-media {
    height: 18.75rem;
  }

  .poker-page__atmosphere-media img {
    object-position: center;
  }

  .poker-page__atmosphere-panel {
    padding-block: var(--space-6);
  }

  .poker-page__checklist-action {
    width: calc(100% - (2 * var(--space-5)));
    margin: var(--space-5);
  }

  .poker-page__form-card,
  .poker-page__contact-panel {
    padding: var(--space-5);
  }

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

  .poker-page__closing-panel {
    padding: var(--space-7) 0;
  }

  .poker-page__closing-actions a:not(.button) {
    width: 100%;
  }
}

@media (max-width: 379px) {
  .poker-page__step {
    grid-template-columns: 1fr;
  }
}
