.events-gallery-page {
  position: relative;
  overflow: clip;
  background: var(--color-paper);
}

.events-gallery-page::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgb(29 33 30 / 3%) 0.55px, transparent 0.7px);
  background-size: 7px 7px;
  content: "";
  opacity: 0.22;
}

.events-gallery-page > * {
  position: relative;
  z-index: 1;
}

.eg-hero {
  position: relative;
  padding-block: var(--space-9);
  background: var(--color-paper);
  color: var(--color-ink);
}

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

.eg-hero__media {
  grid-column: 3;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-brass);
  box-shadow: var(--shadow-soft);
}

.eg-hero__media img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.92) contrast(1.04);
  transition: filter var(--duration-base) var(--ease-out);
}

.eg-hero__panel {
  grid-column: 1;
  z-index: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

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

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

.eg-hero__copy h1 {
  max-width: 12ch;
  font-size: clamp(3.35rem, 5.2vw, 4.75rem);
}

.eg-hero__copy > p:not(.note) {
  max-width: 35rem;
  font-size: var(--text-md);
}

.eg-hero__copy .note {
  align-self: flex-start;
}

@media (hover: hover) and (pointer: fine) {
  .eg-hero__media:hover img {
    filter: saturate(0.96) brightness(1.05) contrast(1.04);
  }
}

.eg-formats__intro,
.eg-rhythm__intro,
.eg-occasions__intro,
.eg-guidance__intro,
.eg-further__intro {
  width: 100%;
  min-width: 0;
}

.eg-formats__intro {
  max-width: 38rem;
  margin-bottom: var(--space-7);
}

.eg-formats__intro p:last-child {
  max-width: 37rem;
}

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

.eg-format-card {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-border-soft);
  background: var(--color-paper);
}

.eg-format-card--poker {
  grid-column: 1 / 4;
}

.eg-format-card--theme {
  grid-column: 4 / 7;
  background: var(--color-paper-shadow);
}

.eg-format-card--friends {
  grid-column: 7 / 13;
}

.eg-format-card--private {
  grid-column: 4 / 10;
  border-color: var(--color-border-brass);
  background: var(--color-juniper);
  color: var(--color-light);
}

.eg-format-card__number,
.eg-guidance-card__number {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--color-brass);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  line-height: 1;
}

.eg-format-card__content {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.eg-format-card__content h3,
.eg-format-card__content p {
  margin: 0;
}

.eg-format-card__content h3 {
  font-size: clamp(1.8rem, 2.3vw, 2.35rem);
}

.eg-format-card__content > p:not(.note) {
  max-width: 30rem;
}

.eg-format-card--friends .eg-format-card__content > p:not(.note),
.eg-format-card--private .eg-format-card__content > p:not(.note) {
  max-width: 36rem;
}

.eg-text-link {
  display: inline;
  min-width: 0;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(currentcolor, currentcolor);
  background-repeat: no-repeat;
  background-position: left calc(100% - 0.06em);
  background-size: 100% 1px;
  transition: background-size var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out);
}

.eg-text-link:hover {
  background-size: 100% 2px;
}

.eg-format-card--private .eyebrow,
.eg-format-card--private .note {
  color: var(--color-paper-shadow);
}

.eg-rhythm__intro {
  max-width: 39rem;
  margin-bottom: var(--space-7);
}

.eg-rhythm__intro p:last-child {
  max-width: 38rem;
}

.eg-rhythm__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.eg-rhythm-step {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  gap: var(--space-4);
}

.eg-rhythm-step--one,
.eg-rhythm-step--two,
.eg-rhythm-step--three {
  grid-column: 1 / 7;
}

.eg-rhythm-step--four {
  grid-column: 1 / 7;
}

.eg-rhythm-step__number {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--color-wine);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 600;
  line-height: 0.9;
}

