/* Home: the owner's setup as a game. Artwork: panel/art. */
.workspace > .home { width: 100%; max-width: none; }
.home { display: grid; grid-auto-rows: max-content; align-content: start; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; padding: 26px max(24px, calc((100% - 1280px) / 2)) 40px; }
.home .eyebrow { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }

.home-hero { position: relative; display: grid; min-height: 372px; grid-column: 1 / -1; align-items: center; overflow: hidden; border-radius: 34px; color: #fff; background: #2a149a url("art/hero.webp") right 62% / cover no-repeat; box-shadow: 0 22px 50px rgb(42 20 154 / 34%); }
.home-hero__copy { width: min(56%, 660px); padding: 34px 0 30px 40px; }
.home-hero .eyebrow { color: #ffd869; }
.home-hero h1 { margin: 6px 0 12px; color: #fff; font-size: clamp(1.9rem, 3.3vw, 2.9rem); line-height: 1.06; text-wrap: balance; }
.home-hero__level { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 22px; font-size: 1.06rem; }
.home-hero__level strong { color: #ffd869; font-size: 1.24rem; }

.level-road { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.level-road::before, .level-road::after { position: absolute; top: 84px; left: calc(100% / 12); height: 10px; border-radius: 9px; content: ""; }
.level-road::before { right: calc(100% / 12); background: rgb(255 255 255 / 20%); box-shadow: inset 0 2px 3px rgb(0 0 0 / 22%); }
.level-road::after { width: calc((100% - 100% / 6) * var(--walked)); background: linear-gradient(90deg, #35d8b4, #ffd34d 60%, #ff7b5c); box-shadow: 0 0 16px rgb(255 211 77 / 60%); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.level-road__stop { position: relative; z-index: 1; display: grid; justify-items: center; gap: 2px; text-align: center; }
.level-road__stop img { width: 58px; height: 74px; margin-bottom: 26px; object-fit: contain; filter: grayscale(.75) brightness(.72); opacity: .78; transition: transform .25s cubic-bezier(.2, 1.4, .4, 1); }
.level-road__stop.is-reached img { filter: drop-shadow(0 5px 9px rgb(10 4 50 / 55%)); opacity: 1; }
.level-road__stop.is-now img { transform: scale(1.22); }
.level-road__stop::after { position: absolute; top: 79px; width: 20px; height: 20px; border: 4px solid #8d7cf0; border-radius: 50%; background: #34209f; content: ""; }
.level-road__stop.is-reached::after { border-color: #fff; background: #ffc93c; }
.level-road strong { font-size: .84rem; font-weight: 600; }
.level-road small { color: #d9d2ff; font-size: .76rem; }

.home-next { --one: #ff6a5b; --two: #a92c8f; display: grid; min-height: 234px; grid-column: span 7; grid-template-columns: 40% 1fr; overflow: hidden; border-radius: 30px; color: #fff; background: linear-gradient(120deg, var(--one), var(--two)); box-shadow: 0 18px 38px rgb(90 30 100 / 25%); }
.home-next--contactNumbers { --one: #d93a3a; --two: #a3246c; }
.home-next--address { --one: #06796d; --two: #14508f; }
.home-next--about { --one: #7d2be0; --two: #43249f; }
.home-next--featured { --one: #b35a00; --two: #9b2d4f; }
.home-next--photos { --one: #cf2585; --two: #7127ab; }
.home-next--count { --one: #1673c9; --two: #4433b5; }
.home-next--racks { --one: #bd5200; --two: #87303f; }
.home-next--live { --one: #11813a; --two: #0c5f7b; }
.home-next__art { width: 100%; height: 100%; contain: size; object-fit: cover; }
.home-next__copy { align-self: center; padding: 22px 26px; }
.home-next .eyebrow { color: #fff; }
.home-next h2 { margin: 5px 0 6px; color: #fff; font-size: 1.56rem; line-height: 1.12; text-wrap: balance; }
.home-next p { margin: 0; }
.home-next__button { display: inline-flex; min-height: 56px; gap: 12px; margin-top: 18px; padding: 10px 12px 13px 22px; border: 0; border-radius: 18px; color: #2b1a6e; background: #fff; box-shadow: inset 0 -5px #d8d2f1, 0 8px 18px rgb(30 10 60 / 25%); font-size: 1.05rem; font-weight: 700; }
.home-next__button:not(:disabled):hover { color: #2b1a6e; background: #fff8df; }
.home-next__button b { padding: 5px 11px; border-radius: 12px; color: #4a3000; background: #ffcf45; }

.home-facts { display: grid; grid-column: span 5; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-next + .home-facts { align-content: stretch; }
.home-hero + .home-facts { grid-column: 1 / -1; }
.home-fact { --tint: #5346db; display: grid; min-height: 104px; align-content: center; gap: 4px; padding: 14px; border: 0; border-radius: 24px; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--tint) 88%, #fff), var(--tint)); box-shadow: inset 0 -5px rgb(0 0 0 / 16%), 0 9px 18px rgb(43 46 100 / 16%); text-align: left; transition: transform .16s; }
.home-fact:hover { transform: translateY(-3px); }
.home-fact:active { transform: translateY(2px); }
.home-fact strong { font-size: 1.42rem; line-height: 1.1; }
.home-fact span { font-size: .86rem; line-height: 1.2; }
.home-fact--violet { --tint: #6d35d4; }
.home-fact--teal { --tint: #087a70; }
.home-fact--saffron { --tint: #a35a00; }
.home-fact--coral { --tint: #c73744; }
.home-fact--blue { --tint: #1f61c4; }
.home-fact--quiet { --tint: #46507a; }
.home-fact--quiet strong { font-size: 1rem; }

.home-quests { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.quest-card { position: relative; display: grid; overflow: hidden; padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: #fff; box-shadow: 0 5px 0 #d5d8ee, 0 16px 30px rgb(43 46 100 / 14%); text-align: left; transition: transform .2s cubic-bezier(.2, 1.4, .4, 1), box-shadow .2s; }
.quest-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 5px 0 #c9cdea, 0 24px 38px rgb(43 46 100 / 22%); }
.quest-card:active { transform: translateY(3px); box-shadow: 0 2px 0 #c9cdea; }
.quest-card__art { width: 100%; aspect-ratio: 1.16; object-fit: cover; }
.quest-card__copy { display: grid; align-content: space-between; gap: 10px; padding: 14px 16px 17px; }
.quest-card__copy strong { font-size: 1.06rem; line-height: 1.2; }
.quest-card__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.quest-card__numbers { color: #4b5375; font-size: .86rem; font-weight: 600; }
.quest-card .bar { display: block; height: 12px; margin: 0; overflow: hidden; border-radius: 8px; background: #e6e8f6; }
.quest-card .bar i { display: block; width: calc(var(--value) * 100%); height: 100%; border-radius: 8px; background: linear-gradient(90deg, #31cfae, #5a4be0); }
.quest-card__points { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 14px; color: #4a3000; background: #ffcf45; box-shadow: inset 0 -3px #e0a91c, 0 5px 12px rgb(20 10 60 / 25%); font-weight: 700; }
.quest-card__points--done { color: #fff; background: #11804f; box-shadow: inset 0 -3px #0a6039, 0 5px 12px rgb(20 10 60 / 25%); }
.quest-card__points svg { width: 18px; height: 18px; stroke-width: 3.4; }
.quest-card.is-complete .bar i { background: #16a467; }

.website-card { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) 46%; align-items: center; overflow: hidden; border-radius: 30px; background: linear-gradient(120deg, #fff6d8, #ffe1ea 55%, #dfe5ff); box-shadow: var(--shadow-soft); }
.website-card__copy { padding: 28px 34px; }
.website-card h2 { margin: 6px 0; font-size: 1.6rem; }
.website-card__copy > p { color: #4b5375; }
.website-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.website-card__collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px; }
.website-card__collage img, .website-card__blank { width: 100%; aspect-ratio: 1; border: 4px solid #fff; border-radius: 20px; background: #fff; box-shadow: 0 6px 14px rgb(43 46 100 / 14%); object-fit: cover; }
.website-card__collage > :nth-child(odd) { transform: rotate(-3deg); }
.website-card__collage > :nth-child(even) { transform: rotate(2.5deg); }
.website-card__blank { display: grid; place-items: center; color: #7771bd; }

@media (max-width: 1100px) {
  .home-next, .home-facts { grid-column: 1 / -1; }
  .home-hero { background-position: right -140px center; }
  .website-card { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .home { gap: 14px; padding: 14px 14px 26px; }
  .home-hero { min-height: 0; border-radius: 26px; background-image: linear-gradient(180deg, rgb(42 20 154 / 0) 60px, #2a149a 190px), url("art/hero.webp"); background-position: top, right -8px top -22px; background-size: 100% 100%, auto 300px; }
  .home-hero__copy { width: auto; padding: 128px 16px 20px; }
  .home-hero h1 { font-size: 1.75rem; }
  .home-hero__level { margin-bottom: 14px; font-size: .96rem; }
  .level-road::before, .level-road::after { top: 64px; height: 8px; }
  .level-road__stop img { width: 40px; height: 52px; margin-bottom: 25px; }
  .level-road__stop::after { top: 59px; width: 18px; height: 18px; }
  .level-road strong { font-size: .74rem; }
  .level-road small { font-size: .72rem; }
  .home-next { min-height: 0; grid-template-columns: 1fr; border-radius: 26px; }
  .home-next__art { height: 178px; contain: none; object-position: center 42%; }
  .home-next__copy { padding: 16px 18px 20px; }
  .home-next__button { width: 100%; justify-content: space-between; }
  .home-facts { gap: 10px; }
  .home-fact { min-height: 92px; padding: 11px; border-radius: 20px; }
  .home-fact strong { font-size: 1.14rem; }
  .home-fact--quiet strong { font-size: .86rem; }
  .home-fact span { font-size: .78rem; }
  .home-quests { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .quest-card { border-radius: 22px; }
  .quest-card__copy { padding: 11px 12px 14px; }
  .quest-card__copy strong { font-size: .95rem; }
  .quest-card__row { grid-template-columns: 1fr; gap: 5px; }
  .quest-card__points { top: 9px; right: 9px; padding: 4px 10px; }
  .website-card { border-radius: 26px; }
  .website-card__copy { padding: 20px 20px 6px; }
  .website-card__actions .btn { flex: 1 1 100%; }
  .website-card__collage { padding: 14px; gap: 8px; }
}
@media (max-width: 820px) {
  .level-road__stop img { margin-bottom: 30px; }
  .home-next__art { height: 138px; object-position: center 38%; }
}
