.ceges-page {
  background: var(--surface-page);
}

.ceges-page .section {
  padding-block: clamp(6rem, 10vw, 10rem);
}

.ceges-page .eyebrow {
  margin-bottom: var(--space-3);
}

.ceges-page .ceges-number,
.ceges-page .ceges-label,
.ceges-page .ceges-materials,
.ceges-page .ceges-stage__meta,
.ceges-page .ceges-stage__number,
.ceges-page .ceges-format__meta,
.ceges-page .ceges-hero__meta {
  margin: 0;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  line-height: var(--leading-label);
  text-transform: uppercase;
}

.ceges-page .ceges-number,
.ceges-page .ceges-stage__number {
  color: var(--color-warm-brass);
}

.ceges-page .ceges-label,
.ceges-page .ceges-materials,
.ceges-page .ceges-stage__meta,
.ceges-page .ceges-hero__meta {
  color: var(--color-muted-ink);
}

.ceges-page .ceges-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: inherit;
  font-size: var(--text-utility);
  font-weight: 700;
  line-height: var(--leading-utility);
  text-decoration-color: var(--color-warm-brass);
}

.ceges-page .ceges-text-link:hover {
  color: var(--color-dusty-coral);
}

.ceges-hero {
  padding-block: clamp(4rem, 8vw, 8rem) clamp(6rem, 10vw, 10rem);
}

.ceges-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.ceges-hero__copy,
.ceges-hero__media {
  min-width: 0;
  width: 100%;
}

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

.ceges-hero__copy h1,
.ceges-hero__copy p,
.ceges-hero__lead {
  margin: 0;
}

.ceges-hero__copy h1 {
  max-width: 13ch;
  font-size: clamp(3.7rem, 6.2vw, 4.5rem);
}

.ceges-hero__lead {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 37rem;
}

.ceges-hero__lead p {
  max-width: 100%;
}

.ceges-hero__actions {
  width: 100%;
}

.ceges-hero__media {
  aspect-ratio: 3 / 2;
}

.ceges-hero__media img {
  object-position: 54% center;
}

.ceges-occasions__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: var(--space-8);
}

.ceges-occasions__intro,
.ceges-occasions__panels {
  min-width: 0;
  width: 100%;
}

.ceges-occasions__intro {
  max-width: 26rem;
}

.ceges-occasions__panels {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: var(--space-4);
}

.ceges-occasion {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  border-top: 1px solid var(--color-warm-brass);
  padding: var(--space-5);
  background: rgba(231, 222, 208, 0.55);
}

.ceges-occasion > * {
  margin: 0;
}

.ceges-occasion h3 {
  font-size: var(--text-card-title);
}

.ceges-occasion p:not(.ceges-number):not(.ceges-label) {
  max-width: 100%;
}

.ceges-occasion--wide {
  min-width: 0;
}

.ceges-occasion--accent {
  border-bottom: 2px solid var(--color-deep-cobalt);
  background: var(--color-cream-limestone);
}

.ceges-space__heading {
  width: min(100%, 36rem);
  margin-bottom: var(--space-7);
}

.ceges-space__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  justify-content: space-between;
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.ceges-space__copy,
.ceges-space__media {
  min-width: 0;
  width: 100%;
}

.ceges-space__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.ceges-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  border-top: 1px solid var(--color-warm-brass);
  padding-top: var(--space-5);
}

.ceges-detail > * {
  margin: 0;
}

.ceges-detail h3 {
  font-size: clamp(1.65rem, 2.2vw, 2rem);
}

.ceges-detail p:not(.ceges-number):not(.ceges-materials) {
  max-width: 29rem;
}

.ceges-space__media {
  aspect-ratio: 4 / 5;
}

.ceges-space__media img {
  object-position: center center;
}

.ceges-arc {
  background: var(--color-cream-limestone);
}

.ceges-arc__heading {
  width: min(100%, 34rem);
  margin-bottom: var(--space-7);
}

.ceges-arc__stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-warm-brass);
}

.ceges-stage {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  min-height: 100%;
  border-right: 1px solid var(--color-border);
  padding: var(--space-5);
}