.eg-rhythm-step__copy {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.eg-rhythm-step__copy h3,
.eg-rhythm-step__copy p {
  margin: 0;
}

.eg-rhythm-step__copy h3 {
  font-size: clamp(1.75rem, 2.3vw, 2.3rem);
}

.eg-rhythm-step__copy > p:not(.note) {
  max-width: 31rem;
}

.eg-rhythm-step__links {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.eg-rhythm__media {
  grid-column: 8 / 13;
  grid-row: 1 / span 3;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.eg-rhythm__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--color-border-brass);
  filter: saturate(0.92) contrast(1.04);
}

.eg-rhythm__media figcaption {
  max-width: 28rem;
}

.eg-occasions__intro {
  max-width: 40rem;
  margin-bottom: var(--space-7);
}

.eg-occasions__intro p:last-child {
  max-width: 37rem;
}

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

.eg-occasion-panel {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--color-border-brass);
}

.eg-occasion-panel h3,
.eg-occasion-panel p,
.eg-occasion-panel blockquote {
  margin: 0;
}

.eg-occasion-panel h3 {
  font-size: clamp(1.85rem, 2.5vw, 2.45rem);
}

.eg-occasion-panel > p:not(.note) {
  max-width: 30rem;
}

.eg-occasion-panel--friends {
  grid-column: 1 / 5;
  background: var(--color-paper);
}

.eg-occasion-panel--collective {
  grid-column: 5 / 9;
  margin-top: var(--space-7);
  background: var(--color-juniper);
  color: var(--color-light);
}

.eg-occasion-panel--theme {
  grid-column: 9 / 13;
  background: var(--color-paper-shadow);
}

.eg-occasion-panel blockquote {
  padding-top: var(--space-4);
  padding-bottom: var(--space-2);
}

.eg-occasion-panel blockquote p {
  font-size: var(--text-lg);
}

.eg-gallery-intro {
  padding-bottom: var(--space-7);
}

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

.eg-gallery-intro__copy {
  grid-column: 1 / 7;
  width: 100%;
  min-width: 0;
}

.eg-gallery-intro__copy > p:last-child {
  max-width: 36rem;
}

.eg-gallery-intro__note {
  grid-column: 10 / 13;
  align-self: end;
  width: 100%;
  min-width: 0;
  margin: 0 0 var(--space-5);
}

.eg-gallery-filters {
  grid-column: 1 / 13;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border-brass);
}

.eg-gallery-filter {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-ink);
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
}

.eg-gallery-filter[aria-pressed="true"] {
  border-color: var(--color-juniper);
  background: var(--color-juniper);
  color: var(--color-light);
  box-shadow: inset 0 -2px 0 var(--color-brass);
}

.eg-gallery-filter:hover {
  border-color: var(--color-juniper);
  background: var(--color-paper-shadow);
}

.eg-gallery-filter[aria-pressed="true"]:hover {
  background: var(--color-smoked-glass);
}

.eg-gallery-status {
  grid-column: 1 / 13;
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--color-sage);
  font-size: var(--text-xs);
}

.eg-gallery {
  padding-bottom: var(--section-space);
}

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

.eg-gallery-item {
  width: 100%;
  min-width: 0;
  margin: 0;
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.eg-gallery-item--restaurant { grid-column: 1 / 8; }
.eg-gallery-item--tables { grid-column: 8 / 13; }
.eg-gallery-item--cuisine { grid-column: 1 / 4; }
.eg-gallery-item--bar { grid-column: 4 / 8; }
.eg-gallery-item--details { grid-column: 8 / 13; }
.eg-gallery-item--poker { grid-column: 1 / 8; }
.eg-gallery-item--soirees { grid-column: 8 / 13; margin-top: calc(var(--space-5) * -0.5); }

.eg-gallery-trigger {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-brass);
  background: var(--color-smoked-glass);
}

.eg-gallery-trigger img {
  width: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transition: filter var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}

