.home-page {
  overflow: clip;
}

.home-page .eyebrow {
  color: var(--color-olive);
}

.home-hero {
  padding-block-start: clamp(3rem, 6vw, 5.5rem);
}

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

.home-hero__copy {
  grid-column: 1 / span 5;
  min-width: 0;
  align-self: center;
}

.home-hero__copy h1 {
  max-width: 11.8em;
}

.home-hero__lead {
  max-width: 31.25rem;
  font-size: var(--text-lg);
}

.home-hero__media {
  grid-column: 6 / -1;
  min-width: 0;
  margin: 0;
}

.home-hero__media img {
  width: 100%;
  height: clamp(25rem, 42vw, 33rem);
  object-fit: cover;
  object-position: 58% center;
}

.home-hero__paths {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  min-width: 0;
}

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

.home-path__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

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

.home-path__content h2 {
  font-size: var(--text-xl);
}

.home-path__content p {
  max-width: 28ch;
}

.home-path__marker {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.2rem;
}

.home-path__marker--orange { background: var(--color-burnt-orange); }
.home-path__marker--olive { background: var(--color-olive); transform: rotate(45deg); }
.home-path__marker--blue { border-radius: 50%; background: var(--color-pastel-blue); }

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

.home-house__intro {
  grid-column: 1 / span 5;
  min-width: 0;
}

.home-house__intro > :last-child {
  max-width: 40rem;
  margin-block-end: 0;
}

.home-values {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  min-width: 0;
  align-items: start;
}

.home-value {
  min-width: 0;
  padding: var(--space-4);
  border-top: var(--border-wood);
}

.home-value h3 {
  font-size: var(--text-xl);
}

.home-value p {
  max-width: 42ch;
  margin-block-end: 0;
}

.home-value--notice {
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-pastel-blue);
}

.home-value__shape {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-block-end: var(--space-3);
}

.home-value__shape--mustard { border-radius: 50%; background: var(--color-mustard); }
.home-value__shape--olive { background: var(--color-olive); }
.home-value__shape--orange { background: var(--color-burnt-orange); transform: rotate(45deg); }

.home-flavors {
  background: var(--color-cream-deep);
}

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

.home-flavors__copy {
  grid-column: 1 / span 5;
  min-width: 0;
}

.home-flavors__copy > p {
  max-width: 32.5rem;
}

.home-flavors__principles {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
}

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

.home-flavors__principles p {
  max-width: 52ch;
}

.home-flavors__principles blockquote {
  max-width: 32ch;
}

.home-flavors__media {
  grid-column: 6 / -1;
  min-width: 0;
  margin: 0;
}

.home-flavors__media img {
  width: 100%;
  height: clamp(22rem, 38vw, 30rem);
  object-fit: cover;
  object-position: center;
}

.home-games {
  background: var(--color-pastel-blue);
}

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

.home-games__intro {
  grid-column: 1 / span 4;
  min-width: 0;
}

.home-games__intro > :last-child {
  max-width: 35rem;
  margin-block-end: 0;
}

.home-game-cards {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  min-width: 0;
}

.home-game-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-cream);
}

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

.home-game-card h3 {
  font-size: var(--text-xl);
}

.home-game-card p {
  max-width: 38ch;
}

.home-game-card__meta {
  margin-top: auto !important;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.home-games__action {
  grid-column: 5 / -1;
  min-width: 0;
}

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

.home-agenda__intro {
  grid-column: 1 / span 4;
  min-width: 0;
}

.home-agenda__intro > p {
  max-width: 37rem;
}

.home-agenda__list {
  grid-column: 6 / -1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  padding-inline-start: var(--space-5);
  border-inline-start: 1px solid var(--color-wood-line);
}

.home-agenda-item {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: var(--space-4);
  min-width: 0;
  padding-block-end: var(--space-4);
  border-block-end: var(--border-subtle);
}

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

.home-agenda-item h3 {
  font-size: var(--text-xl);
}

.home-agenda-item p {
  max-width: 46ch;
  margin-block-end: 0;
}

.home-agenda-item__marker {
  width: 1rem;
  height: 1rem;
  margin-top: 0.45rem;
}

.home-agenda-item__marker--circle { border-radius: 50%; background: var(--color-mustard); }
.home-agenda-item__marker--square { background: var(--color-pastel-blue); border: 1px solid var(--color-wood); }
.home-agenda-item__marker--diamond { background: var(--color-burnt-orange); transform: rotate(45deg); }

.home-tournaments {
  background: var(--color-olive);
  color: var(--color-cream);
}

.home-tournaments .eyebrow,
.home-closing .eyebrow {
  color: var(--color-mustard);
}

.home-tournaments h2,
.home-tournaments h3,
.home-tournaments a {
  color: var(--color-cream);
}

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

.home-tournaments__copy {
  grid-column: 1 / span 7;
  min-width: 0;
}

.home-tournaments__copy > p {
  max-width: 64ch;
}

.home-tournaments__notice {
  max-width: 46ch;
  padding: var(--space-5);
  border: 1px solid rgb(247 240 226 / 45%);
  border-radius: var(--radius-lg);
  background: rgb(89 68 56 / 22%);
}

.home-tournaments__notice > :last-child {
  margin-block-end: 0;
}

.home-tournaments__actions {
  grid-column: 9 / -1;
  min-width: 0;
  align-self: center;
  padding: var(--space-5);
  border: 1px solid rgb(247 240 226 / 35%);
  border-radius: var(--radius-lg);
}

.home-tournaments__actions > p {
  max-width: 36ch;
}

.home-tournaments__actions .button--secondary {
  border-color: var(--color-cream);
  color: var(--color-cream);
}

.home-tournaments__actions .button--secondary:hover {
  border-color: var(--color-mustard);
  background: var(--color-mustard);
  color: var(--color-wood);
}

.home-tournaments__link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

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

.home-space__story {
  grid-column: 1 / span 4;
  min-width: 0;
}

.home-space__story > p {
  max-width: 30rem;
}

.home-space__note {
  padding: var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-cream-deep);
}

