.home-page {
  position: relative;
  isolation: isolate;
}

.home-page::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(40, 42, 43, 0.045) 0.55px, transparent 0.7px);
  background-size: 7px 7px;
  content: "";
}

.home-page .section {
  position: relative;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(26.25rem, 5fr) minmax(32.5rem, 7fr);
  gap: var(--space-6);
  align-items: center;
}

.home-hero__note {
  width: 100%;
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.home-hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 32rem;
}

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

.home-hero__lead {
  font-size: var(--text-lg);
  line-height: 1.4;
}

.home-hero__actions {
  width: 100%;
}

.home-hero__microcopy {
  color: var(--color-graphite-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-small);
}

.home-hero__collage {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 36rem;
  padding: 1rem 4rem 5rem 2rem;
  overflow: clip;
}

.home-hero__collage::before {
  position: absolute;
  z-index: -1;
  top: 3%;
  bottom: 7%;
  left: 2%;
  width: 2px;
  background: var(--color-blue);
  content: "";
  transform: rotate(-4deg);
}

.home-hero__main-photo {
  width: 100%;
  margin: 0;
  transform: rotate(1.5deg);
}

.home-hero__main-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-hero__mini-photo {
  position: absolute;
  z-index: 1;
  width: clamp(7rem, 19%, 10rem);
  margin: 0;
}

.home-hero__mini-photo::before {
  position: absolute;
  z-index: 2;
  top: -0.65rem;
  left: 50%;
  width: 4rem;
  height: 1.15rem;
  background: var(--color-tape);
  content: "";
  transform: translateX(-50%) rotate(-5deg);
}

.home-hero__mini-photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-hero__mini-photo--dish {
  top: 5%;
  right: 2rem;
  transform: rotate(-4deg);
}

.home-hero__mini-photo--roulette {
  right: 0.7rem;
  bottom: 7rem;
  transform: rotate(3deg);
}

.home-hero__mini-photo--blackjack {
  bottom: 1.25rem;
  left: 0.2rem;
  transform: rotate(-2.5deg);
}

.home-hero__mini-photo--blackjack img {
  aspect-ratio: 4 / 3;
}

.home-hero__caption {
  position: absolute;
  right: 1rem;
  bottom: 0.15rem;
  width: min(16rem, 58%);
  margin: 0;
  padding: var(--space-3);
  background: var(--color-paper-warm);
  color: var(--color-graphite-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-small);
  transform: rotate(-1deg);
}

.home-pillars__intro,
.home-games__intro {
  width: 100%;
  max-width: 38.75rem;
}

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

.home-pillar,
.home-games__card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.home-pillar > *,
.home-games__card > * {
  margin: 0;
}

.home-pillar a,
.home-games__card a {
  margin-top: auto;
}

.home-pillar__stamp--yellow {
  border-color: var(--color-graphite);
  color: var(--color-graphite);
  background: var(--color-yellow);
}

.home-pillar__label {
  padding: 0.3rem 0.5rem;
  background: var(--color-blue);
  color: var(--color-graphite);
}

.home-pillar__card-mark,
.home-games__motif {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  color: var(--color-blue);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
}

.home-pillar--games h3,
.home-games__card h3 {
  max-width: calc(100% - 2.75rem);
}

.home-kitchen__grid {
  display: grid;
  grid-template-columns: minmax(24.375rem, 5fr) minmax(31.25rem, 7fr);
  gap: var(--space-7);
  align-items: center;
}

.home-kitchen__note,
.home-kitchen__photo {
  width: 100%;
  min-width: 0;
}

.home-kitchen__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 31rem;
}

.home-kitchen__copy > * {
  margin: 0;
}

.home-kitchen__note-line {
  padding-bottom: var(--space-2);
  border-bottom: 3px solid var(--color-blue);
}

.home-kitchen__photo {
  position: relative;
  margin: 0;
  transform: rotate(1.2deg);
}

.home-kitchen__photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-kitchen__tape {
  position: absolute;
  z-index: 1;
  top: -0.55rem;
  left: 18%;
  width: 6rem;
}

