/* Griffin Games catalogue and shared information-page shell. Scoped to these four pages. */
body.gg-page{--ink:#f8eed8;--paper:#fff3dc;--dark:#10120f;--line:#574b30;--mustard:#efc576;--rust:#efc576;color:var(--ink);background:#10130f;isolation:isolate}
.gg-page .top,.gg-page .footer{background:#12130feb;border-color:#423c2c}
.gg-page a{color:var(--gg-accent,#efc576)}
.gg-page .top a,.gg-page .footer a{color:inherit}
body.gg-catalogue{background:radial-gradient(ellipse at 78% 0,#302822 0,transparent 47%),radial-gradient(ellipse at 2% 49%,#233228 0,transparent 56%),#10130f}
body.gg-detail{background:var(--gg-base)}
.gg-expedition{--gg-base:#111a10;--gg-accent:#f2cb75;--gg-glow:#e9a64f;--gg-shot:#212b1d;--bg-x:65%;--bg-mobile-x:73%;--hero-x:right center}
.gg-starsquid{--gg-base:#0d1022;--gg-accent:#9deaff;--gg-glow:#46c0e1;--gg-shot:#191c39;--bg-x:66%;--bg-mobile-x:41%;--hero-x:right center}
.gg-boru{--gg-base:#11231c;--gg-accent:#dcefa0;--gg-glow:#c5e271;--gg-shot:#23352a;--bg-x:57%;--bg-mobile-x:50%;--hero-x:right 42%}
.gg-page .skip{color:#18140e}
.gg-parallax{position:fixed;z-index:-1;inset:0;overflow:hidden;pointer-events:none;background:var(--gg-base)}
.gg-parallax-art{position:absolute;top:-3rem;bottom:-6rem;left:0;right:0;background:var(--gg-backdrop) var(--bg-x) center/cover no-repeat;opacity:.27;transform:translate3d(0,var(--gg-shift,0px),0)}
.gg-parallax::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--gg-base) 0%,transparent 78%),linear-gradient(180deg,#0a0c1010 22%,#080b0d70 75%);opacity:.8}
.gg-page main{padding-block:clamp(1rem,3.3vw,3rem) clamp(2rem,5vw,4rem)}
.gg-page .wrap:not(.top,.footer){width:min(100% - clamp(1.7rem,7vw,7rem),76rem)}
.gg-eyebrow,.gg-catalogue-no,.gg-micro{font:750 .875rem/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase}
.gg-eyebrow{color:var(--gg-accent,#efc576);margin:0 0 .8rem}
.gg-micro{letter-spacing:.08em}
.gg-catalogue-title{padding:clamp(1rem,3vw,2.15rem) 0 clamp(1.3rem,3vw,2.7rem);display:flex;justify-content:space-between;align-items:end;gap:1rem;border-bottom:1px solid #ffffff25}
.gg-page h1{font:920 clamp(2.65rem,8.3vw,6.2rem)/.96 var(--sans);letter-spacing:-.075em;text-wrap:balance}
.gg-page h1 span{color:var(--gg-accent,#edc06d)}
.gg-catalogue-title .gg-intro{max-width:47ch;line-height:1.5;margin:.85rem 0 0;color:#ded8c9}
.gg-brand-art{display:block;width:clamp(9rem,18vw,14.5rem);height:auto;max-width:100%}
.gg-shelf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.78rem,2.7vw,1.8rem);margin-top:clamp(1.2rem,3vw,2rem)}
.gg-game-tile{--tile-accent:#ffcb5e;display:flex;flex-direction:column;min-width:0;padding:clamp(.65rem,1.9vw,1.45rem);background:linear-gradient(175deg,#ffffff0b,transparent 69%),#101410;border:1px solid #ffffff2a;border-top:2px solid var(--tile-accent)}
.gg-game-tile:nth-child(2){--tile-accent:#87e4fa}
.gg-game-tile:nth-child(3){--tile-accent:#bfdf79}
.gg-tile-cover{display:block;border:1px solid #ffffff1a}
.gg-tile-cover:hover{outline:2px solid var(--tile-accent);outline-offset:3px}
.gg-tile-cover img{display:block;width:100%;height:auto;aspect-ratio:2/3;object-fit:contain;background:#0d100f}
.gg-game-tile .gg-eyebrow{font-size:.82rem;color:var(--tile-accent);margin:.98rem 0 .42rem}
.gg-game-tile h2{font:880 clamp(1.22rem,3vw,2.15rem)/1.03 var(--sans);letter-spacing:-.038em}
.gg-game-tile h2 a{color:#f8eed8;text-decoration:none}
.gg-game-tile h2 a:hover{text-decoration:underline;text-decoration-color:var(--tile-accent)}
.gg-game-tile p:last-child{color:#ccc9b9;margin:.65rem 0 .1rem}
.gg-breadcrumb{display:flex;justify-content:space-between;align-items:center;gap:.6rem;color:#f9edd1;line-height:1.4;margin:0 0 1rem}
.gg-breadcrumb a{font-weight:710}
.gg-catalogue-no{color:var(--gg-accent)}
.gg-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(12rem,.52fr);align-items:center;min-height:clamp(32rem,56vw,45rem);gap:clamp(.6rem,3vw,2.4rem);padding:clamp(1.25rem,5.3vw,4.6rem);overflow:hidden;border:1px solid #ffffff38;border-top:3px solid var(--gg-accent);background-color:var(--gg-base)}
.gg-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:var(--gg-backdrop) var(--hero-x)/cover no-repeat;opacity:.70}
.gg-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--gg-base) 1%,#0b1116d9 29%,#0b11165c 67%,#0b111615 100%),linear-gradient(0deg,var(--gg-base),transparent 54%)}
.gg-hero-copy{max-width:42rem}
.gg-hero h1{text-wrap:initial;font-size:clamp(3.05rem,7.6vw,6.55rem);line-height:.90}
.gg-game-subtitle{color:var(--gg-accent);font-weight:860;letter-spacing:-.037em;font-size:clamp(1.46rem,3.5vw,3.1rem);line-height:1.05;margin:.65rem 0 0;max-width:20ch}
.gg-intro{font-size:clamp(1rem,1.32vw,1.16rem)}
.gg-hero .gg-intro{color:#fff3df;max-width:46ch;margin:1.2rem 0 1.65rem}
.gg-actions{display:flex;align-items:center;gap:.8rem 1.25rem;flex-wrap:wrap}
.gg-page .gg-button{background:var(--gg-accent);color:#101a13;padding:.8rem 1.3rem;border-radius:.22rem}
.gg-page .gg-button:hover{background:#fff0ca}
.gg-actions a:not(.gg-button){font-weight:740}
.gg-cart{margin:0;text-align:center;min-width:0;position:relative;justify-self:center;width:min(100%,25rem)}
.gg-cart::before{content:"";inset:6% -12%;position:absolute;z-index:-1;background:radial-gradient(ellipse,var(--gg-glow) 0%,transparent 68%);opacity:.22;filter:blur(12px)}
.gg-cart img{display:block;width:100%;height:auto;aspect-ratio:50/57;object-fit:contain;filter:drop-shadow(0 .8rem 1.25rem #000b)}
.gg-cart figcaption{font-size:.875rem;font-weight:720;color:#f8eed5}
.gg-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin:1rem 0 2rem}
.gg-facts div{min-width:0;padding:clamp(.65rem,2.1vw,1.4rem);background:var(--gg-shot);border:1px solid #ffffff2e;border-bottom:2px solid var(--gg-accent)}
.gg-facts dt{font-size:.86rem;color:var(--gg-accent);font-weight:760}
.gg-facts dd{margin:.2rem 0 0;color:#fff0d9;font-size:clamp(.98rem,2.5vw,1.45rem);font-weight:810;line-height:1.12}
.gg-content{margin-top:1.25rem;padding:clamp(1.1rem,3.7vw,2.7rem);border:1px solid #ffffff30;background:color-mix(in srgb,var(--gg-base) 92%,transparent)}
.gg-content h2{font:880 clamp(1.8rem,4.95vw,3.35rem)/1 var(--sans);letter-spacing:-.05em;color:#fff0d6}
.gg-content>p:not(.gg-eyebrow){max-width:67ch;color:#e0ddcf}
.gg-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.6rem,2vw,1.3rem);margin-top:1.25rem}
.gg-gallery figure{margin:0;min-width:0;border:1px solid #ffffff24;background:var(--gg-shot)}
.gg-gallery img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;background:#0a0d0d}
.gg-gallery img.gg-screen{object-fit:contain;image-rendering:pixelated}
.gg-gallery figcaption{padding:.7rem .85rem;font-weight:730}
.gg-gallery figcaption span{display:block;font-size:.88rem;color:#d0cbbb;font-weight:450;margin-top:.21rem}
.gg-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.73rem;padding:0;list-style:none;margin:1.15rem 0 0}
.gg-shortcuts a{display:block;height:100%;padding:.72rem .88rem;border:1px solid #ffffff35;font-weight:740;background:#ffffff08}
.gg-shortcuts a:hover{background:#ffffff16}
.gg-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:.67rem;margin:1.3rem 0 .6rem}
.gg-controls>div{padding:.67rem .74rem;background:var(--gg-shot);border-top:1px solid var(--gg-accent)}
.gg-controls dt{color:#fff0d8;font-weight:750}
.gg-controls dd{margin:.26rem 0 0;color:#ddded2}
.gg-controls kbd{display:inline-block;white-space:nowrap;border:1px solid #ffffff42;background:#101512;color:#fff4da;border-radius:.2rem;padding:.07rem .27rem;font-size:.88rem}
@media(max-width:51rem){.gg-hero{min-height:28rem}.gg-hero h1{font-size:clamp(2.85rem,9.2vw,5rem)}.gg-hero::before{background-position:65% center}}
@media(max-width:42rem){.gg-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.gg-hero{grid-template-columns:1fr;gap:1.5rem;padding:1.45rem;min-height:0}.gg-hero::before{background-position:var(--bg-mobile-x) 43%}.gg-hero::after{background:linear-gradient(180deg,var(--gg-base) 1%,#0b1116d9 37%,#0b111659 74%,var(--gg-base))}.gg-hero-copy{padding-bottom:.1rem}.gg-cart{width:min(70%,19rem)}.gg-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.gg-parallax-art{background-position:var(--bg-mobile-x) center}.gg-shortcuts{grid-template-columns:1fr}.gg-facts{gap:.45rem}}
@media(max-width:29rem){.gg-shelf{grid-template-columns:1fr}.gg-game-tile{padding:.9rem}.gg-catalogue-title{align-items:start;flex-direction:column-reverse}.gg-brand-art{width:10rem}.gg-gallery{grid-template-columns:1fr}.gg-breadcrumb{align-items:flex-start}.gg-catalogue-no{font-size:.76rem}.gg-hero{padding:1.14rem}}
@media(prefers-reduced-motion:reduce){.gg-parallax-art{transform:none}}

.gg-expedition{--gg-backdrop:url("../../expedition-story-guardian.webp")}
.gg-starsquid{--gg-backdrop:url("./starsquid-backdrop.webp")}
.gg-boru{--gg-backdrop:url("./brian-boru-backdrop.webp")}