.eg-gallery-item--restaurant img,
.eg-gallery-item--poker img { aspect-ratio: 3 / 2; }
.eg-gallery-item--tables img,
.eg-gallery-item--soirees img { aspect-ratio: 4 / 5; }
.eg-gallery-item--cuisine img { aspect-ratio: 1 / 1; }
.eg-gallery-item--bar img { aspect-ratio: 3 / 4; }
.eg-gallery-item--details img { aspect-ratio: 5 / 3; }

.eg-gallery-item--restaurant img { object-position: center center; }
.eg-gallery-item--tables img { object-position: center center; }
.eg-gallery-item--cuisine img { object-position: center center; }
.eg-gallery-item--bar img { object-position: center center; }
.eg-gallery-item--details img { object-position: center center; }
.eg-gallery-item--poker img { object-position: center center; }
.eg-gallery-item--soirees img { object-position: center center; }

.eg-gallery-item figcaption {
  max-width: 28rem;
  margin-bottom: 0;
}

.eg-gallery-item figcaption strong {
  color: var(--color-juniper);
  font-family: var(--font-heading);
  font-size: var(--text-md);
}

@media (hover: hover) and (pointer: fine) {
  .eg-gallery-trigger:hover img {
    filter: saturate(0.97) brightness(1.06) contrast(1.05);
    transform: scale(1.015);
  }
}

.eg-manifesto__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: var(--space-6);
}

.eg-manifesto__panel {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  padding: clamp(var(--space-6), 5vw, var(--space-8));
  border: 1px solid var(--color-border-brass);
}

.eg-manifesto__panel h2,
.eg-manifesto__panel h3,
.eg-manifesto__panel p,
.eg-manifesto__panel blockquote {
  margin: 0;
}

.eg-manifesto__panel--paper {
  grid-column: 1 / 7;
  background: var(--color-paper);
}

.eg-manifesto__panel--juniper {
  grid-column: 7 / 13;
  margin-top: var(--space-6);
  background: var(--color-juniper);
  color: var(--color-light);
}

.eg-manifesto__panel h2,
.eg-manifesto__panel h3 {
  max-width: 17ch;
}

.eg-manifesto__panel h3 {
  font-size: clamp(2.1rem, 3vw, 3rem);
}

.eg-manifesto__panel > p:not(.eyebrow):not(.eg-manifesto__responsible) {
  max-width: 35rem;
}

.eg-manifesto__panel blockquote {
  max-width: 31rem;
}

.eg-manifesto__responsible {
  width: 100%;
  min-width: 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgb(168 132 79 / 60%);
  color: var(--color-paper-shadow);
  font-size: var(--text-xs);
}

.eg-guidance__intro {
  max-width: 38rem;
  margin-bottom: var(--space-7);
}

.eg-guidance__intro p:last-child {
  max-width: 35rem;
}

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

.eg-guidance-card {
  display: grid;
  grid-column: span 4;
  width: 100%;
  min-width: 0;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-border-soft);
  background: var(--color-paper);
}

.eg-guidance-card__copy {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.eg-guidance-card__copy h3,
.eg-guidance-card__copy p {
  margin: 0;
}

.eg-guidance-card__copy h3 {
  font-size: clamp(1.7rem, 2.25vw, 2.15rem);
}

.eg-guidance-card__copy > p {
  max-width: 29rem;
}

.eg-guidance-card--dark {
  border-color: var(--color-border-brass);
  background: var(--color-juniper);
  color: var(--color-light);
}

.eg-guidance-card--dark a {
  color: var(--color-light);
}

.eg-further__intro {
  max-width: 42rem;
  margin-bottom: var(--space-7);
}

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

.eg-further-card {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 19rem;
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  gap: var(--space-4);
  padding: var(--space-6);
  border: 1px solid var(--color-border-brass);
  color: var(--color-ink);
  text-decoration: none;
}

.eg-further-card--paper { grid-column: 1 / 5; background: var(--color-paper); }
.eg-further-card--juniper { grid-column: 5 / 9; background: var(--color-juniper); color: var(--color-light); }
.eg-further-card--shadow { grid-column: 9 / 13; background: var(--color-paper-shadow); }

.eg-further-card__number {
  width: 100%;
  min-width: 0;
  color: var(--color-brass);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-meta);
}

