.home-page {
  background: var(--color-paper);
  overflow-x: clip;
}

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

.home-page .home-hero {
  position: relative;
  padding-block: clamp(var(--space-7), 8vw, var(--space-10));
  overflow: clip;
}

.home-hero__rays {
  position: absolute;
  z-index: 0;
  top: -8rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: repeating-conic-gradient(from 10deg, var(--color-sun) 0 11deg, transparent 11deg 22deg);
  opacity: .65;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(18.75rem, 4.5fr) minmax(0, 2.5fr);
  align-items: center;
  gap: var(--space-5);
}

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

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

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

.home-hero__sun {
  width: min(100%, 30rem);
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  border: var(--border-strong);
  border-radius: 50% 50% var(--radius-md) var(--radius-md);
  background: var(--color-sun);
  box-shadow: var(--shadow-orange);
}

.home-hero__sun h1 { margin: 0; font-size: clamp(2.8rem, 5.4vw, 5.5rem); }
.home-hero__lead { width: min(100%, 44ch); }

.home-hero__ticket {
  display: flex;
  width: min(100%, 25rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  background: var(--color-sun);
  clip-path: polygon(0 0, 100% 0, 100% 38%, 96% 50%, 100% 62%, 100% 100%, 0 100%, 0 62%, 4% 50%, 0 38%);
}

.home-hero__ticket strong { font-family: var(--font-heading); font-size: var(--text-h4); line-height: 1.15; }
.home-hero__ticket span { width: min(100%, 34ch); font-size: var(--text-xs); line-height: var(--line-small); }

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

.home-hero__actions > * { min-width: 0; }
.home-hero__restaurant { width: 100%; aspect-ratio: 4 / 5; margin: 0; }
.home-hero__poker { width: min(100%, 17.5rem); justify-self: end; aspect-ratio: 3 / 2; margin: 0; }

.home-table__heading { width: min(100%, 43rem); }
.home-table__panels {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3.5fr) minmax(0, 4.5fr);
  gap: var(--space-5);
  align-items: stretch;
}
.home-table__panels > * { min-width: 0; }
.home-table__panel { display: flex; min-width: 0; flex-direction: column; gap: var(--space-4); }
.home-table__panel > * { min-width: 0; margin: 0; }
.home-table__panel p { max-width: 34ch; }
.home-line-icon { font-family: var(--font-heading); font-size: 2rem; line-height: 1; }

.home-menu__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: calc(var(--space-5) * 2);
  align-items: center;
}
.home-menu__grid > * { min-width: 0; }
.home-menu__copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.home-menu__copy > * { min-width: 0; margin: 0; }
.home-menu__copy > .text-lead { width: min(100%, 54ch); }
.home-menu__notes { display: grid; width: min(100%, 38rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); }
.home-menu__notes > * { min-width: 0; }
.home-menu__note { padding: var(--space-4); border: var(--border-thin); border-radius: var(--radius-md); background: var(--color-white); }
.home-menu__note:first-child { background: var(--color-peach); }
.home-menu__note h3, .home-menu__note p { margin: 0; }
.home-menu__note p { margin-top: var(--space-3); max-width: 38ch; }
.home-menu__note--steps strong { font-family: var(--font-heading); }
.home-menu__image { width: 100%; aspect-ratio: 4 / 3; margin: 0; }

.home-casino__panel { display: flex; min-width: 0; flex-direction: column; gap: var(--space-6); }
.home-casino__panel > * { min-width: 0; margin: 0; }
.home-casino__intro { width: min(100%, 58ch); }
.home-casino__intro > :last-child { margin-bottom: 0; }
.home-casino__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.home-casino__cards > * { min-width: 0; }
.home-casino__card { display: flex; min-width: 0; flex-direction: column; gap: var(--space-3); }
.home-casino__card > * { min-width: 0; margin: 0; }
.home-casino__card p { max-width: 30ch; }
.home-casino__notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: var(--space-4); border: var(--border-thin); border-radius: var(--radius-md); background: var(--color-paper); }
.home-casino__notice > * { min-width: 0; margin: 0; }
.home-casino__notice p { max-width: 56ch; }

.home-private__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(20rem, 4fr); gap: calc(var(--space-5) * 2); align-items: end; }
.home-private__grid > * { min-width: 0; }
.home-private__copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.home-private__copy > * { min-width: 0; margin: 0; }
.home-private__copy > .text-lead { width: min(100%, 52ch); }
.home-private__notes { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); }
.home-private__notes > * { min-width: 0; }
.home-private__notes article { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: var(--space-3); }
.home-private__notes article > * { min-width: 0; margin: 0; }
.home-private__notes p { max-width: 35ch; }
.home-private__image { width: 100%; aspect-ratio: 4 / 5; margin: 0; }

.home-gallery__heading { width: min(100%, 48ch); margin-inline: auto; text-align: center; }
.home-gallery__heading .label { margin-bottom: var(--space-4); }
.home-gallery__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); align-items: end; gap: var(--space-5); margin-top: var(--space-6); }
.home-gallery__grid > * { min-width: 0; }
.home-gallery__item { display: flex; min-width: 0; flex-direction: column; gap: var(--space-2); font-family: var(--font-heading); font-size: var(--text-lead); font-weight: 700; text-decoration: none; }
.home-gallery__item > * { min-width: 0; margin: 0; }
.home-gallery__item--oval figure { aspect-ratio: 3 / 2; }
.home-gallery__item--arch figure { aspect-ratio: 4 / 5; }
.home-gallery__item--postcard figure { aspect-ratio: 3 / 2; }