.home-room__intro {
  width: 100%;
  max-width: 36.25rem;
}

.home-room__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
  margin-top: var(--space-6);
}

.home-room__photo,
.home-room__notes {
  width: 100%;
  min-width: 0;
}

.home-room__photo {
  margin: 0;
  transform: rotate(-1deg);
}

.home-room__photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

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

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

.home-room__note > :last-child {
  margin-bottom: 0;
}

.home-games__motif--yellow {
  color: var(--color-yellow);
}

.home-games__motif--blue {
  color: var(--color-blue);
}

.home-games__notice {
  width: min(100%, 51.25rem);
  margin: var(--space-6) auto 0;
  padding: var(--space-5);
}

.home-games__notice p {
  max-width: 46rem;
  margin: var(--space-3) 0 0;
}

.home-gallery__intro {
  width: 100%;
  max-width: 34.375rem;
}

.home-gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(12rem, auto));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

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

.home-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-gallery__item--room {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
  transform: rotate(-1deg);
}

.home-gallery__item--dish {
  grid-column: 7 / span 4;
  grid-row: 1;
  transform: rotate(1deg);
}

.home-gallery__item--roulette {
  grid-column: 11 / span 2;
  grid-row: 1;
  transform: rotate(-1deg);
}

.home-gallery__item--blackjack {
  grid-column: 7 / span 6;
  grid-row: 2;
  transform: rotate(0.6deg);
}

.home-gallery__item--room img {
  aspect-ratio: 3 / 2;
}

.home-gallery__item--dish img,
.home-gallery__item--roulette img,
.home-gallery__item--blackjack img {
  aspect-ratio: 4 / 3;
}

.home-events__intro {
  width: 100%;
  max-width: 43.75rem;
}

.home-events__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(22.5rem, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}

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

.home-events__note > :last-child {
  margin-bottom: 0;
}

.home-events__note--taped {
  position: relative;
}

.home-events__note--taped::before {
  position: absolute;
  top: -0.6rem;
  left: 20%;
  width: 5rem;
  height: 1.2rem;
  background: var(--color-tape);
  content: "";
  transform: rotate(-3deg);
}

.home-events__cta {
  display: flex;
  width: min(100%, 32.5rem);
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding: var(--space-5);
}

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

.home-events__cta p {
  margin: var(--space-2) 0 0;
}

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

.home-faq__card {
  width: min(100%, 57.5rem);
  margin: var(--space-6) auto 0;
  overflow: hidden;
}

.home-faq__item {
  width: 100%;
  min-width: 0;
  border-bottom: var(--border-subtle);
}

.home-faq__item:last-child {
  border-bottom: 0;
}

.home-faq__item h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
}

.home-faq__trigger {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: transparent;
  color: var(--color-graphite);
  text-align: left;
}

.home-faq__icon {
  display: grid;
  width: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  border: var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-paper-white);
  font-size: 1.5rem;
  line-height: 1;
}

.home-faq__answer {
  width: 100%;
  min-width: 0;
  padding: 0 var(--space-5) var(--space-5);
}

.home-faq__answer p {
  max-width: 40.625rem;
  margin: 0;
}

