.texas-holdem-page {
  background: var(--surface-base);
}

.texas-holdem-page .eyebrow {
  margin-block-end: var(--space-4);
}

.th-hero {
  padding-block: clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}

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

.th-hero__grid > * {
  min-width: 0;
  width: 100%;
}

.th-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 31.25rem;
}

.th-hero__copy > * {
  min-width: 0;
  margin: 0;
}

.th-hero__lead {
  color: var(--color-pearl-muted);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.th-hero__actions {
  width: 100%;
}

.th-hero__media {
  position: relative;
  min-height: clamp(35rem, 54vw, 46rem);
  margin: 0;
  border: var(--border-subtle);
}

.th-hero__media::before,
.th-scene__media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: rgba(22, 11, 18, 0.12);
}

.th-hero__media::after {
  position: absolute;
  inset-block: 0;
  left: 0;
  z-index: 2;
  width: clamp(1rem, 3vw, 2.5rem);
  content: "";
  background: var(--color-velvet-plum);
  box-shadow: inset -1px 0 rgba(244, 235, 221, 0.16);
}

.th-hero__media img {
  height: 100%;
  object-position: 50% 35%;
}

.th-hero__caption {
  position: absolute;
  right: var(--space-5);
  bottom: var(--space-5);
  left: auto;
  z-index: 3;
  width: min(100% - 4rem, 20rem);
  margin: 0;
  padding: var(--space-4);
  border-top: 1px solid rgba(244, 235, 221, 0.38);
  background: rgba(22, 11, 18, 0.82);
  color: var(--color-pearl-muted);
}

.th-hero__caption span {
  display: block;
  margin-block-end: var(--space-2);
  color: var(--color-pearl-cream);
  font-size: var(--text-utility);
  font-weight: 800;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.th-terms {
  padding-block-end: var(--space-6);
}

.th-threshold {
  position: relative;
  overflow: hidden;
}

.th-threshold::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(0px, calc((100vw - var(--container-max)) / 2));
  width: 0.75rem;
  content: "";
  background: var(--color-velvet-plum);
}

.th-threshold__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--space-8);
}

.th-threshold__grid > * {
  min-width: 0;
  width: 100%;
}

.th-threshold__intro {
  max-width: 27.5rem;
}

.th-threshold__stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-6);
  max-width: 40rem;
}

.th-threshold__unit {
  min-width: 0;
  padding-block-end: var(--space-6);
  border-bottom: var(--border-subtle);
}

.th-threshold__unit > :last-child {
  margin-block-end: 0;
}

.th-threshold__unit--marked {
  position: relative;
  padding-inline-start: var(--space-5);
}

.th-threshold__unit--marked::before {
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  content: "";
  background: var(--color-burnt-apricot);
  box-shadow: 0 0 18px rgba(232, 185, 130, 0.75);
}

.th-threshold__pull {
  margin-block-end: var(--space-3);
  color: var(--color-pearl-cream);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-style: italic;
  line-height: var(--leading-heading);
}

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

.th-scene__wrap > * {
  min-width: 0;
  width: 100%;
  margin: 0;
}

.th-scene__wrap > .eyebrow {
  width: auto;
}

.th-scene__media {
  position: relative;
  height: clamp(31rem, 48vw, 40rem);
}

.th-scene__media img {
  height: 100%;
  object-position: 50% 35%;
}

.th-scene__lower {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--space-8);
  align-items: start;
}

.th-scene__lower > * {
  min-width: 0;
  width: 100%;
}

.th-scene__copy {
  max-width: 37.5rem;
}

.th-scene__note {
  max-width: 20rem;
  justify-self: end;
  padding: var(--space-5);
  border: 1px solid rgba(244, 235, 221, 0.38);
  background: var(--surface-lounge);
}

.th-scene__note > :last-child {
  margin-block-end: 0;
}

.th-explainer__intro {
  max-width: 38.75rem;
}

.th-explainer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-7);
  margin-block-start: var(--space-8);
}