.ceges-stage:last-child {
  border-right: 0;
}

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

.ceges-stage h3 {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.ceges-stage p:not(.ceges-stage__number):not(.ceges-stage__meta) {
  max-width: 14rem;
}

.ceges-stage--coral {
  background: rgba(201, 120, 107, 0.16);
}

.ceges-stage--cobalt {
  border-bottom: 3px solid var(--color-deep-cobalt);
}

.ceges-poker {
  background: var(--color-deep-cobalt);
  color: var(--color-white);
}

.ceges-poker__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.ceges-poker__media,
.ceges-poker__copy {
  min-width: 0;
  width: 100%;
}

.ceges-poker__media {
  aspect-ratio: 4 / 5;
}

.ceges-poker__media img {
  object-position: center center;
}

.ceges-poker__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
}

.ceges-poker__copy h2,
.ceges-poker__copy > p {
  margin: 0;
}

.ceges-poker__copy h2 {
  width: min(100%, 32rem);
  font-size: clamp(2.5rem, 4.4vw, 3rem);
}

.ceges-poker__unit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  min-width: 0;
  width: 100%;
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-5);
}

.ceges-poker__unit > * {
  margin: 0;
}

.ceges-poker__unit h3 {
  font-size: var(--text-card-title);
}

.ceges-poker__unit p {
  max-width: 34rem;
}

.ceges-button--light {
  border-color: var(--color-white);
  background: transparent;
  color: var(--color-white);
}

.ceges-button--light:hover {
  border-color: var(--color-white);
  background: var(--color-white);
  color: var(--color-deep-cobalt);
}

.ceges-formats__heading {
  width: min(100%, 35rem);
  margin-bottom: var(--space-7);
}

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

.ceges-format {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: clamp(1.5rem, 3vw, 3rem);
}

.ceges-format > * {
  margin: 0;
}

.ceges-format h3 {
  max-width: 26rem;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.ceges-format p:not(.ceges-label):not(.ceges-format__meta) {
  max-width: 39rem;
}

.ceges-format--lounge {
  background: var(--color-deep-cobalt);
  color: var(--color-white);
}

.ceges-format--lounge .ceges-label,
.ceges-format--lounge .ceges-format__meta {
  color: var(--color-warm-brass);
}

.ceges-format--cardroom {
  border: 1px solid var(--color-warm-brass);
  background: var(--color-cream-limestone);
}

.ceges-process {
  background: linear-gradient(180deg, rgba(231, 222, 208, 0.55), rgba(245, 240, 231, 0));
}

.ceges-process__heading {
  width: min(100%, 27rem);
  margin-bottom: var(--space-7);
}

.ceges-process__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.ceges-process__step {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  border-top: 1px solid var(--color-warm-brass);
  padding: var(--space-5);
  background: var(--color-willow-cream);
}

.ceges-process__step > * {
  margin: 0;
}

.ceges-process__step h3 {
  font-size: var(--text-card-title);
}

.ceges-process__step p:not(.ceges-number) {
  max-width: 22rem;
}

.ceges-process__step--limestone {
  background: var(--color-cream-limestone);
}

.ceges-process__step--cobalt {
  background: var(--color-deep-cobalt);
  color: var(--color-white);
}

.ceges-process__step--cobalt .ceges-text-link {
  color: var(--color-white);
}

.ceges-related__heading {
  width: min(100%, 35rem);
  margin-bottom: var(--space-7);
}

.ceges-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: var(--space-5);
}

.ceges-related__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-5);
}

.ceges-related__image {
  display: block;
  width: 100%;
}

.ceges-related__item:nth-child(1) .ceges-related__image {
  aspect-ratio: 4 / 5;
}

.ceges-related__item:nth-child(2) .ceges-related__image {
  aspect-ratio: 1 / 1;
}

.ceges-related__item:nth-child(3) .ceges-related__image {
  aspect-ratio: 3 / 2;
}