.eg-further-card__title {
  max-width: 17ch;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: var(--leading-tight);
}

.eg-further-card__text {
  max-width: 29rem;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.eg-further-card__arrow {
  width: 100%;
  min-width: 0;
  color: var(--color-wine);
  font-size: var(--text-xl);
  line-height: 1;
  text-align: right;
  transition: transform var(--duration-base) var(--ease-out);
}

.eg-further-card--juniper .eg-further-card__arrow {
  color: var(--color-paper-shadow);
}

.eg-further-card:hover .eg-further-card__arrow {
  transform: translateX(8px);
}

.eg-closing {
  padding-block: var(--space-9);
}

.eg-closing__content {
  display: flex;
  width: min(100%, 34rem);
  min-width: 0;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.eg-closing__content h2,
.eg-closing__content p {
  margin: 0;
}

.eg-closing__content h2 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5vw, 3.5rem);
}

.eg-closing__content > p:not(.eyebrow) {
  max-width: 34rem;
  font-size: var(--text-md);
}

.eg-lightbox {
  position: fixed;
  z-index: 900;
  inset: 0;
  display: grid;
  place-items: center;
  padding: var(--space-5);
}

.eg-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(29 33 30 / 85%);
}

.eg-lightbox__dialog {
  position: relative;
  display: grid;
  width: min(100%, 68rem);
  max-height: calc(100vh - (var(--space-5) * 2));
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: auto;
  border: 1px solid var(--color-border-brass);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

.eg-lightbox__tools,
.eg-lightbox__nav {
  display: flex;
  width: 100%;
  min-width: 0;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3);
}

.eg-lightbox__tools {
  justify-content: flex-end;
}

.eg-lightbox__close,
.eg-lightbox__button {
  min-width: 0;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-juniper);
  background: transparent;
  color: var(--color-juniper);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.eg-lightbox__close:hover,
.eg-lightbox__button:hover {
  background: var(--color-juniper);
  color: var(--color-light);
}

.eg-lightbox__media-wrap {
  width: 100%;
  min-width: 0;
  background: var(--color-smoked-glass);
}

.eg-lightbox__image {
  width: 100%;
  max-height: min(62vh, 44rem);
  object-fit: contain;
}

.eg-lightbox__content {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-5) var(--space-6);
}

.eg-lightbox__content h2,
.eg-lightbox__content p {
  margin: 0;
}

.eg-lightbox__content h2 {
  font-size: var(--text-2xl);
}

.eg-lightbox__content > p:last-child {
  max-width: 42rem;
}