.home-plan__heading { width: min(100%, 38rem); }
.home-plan__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-6); }
.home-plan__steps > * { min-width: 0; }
.home-plan__step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: var(--space-4); }
.home-plan__step > * { min-width: 0; }
.home-plan__step h3, .home-plan__step p { margin: 0; }
.home-plan__step p { margin-top: var(--space-3); max-width: 30ch; }
.home-plan__number { display: inline-flex; width: 3.5rem; min-width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border: var(--border-thin); border-radius: 50%; background: var(--color-sun); font-family: var(--font-heading); font-size: var(--text-h4); font-weight: 700; }
.home-plan__number--sky { background: var(--color-sky); }
.home-plan__number--peach { background: var(--color-peach); }

.home-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: var(--space-7); align-items: start; }
.home-faq__grid > * { min-width: 0; }
.home-faq__heading { width: min(100%, 30rem); }
.home-faq__list { display: flex; min-width: 0; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border: var(--border-strong); border-radius: var(--radius-md); background: var(--color-sky); }
.home-faq__list > * { min-width: 0; }
.home-faq__item { overflow: hidden; border: var(--border-thin); border-radius: var(--radius-md); background: var(--color-white); }
.home-faq__item h3 { margin: 0; }
.home-faq__item button { display: flex; width: 100%; min-width: 0; min-height: 3.25rem; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 0; background: transparent; font-family: var(--font-heading); font-size: var(--text-lead); font-weight: 700; line-height: 1.2; text-align: left; overflow-wrap: anywhere; }
.home-faq__item button::after { content: "+"; flex: 0 0 auto; font-size: 1.75rem; line-height: 1; }
.home-faq__item button[aria-expanded="true"]::after { content: "−"; }
.home-faq__answer { padding: 0 var(--space-4) var(--space-4); }
.home-faq__answer p { width: min(100%, 62ch); margin: 0; }

.home-closing { position: relative; overflow: clip; background: var(--color-brown); color: var(--color-white); }
.home-closing h2, .home-closing p { color: var(--color-white); }
.home-closing__arc { position: absolute; top: -11rem; left: 50%; width: 38rem; height: 21rem; border: var(--border-strong); border-radius: 50%; background: var(--color-sun); transform: translateX(-50%); }
.home-closing__content { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; align-items: center; gap: var(--space-5); text-align: center; }
.home-closing__content > * { min-width: 0; margin: 0; }
.home-closing__content h2 { width: min(100%, 48ch); }
.home-closing__content > .text-lead { width: min(100%, 48ch); margin-inline: auto; }
.home-closing__actions { display: flex; min-width: 0; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.home-closing__actions > * { min-width: 0; }
.home-closing__note { width: min(100%, 46ch); color: var(--color-white); font-size: var(--text-xs); line-height: var(--line-small); }

@media (max-width: 61.25rem) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(18.75rem, .9fr); }
  .home-hero__poker { grid-column: 2; justify-self: end; width: min(72%, 17.5rem); margin-top: calc(var(--space-6) * -1); }
  .home-table__panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-table__panel:last-child { grid-column: 1 / -1; width: min(100%, 34rem); }
  .home-casino__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-casino__card:last-child { grid-column: 1 / -1; width: min(100%, 34rem); }
  .home-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-gallery__item--postcard { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 53.75rem) {
  .home-menu__grid, .home-private__grid { grid-template-columns: minmax(0, 1fr); }
  .home-menu__image, .home-private__image { width: min(100%, 38rem); }
  .home-menu__image { order: 2; }
  .home-private__image { order: 2; }
  .home-faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .home-faq__heading { width: min(100%, 48ch); }
}

@media (max-width: 51.25rem) {
  .home-plan__steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .home-plan__step p { max-width: 46ch; }
}

@media (max-width: 48rem) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .home-hero__content { align-items: stretch; }
  .home-hero__sun { width: 100%; margin-inline: auto; text-align: center; }
  .home-hero__sun h1 { font-size: clamp(2.7rem, 13vw, 4.25rem); }
  .home-hero__lead { width: 100%; }
  .home-hero__ticket { width: 100%; }
  .home-hero__actions { flex-direction: column; }
  .home-hero__actions .button { width: 100%; }
  .home-hero__restaurant { width: 100%; }
  .home-hero__poker { grid-column: 1; width: min(72%, 17.5rem); margin-top: 0; }
  .home-hero__rays { display: none; }
  .home-table__panels, .home-menu__notes, .home-casino__cards, .home-private__notes, .home-gallery__grid { grid-template-columns: minmax(0, 1fr); }
  .home-table__panel:last-child, .home-casino__card:last-child, .home-gallery__item--postcard { grid-column: auto; width: 100%; }
  .home-table__panel p, .home-casino__card p, .home-menu__note p, .home-private__notes p { max-width: none; }
  .home-casino__notice { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .home-casino__notice a { display: inline-block; width: fit-content; }
  .home-menu__image, .home-private__image { width: 100%; }
  .home-gallery__item--arch figure, .home-gallery__item--oval figure, .home-gallery__item--postcard figure { aspect-ratio: 3 / 2; }
  .home-closing__actions { width: 100%; flex-direction: column; }
  .home-closing__actions .button { width: 100%; min-height: 3rem; }
  .home-closing__arc { width: 26rem; height: 15rem; top: -8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