.ceges-related__caption {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.ceges-related__caption > * {
  margin: 0;
}

.ceges-related__caption h3 {
  font-size: var(--text-card-title);
}

.ceges-related__caption p:not(.ceges-label) {
  max-width: 100%;
}

.ceges-related__item--poker .ceges-related__caption {
  border-left: 2px solid var(--color-deep-cobalt);
  padding-left: var(--space-4);
}

.ceges-related__links {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  width: 100%;
}

.ceges-faq {
  background: var(--color-cream-limestone);
}

.ceges-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  justify-content: space-between;
  align-items: start;
  gap: var(--space-8);
}

.ceges-faq__heading,
.ceges-faq__list {
  min-width: 0;
  width: 100%;
}

.ceges-faq__heading {
  max-width: 25rem;
}

.ceges-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ceges-faq__item {
  min-width: 0;
  border-top: 1px solid var(--color-warm-brass);
}

.ceges-faq__item:last-child {
  border-bottom: 1px solid var(--color-warm-brass);
}

.ceges-faq__item h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: var(--leading-body);
}

.ceges-faq__button {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border: 0;
  border-radius: 0;
  padding: var(--space-4) 0;
  background: transparent;
  color: var(--color-ink);
  text-align: left;
}

.ceges-faq__button:hover {
  background: transparent;
  color: var(--color-dusty-coral);
}

.ceges-faq__symbol {
  flex: 0 0 1.5rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.ceges-faq__answer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  overflow: hidden;
  padding-bottom: var(--space-5);
}

.ceges-faq__answer > * {
  margin: 0;
}

.ceges-faq__answer p {
  max-width: 42rem;
}

.ceges-faq__answer[hidden] {
  display: none;
}

.ceges-final {
  position: relative;
  overflow: hidden;
  background: var(--color-deep-cobalt);
  color: var(--color-white);
}

.ceges-final::after {
  position: absolute;
  inset: auto -5% -22% auto;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(182, 138, 74, 0.35);
  border-radius: 48% 52% 42% 58%;
  content: "";
  transform: rotate(-24deg);
}

.ceges-final__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  min-height: 28rem;
}

.ceges-final__copy,
.ceges-final__texture {
  min-width: 0;
  width: 100%;
}

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

.ceges-final__copy > * {
  margin: 0;
}

.ceges-final__copy h2 {
  max-width: 35rem;
  font-size: clamp(2.7rem, 4.7vw, 4rem);
}

.ceges-final__copy .text-lead {
  max-width: 37rem;
}

.ceges-final__actions {
  width: 100%;
}

.ceges-final__gallery {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--color-white);
  font-size: var(--text-utility);
  font-weight: 700;
}

.ceges-final__gallery:hover {
  color: var(--color-willow-cream);
}

.ceges-final__texture {
  min-height: 14rem;
  background:
    radial-gradient(circle at 38% 44%, rgba(182, 138, 74, 0.42) 0 1px, transparent 2px),
    radial-gradient(ellipse at 62% 48%, rgba(73, 100, 87, 0.56) 0 20%, transparent 21%),
    radial-gradient(ellipse at 47% 66%, rgba(73, 100, 87, 0.48) 0 15%, transparent 16%);
}

@media (max-width: 64rem) {
  .ceges-page .section {
    padding-block: clamp(5rem, 9vw, 7rem);
  }

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

  .ceges-hero__copy h1 {
    font-size: clamp(3.25rem, 6vw, 4rem);
  }

  .ceges-occasions__grid,
  .ceges-faq__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .ceges-occasions__intro,
  .ceges-faq__heading {
    max-width: 34rem;
  }

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

  .ceges-space__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .ceges-space__media {
    order: -1;
    aspect-ratio: 16 / 9;
  }

  .ceges-space__copy {
    width: min(100%, 48rem);
  }

  .ceges-arc__stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    border-top: 0;
  }

  .ceges-stage {
    border-top: 1px solid var(--color-warm-brass);
    border-right: 0;
  }

  .ceges-stage p:not(.ceges-stage__number):not(.ceges-stage__meta) {
    max-width: 24rem;
  }

  .ceges-poker__grid {
    grid-template-columns: 1fr;
  }

  .ceges-poker__media {
    aspect-ratio: 16 / 9;
  }

  .ceges-poker__copy {
    width: min(100%, 48rem);
  }

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

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

  .ceges-process__step:nth-child(3) {
    grid-column: 1 / -1;
  }

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

  .ceges-related__item--wide {
    grid-column: 1 / -1;
  }

  .ceges-related__item--wide .ceges-related__image {
    aspect-ratio: 3 / 2;
  }

  .ceges-final__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ceges-final__texture {
    display: none;
  }
}

