.offline-poker-page {
  overflow: hidden;
}

.offline-poker-page .ope-text-link {
  color: var(--color-ivory);
  font-weight: 700;
  text-decoration-color: var(--color-brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.offline-poker-page .ope-text-link:hover {
  color: var(--color-ivory);
  text-decoration-color: var(--color-felt-bright);
}

.ope-hero {
  position: relative;
  min-height: 42.5rem;
  background: var(--color-ink);
}

.ope-hero__media,
.ope-hero__media picture,
.ope-hero__media img {
  width: 100%;
  height: 100%;
}

.ope-hero__media {
  position: absolute;
  inset: 0;
}

.ope-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(16 19 21 / 88%), rgb(16 19 21 / 42%) 53%, rgb(16 19 21 / 14%));
}

.ope-hero__media img {
  object-fit: cover;
  object-position: 68% center;
}

.ope-hero__copy-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  min-height: 42.5rem;
  padding-block: var(--space-10) var(--space-9);
}

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

.ope-hero__copy {
  grid-column: 1 / span 5;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  max-width: 31.25rem;
}

.ope-hero__copy > :is(h1, p) {
  margin: 0;
}

.ope-hero__lead {
  color: var(--color-mist);
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: 1.55;
}

.ope-hero__actions,
.ope-location__actions,
.ope-closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  min-width: 0;
}

.ope-hero__actions > *,
.ope-location__actions > *,
.ope-closing__actions > * {
  min-width: 0;
}

.ope-manifesto__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-8) var(--space-5);
}

.ope-manifesto__intro {
  grid-column: 3 / span 7;
  min-width: 0;
  max-width: 43.75rem;
}

.ope-manifesto__intro > :last-child {
  margin-bottom: 0;
}

.ope-manifesto__list {
  grid-column: 3 / span 7;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  min-width: 0;
}

.ope-manifesto__item {
  display: grid;
  grid-template-columns: minmax(3rem, 1fr) minmax(0, 6fr);
  gap: var(--space-5);
  min-width: 0;
  padding-top: var(--space-5);
  border-top: var(--border-subtle);
}

.ope-manifesto__number {
  display: block;
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.ope-manifesto__content {
  min-width: 0;
  max-width: 38.75rem;
}

.ope-manifesto__content > :last-child {
  margin-bottom: 0;
}

.ope-ritual__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: stretch;
}

.ope-ritual__figure {
  grid-column: 1 / span 7;
  min-width: 0;
  margin: 0;
}

.ope-ritual__figure img {
  width: 100%;
  height: 100%;
  min-height: 36rem;
  object-fit: cover;
  object-position: 50% center;
}

.ope-ritual__figure .caption {
  padding: var(--space-3) var(--space-4);
  background: var(--color-ink);
}

.ope-ritual__panel {
  grid-column: 8 / span 5;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  padding: var(--space-7);
  border: var(--border-subtle);
  background: var(--color-ink);
}

.ope-ritual__panel > :is(h2, p) {
  margin: 0;
}

.ope-ritual__narratives {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
}

.ope-ritual__narrative {
  min-width: 0;
  max-width: 31.25rem;
}

.ope-ritual__narrative + .ope-ritual__narrative {
  padding-top: var(--space-6);
  border-top: var(--border-brass);
}

.ope-ritual__narrative > :last-child {
  margin-bottom: 0;
}

.ope-rhythm__intro {
  width: 100%;
  max-width: 38.75rem;
}

.ope-rhythm__intro > :last-child {
  margin-bottom: 0;
}

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

.ope-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: var(--space-5);
  border: var(--border-subtle);
  border-top: var(--border-brass);
  background: var(--color-charcoal);
}

.ope-stage--active {
  border-top: 3px solid var(--color-felt-bright);
}

.ope-stage__ordinal,
.ope-route-card__label,
.ope-lounge__kicker {
  display: block;
  margin-bottom: var(--space-4);
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ope-stage p {
  max-width: 26.25rem;
}

.ope-stage > :last-child {
  margin-bottom: 0;
}

.ope-atmosphere__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
  align-items: end;
}

.ope-atmosphere__figure {
  grid-column: 1 / span 8;
  min-width: 0;
  margin: 0;
}

.ope-atmosphere__figure img {
  width: 100%;
  min-height: 30rem;
  object-fit: cover;
  object-position: 38% center;
}

.ope-atmosphere__figure .caption {
  padding-top: var(--space-3);
}

.ope-atmosphere__copy {
  grid-column: 9 / span 4;
  min-width: 0;
  max-width: 30rem;
  padding-bottom: var(--space-4);
}

.ope-atmosphere__copy .button {
  margin-top: var(--space-2);
}

.ope-routes__intro {
  max-width: 36rem;
}

.ope-routes__intro > :last-child {
  margin-bottom: 0;
}

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

.ope-route-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: var(--space-5);
  border: var(--border-subtle);
  border-top: var(--border-brass);
  background: var(--color-charcoal);
}

.ope-route-card--felt-rule {
  border-top-color: var(--color-felt-bright);
}

.ope-route-card p {
  max-width: 21.25rem;
}

.ope-route-card > :last-child {
  margin-bottom: 0;
}

.ope-route-card__sub-link {
  display: inline-block;
  width: fit-content;
  margin-top: var(--space-3);
  color: var(--color-mist);
  font-size: var(--text-meta);
}

.ope-lounge {
  position: relative;
}

.ope-lounge__intro {
  max-width: 40rem;
}

.ope-lounge__intro > :last-child {
  margin-bottom: 0;
}

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

.ope-lounge__block {
  min-width: 0;
  max-width: 22.5rem;
  padding-top: var(--space-5);
  border-top: 1px solid rgb(243 239 230 / 44%);
}