.home-space__note > :last-child {
  max-width: 52ch;
  margin-block-end: 0;
}

.home-space__photos {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: var(--space-4);
  min-width: 0;
  align-items: start;
}

.home-space__photos figure {
  min-width: 0;
  margin: 0;
}

.home-space__wide img,
.home-space__detail img {
  width: 100%;
  object-fit: cover;
}

.home-space__wide img { aspect-ratio: 3 / 2; }
.home-space__detail { margin-top: var(--space-8) !important; }
.home-space__detail img { aspect-ratio: 1 / 1; }

.home-visit {
  background: var(--color-cream-deep);
}

.home-visit__heading {
  max-width: 44rem;
}

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

.home-visit__location,
.home-visit__hours,
.home-visit__reservation {
  min-width: 0;
  padding: var(--space-5);
  border: var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-cream);
}

.home-visit__location { grid-column: 1 / span 3; }
.home-visit__hours { grid-column: 4 / span 3; }
.home-visit__reservation { grid-column: 8 / -1; }

.home-visit__location p,
.home-visit__hours dl { margin-block-end: 0; }
.home-visit__location p { max-width: 38ch; }
.home-visit__reservation p { max-width: 56ch; }

.home-visit__icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin-block-end: var(--space-3);
  color: var(--color-burnt-orange);
  font-size: 1.4rem;
  line-height: 1;
}

.home-visit__hours dl {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
}

.home-visit__hours dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2);
  min-width: 0;
}

.home-visit__hours dt,
.home-visit__hours dd {
  min-width: 0;
  margin: 0;
}

.home-visit__hours dt { font-weight: 700; }

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

.home-faq__heading {
  grid-column: 1 / span 5;
  min-width: 0;
}

.home-faq__heading p:last-child {
  max-width: 32.5rem;
  margin-block-end: 0;
}

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

.home-faq__item {
  min-width: 0;
  border: var(--border-wood);
  border-radius: var(--radius-lg);
  background: var(--color-cream-deep);
}

.home-faq__item h3 {
  margin: 0;
}

.home-faq__item button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  min-height: 3.25rem;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--color-wood);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

.home-faq__item button span {
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1;
}

.home-faq__panel {
  max-width: 64ch;
  padding: 0 var(--space-4) var(--space-4);
}

.home-faq__panel p {
  margin: 0;
}

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

.home-closing__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--space-6), 5vw, var(--space-8));
  border-radius: var(--radius-xl);
  background: var(--color-wood);
  color: var(--color-cream);
}

.home-closing__panel::after {
  position: absolute;
  right: 8%;
  bottom: 1.5rem;
  width: 20%;
  min-width: 7rem;
  height: 1.5rem;
  border-top: 3px solid var(--color-mustard);
  border-radius: 50%;
  content: "";
}

.home-closing__content {
  position: relative;
  z-index: 1;
  width: 58.333%;
  min-width: 0;
}

.home-closing h2,
.home-closing p {
  color: var(--color-cream);
}

.home-closing__content > p {
  max-width: 48ch;
}

.home-closing .button--secondary {
  border-color: var(--color-cream);
  color: var(--color-cream);
}

.home-closing .button--secondary:hover {
  border-color: var(--color-mustard);
  background: var(--color-mustard);
  color: var(--color-wood);
}

