/* Structural styling for the studio's editable homepage blocks. */
.gms-homepage {font-family:var(--wp--preset--font-family--body, 'Plus Jakarta Sans', sans-serif)}
.gms-home-band {box-sizing:border-box}
.gms-home-band h2,.gms-home-band h3 {text-wrap:balance}
.gms-home-band .wp-block-columns {margin-bottom:0}
.gms-home-band .wp-block-column > .has-background:only-child {box-sizing:border-box;height:100%}
.gms-home-band .wp-block-image img {display:block;width:100%;border-radius:14px}
.gms-feature-art img {object-fit:contain;height:clamp(150px,17vw,235px)}
.gms-editorial-photo img,.gms-demo-photo img {object-fit:cover;aspect-ratio:1.65}
.gms-about-columns {align-items:center}
.gms-home-marquee {position:relative;overflow:hidden}
.gms-home-marquee .gms-marquee-items {margin:0;flex-wrap:wrap;justify-content:space-around}
.gms-marquee-items p {margin:0;font-size:0.94rem;font-weight:680;white-space:nowrap}

.gms-marquee-track {display:flex;width:100%;overflow:hidden}
.gms-marquee-track .gms-marquee-items {flex:none;width:max-content;min-width:100%;box-sizing:border-box;flex-wrap:nowrap;padding-inline:1.5rem;animation:gms-feature-scroll 34s linear infinite}
.gms-home-marquee:focus-within .gms-marquee-items {animation-play-state:paused}
.gms-marquee-track:focus-visible {outline:2px solid #304de4;outline-offset:-2px}
@media (hover:hover) {.gms-home-marquee:hover .gms-marquee-items {animation-play-state:paused}}
@keyframes gms-feature-scroll {to{transform:translateX(-100%)}}
@media(prefers-reduced-motion:reduce){.gms-marquee-track .gms-marquee-items{animation:none}.gms-marquee-track .gms-marquee-items[aria-hidden]{display:none}.gms-marquee-track .gms-marquee-items{display:flex;width:100%;max-width:100%;flex-wrap:wrap;gap:8px 22px}}
@media(max-width:700px){.gms-home-band .wp-block-buttons{gap:8px}.gms-feature-art img{height:175px}.gms-marquee-items p{font-size:.85rem}}

@media(min-width:1180px){
    .gms-homepage .gms-game-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
    .gms-homepage .gms-card-body{padding:16px}
    .gms-homepage .gms-card-body h3{font-size:1.25rem}
}
@media(max-width:640px){
    .gms-homepage .gms-game-grid .gms-campaign-card{display:grid;grid-template-columns:clamp(76px,25vw,135px) minmax(0,1fr);align-items:center}
    .gms-homepage .gms-game-grid .gms-game-art{height:100%;min-height:100px;object-fit:cover}
    .gms-homepage .gms-game-grid .gms-card-body{padding:12px 14px}
    .gms-homepage .gms-game-grid .gms-card-body h3{font-size:1.18rem}
}
/* Labels and artwork are native blocks. Their layout lives with the homepage. */
.gms-homepage .gms-kicker,.gms-hero-copy .gms-kicker {
    display:inline-flex;max-width:100%;box-sizing:border-box;align-items:center;border-radius:99px;
    padding:.37em .92em;background:#eff9fa;color:#3041ab;font-size:.875rem;font-weight:750;line-height:1.3
}
.gms-kicker > p,.gms-marquee-item > p,.gms-art-note p {margin:0}
.gms-hero-copy .gms-kicker{background:color-mix(in srgb,var(--wp--preset--color--secondary,#eef8fa) 83%,#b9f5ec)}
.gms-action .wp-block-button__link {display:inline-flex;align-items:center;justify-content:center;gap:.55em;line-height:1.3}
.gms-action .wp-block-button__link::before {content:"";background:currentColor;width:1.07em;height:1.07em;flex:none;mask:url('../../local-studio/assets/icons/base/arrow-right.svg') center/contain no-repeat}
.gms-action-secondary .wp-block-button__link::before {mask:none;clip-path:polygon(26% 8%,90% 50%,26% 92%);width:.95em}
.gms-home-marquee .gms-marquee-item {flex:none}
.gms-marquee-item .wp-block-image,.gms-marquee-item img{display:block;margin:0;width:30px;height:30px;flex:none}
.gms-marquee-items .gms-marquee-item p::before {content:none}
.gms-home-marquee .gms-marquee-items {row-gap:6px}
.gms-home-band .gms-visual-card {overflow:hidden;border:1px solid #dde4f3;box-shadow:0 9px 26px #293f7910;height:100%}
.gms-visual-card > figure,.gms-home-band .gms-game-cover,.gms-home-band .gms-demo-photo {line-height:0;margin:0}
.gms-home-band .gms-visual-card > figure img {width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:0}
.gms-visual-card .gms-visual-body {margin:0}
.gms-home-band .gms-visual-body a,.gms-home-band .gms-how-columns a,.gms-about-columns a{color:var(--wp--preset--color--primary);text-underline-offset:.19em}
.gms-about-columns,.gms-how-columns{align-items:center}
.gms-home-band .gms-about-columns{column-gap:clamp(2rem,5vw,5rem)}
.gms-about-art {position:relative;isolation:isolate;margin:1.5rem auto;width:94%;padding:4% 10% 7% 4%;box-sizing:border-box}
.gms-about-art::before {content:"";position:absolute;inset:6% 15% 11% 1%;background:linear-gradient(125deg,#b8ccff,#b2e1e9 60%,#bbf1e7);border-radius:24px;transform:rotate(-5deg);z-index:-1}
.gms-home-band .gms-about-photo img {aspect-ratio:1.12;object-fit:cover;border:6px solid #fff;box-sizing:border-box;box-shadow:0 14px 38px #3547761c}
.gms-art-note {position:absolute;margin:0!important;padding:.8rem 1rem;background:white;box-shadow:0 9px 25px #26397c22;border-radius:14px;line-height:1.35;font-size:clamp(.78rem,1.15vw,1rem);color:#364b69}
.gms-art-note strong {font-size:1.07em;color:#1c2845}
.gms-art-note .ls-icon,.gms-point-icon {display:grid;place-items:center;flex:none;border-radius:14px;width:44px;height:44px;color:#384bcd;background:#ecf8f9}
.gms-art-prize {right:0;top:11%}.gms-art-counter {left:0;bottom:3%}.gms-art-counter .ls-icon{background:#d6f8e9;color:#137456}
.gms-benefit-line {padding:13px 16px;border:1px solid #dee5f4;border-radius:14px;background:#fff;box-shadow:0 4px 12px #30407808}
.gms-point-copy > * {margin:0}.gms-point-copy h3 {margin-bottom:3px}.gms-point-copy p{font-size:.96rem;line-height:1.48}
.gms-benefit-line:nth-of-type(2n) .gms-point-icon {background:#d8f5ea;color:#177153}
.gms-benefit-line:nth-of-type(3n) .gms-point-icon {background:#ffead9;color:#974922}
.gms-how-photo img {aspect-ratio:1.33;object-fit:cover;box-shadow:0 14px 38px #35477620}
/* Title accent for the editable campaign FAQ. */
.gms-faq-intro > p {max-width:32ch}
.gms-faq-heading strong {position:relative;display:table;font-weight:inherit}
.gms-faq-heading strong::after {
    content:"";position:absolute;right:-.05em;bottom:-.18em;width:60%;height:.12em;
    border-top:.075em solid #344de4;border-radius:65%;transform:rotate(-3deg)
}
.gms-faq-heading strong::before {
    content:"";position:absolute;left:calc(100% + .07em);bottom:-.12em;width:.5em;height:.57em;
    background:linear-gradient(125deg,transparent 39%,#344de4 42% 54%,transparent 57%) 0 0/.49em .29em,
               linear-gradient(158deg,transparent 40%,#344de4 43% 55%,transparent 58%) 100% 64%/.32em .18em,
               linear-gradient(8deg,transparent 39%,#344de4 43% 55%,transparent 59%) 95% 100%/.23em .13em;
    background-repeat:no-repeat
}
.gms-faq-intro .gms-faq-heading + p {margin-top:clamp(1.5rem,2.7vw,2.5rem)}
.gms-faq-list {min-width:0}
.gms-faq-list .gms-home-question {box-sizing:border-box}
.gms-home-question summary {
    position:relative;list-style:none;cursor:pointer;padding:17px 0 17px 1.55em;
    font-size:clamp(1rem,1.35vw,1.24rem);font-weight:750;line-height:1.4
}
.gms-home-question summary::-webkit-details-marker {display:none}
.gms-home-question summary::before {
    content:"";position:absolute;left:0;top:calc(17px + .42em);width:.55em;height:.65em;
    background:currentColor;clip-path:polygon(10% 0,100% 50%,10% 100%)
}
.gms-home-question[open] > summary::before {transform:rotate(90deg)}
.gms-home-question summary:focus-visible {outline:2px solid #304de4;outline-offset:-2px;border-radius:6px}
.gms-home-question > p {padding-inline-start:1.75em}
@media(max-width:781px) {
    .gms-faq-intro > p {max-width:44ch}
}
/* Layer the selected restaurant photograph and the translucent CTA waves. */
.gms-launch-band {position:relative;isolation:isolate;overflow:hidden}
.gms-launch-band .gms-launch-inner {
    position:relative;z-index:2;box-sizing:border-box;display:flex;align-items:center;
    width:min(calc(100% - 2 * var(--gms-site-gutter,4vw)),var(--wp--style--global--wide-size,1440px));
    min-height:clamp(350px,33.33vw,560px);padding-block:clamp(3rem,5vw,5.5rem);pointer-events:none
}
.gms-launch-copy {width:35%;pointer-events:auto}
.gms-launch-copy h2 {text-wrap:balance}
.gms-launch-copy h2 mark {white-space:nowrap}
.gms-launch-band > :is(.gms-launch-photo,.gms-launch-surround) {
    position:absolute;inset:0 0 0 auto;max-width:none;margin:0;height:100%;pointer-events:none
}
.gms-launch-band > .gms-launch-photo {width:68%;z-index:0}
.gms-launch-band > .gms-launch-surround {width:118%;z-index:1}
.gms-launch-band :is(.gms-launch-photo,.gms-launch-surround) img {
    width:100%;height:100%;display:block;border-radius:0
}
.gms-launch-band .gms-launch-photo img {object-fit:cover;object-position:50% 0%;mask-image:linear-gradient(to right,transparent,#000 9%)}
.gms-launch-band .gms-launch-surround img {object-fit:fill}
@media(max-width:700px) {
    .gms-launch-band .gms-launch-inner {min-height:0;padding:clamp(30px,7vw,46px) 0 24px}
    .gms-launch-copy {width:100%;max-width:34rem}
    .gms-launch-band > .gms-launch-photo {position:relative;inset:auto;width:100%;height:auto;aspect-ratio:1.85}
    .gms-launch-band .gms-launch-photo img {object-position:50% 28%;mask-image:linear-gradient(to bottom,transparent,#000 10%)}
    .gms-launch-band > .gms-launch-surround {inset:auto 0 0 auto;width:205%;height:auto;aspect-ratio:3.7925}
}
.gms-homepage .gms-game-grid .gms-campaign-card {overflow:hidden;background:#fff;border:1px solid #dce3f3;box-shadow:0 7px 18px #2739570c}
.gms-homepage .gms-game-grid .gms-game-art {width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;margin:0;padding:0}
@media(max-width:700px) {
    .gms-hero-copy .wp-block-buttons .wp-block-button__link{font-size:1rem!important}
    .gms-home-marquee .gms-marquee-item{gap:5px}
    .gms-about-art{width:100%}
    .gms-art-note{padding:8px 10px}
    .gms-art-note .ls-icon{width:31px;height:31px}
    .gms-homepage .gms-game-grid .gms-campaign-card{display:flex;flex-direction:column;align-items:stretch}
    .gms-homepage .gms-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .gms-homepage .gms-game-grid .gms-card-body{padding:12px}
    .gms-homepage .gms-game-grid .gms-game-art{min-height:0}
}
@media(max-width:370px){.gms-homepage .gms-game-grid{grid-template-columns:1fr}}

/* The studio photo, benefit list and fact strip share a single editorial layout. */
#about-the-studio .gms-about-photo {transform:rotate(-1.5deg)}
#about-the-studio .gms-about-art::before {inset:4% 15% 9% 2%;background:linear-gradient(140deg,#def2f6,#bfe7ed 60%,#e4f2ff)}
#about-the-studio .gms-benefit-line {border-color:transparent;box-shadow:0 3px 20px #4432a015}
#about-the-studio .gms-point-icon,.gms-studio-stat .gms-stat-icon {border-radius:50%}
.gms-about-stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(190px,1.17fr);align-items:stretch;gap:clamp(10px,1.2vw,20px);margin-top:clamp(30px,4vw,56px)}
.gms-home-band .gms-about-stats > *,.gms-stat-copy > * {margin:0}
.gms-studio-stat {display:flex;align-items:center;gap:clamp(8px,1vw,16px);min-width:0;padding:clamp(14px,1.45vw,23px);border:1px solid #eaf7f9;border-radius:15px;background:#fff;box-shadow:0 5px 21px #3634ad10}
.gms-stat-icon {display:grid;place-items:center;width:clamp(34px,3.15vw,48px);height:clamp(34px,3.15vw,48px);flex:none}
.gms-studio-stat > .gms-stat-copy {min-width:0;margin:0}
.gms-studio-stat > .gms-stat-icon {padding:0}
.gms-stat-value {font-size:clamp(1.65rem,2.35vw,2.5rem);font-weight:800;letter-spacing:-.045em;line-height:1.03}
.gms-stat-label {margin-top:6px;font-weight:750;line-height:1.24}
.gms-stat-detail {margin-top:6px;color:#57617a;font-size:.82rem;line-height:1.35}
.gms-about-stats > .wp-block-buttons {display:grid;align-content:center;gap:9px}
.gms-about-stats .wp-block-button__link {width:100%;font-size:.95rem!important;padding:11px 12px!important}
@media(max-width:1150px) {
    .gms-about-stats {grid-template-columns:repeat(4,minmax(0,1fr))}
    .gms-about-stats > .wp-block-buttons {grid-column:1/-1;display:flex;justify-content:center}
}
@media(max-width:780px) {
    .gms-about-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
    .gms-about-stats > .wp-block-buttons {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px) {
    .gms-studio-stat {flex-direction:column;align-items:flex-start}
    .gms-about-stats > .wp-block-buttons {grid-template-columns:1fr}
}

/* A single decorative trail sits behind three independently replaceable images. */
.gms-benefits-intro {text-align:center}
.gms-benefit-trail {position:relative;isolation:isolate}
.gms-benefit-trail > .wp-block-column {min-width:0}
.gms-benefit-trail .gms-benefit-illustration {margin-block:0;line-height:0}
.gms-benefit-trail .gms-benefit-illustration img {border-radius:0}
@media (min-width:782px) {
    .gms-benefit-trail::before {
        content:"";
        position:absolute;
        inset-inline:0;
        top:clamp(42px,6vw,96px);
        height:clamp(45px,6.5vw,100px);
        background:url('benefit-trail.svg') center/100% 100% no-repeat;
        pointer-events:none;
        z-index:-1;
    }
}