.ope-lounge__block h3,
.ope-lounge__block p {
  color: var(--color-ivory);
}

.ope-lounge__block > :last-child {
  margin-bottom: 0;
}

.ope-lounge .ope-text-link {
  color: var(--color-ivory);
}

.ope-location__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}

.ope-location__content {
  grid-column: 2 / span 7;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  max-width: 45rem;
  padding-left: var(--space-5);
  border-left: var(--border-brass);
}

.ope-location__content > :is(h2, p, address) {
  margin: 0;
}

.ope-location__address {
  color: var(--color-ink-text);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.ope-location__content .button--secondary {
  border-color: var(--color-ink-text);
  color: var(--color-ink-text);
}

.ope-location__content .button--secondary:hover {
  border-color: var(--color-felt-bright);
  color: var(--color-felt);
}

.ope-location__note {
  max-width: 30rem;
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.ope-expectations__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}

.ope-expectations__content {
  grid-column: 3 / span 7;
  min-width: 0;
  max-width: 42.5rem;
}

.ope-expectations__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.ope-expectation {
  min-width: 0;
  padding-top: var(--space-5);
  border-top: 1px solid rgb(185 192 187 / 24%);
}

.ope-expectation > :last-child {
  margin-bottom: 0;
}

.ope-closing__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-5);
}

.ope-closing__content {
  grid-column: 3 / span 6;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
  max-width: 35rem;
}

.ope-closing__content > :is(h2, p, hr) {
  margin: 0;
}

.ope-closing__actions {
  align-items: center;
}

@media (max-width: 1023px) {
  .ope-atmosphere__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    align-items: stretch;
  }

  .ope-atmosphere__figure,
  .ope-atmosphere__copy {
    width: 100%;
    max-width: none;
  }

  .ope-atmosphere__copy {
    width: min(100%, 43.75rem);
    padding-bottom: 0;
  }
}

@media (max-width: 959px) {
  .ope-ritual__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .ope-ritual__figure,
  .ope-ritual__panel {
    width: 100%;
  }

  .ope-ritual__figure img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .ope-ritual__panel {
    padding: var(--space-6);
  }
}

@media (max-width: 899px) {
  .ope-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .ope-hero__media {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .ope-hero__media::after {
    background: linear-gradient(180deg, rgb(16 19 21 / 8%), rgb(16 19 21 / 32%));
  }

  .ope-hero__media img {
    object-position: 66% center;
  }

  .ope-hero__copy-wrap {
    display: block;
    min-height: 0;
    padding: 0;
    background: var(--color-charcoal);
  }

  .ope-hero__grid {
    display: block;
    width: min(100% - (var(--gutter) * 2), var(--container-max));
    margin-inline: auto;
  }

  .ope-hero__copy {
    width: 100%;
    max-width: none;
    padding-block: var(--space-7);
  }

  .ope-manifesto__intro,
  .ope-manifesto__list {
    grid-column: 2 / span 9;
  }

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

  .ope-rhythm__stages > :nth-child(3) {
    grid-column: 1 / -1;
  }

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

  .ope-routes__grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

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

  .ope-lounge__grid > :nth-child(3) {
    grid-column: 1 / -1;
    max-width: 45rem;
  }
}

@media (max-width: 759px) {
  .ope-hero__copy {
    padding-block: var(--space-6);
  }

  .ope-hero__actions,
  .ope-location__actions,
  .ope-closing__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ope-hero__actions > .button,
  .ope-location__actions > .button,
  .ope-closing__actions > .button {
    width: 100%;
  }

  .ope-manifesto__grid,
  .ope-location__grid,
  .ope-expectations__grid,
  .ope-closing__grid {
    display: block;
  }

  .ope-manifesto__intro,
  .ope-manifesto__list,
  .ope-location__content,
  .ope-expectations__content,
  .ope-closing__content {
    width: 100%;
    max-width: none;
  }

  .ope-manifesto__list {
    margin-top: var(--space-7);
    gap: var(--space-6);
  }

  .ope-manifesto__item {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .ope-ritual__panel {
    padding: var(--space-5);
  }

  .ope-rhythm__stages,
  .ope-routes__grid,
  .ope-lounge__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .ope-rhythm__stages > :nth-child(3),
  .ope-routes__grid > :nth-child(3),
  .ope-lounge__grid > :nth-child(3) {
    grid-column: auto;
  }

  .ope-rhythm__stages {
    margin-top: var(--space-6);
  }

  .ope-stage,
  .ope-route-card {
    padding: var(--space-5);
  }

  .ope-stage p,
  .ope-route-card p,
  .ope-lounge__block {
    max-width: none;
  }

  .ope-atmosphere__figure img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-position: 42% center;
  }

  .ope-atmosphere__copy {
    width: 100%;
  }

  .ope-lounge__grid {
    margin-top: var(--space-6);
  }

  .ope-lounge__block {
    padding-top: var(--space-4);
  }

  .ope-location__content {
    padding-left: var(--space-4);
  }

  .ope-location__address {
    font-size: clamp(1.875rem, 9vw, 2.25rem);
  }

  .ope-expectations__list {
    gap: var(--space-5);
  }

  .ope-closing__content {
    gap: var(--space-4);
  }

  .ope-closing__actions .ope-text-link {
    display: inline-block;
    width: fit-content;
    padding: var(--space-3) 0;
  }
}

@media (max-width: 419px) {
  .ope-route-card .ope-text-link,
  .ope-atmosphere__copy .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ope-atmosphere__figure .caption {
    transition: transform var(--transition-fast);
  }

  .ope-atmosphere__figure:hover .caption {
    transform: translateY(-2px);
  }
}