.home-closing__card {
  width: min(100%, 50rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.home-closing__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: 42rem;
  margin-inline: auto;
}

.home-closing__copy > * {
  margin: 0;
}

.home-closing__actions {
  justify-content: center;
}

.home-reservation__card {
  width: min(100%, 60rem);
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.home-reservation__intro {
  width: 100%;
  max-width: 36.25rem;
}

.home-reservation__intro .stamp {
  margin-bottom: var(--space-4);
}

.home-reservation__intro p {
  margin-bottom: var(--space-6);
}

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

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

.home-reservation__column,
.home-reservation__bottom {
  min-width: 0;
}

.home-reservation__column {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 0;
}

.home-reservation__bottom {
  width: 100%;
  margin-top: var(--space-2);
}

.home-reservation__submit {
  min-height: 3rem;
}

.home-reservation__status {
  min-height: 1.6rem;
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: var(--leading-small);
}

.home-reservation__status--success {
  color: var(--color-graphite);
}

.home-reservation__status--error {
  color: var(--color-tomato);
}

.home-reservation__privacy {
  max-width: 43.75rem;
  margin: var(--space-3) 0 0;
  color: var(--color-graphite-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-small);
}

@media (max-width: 67.4375rem) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__note,
  .home-hero__collage {
    width: 100%;
  }

  .home-hero__copy {
    max-width: 36rem;
  }

  .home-hero__collage {
    min-height: 38rem;
    max-width: 46rem;
    justify-self: end;
  }
}

@media (max-width: 58.6875rem) {
  .home-kitchen__grid,
  .home-room__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-kitchen__note,
  .home-kitchen__photo,
  .home-room__photo,
  .home-room__notes {
    width: 100%;
  }

  .home-kitchen__copy {
    max-width: 36rem;
  }

  .home-kitchen__photo {
    max-width: 42rem;
    justify-self: end;
  }

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

  .home-room__note:last-child {
    grid-column: 1 / -1;
  }

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

  .home-gallery__item--room,
  .home-gallery__item--dish,
  .home-gallery__item--roulette,
  .home-gallery__item--blackjack {
    grid-row: auto;
  }

  .home-gallery__item--room,
  .home-gallery__item--blackjack {
    grid-column: 1 / -1;
  }

  .home-gallery__item--dish {
    grid-column: 1;
  }

  .home-gallery__item--roulette {
    grid-column: 2;
  }
}

@media (max-width: 54.9375rem) {
  .home-pillars__grid,
  .home-games__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-pillars__grid > :last-child,
  .home-games__grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 49.9375rem) {
  .home-events__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 44.9375rem) {
  .home-reservation__columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 38.75rem) {
  .home-hero__note {
    padding: var(--space-5);
  }

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

  .home-hero__lead {
    font-size: var(--text-base);
    line-height: var(--leading-body);
  }

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

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

  .home-hero__collage {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    padding: var(--space-5) 0 var(--space-6);
    overflow: visible;
  }

  .home-hero__collage::before {
    top: 0;
    bottom: auto;
    left: 50%;
    height: 2.5rem;
    transform: rotate(-25deg);
  }

  .home-hero__main-photo {
    grid-column: 1 / -1;
    transform: rotate(1deg);
  }

  .home-hero__mini-photo {
    position: static;
    width: 100%;
    transform: none;
  }

  .home-hero__mini-photo::before {
    width: 2.8rem;
    height: 0.8rem;
  }

  .home-hero__mini-photo--dish,
  .home-hero__mini-photo--roulette,
  .home-hero__mini-photo--blackjack {
    transform: rotate(0.8deg);
  }

  .home-hero__caption {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    transform: none;
  }

  .home-pillars__grid,
  .home-games__grid,
  .home-room__notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-pillars__grid > :last-child,
  .home-games__grid > :last-child,
  .home-room__note:last-child {
    grid-column: auto;
  }

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

  .home-kitchen__photo,
  .home-room__photo,
  .home-gallery__item {
    transform: rotate(0.7deg);
  }

  .home-kitchen__tape {
    width: 4rem;
  }

  .home-gallery__grid {
    gap: var(--space-3);
  }

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

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

  .home-faq__trigger {
    padding: var(--space-4);
  }

  .home-faq__answer {
    padding: 0 var(--space-4) var(--space-4);
  }

  .home-closing__actions {
    display: grid;
    width: min(100%, 22.5rem);
    grid-template-columns: minmax(0, 1fr);
  }

  .home-closing__actions .button,
  .home-reservation__submit {
    width: 100%;
  }

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

  .home-reservation__form input,
  .home-reservation__form select {
    min-height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__main-photo,
  .home-hero__mini-photo,
  .home-kitchen__photo,
  .home-room__photo,
  .home-gallery__item,
  .home-page .card--interactive:hover {
    transform: none;
  }
}