@media (max-width: 48rem) {
  .ceges-hero {
    padding-top: var(--space-6);
  }

  .ceges-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-inline: 0;
  }

  .ceges-hero__media {
    order: -1;
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  .ceges-hero__copy {
    padding-inline: var(--container-padding);
  }

  .ceges-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 12vw, 3rem);
    line-height: 1;
  }

  .ceges-hero__lead {
    max-width: 100%;
  }

  .ceges-hero__actions .button {
    width: 100%;
  }

  .ceges-occasions__panels,
  .ceges-arc__stages,
  .ceges-formats__grid,
  .ceges-process__steps,
  .ceges-related__grid {
    grid-template-columns: 1fr;
  }

  .ceges-occasion,
  .ceges-format,
  .ceges-process__step {
    padding: var(--space-5);
  }

  .ceges-space__heading {
    margin-bottom: var(--space-5);
  }

  .ceges-space__grid {
    gap: var(--space-5);
  }

  .ceges-space__media {
    width: calc(100% + (var(--container-padding) * 2));
    margin-left: calc(var(--container-padding) * -1);
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  .ceges-space__copy {
    width: 100%;
  }

  .ceges-detail p:not(.ceges-number):not(.ceges-materials) {
    max-width: 100%;
  }

  .ceges-arc__stages {
    position: relative;
    gap: 0;
    border-left: 1px solid var(--color-warm-brass);
  }

  .ceges-stage {
    position: relative;
    padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  }

  .ceges-stage::before {
    position: absolute;
    top: 1.8rem;
    left: -0.34rem;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: var(--color-warm-brass);
    content: "";
  }

  .ceges-stage p:not(.ceges-stage__number):not(.ceges-stage__meta) {
    max-width: 100%;
  }

  .ceges-poker__grid {
    padding-inline: 0;
    gap: 0;
  }

  .ceges-poker__media {
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  .ceges-poker__copy {
    width: 100%;
    padding: var(--space-6) var(--container-padding) 0;
  }

  .ceges-poker__copy h2 {
    width: 100%;
    font-size: clamp(2.5rem, 11vw, 2.75rem);
  }

  .ceges-poker__unit p {
    max-width: 100%;
  }

  .ceges-poker__actions .button {
    width: 100%;
  }

  .ceges-process__step:nth-child(3),
  .ceges-related__item--wide {
    grid-column: auto;
  }

  .ceges-process__steps {
    position: relative;
    gap: var(--space-4);
  }

  .ceges-process__steps::before {
    position: absolute;
    top: var(--space-5);
    bottom: var(--space-5);
    left: 0;
    width: 1px;
    background: var(--color-warm-brass);
    content: "";
  }

  .ceges-process__step {
    margin-left: var(--space-3);
  }

  .ceges-related__item {
    gap: var(--space-4);
  }

  .ceges-related__image,
  .ceges-related__item:nth-child(1) .ceges-related__image,
  .ceges-related__item:nth-child(2) .ceges-related__image,
  .ceges-related__item:nth-child(3) .ceges-related__image {
    width: calc(100% + (var(--container-padding) * 2));
    margin-left: calc(var(--container-padding) * -1);
    border-radius: 0;
  }

  .ceges-related__item:nth-child(1) .ceges-related__image,
  .ceges-related__item:nth-child(2) .ceges-related__image {
    aspect-ratio: 4 / 5;
  }

  .ceges-related__item:nth-child(3) .ceges-related__image {
    aspect-ratio: 3 / 2;
  }

  .ceges-faq__grid {
    gap: var(--space-5);
  }

  .ceges-faq__answer p {
    max-width: 100%;
  }

  .ceges-final__copy h2 {
    font-size: clamp(2.5rem, 11vw, 2.75rem);
  }

  .ceges-final__actions .button {
    width: 100%;
  }
}