@media (max-width: 75rem) {
  .eg-hero__grid,
  .eg-formats__grid,
  .eg-rhythm__grid,
  .eg-occasions__grid,
  .eg-gallery-intro__grid,
  .eg-gallery__grid,
  .eg-manifesto__grid,
  .eg-guidance__grid,
  .eg-further__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .eg-hero__media { grid-column: 5 / 9; }
  .eg-hero__panel { grid-column: 1 / 5; margin: 0; }

  .eg-format-card--poker { grid-column: 1 / 5; }
  .eg-format-card--theme { grid-column: 5 / 9; }
  .eg-format-card--friends { grid-column: 1 / 5; }
  .eg-format-card--private { grid-column: 1 / 9; }

  .eg-rhythm-step--one,
  .eg-rhythm-step--two,
  .eg-rhythm-step--three,
  .eg-rhythm-step--four { grid-column: 1 / 6; }
  .eg-rhythm__media { grid-column: 6 / 9; }

  .eg-occasion-panel--friends { grid-column: 1 / 5; }
  .eg-occasion-panel--collective { grid-column: 5 / 9; margin-top: 0; }
  .eg-occasion-panel--theme { grid-column: 1 / 9; }

  .eg-gallery-intro__copy { grid-column: 1 / 6; }
  .eg-gallery-intro__note { grid-column: 6 / 9; }
  .eg-gallery-filters, .eg-gallery-status { grid-column: 1 / 9; }

  .eg-gallery-item--restaurant { grid-column: 1 / 5; }
  .eg-gallery-item--tables { grid-column: 5 / 9; }
  .eg-gallery-item--cuisine { grid-column: 1 / 5; }
  .eg-gallery-item--bar { grid-column: 5 / 9; }
  .eg-gallery-item--details { grid-column: 1 / 9; }
  .eg-gallery-item--poker { grid-column: 1 / 5; }
  .eg-gallery-item--soirees { grid-column: 5 / 9; margin-top: 0; }

  .eg-manifesto__panel--paper { grid-column: 1 / 9; }
  .eg-manifesto__panel--juniper { grid-column: 1 / 9; margin-top: 0; }

  .eg-guidance-card { grid-column: span 4; }
  .eg-guidance-card--dark { grid-column: 1 / 9; }

  .eg-further-card--paper { grid-column: 1 / 5; }
  .eg-further-card--juniper { grid-column: 5 / 9; }
  .eg-further-card--shadow { grid-column: 1 / 9; }
}

@media (max-width: 68.75rem) {
  .eg-rhythm__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .eg-rhythm-step--one,
  .eg-rhythm-step--two,
  .eg-rhythm-step--three,
  .eg-rhythm-step--four { grid-column: 1 / 6; }
  .eg-rhythm__media { grid-column: 1 / 9; grid-row: auto; }
  .eg-rhythm-step--three { grid-row: 4; }
  .eg-rhythm-step--four { grid-row: 5; }
}

@media (max-width: 64rem) {
  .eg-occasion-panel--collective { margin-top: 0; }
  .eg-guidance-card { grid-column: span 4; }
  .eg-guidance-card--dark { grid-column: 1 / 9; }
}

@media (max-width: 60rem) {
  .eg-further-card--paper { grid-column: 1 / 5; }
  .eg-further-card--juniper { grid-column: 5 / 9; }
  .eg-further-card--shadow { grid-column: 1 / 9; }
}

