.home-page {
  background: var(--color-ground);
}

.home-page .home-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.home-page .home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.home-hero__art {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
}

.home-hero__media {
  width: 100%;
  height: 100%;
  min-height: 680px;
  aspect-ratio: 16 / 10;
}

.home-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(33, 27, 23, 0.55) 0%, rgba(33, 27, 23, 0.26) 42%, rgba(33, 27, 23, 0.04) 70%);
  content: "";
}

.home-hero__media img {
  object-position: 68% center;
}

.home-hero__copy {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  width: min(100% - (2 * var(--container-padding)), var(--container-max));
  min-width: 0;
  margin: 0 auto;
  padding-block: var(--space-9);
  color: var(--color-inverse);
}

.home-hero__copy > * {
  max-width: 32.5rem;
}

.home-hero__copy .eyebrow {
  color: var(--color-gold);
}

.home-hero__copy h1 {
  margin-block-end: var(--space-5);
  color: var(--color-inverse);
}

.home-hero__copy p:not(.eyebrow) {
  margin-block-end: var(--space-5);
  color: rgba(251, 249, 244, 0.94);
  font-size: var(--text-body-large);
}

.home-hero__copy .button {
  border-color: var(--color-inverse);
  color: var(--color-inverse);
}

.home-hero__copy .button:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-ink);
}

.home-essay__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  row-gap: var(--space-7);
}

.home-essay__head,
.home-essay__body,
.home-essay__note {
  min-width: 0;
}

.home-essay__head {
  grid-column: 2 / span 7;
}

.home-essay__head h2 {
  max-width: 45rem;
}

.home-essay__body {
  grid-column: 3 / span 7;
  width: 100%;
  max-width: 43.75rem;
}

.home-essay__body p {
  font-size: var(--text-body-large);
}

.home-essay__note {
  grid-column: 10 / span 3;
  align-self: end;
  max-width: 18.125rem;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-rule-gold-soft);
}

.home-essay__note p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.3;
}

.home-paths__head {
  width: 50%;
  min-width: 0;
  max-width: 40.625rem;
  margin-bottom: var(--space-8);
}

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

.home-path {
  min-width: 0;
}

.home-path--theme {
  grid-column: 1 / span 5;
}

.home-path--tables {
  grid-column: 8 / span 5;
  padding: var(--space-6);
}

.home-path--private {
  grid-column: 2 / span 3;
}

.home-path--corporate {
  grid-column: 7 / span 6;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-rule-gold-soft);
}

.home-path__number,
.home-direction__number,
.home-step__number {
  margin: 0 0 var(--space-3);
  color: var(--color-rule-gold);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-path h3 {
  max-width: 26rem;
}

.home-path--theme p:not(.home-path__number) {
  max-width: 26.875rem;
}

.home-path--tables p:not(.home-path__number) {
  max-width: 26rem;
}

.home-path--private p:not(.home-path__number) {
  max-width: 19rem;
}

.home-path--corporate p:not(.home-path__number) {
  max-width: 30rem;
}

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

.home-host__figure,
.home-host__copy {
  min-width: 0;
}

.home-host__figure {
  grid-column: 1 / span 5;
  margin: var(--space-7) 0 0;
}

.home-host__figure .media-frame {
  width: 100%;
}

.home-host__figure figcaption {
  max-width: 18.125rem;
}

.home-host__copy {
  grid-column: 7 / span 4;
  width: 100%;
  max-width: 32.5rem;
}

.home-host__lead {
  font-size: var(--text-body-large);
}

.home-host__copy blockquote {
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-rule-gold-soft);
  border-inline-start: 0;
  padding-inline-start: 0;
  font-size: clamp(1.375rem, 1.15rem + 0.75vw, 1.75rem);
}

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

.home-atmosphere__intro,
.home-atmosphere__directions,
.home-atmosphere__figure,
.home-atmosphere__caption {
  min-width: 0;
}

.home-atmosphere__intro {
  grid-column: 1 / span 5;
  max-width: 35rem;
}

.home-atmosphere__directions {
  grid-column: 8 / span 4;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-width: 0;
}

.home-direction {
  min-width: 0;
}

.home-direction + .home-direction {
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-rule);
}

.home-direction h3 {
  font-size: var(--text-card-title);
}