.th-explainer__grid > * {
  min-width: 0;
  width: 100%;
}

.th-explainer__item {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--space-4);
  min-width: 0;
  padding: var(--space-5) 0 0;
  border-top: var(--border-subtle);
}

.th-explainer__item > * {
  min-width: 0;
}

.th-explainer__item--plum {
  border-top-color: var(--color-burnt-apricot);
}

.th-explainer__number {
  color: rgba(244, 235, 221, 0.48);
  font-size: var(--text-utility);
  font-weight: 800;
  letter-spacing: var(--tracking-label);
  line-height: 1.5;
}

.th-explainer__item h3,
.th-explainer__item p {
  max-width: 32.5rem;
}

.th-explainer__item > div > :last-child {
  margin-block-end: 0;
}

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

.th-materials__grid > * {
  min-width: 0;
  width: 100%;
}

.th-materials__copy {
  grid-column: 2;
  grid-row: 1;
  max-width: 35rem;
}

.th-materials__lead {
  max-width: 35rem;
  color: var(--color-pearl-muted);
  font-size: var(--text-lead);
  line-height: var(--leading-lead);
}

.th-materials__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 26.875rem;
  margin-block-start: var(--space-6);
}

.th-materials__details article {
  min-width: 0;
  padding-block-start: var(--space-5);
  border-top: var(--border-subtle);
}

.th-materials__details article > :last-child {
  margin-block-end: 0;
}

.th-materials__label {
  display: block;
  margin-block-end: var(--space-2);
  color: var(--color-pearl-muted);
  font-size: var(--text-utility);
  font-weight: 800;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.th-materials__media {
  grid-column: 1;
  grid-row: 1;
  height: clamp(34rem, 52vw, 44rem);
  margin: 0;
}

.th-materials__media img {
  height: 100%;
  object-position: 50% 35%;
}

.th-rhythm__intro {
  max-width: 38.75rem;
}

.th-rhythm__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-block-start: var(--space-8);
  border: var(--border-subtle);
}

.th-rhythm__grid > * {
  min-width: 0;
  width: 100%;
}

.th-rhythm__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 21rem;
  padding: var(--space-6);
  border-right: var(--border-subtle);
}

.th-rhythm__item:last-child {
  border-right: 0;
}

.th-rhythm__item > * {
  min-width: 0;
}

.th-rhythm__item p {
  max-width: 21.25rem;
}

.th-rhythm__item p:last-of-type {
  margin-block-end: var(--space-5);
}

.th-rhythm__action {
  width: auto;
  margin-top: auto;
}

.th-pathways__intro {
  max-width: 37.5rem;
}

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

.th-pathways__grid > * {
  min-width: 0;
  width: 100%;
}

.th-pathways__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 19rem;
  padding: var(--space-6);
  border-top: var(--border-subtle);
  border-right: var(--border-subtle);
  border-bottom: var(--border-subtle);
  border-left: 0.4rem solid var(--color-velvet-plum);
  background: var(--surface-base);
}

.th-pathways__item > * {
  min-width: 0;
}

.th-pathways__item p {
  max-width: 20rem;
}

.th-pathways__link {
  margin-top: auto;
  color: var(--color-pearl-cream);
  font-size: var(--text-utility);
  font-weight: 800;
  letter-spacing: var(--tracking-label);
  text-decoration: none;
  text-transform: uppercase;
}

.th-pathways__link span {
  margin-inline-start: var(--space-2);
  color: var(--color-burnt-apricot);
  font-size: 1.1em;
}

.th-pathways__link:hover,
.th-pathways__link:focus-visible {
  color: var(--color-pearl-cream);
  text-decoration: underline;
  text-decoration-color: var(--color-burnt-apricot);
  text-decoration-thickness: 2px;
}

.th-closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.th-closing__grid {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 3fr);
  gap: var(--space-7);
  align-items: stretch;
}

.th-closing__grid > * {
  min-width: 0;
  width: 100%;
}

.th-closing__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 52.5rem;
}

.th-closing__content > * {
  min-width: 0;
  margin: 0;
}