@media (max-width: 48rem) {
  .eg-hero {
    padding-block: var(--space-6) var(--space-8);
  }

  .eg-hero__grid,
  .eg-formats__grid,
  .eg-rhythm__grid,
  .eg-occasions__grid,
  .eg-gallery-intro__grid,
  .eg-gallery__grid,
  .eg-manifesto__grid,
  .eg-guidance__grid,
  .eg-further__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .eg-hero__media {
    grid-column: 1 / 5;
    grid-row: 1;
  }

  .eg-hero__panel {
    grid-column: 1 / 5;
    grid-row: 2;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .eg-hero__copy {
    gap: var(--space-4);
  }

  .eg-hero__copy h1 {
    max-width: 14ch;
    font-size: clamp(2.4rem, 11vw, 2.65rem);
  }

  .eg-hero__copy > p:not(.note) {
    max-width: none;
    font-size: 1.0625rem;
  }

  .eg-hero__copy .note { align-self: flex-start; }

  .eg-formats__intro,
  .eg-rhythm__intro,
  .eg-occasions__intro,
  .eg-guidance__intro,
  .eg-further__intro {
    margin-bottom: var(--space-6);
  }

  .eg-format-card,
  .eg-guidance-card {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: var(--space-3);
    padding: var(--space-5);
  }

  .eg-format-card--poker,
  .eg-format-card--theme,
  .eg-format-card--friends,
  .eg-format-card--private {
    grid-column: 1 / 5;
  }

  .eg-format-card__content > p:not(.note),
  .eg-format-card--friends .eg-format-card__content > p:not(.note),
  .eg-format-card--private .eg-format-card__content > p:not(.note) {
    max-width: none;
  }

  .eg-rhythm-step--one,
  .eg-rhythm-step--two,
  .eg-rhythm-step--three,
  .eg-rhythm-step--four {
    grid-column: 1 / 5;
    grid-row: auto;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: var(--space-3);
  }

  .eg-rhythm__media {
    grid-column: 1 / 5;
    grid-row: auto;
    width: calc(100% - var(--space-3));
    margin-left: var(--space-3);
  }

  .eg-rhythm-step__copy > p:not(.note) { max-width: none; }

  .eg-occasion-panel--friends,
  .eg-occasion-panel--collective,
  .eg-occasion-panel--theme {
    grid-column: 1 / 5;
    margin-top: 0;
    padding: var(--space-5);
  }

  .eg-occasion-panel--collective {
    width: calc(100% - var(--space-3));
  }

  .eg-occasion-panel--theme {
    width: calc(100% - var(--space-3));
    margin-left: var(--space-3);
  }

  .eg-occasion-panel > p:not(.note) { max-width: none; }

  .eg-gallery-intro__copy,
  .eg-gallery-intro__note,
  .eg-gallery-filters,
  .eg-gallery-status {
    grid-column: 1 / 5;
  }

  .eg-gallery-intro__note {
    margin: 0;
  }

  .eg-gallery-intro__copy > p:last-child { max-width: none; }

  .eg-gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: var(--space-2);
    scrollbar-width: thin;
  }

  .eg-gallery-filter {
    min-height: 2.75rem;
    white-space: nowrap;
  }

  .eg-gallery-item--restaurant,
  .eg-gallery-item--tables,
  .eg-gallery-item--cuisine,
  .eg-gallery-item--bar,
  .eg-gallery-item--details,
  .eg-gallery-item--poker,
  .eg-gallery-item--soirees {
    grid-column: 1 / 5;
    margin-top: 0;
  }

  .eg-gallery-item--cuisine,
  .eg-gallery-item--details {
    width: calc(100% - var(--space-4));
    margin-left: var(--space-4);
  }

  .eg-manifesto__panel--paper,
  .eg-manifesto__panel--juniper {
    grid-column: 1 / 5;
    margin-top: 0;
    padding: var(--space-5);
  }

  .eg-manifesto__panel > p:not(.eyebrow):not(.eg-manifesto__responsible),
  .eg-manifesto__panel blockquote { max-width: none; }

  .eg-guidance-card,
  .eg-guidance-card--dark {
    grid-column: 1 / 5;
  }

  .eg-guidance-card__copy > p { max-width: none; }

  .eg-further-card--paper,
  .eg-further-card--juniper,
  .eg-further-card--shadow {
    grid-column: 1 / 5;
    min-height: 0;
    padding: var(--space-5);
  }

  .eg-further-card--juniper {
    width: calc(100% - var(--space-3));
    margin-left: var(--space-3);
  }

  .eg-further-card--shadow {
    width: calc(100% - var(--space-3));
  }

  .eg-closing {
    padding-block: var(--space-8);
  }

  .eg-closing__content {
    width: 100%;
    align-items: stretch;
    text-align: left;
  }

  .eg-closing__content h2 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10vw, 2.55rem);
  }

  .eg-closing__content > p:not(.eyebrow) { max-width: none; font-size: 1.0625rem; }

  .eg-lightbox {
    padding: var(--space-3);
  }

  .eg-lightbox__content {
    padding: var(--space-4);
  }

  .eg-lightbox__nav {
    flex-direction: column;
  }

  .eg-lightbox__button,
  .eg-lightbox__close {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eg-gallery-item,
  .eg-gallery-trigger img,
  .eg-further-card__arrow,
  .eg-hero__media img,
  .eg-text-link {
    transition: none;
  }
}