.home-direction p:not(.home-direction__number) {
  max-width: 26.25rem;
}

.home-atmosphere__figure {
  grid-column: 1 / span 8;
  width: 100%;
  margin: 0;
}

.home-atmosphere__media {
  width: 100%;
  aspect-ratio: 3 / 2;
}

.home-atmosphere__caption {
  grid-column: 10 / span 3;
  align-self: end;
  max-width: 18.125rem;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-rule-gold-soft);
}

.home-occasions__head {
  width: 50%;
  min-width: 0;
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.home-occasions__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--space-5);
  margin-top: var(--space-8);
}

.home-occasion {
  min-width: 0;
}

.home-occasion:first-child {
  grid-column: 1 / span 5;
  max-width: 31.25rem;
}

.home-occasion:last-child {
  grid-column: 8 / span 5;
  max-width: 31.25rem;
}

.home-occasion:last-child::before {
  position: absolute;
  width: 1px;
  height: 100%;
  margin-left: calc(-1 * var(--space-5));
  background: var(--color-rule-gold-soft);
  content: "";
}

.home-occasion {
  position: relative;
}

.home-process {
  border-top: 3px double var(--color-rule-gold-soft);
}

.home-process__head {
  width: 41.666%;
  min-width: 0;
  max-width: 35rem;
}

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

.home-step {
  min-width: 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-rule-gold-soft);
}

.home-step h3 {
  font-size: var(--text-card-title);
}

.home-step p:not(.home-step__number) {
  max-width: 20rem;
}

.home-process__link {
  margin-top: var(--space-7);
}

.home-principles__head {
  width: 100%;
  max-width: 45rem;
  margin-inline: auto;
  text-align: center;
}

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

.home-principle {
  min-width: 0;
  max-width: 20rem;
}

.home-principle:nth-child(1) {
  justify-self: start;
}

.home-principle:nth-child(2) {
  justify-self: center;
  margin-top: var(--space-5);
}

.home-principle:nth-child(3) {
  justify-self: end;
}

.home-principle h3 {
  font-size: var(--text-card-title);
}

.home-closing {
  padding-top: var(--space-7);
}

.home-closing__panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: var(--space-9) var(--space-7);
  border: 3px double var(--color-rule-gold-soft);
  background: var(--color-deep);
  color: var(--color-inverse);
}

.home-closing__copy {
  grid-column: 4 / span 6;
  min-width: 0;
  width: 100%;
  max-width: 38.75rem;
}

.home-closing__copy .eyebrow {
  color: var(--color-gold);
}

.home-closing__copy h2 {
  color: var(--color-inverse);
}

.home-closing__copy p:not(.eyebrow) {
  color: rgba(251, 249, 244, 0.82);
  font-size: var(--text-body-large);
}

@media (max-width: 1099px) {
  .home-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-8) var(--container-padding) 0;
    overflow: visible;
  }

  .home-hero__copy,
  .home-hero__art {
    width: min(100%, var(--container-max));
    min-width: 0;
    margin: 0 auto;
  }

  .home-hero__copy {
    order: 1;
    padding: 0;
    color: var(--color-ink);
  }

  .home-hero__copy .eyebrow,
  .home-hero__copy h1,
  .home-hero__copy p:not(.eyebrow) {
    color: var(--color-ink);
  }

  .home-hero__copy .eyebrow {
    color: var(--color-rule-gold);
  }

  .home-hero__copy .button {
    border-color: var(--color-ink);
    color: var(--color-ink);
  }

  .home-hero__art {
    order: 2;
  }

  .home-hero__media {
    min-height: 0;
    height: auto;
  }

  .home-hero__media::after {
    display: none;
  }

  .home-path--theme,
  .home-path--tables {
    grid-column: span 6;
  }

  .home-path--tables {
    grid-column: 7 / span 6;
  }

  .home-path--private {
    grid-column: 1 / span 5;
  }

  .home-path--corporate {
    grid-column: 7 / span 6;
  }

  .home-host__copy {
    grid-column: 7 / span 6;
  }

  .home-atmosphere__intro {
    grid-column: 1 / span 6;
  }

  .home-atmosphere__directions {
    grid-column: 8 / span 5;
  }
}

