/* Home page */

.home-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); isolation: isolate; }
.home-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse 60% 55% at 78% 45%, rgba(255, 197, 49, .16), transparent 70%),
		radial-gradient(ellipse 50% 60% at 0% 0%, rgba(47, 107, 255, .22), transparent 70%),
		radial-gradient(ellipse 40% 40% at 100% 100%, rgba(255, 90, 43, .12), transparent 70%);
}
.home-hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
	background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 26px 26px;
	mask-image: linear-gradient(180deg, #000 40%, transparent);
	-webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.home-hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }

.home-hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
.h1-brand { display: block; font-family: var(--body); font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.15rem); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.h1-tag { display: block; background: linear-gradient(180deg, #FFF3C9 0%, var(--gold) 55%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .eyebrow { display: none; }

.hero-stats { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--display); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--text); }
.hero-stats span { color: var(--muted); font-size: .9rem; font-weight: 700; }

.home-hero-art { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; justify-self: center; }
.plate-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 49, .45), transparent 65%); filter: blur(30px); }
.plate { position: relative; width: 100%; mix-blend-mode: lighten; animation: bob 6s ease-in-out infinite; }
.float { position: absolute; border-radius: 18px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8); border: 2px solid rgba(255, 255, 255, .12); }
.float.f1 { width: 22%; left: -6%; top: 8%; transform: rotate(-10deg); animation: bob 5s ease-in-out infinite reverse; }
.float.f2 { width: 24%; right: -7%; top: 2%; transform: rotate(9deg); background: #000; animation: bob 7s ease-in-out infinite; }
.float.f3 { width: 38%; right: -4%; bottom: 0; transform: rotate(-5deg); animation: bob 6.5s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 860px) {
	.home-hero-in { grid-template-columns: 1fr; }
	.home-hero-art { order: -1; max-width: 340px; }
	.home-hero-text { text-align: center; }
	.home-hero .btn-row, .hero-stats { justify-content: center; }
	.home-hero .lead { margin-left: auto; margin-right: auto; }
}

/* Game showcases */
.showcase {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; align-items: stretch;
	background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
	margin-bottom: 28px; transition: border-color .2s, box-shadow .3s;
}
.showcase:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 30px 70px -40px var(--accent); }
.showcase.reverse .showcase-art { order: 2; }
.showcase-art { position: relative; display: block; overflow: hidden; background: #000; min-height: 280px; }
.showcase-art > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.showcase:hover .showcase-art > img:first-child { transform: scale(1.04); }
.showcase-logo { position: absolute; left: 50%; bottom: 6%; width: 52%; transform: translateX(-50%); border-radius: 14px; box-shadow: 0 16px 40px -10px #000; }
.showcase-art.chalk { background: #10151B url("../img/guessthis-board.jpg") center / cover; display: grid; place-items: center; }
.showcase-art.chalk > img.chalk-logo { width: 56%; height: auto; object-fit: contain; mix-blend-mode: lighten; position: relative; z-index: 1; }
.chalk-doodle { position: absolute; width: 26%; mix-blend-mode: lighten; opacity: .9; }
.chalk-doodle.d1 { left: 3%; top: 6%; transform: rotate(-8deg); }
.chalk-doodle.d2 { right: 3%; bottom: 6%; transform: rotate(6deg); }
.showcase:hover .chalk-logo { transform: none; }

.showcase-body { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.showcase-body .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.showcase-body h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0; }
.showcase-body h3 a { color: var(--text); text-decoration: none; }
.showcase-body h3 a:hover { color: var(--accent); }
.showcase-kicker { color: var(--accent); font-weight: 800; margin: 0 0 6px; }
.showcase-body > p:not(.showcase-kicker) { color: var(--muted); }
.showcase-body .chips { margin: 4px 0 22px; }
.chips.small li { font-size: .82rem; padding: 5px 12px; background: rgba(255, 255, 255, .05); }

@media (max-width: 860px) {
	.showcase { grid-template-columns: 1fr; }
	.showcase.reverse .showcase-art { order: 0; }
	.showcase-art { aspect-ratio: 16 / 9; min-height: 0; }
}

/* Development pipeline */
.pipeline { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); }
.pipeline-steps, .pipeline-row { display: grid; grid-template-columns: 220px 1fr; gap: 10px 28px; align-items: center; }
.pipeline-steps { list-style: none; margin: 0 0 14px; padding: 0; grid-template-columns: 220px repeat(4, 1fr); gap: 0; }
.pipeline-steps li { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.pipeline-steps li:first-child { grid-column: 2; }
.pipeline-row { padding: 16px 0; border-top: 1px solid var(--line); }
.pipeline-row > a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-family: var(--display); font-size: 1.15rem; }
.pipeline-row > a:hover { color: var(--gold); }
.pipeline-row img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; background: #000; flex: none; }
.pipeline-row img.lighten { object-fit: contain; }
.pipeline-row .bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.pipeline-row .bar span { display: block; height: 100%; width: calc(var(--step) * 25% - 6%); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 40%, transparent), var(--c)); box-shadow: 0 0 18px var(--c); }
.pipeline-row p { grid-column: 2; margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) {
	.pipeline-steps { display: none; }
	.pipeline-row { grid-template-columns: 1fr; }
	.pipeline-row p { grid-column: 1; }
}

/* Studio pillars */
.pillars .feature { padding: 22px; }
.pillars h3 { font-size: 1.15rem; }

/* Contact */
.contact-topics { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-weight: 700; font-size: .95rem; }
.contact-topics li::before { content: "•"; color: var(--gold); margin-right: 8px; }