.th-closing__content h2 {
  max-width: 52.5rem;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.th-closing__content p {
  max-width: 35rem;
}

.th-closing__field {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: var(--color-velvet-plum);
  box-shadow: inset 1px 0 rgba(244, 235, 221, 0.18);
}

.th-closing__field::before {
  position: absolute;
  top: 18%;
  right: 28%;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  content: "";
  background: var(--color-table-light);
  box-shadow: 0 0 40px 18px rgba(232, 185, 130, 0.3);
}

.th-closing__field span {
  position: absolute;
  inset-block: 0;
  left: 32%;
  width: 1px;
  background: rgba(244, 235, 221, 0.2);
}

@media (max-width: 1023px) {
  .th-hero__grid {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    gap: var(--space-6);
  }

  .th-hero__media {
    min-height: 35rem;
  }
}

@media (max-width: 980px) {
  .th-materials__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-7);
  }

  .th-materials__copy,
  .th-materials__media {
    grid-column: 1;
    grid-row: auto;
  }

  .th-materials__media {
    height: clamp(29rem, 70vw, 39rem);
  }
}

@media (max-width: 940px) {
  .th-explainer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  .th-threshold__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .th-threshold__intro {
    max-width: 31.25rem;
  }
}

@media (max-width: 900px) {
  .th-scene__lower,
  .th-pathways__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .th-scene__lower {
    gap: var(--space-6);
  }

  .th-scene__note {
    justify-self: start;
    max-width: 20rem;
  }

  .th-pathways__grid {
    gap: 0;
    border-top: var(--border-subtle);
  }

  .th-pathways__item {
    min-height: auto;
    border-top: 0;
    border-right: var(--border-subtle);
  }

  .th-pathways__item p {
    max-width: 32rem;
  }

  .th-pathways__link {
    margin-top: var(--space-3);
  }
}

@media (max-width: 880px) {
  .th-rhythm__grid {
    grid-template-columns: minmax(0, 1fr);
    border-inline: 0;
  }

  .th-rhythm__item {
    min-height: auto;
    padding-inline: 0;
    border-right: 0;
    border-bottom: var(--border-subtle);
  }

  .th-rhythm__item:first-child {
    border-top: var(--border-subtle);
  }

  .th-rhythm__item p {
    max-width: 37.5rem;
  }

  .th-rhythm__action {
    margin-top: 0;
  }
}

@media (max-width: 860px) {
  .th-closing__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .th-closing__field {
    display: none;
  }
}

@media (max-width: 767px) {
  .th-hero {
    padding-block: var(--section-space);
  }

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

  .th-hero__copy {
    max-width: none;
  }

  .th-hero__media {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .th-hero__caption {
    right: var(--space-4);
    bottom: var(--space-4);
    width: min(100% - 2rem, 20rem);
  }

  .th-threshold::before {
    left: 0;
  }

  .th-scene__media {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .th-scene__media img {
    object-position: 50% 35%;
  }

  .th-scene__lower {
    gap: var(--space-5);
  }

  .th-scene__note {
    max-width: none;
  }

  .th-explainer__grid {
    gap: var(--space-5);
    margin-block-start: var(--space-6);
  }

  .th-explainer__item {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: var(--space-3);
  }

  .th-materials__grid {
    gap: var(--space-6);
  }

  .th-materials__copy {
    max-width: none;
  }

  .th-materials__media {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .th-materials__details {
    max-width: none;
  }

  .th-rhythm__grid,
  .th-pathways__grid {
    margin-block-start: var(--space-6);
  }

  .th-rhythm__item {
    padding-block: var(--space-5);
  }

  .th-pathways__item {
    padding: var(--space-5);
  }

  .th-closing__content h2 {
    font-size: clamp(2.5rem, 13vw, 3.25rem);
  }
}

@media (max-width: 420px) {
  .th-hero__actions,
  .th-closing__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .th-hero__actions .button,
  .th-closing__actions .button {
    width: 100%;
  }
}