@media (max-width: 980px) {
  .home-essay__head {
    grid-column: 1 / span 8;
  }

  .home-essay__body {
    grid-column: 2 / span 8;
  }

  .home-essay__note {
    grid-column: 2 / span 7;
    align-self: start;
    max-width: 32.5rem;
  }

  .home-occasions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-7);
  }

  .home-occasion:first-child,
  .home-occasion:last-child {
    grid-column: auto;
    max-width: none;
  }

  .home-occasion:last-child::before {
    display: none;
  }

  .home-process__head {
    width: 50%;
  }

  .home-principles__grid {
    gap: var(--space-5);
  }
}

@media (max-width: 900px) {
  .home-host__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }

  .home-host__figure,
  .home-host__copy {
    grid-column: auto;
    width: 100%;
  }

  .home-host__figure {
    margin-top: 0;
  }

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

  .home-atmosphere__intro,
  .home-atmosphere__directions,
  .home-atmosphere__figure,
  .home-atmosphere__caption {
    grid-column: auto;
    width: 100%;
  }

  .home-atmosphere__figure {
    grid-column: 1 / -1;
  }

  .home-atmosphere__caption {
    max-width: 18.125rem;
  }

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

  .home-step:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - (var(--space-6) / 2));
  }
}

@media (max-width: 820px) {
  .home-paths__head,
  .home-occasions__head,
  .home-process__head {
    width: 100%;
  }

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

  .home-path--theme,
  .home-path--tables,
  .home-path--private,
  .home-path--corporate {
    grid-column: auto;
    width: 100%;
    max-width: none;
  }

  .home-path--tables {
    padding: var(--space-5);
  }

  .home-path--private,
  .home-path--corporate {
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-rule-gold-soft);
  }

  .home-path p:not(.home-path__number) {
    max-width: none;
  }
}

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

  .home-essay__head,
  .home-essay__body,
  .home-essay__note {
    grid-column: auto;
    width: 100%;
    max-width: none;
  }

  .home-occasions__head {
    margin-inline: 0;
    text-align: left;
  }

  .home-occasions__grid,
  .home-principles__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-occasion,
  .home-principle,
  .home-principle:nth-child(1),
  .home-principle:nth-child(2),
  .home-principle:nth-child(3) {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    margin-top: 0;
  }

  .home-occasion + .home-occasion,
  .home-principle + .home-principle {
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-rule-gold-soft);
  }

  .home-process__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .home-step:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }

  .home-closing__panel {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--space-7) var(--space-6);
  }

  .home-closing__copy {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .home-page .home-reveal {
    opacity: 1;
    transform: none;
  }

  .home-hero {
    gap: var(--space-5);
    padding-top: var(--space-7);
  }

  .home-hero__copy h1 {
    font-size: clamp(2.75rem, 11vw, 3rem);
  }

  .home-hero__copy > * {
    max-width: none;
  }

  .home-hero__media {
    aspect-ratio: 16 / 11;
  }

  .home-essay__body p {
    font-size: var(--text-body);
  }

  .home-host__grid,
  .home-atmosphere__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-5);
  }

  .home-host__figure,
  .home-host__copy,
  .home-atmosphere__intro,
  .home-atmosphere__directions,
  .home-atmosphere__figure,
  .home-atmosphere__caption {
    grid-column: auto;
  }

  .home-host__figure {
    display: contents;
  }

  .home-host__figure .media-frame {
    order: 2;
  }

  .home-host__figure figcaption {
    order: 3;
    max-width: none;
    margin: 0;
  }

  .home-host__copy {
    display: contents;
  }

  .home-host__copy > :is(.eyebrow, h2) {
    order: 1;
  }

  .home-host__copy > :not(.eyebrow, h2) {
    order: 4;
  }

  .home-host__copy blockquote {
    margin-top: 0;
  }

  .home-atmosphere__media {
    aspect-ratio: 4 / 3;
  }

  .home-atmosphere__caption {
    max-width: none;
  }

  .home-process__link {
    min-height: 2.75rem;
    margin-top: var(--space-6);
  }

  .home-closing {
    padding-top: var(--space-6);
  }

  .home-closing__panel {
    padding: var(--space-6) var(--space-5);
  }

  .home-closing__copy .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .home-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
