main.home-page {
  overflow: hidden;
}

.home-page a:not(.button) {
  text-decoration-color: var(--color-copper-dark);
  text-decoration-thickness: 2px;
}

.home-page .surface-dark a:not(.button),
.home-page .surface-plum a:not(.button),
.home-page .surface-marble a:not(.button) {
  text-decoration-color: var(--color-copper);
}

.home-hero {
  position: relative;
  display: grid;
  min-height: max(47.5rem, 100vh);
  overflow: hidden;
  background: var(--color-midnight-blue);
  color: var(--color-soft-ivory);
}

.home-hero__media,
.home-hero__veil {
  position: absolute;
  inset: 0;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 68% 52%;
  transform: scale(1.035);
  will-change: transform;
}

.home-hero__veil {
  background: linear-gradient(90deg, rgba(16, 27, 45, 0.94) 0%, rgba(16, 27, 45, 0.82) 37%, rgba(16, 27, 45, 0.42) 58%, rgba(16, 27, 45, 0.16) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: calc(var(--container-max) + (var(--gutter) * 2));
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
  align-items: center;
  margin-inline: auto;
  padding: 8rem var(--gutter) 5rem;
}

.home-hero__rail {
  grid-column: 1 / 2;
  justify-self: start;
  align-self: stretch;
  display: flex;
  width: 1.5rem;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border-inline-start: 1px solid var(--color-copper);
}

.home-hero__rail span {
  color: var(--color-copper);
  font-size: var(--font-size-meta);
  font-weight: 700;
  letter-spacing: var(--tracking-meta);
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.home-hero__copy {
  grid-column: 2 / 12;
  display: flex;
  width: 100%;

  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

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

.home-hero__meta {
  color: var(--color-copper);
}

.home-hero__title {
  font-size: clamp(3.5rem, 7vw, 7rem);
}

.home-hero__intro {
  font-size: var(--font-size-intro);
  line-height: var(--line-height-intro);
}

.home-hero__actions {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.home-hero__actions > * {
  min-width: 0;
}

.home-hero__note {
  color: var(--color-muted-blue);
  font-size: var(--font-size-meta);
  font-weight: 600;
  letter-spacing: var(--tracking-meta);
  line-height: var(--line-height-meta);
  text-transform: uppercase;
}

.home-hero__sun {
  position: absolute;
  right: clamp(2rem, 7vw, 7rem);
  bottom: 3rem;
  width: 8rem;
  height: 4rem;
  border: 1px solid rgba(184, 117, 74, 0.7);
  border-bottom: 0;
  border-radius: 8rem 8rem 0 0;
  opacity: 0.8;
}

.home-hero__sun::before,
.home-hero__sun::after {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 5rem;
  background: var(--color-copper);
  content: "";
}

.home-hero__sun::before { left: 50%; }
.home-hero__sun::after { left: 25%; height: 2.5rem; }

.home-opening__grid,
.home-kitchen__grid,
.home-bar__grid,
.home-poker__grid,
.home-index__grid,
.home-groups__grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-opening {
  background: var(--color-stone-ivory);
}

.home-opening__story {
  grid-column: 2 / 7;
  width: 100%;
  min-width: 0;
  max-width: 60ch;
}

.home-opening__story .rule {
  max-width: 4rem;
  margin-top: 0;
}

.home-opening__links {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.home-opening__rhythms {
  grid-column: 8 / 12;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  padding-inline-start: var(--space-5);
  border-inline-start: 1px solid rgba(16, 27, 45, 0.4);
}

.home-rhythm {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: var(--space-3);
}

.home-rhythm__number {
  width: 2.25rem;
  min-width: 0;
  color: var(--color-copper-dark);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.home-rhythm__body {
  min-width: 0;
  max-width: 42ch;
}

.home-rhythm__body h3 {
  margin-bottom: var(--space-2);
  font-size: 1.5rem;
}

.home-rhythm__body p {
  margin-bottom: 0;
}

.home-kitchen {
  background: var(--color-soft-ivory);
}

.home-kitchen__copy {
  grid-column: 1 / 6;
  align-self: center;
  width: 100%;
  min-width: 0;
  max-width: 58ch;
}

.home-kitchen__copy .intro {
  max-width: 47ch;
}

.home-kitchen__statement {
  max-width: 28ch;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-copper-dark);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.home-kitchen__media {
  grid-column: 7 / 12;
  width: 100%;
  min-width: 0;
  margin-top: var(--space-6);
}

.home-kitchen__figure {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.home-kitchen__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-color: var(--color-copper);
}

.home-kitchen__frame img {
  object-position: 52% 55%;
  transition: transform 700ms ease;
}

.home-kitchen__frame::after,
.home-bar__frame::after {
  position: absolute;
  inset: 0;
  background: rgba(16, 27, 45, 0.18);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.home-kitchen__figure:hover .home-kitchen__frame img,
.home-kitchen__figure:focus-within .home-kitchen__frame img {
  transform: scale(1.02);
}

.home-kitchen__figure:hover .home-kitchen__frame::after,
.home-kitchen__figure:focus-within .home-kitchen__frame::after {
  opacity: 1;
}

.home-kitchen__figure figcaption {
  color: var(--color-copper-dark);
}

.home-bar {
  background: var(--color-black-marble);
}

.home-bar__media {
  grid-column: 1 / 8;
  width: 100%;
  min-width: 0;
}

.home-bar__figure {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.home-bar__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-color: rgba(243, 235, 221, 0.3);
}

.home-bar__frame img {
  object-position: 34% 50%;
  transition: transform 700ms ease;
}

.home-bar__caption-reveal {
  position: absolute;
  z-index: 1;
  right: var(--space-4);
  bottom: var(--space-4);
  color: var(--color-soft-ivory);
  font-size: var(--font-size-meta);
  font-weight: 700;
  letter-spacing: var(--tracking-meta);
  line-height: var(--line-height-meta);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.home-bar__figure:hover .home-bar__frame img,
.home-bar__figure:focus-within .home-bar__frame img { transform: scale(1.02); }
.home-bar__figure:hover .home-bar__frame::after,
.home-bar__figure:focus-within .home-bar__frame::after,
.home-bar__figure:hover .home-bar__caption-reveal,
.home-bar__figure:focus-within .home-bar__caption-reveal { opacity: 1; }

.home-bar__copy {
  grid-column: 9 / 13;
  align-self: center;
  width: 100%;
  min-width: 0;
  max-width: 44ch;
}

.home-bar__micro-list {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-6);
}

.home-bar__micro {
  width: 100%;
  min-width: 0;
  padding-block: var(--space-4);
  border-top: 1px solid rgba(243, 235, 221, 0.18);
}

.home-bar__micro:last-child { border-bottom: 1px solid rgba(243, 235, 221, 0.18); }
.home-bar__micro h3 { margin-bottom: var(--space-2); font-size: 1.5rem; }
.home-bar__micro p { max-width: 40ch; margin-bottom: 0; }

.home-bar__callout {
  width: 100%;
  min-width: 0;
  margin-top: var(--space-6);
  border: var(--border-copper);
  padding: var(--space-5);
}

.home-bar__callout p { max-width: 42ch; margin-bottom: var(--space-3); }

.home-programs {
  background: var(--color-midnight-blue);
  color: var(--color-soft-ivory);
}

.home-programs__heading {
  width: 100%;
  min-width: 0;
  max-width: 38.75rem;
  margin-inline: auto;
  text-align: center;
}

.home-programs__heading .intro {
  max-width: 46ch;
  margin-inline: auto;
}

.home-programs__grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.5rem;
  margin-top: var(--space-8);
}

.home-program-card {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  border: 1px solid rgba(243, 235, 221, 0.24);
  padding: var(--space-6);
  color: var(--color-soft-ivory);
  text-decoration: none;
  transition: border-color var(--transition-base);
}

.home-program-card::before {
  width: 3rem;
  height: 0.75rem;
  border-top: 2px solid var(--color-copper);
  border-inline-start: 2px solid var(--color-copper);
  content: "";
  transition: width var(--transition-base);
}

.home-program-card > * { min-width: 0; margin: 0; }
.home-program-card__number { color: var(--color-copper); }
.home-program-card h3 { font-size: 1.75rem; }
.home-program-card p { max-width: 38ch; }
.home-program-card__link { margin-top: auto; font-size: var(--font-size-small); font-weight: 700; letter-spacing: var(--tracking-button); text-transform: uppercase; }
.home-program-card:hover,
.home-program-card:focus-visible { border-color: var(--color-copper); text-decoration: none; }
.home-program-card:hover::before,
.home-program-card:focus-visible::before { width: 100%; }

.home-poker {
  border-top: 1px solid var(--color-copper);
  background: var(--color-black-marble);
}

.home-poker__story {
  grid-column: 1 / 7;
  width: 100%;
  min-width: 0;
  max-width: 58ch;
}

.home-poker__statement {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-7);
  padding-inline-start: var(--space-5);
  border-inline-start: 1px solid var(--color-copper);
}

.home-poker__statement p {
  max-width: 24ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
}

.home-poker__action {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.home-poker__action p {
  max-width: 42ch;
  margin: 0;
}

.home-poker__principles {
  grid-column: 9 / 13;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-5);
  align-self: start;
  background: var(--color-deep-plum);
  padding: var(--space-6);
}

.home-principle {
  width: 100%;
  min-width: 0;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(243, 235, 221, 0.18);
}

.home-principle:last-child { padding-bottom: 0; border-bottom: 0; }
.home-principle h3 { margin-bottom: var(--space-2); font-family: var(--font-body); font-size: var(--font-size-small); font-weight: 700; letter-spacing: var(--tracking-meta); text-transform: uppercase; }
.home-principle p { max-width: 36ch; margin-bottom: 0; }

.home-index { background: var(--color-soft-ivory); }

.home-index__intro {
  grid-column: 1 / 6;
  width: 100%;
  min-width: 0;
  max-width: 48ch;
}

.home-index__list {
  grid-column: 7 / 13;
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
}

.home-index__item {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: center;
  min-height: 8.25rem;
  border-top: 1px solid rgba(16, 27, 45, 0.16);
  padding-block: var(--space-5);
  color: var(--color-midnight-blue);
  text-decoration: none;
}

.home-index__item:last-child { border-bottom: 1px solid rgba(16, 27, 45, 0.16); }
.home-index__number { color: var(--color-copper-dark); font-size: var(--font-size-intro); font-weight: 700; }
.home-index__content { min-width: 0; }
.home-index__content h3 { margin-bottom: var(--space-2); font-size: 1.75rem; }
.home-index__content p { max-width: 46ch; margin-bottom: 0; }
.home-index__arrow { min-width: 1.5rem; color: var(--color-copper-dark); font-size: 1.75rem; line-height: 1; transition: transform var(--transition-fast); }
.home-index__item:hover .home-index__arrow,
.home-index__item:focus-visible .home-index__arrow { transform: translateX(0.375rem); }

.home-groups { background: var(--color-stone-ivory); }

.home-groups__story {
  grid-column: 2 / 7;
  width: 100%;
  min-width: 0;
  max-width: 58ch;
}

.home-groups__actions {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.home-groups__panel {
  grid-column: 9 / 13;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 22.5rem;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  border: var(--border-copper);
  background: var(--color-deep-plum);
  padding: var(--space-6);
}

.home-groups__panel::before {
  width: 3rem;
  height: 2rem;
  border-top: 1px solid var(--color-copper);
  border-inline-start: 1px solid var(--color-copper);
  content: "";
}

.home-groups__panel p { min-width: 0; margin: 0; }
.home-groups__statement { max-width: 22ch; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 600; line-height: 1.05; }
.home-groups__detail { max-width: 38ch; color: var(--color-muted-blue); font-size: var(--font-size-small); }

.home-closing {
  background: var(--color-deep-plum);
  color: var(--color-soft-ivory);
  text-align: center;
}

.home-closing__inner {
  display: flex;
  width: 100%;
  min-width: 0;
  max-width: 47.5rem;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  margin-inline: auto;
}

.home-closing__inner > * { min-width: 0; margin: 0; }

.home-closing__motif {
  position: relative;
  width: 10rem;
  height: 3rem;
  border-top: 1px solid var(--color-copper);
}

.home-closing__motif::before,
.home-closing__motif::after {
  position: absolute;
  top: 0;
  width: 1px;
  height: 3rem;
  background: var(--color-copper);
  content: "";
}

.home-closing__motif::before { left: 50%; }
.home-closing__motif::after { left: 35%; height: 1.5rem; }
.home-closing__title { max-width: 24ch; font-size: clamp(2.25rem, 5vw, 4.5rem); }
.home-closing__intro { max-width: 44ch; color: var(--color-muted-blue); }
.home-closing__actions { display: flex; width: 100%; min-width: 0; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.home-closing__actions > * { min-width: 0; }

.home-reveal {
  opacity: 0;
  transform: translateY(1rem);
  animation: home-reveal-in 520ms ease forwards;
}

.home-reveal--one { animation-delay: 120ms; }
.home-reveal--two { animation-delay: 260ms; }
.home-reveal--three { animation-delay: 400ms; }
.home-reveal--four { animation-delay: 540ms; }

.home-observe-image img { transform: scale(1.03); transition: transform 900ms ease; }
.home-observe-image.is-visible img { transform: scale(1); }

@keyframes home-reveal-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 74.99rem) {
  .home-hero__content { padding-top: 7rem; }
  .home-hero__copy { grid-column: 2 / 8; }
  .home-opening__story { grid-column: 1 / 7; }
  .home-opening__rhythms { grid-column: 8 / 13; }
  .home-kitchen__copy { grid-column: 1 / 7; }
  .home-kitchen__media { grid-column: 8 / 13; }
  .home-bar__media { grid-column: 1 / 8; }
  .home-bar__copy { grid-column: 9 / 13; }
  .home-programs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-program-card:nth-child(3) { grid-column: 1 / 2; }
  .home-poker__story { grid-column: 1 / 8; }
  .home-poker__principles { grid-column: 9 / 13; }
  .home-index__intro { grid-column: 1 / 6; }
  .home-index__list { grid-column: 7 / 13; }
  .home-groups__story { grid-column: 1 / 7; }
  .home-groups__panel { grid-column: 9 / 13; }
}

@media (max-width: 59.99rem) {
  .home-hero { min-height: auto; }
  .home-hero__content { grid-template-columns: repeat(8, minmax(0, 1fr)); min-height: 46rem; }
  .home-hero__rail { grid-column: 1 / 2; }
  .home-hero__copy { grid-column: 2 / 7; }
  .home-opening__grid,
  .home-kitchen__grid,
  .home-bar__grid,
  .home-poker__grid,
  .home-index__grid,
  .home-groups__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .home-opening__story { grid-column: 1 / 5; }
  .home-opening__rhythms { grid-column: 5 / 9; }
  .home-kitchen__copy { grid-column: 1 / 5; }
  .home-kitchen__media { grid-column: 5 / 9; }
  .home-bar__media { grid-column: 1 / 6; }
  .home-bar__copy { grid-column: 6 / 9; }
  .home-poker__story { grid-column: 1 / 6; }
  .home-poker__principles { grid-column: 6 / 9; }
  .home-index__intro { grid-column: 1 / 5; }
  .home-index__list { grid-column: 5 / 9; }
  .home-groups__story { grid-column: 1 / 5; }
  .home-groups__panel { grid-column: 5 / 9; }
}

@media (max-width: 56.24rem) {
  .home-bar__grid,
  .home-poker__grid,
  .home-index__grid { grid-template-columns: 1fr; }
  .home-bar__media,
  .home-bar__copy,
  .home-poker__story,
  .home-poker__principles,
  .home-index__intro,
  .home-index__list { grid-column: 1 / 2; }
  .home-bar__copy { max-width: 44ch; }
  .home-poker__principles { max-width: 40rem; }
  .home-index__intro { max-width: 48ch; }
}

@media (max-width: 47.99rem) {
  .home-hero { display: block; min-height: 0; }
  .home-hero__media { position: relative; height: 46vh; min-height: 18rem; max-height: 26rem; }
  .home-hero__media img { object-position: 68% 48%; transform: none; }
  .home-hero__veil { top: 0; bottom: auto; height: 46vh; min-height: 18rem; max-height: 26rem; background: linear-gradient(180deg, rgba(16, 27, 45, 0.1), rgba(16, 27, 45, 0.5)); }
  .home-hero__content { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; gap: var(--space-5); padding: var(--space-6) var(--gutter) var(--space-7); background: var(--color-midnight-blue); }
  .home-hero__rail { display: block; width: 100%; border-inline-start: 0; border-top: 1px solid var(--color-copper); padding-top: var(--space-3); }
  .home-hero__rail span { writing-mode: horizontal-tb; transform: none; }
  .home-hero__copy { display: flex; max-width: none; gap: var(--space-5); }
  .home-hero__title { max-width: 12ch; font-size: clamp(2.875rem, 12vw, 3.875rem); line-height: 0.94; }
  .home-hero__intro { max-width: 34ch; }
  .home-hero__actions { flex-direction: column; align-items: flex-start; }
  .home-hero__sun { display: none; }
  .home-opening__grid,
  .home-kitchen__grid,
  .home-groups__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .home-opening__story,
  .home-opening__rhythms,
  .home-kitchen__copy,
  .home-kitchen__media,
  .home-groups__story,
  .home-groups__panel { grid-column: 1 / 2; }
  .home-opening__story,
  .home-kitchen__copy,
  .home-groups__story { max-width: 36ch; }
  .home-opening__rhythms { gap: 0; padding-inline-start: 0; border-inline-start: 0; }
  .home-rhythm { padding-block: var(--space-4); border-top: 1px solid rgba(16, 27, 45, 0.18); }
  .home-rhythm:last-child { border-bottom: 1px solid rgba(16, 27, 45, 0.18); }
  .home-kitchen__media { margin-top: 0; }
  .home-kitchen__statement { max-width: 22ch; font-size: 1.75rem; }
  .home-bar { padding-top: 0; }
  .home-bar__media { margin-inline: calc(var(--gutter) * -1); width: calc(100% + (var(--gutter) * 2)); }
  .home-bar__copy { padding-top: var(--space-6); }
  .home-programs__heading { max-width: 30ch; }
  .home-programs__grid { grid-template-columns: 1fr; margin-top: var(--space-7); }
  .home-program-card,
  .home-program-card:nth-child(3) { grid-column: 1 / 2; padding: var(--space-6); }
  .home-poker__statement { margin-top: var(--space-6); }
  .home-poker__action { margin-top: var(--space-6); }
  .home-poker__principles { padding: var(--space-5); }
  .home-index__item { grid-template-columns: 1fr; gap: var(--space-3); min-height: 0; padding-block: var(--space-6); }
  .home-index__number { font-size: var(--font-size-meta); letter-spacing: var(--tracking-meta); }
  .home-index__arrow { display: none; }
  .home-index__content h3 { font-size: 1.75rem; }
  .home-groups__panel { min-height: 15rem; padding: var(--space-5); }
  .home-groups__actions { flex-direction: column; align-items: flex-start; }
  .home-groups__actions .button:first-child { width: 100%; }
  .home-closing__inner { gap: var(--space-4); }
  .home-closing__title { max-width: 20ch; font-size: clamp(2.25rem, 10vw, 3rem); }
  .home-closing__intro { max-width: 32ch; }
  .home-closing__actions { flex-direction: column; align-items: center; }
  .home-closing__actions .button:first-child { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-reveal { opacity: 1; transform: none; animation: none; }
  .home-hero__media img,
  .home-observe-image img { transform: none !important; }
}
