.cage-home {
  --bg: #f5f3e9;
  --panel: #fffcf4;
  --ink: #182d25;
  --muted: #465d53;
  --line: #cbcfc0;
  --hl: #e7eadc;
  --sel: #eadd9d;
  --accent: #223f33;
  --accent-ink: #fffdf3;
  color-scheme: light;
}
.cage-home > .shell { width: min(100% - 2.5rem, 72rem); }
.cage-home .top { min-height: 5rem; flex-wrap: wrap; gap: .65rem 1.3rem; padding-block: .85rem; }
.cage-home .top .mark { font-size: 1.9rem; }
.cage-home .top .games { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem 1rem; }
.cage-home .top .games a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; font-size: .93rem; }
.cage-home main > section { scroll-margin-top: 1rem; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
  min-height: 32rem;
  overflow: hidden;
  isolation: isolate;
  color: #fff8e7;
  background: radial-gradient(ellipse at 83% 39%, #39533e, #1b372c 47%, #142b23 85%);
  border-radius: 1.45rem;
}
.home-hero-copy { z-index: 1; align-self: center; padding: clamp(1.4rem, 6vw, 5rem); padding-right: 0; }
.home-kicker { font-size: .9rem; font-weight: 750; letter-spacing: .075em; margin: 0 0 .65rem; }
.home-hero .home-kicker { color: #d7deb5; }
.home-hero h1, .home-section-head h2, .home-casino h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.025em;
  margin: 0;
}
.home-hero h1 { font-size: clamp(4.5rem, 8vw, 7.9rem); }
.home-hero h1 em { color: #e9d8a3; }
.home-hero-copy > p:not(.home-kicker) { color: #e2e9d8; max-width: 31ch; font-size: 1.08rem; }
.home-actions { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; align-items: center; margin-top: 1.5rem; }
.home-hero .btn { background: #f1e5b8; border-color: #f1e5b8; color: #193126; }
.home-secondary { color: #fbf5e5; display: inline-flex; align-items: center; min-height: 44px; }
.home-hero a:focus-visible, .home-casino a:focus-visible { outline-color: #fff7dd; }
.home-hero-art { position: relative; container-type: inline-size; display: grid; place-items: center; min-height: 17rem; }
.home-orbit {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 24px, #d2dfaf30 25px 26px, transparent 27px 47px);
  opacity: .6;
}
.home-board {
  position: absolute;
  left: 15%;
  top: 21%;
  width: 52%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 2.7cqi;
  gap: .45cqi;
  border: 1px solid #faf0c9;
  border-radius: 4cqi;
  transform: rotate(-14deg);
  background: #e6dbb2;
  color: #253c2f;
  box-shadow: 0 1.4rem 3rem #091510a0, inset 0 0 0 2px #b1a16a;
}
.home-board i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #b3a577;
  background: #faf3d9;
  border-radius: .6cqi;
  font: 700 5.2cqi/1 var(--font);
}
.home-board i:nth-child(5n + 2) { background: #bcce9e; border-color: #859875; }
.home-deck {
  position: absolute;
  left: 61%;
  top: 22%;
  width: 25%;
  aspect-ratio: .7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.8cqi;
  border: 3px double #b8a773;
  border-radius: 3cqi;
  color: #1b3026;
  background: #faf0d7;
  transform: rotate(16deg);
  box-shadow: .65rem .85rem 2rem #09151091;
  font: 700 5cqi/1 Georgia, serif;
}
.home-deck b { font-size: 11cqi; align-self: center; }
.home-deck span:last-child { align-self: end; rotate: 180deg; }
.home-letters { position: absolute; top: 66%; left: 40%; display: flex; gap: 1cqi; transform: rotate(-5deg); }
.home-letters span {
  display: grid;
  place-items: center;
  width: 9cqi;
  aspect-ratio: 1;
  border-radius: 1.2cqi;
  background: #d8e6b9;
  color: #21362b;
  border: 1px solid #edf2da;
  box-shadow: 0 4px 0 #8d9e6c, 0 .8rem 1rem #06181070;
  font: 750 4.5cqi/1 var(--font);
}
.home-games { margin-block: 3rem; }
.home-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1.5rem; margin-bottom: 1.15rem; }
.home-section-head h2, .home-casino h2 { font-size: clamp(3rem, 6vw, 4.8rem); }
.home-section-head p { margin: 0; color: var(--muted); }
.cage-home .gcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 0; }
.cage-home .gcard { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 1rem; }
.cage-home .gart { width: 100%; height: 7.5rem; padding: .85rem; background: #e7eddb; }
.cage-home .gcard:nth-child(even) .gart { background: #eee4d3; }
.cage-home .gtext { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: start; padding: 1rem; }
.cage-home .gtext h2 { font-size: 1.3rem; }
.cage-home .gtext p { flex: 1; }
.cage-home .gtext .btn { margin-top: .5rem; }
.home-casino {
  display: grid;
  grid-template-columns: 1fr minmax(0, .84fr);
  align-items: center;
  gap: 1rem 2rem;
  padding: clamp(1.25rem, 5vw, 3rem);
  border: 1px solid #7e5c64;
  border-radius: 1.25rem;
  color: #fff4df;
  background: radial-gradient(ellipse at right, #533557, #291b33 74%);
}
.home-casino .home-kicker { color: #edcfac; }
.home-casino p:not(.home-kicker) { color: #f0e0ed; max-width: 35ch; }
.home-casino .btn { background: #f0cf9b; border-color: #f0cf9b; color: #301e33; }
.home-reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .45rem;
  padding: .55rem;
  border: 3px double #f2d39d;
  border-radius: .85rem;
  background: #1f142a;
  box-shadow: 0 .85rem 2rem #150e1b80;
}
.home-reels span {
  display: grid;
  place-items: center;
  min-height: 4rem;
  aspect-ratio: 1;
  border-radius: .4rem;
  background: linear-gradient(#d6b781, #fff4d6 27% 73%, #cda974);
  font-size: clamp(1.55rem, 5vw, 3rem);
}
.home-question { margin: 2.5rem 0; padding: 1.4rem 1.5rem; border-left: 3px solid #657b57; background: #e7eadc; }
.home-question p:last-child { margin: 0; font: 2.15rem/1.08 "Instrument Serif", Georgia, serif; }
.home-about summary { cursor: pointer; font-weight: 750; }
@media (max-width: 780px) {
  .cage-home .gcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-hero { min-height: 26rem; }
  .home-hero h1 { font-size: clamp(3.4rem, 10vw, 5rem); }
}
@media (max-width: 590px) {
  .cage-home > .shell { width: calc(100% - 1.5rem); }
  .cage-home .top .games { order: 2; width: 100%; }
  .cage-home .top { gap: .2rem .55rem; }
  .home-hero, .home-casino { grid-template-columns: minmax(0, 1fr); }
  .home-hero-copy { padding: 1.5rem 1.25rem 0; }
  .home-hero-art { min-height: 14rem; }
  .home-board, .home-deck { top: 14%; }
  .home-letters { top: 71%; }
  .home-orbit { width: min(80%, 17rem); }
  .home-games { margin-block: 2rem; }
  .cage-home .gcards { grid-template-columns: 1fr; }
  .cage-home .gcard { flex-direction: row; }
  .cage-home .gart { align-self: stretch; height: auto; width: 29%; padding: .45rem; }
  .cage-home .gtext { padding: .8rem; }
  .home-reels { max-width: 20rem; }
}