@media (max-width: 1100px) {
  .home-hero__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .home-hero__copy { grid-column: 1 / span 4; }
  .home-hero__media { grid-column: 5 / -1; }
  .home-hero__paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero__paths > :nth-child(3) { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .home-house__grid,
  .home-flavors__grid,
  .home-games__grid,
  .home-agenda__grid,
  .home-tournaments__grid,
  .home-space__grid,
  .home-visit__grid,
  .home-faq__container { grid-template-columns: repeat(8, minmax(0, 1fr)); }

  .home-house__intro { grid-column: 1 / span 3; }
  .home-values { grid-column: 4 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-values > :nth-child(3) { grid-column: 1 / -1; }
  .home-flavors__copy { grid-column: 1 / span 4; }
  .home-flavors__media { grid-column: 5 / -1; }
  .home-games__intro { grid-column: 1 / -1; }
  .home-game-cards { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-game-cards > :nth-child(3) { grid-column: 1 / -1; }
  .home-games__action { grid-column: 1 / -1; }
  .home-agenda__intro { grid-column: 1 / span 3; }
  .home-agenda__list { grid-column: 4 / -1; }
  .home-tournaments__copy { grid-column: 1 / span 5; }
  .home-tournaments__actions { grid-column: 6 / -1; }
  .home-space__story { grid-column: 1 / span 3; }
  .home-space__photos { grid-column: 4 / -1; }
  .home-visit__location { grid-column: 1 / span 4; }
  .home-visit__hours { grid-column: 5 / -1; }
  .home-visit__reservation { grid-column: 1 / -1; }
  .home-faq__heading { grid-column: 1 / -1; }
  .home-faq__list { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .home-tournaments__copy,
  .home-tournaments__actions { grid-column: 1 / -1; }
  .home-tournaments__actions { max-width: 36rem; }
}

@media (max-width: 820px) {
  .home-flavors__grid { grid-template-columns: 1fr; }
  .home-flavors__copy,
  .home-flavors__media { grid-column: 1; }
  .home-flavors__media { order: -1; }
}

@media (max-width: 767px) {
  .home-hero__grid,
  .home-house__grid,
  .home-games__grid,
  .home-agenda__grid,
  .home-space__grid,
  .home-visit__grid,
  .home-faq__container { grid-template-columns: minmax(0, 1fr); }

  .home-hero__copy,
  .home-hero__media,
  .home-hero__paths,
  .home-house__intro,
  .home-values,
  .home-games__intro,
  .home-game-cards,
  .home-games__action,
  .home-agenda__intro,
  .home-agenda__list,
  .home-space__story,
  .home-space__photos,
  .home-visit__location,
  .home-visit__hours,
  .home-visit__reservation,
  .home-faq__heading,
  .home-faq__list { grid-column: 1; }

  .home-hero__grid { gap: var(--space-5); }
  .home-hero__copy h1 { max-width: none; }
  .home-hero__lead { max-width: none; font-size: var(--text-base); }
  .home-hero__media { order: 2; }
  .home-hero__paths { order: 3; grid-template-columns: minmax(0, 1fr); }
  .home-hero__paths > :nth-child(3) { grid-column: 1; }
  .home-hero__media img { height: auto; aspect-ratio: 4 / 3; object-position: center; }

  .home-house__grid { gap: var(--space-5); }
  .home-values { grid-template-columns: minmax(0, 1fr); }
  .home-values > :nth-child(3) { grid-column: 1; }
  .home-value { padding-inline: 0; border-inline: 0; border-bottom: var(--border-subtle); border-radius: 0; background: transparent; }
  .home-value--notice { padding: var(--space-5); border: var(--border-subtle); border-radius: var(--radius-lg); background: var(--color-pastel-blue); }

  .home-game-cards { grid-template-columns: minmax(0, 1fr); }
  .home-game-cards > :nth-child(3) { grid-column: 1; }
  .home-game-card p { max-width: none; }

  .home-agenda__grid { gap: var(--space-5); }
  .home-agenda__list { padding-inline-start: var(--space-4); }
  .home-agenda-item p { max-width: none; }

  .home-space__photos { grid-template-columns: minmax(0, 1fr); }
  .home-space__detail { margin-top: 0 !important; }

  .home-visit__grid { gap: var(--space-4); }
  .home-visit__location p,
  .home-visit__reservation p { max-width: none; }

  .home-faq__container { gap: var(--space-5); }
  .home-faq__panel { max-width: none; }

  .home-closing__content { width: 100%; }
  .home-closing__panel::after { right: 1.5rem; width: 30%; }
}

@media (max-width: 430px) {
  .home-visit__hours dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-visit__hours dd { margin-bottom: var(--space-2); }
  .home-faq__item button { font-size: var(--text-base); }
}
