:root {
  --pink: #ee004e;
  --ink: #19000b;
  --glass: rgba(238, 0, 78, 0.82);
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scrollbar-width: none; background: #fff; }
body { min-height: 100%; margin: 0; color: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #fff; overflow-x: hidden; }
body::-webkit-scrollbar { display: none; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: url("giggleoohMobilebg.png") center top / 100% auto no-repeat; opacity: .24; }
body::after { content: ""; position: fixed; inset: auto 0 0; z-index: 1; height: 72px; pointer-events: none; background: linear-gradient(to top, rgba(238,0,78,.82), transparent); }
a { color: inherit; }
main { position: relative; z-index: 1; width: min(1180px, calc(100% - 28px)); min-height: 100svh; margin: 0 auto; padding: 96px 0 42px; }
.site-header { position: fixed; top: 8px; left: 10px; right: 10px; z-index: 20; display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none; }
.brand, .menu-toggle, .site-nav { pointer-events: auto; }
.brand { display: block; width: min(29vw, 230px); }
.brand img { display: block; width: 100%; height: auto; }
.menu-toggle { display: grid; place-items: center; gap: 4px; width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 7px; background: var(--glass); box-shadow: 0 12px 30px rgba(68,0,24,.24); backdrop-filter: blur(12px); cursor: pointer; }
.menu-toggle span { width: 19px; height: 2px; border-radius: 999px; background: #fff; }
.site-nav { position: absolute; top: 0; right: 50px; display: flex; gap: 4px; padding: 7px; visibility: hidden; opacity: 0; transform: translateX(7px); pointer-events: none; background: rgba(198,0,62,.93); border: 1px solid rgba(255,255,255,.34); border-radius: 7px; box-shadow: 0 18px 42px rgba(74,0,26,.28); backdrop-filter: blur(12px); transition: 160ms ease; }
.site-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
.site-nav a { padding: 6px 9px; border-radius: 5px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { background: rgba(255,255,255,.16); }
.content-section { margin: 0 0 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; box-shadow: 0 22px 68px rgba(50,0,20,.21); }
.hero { min-height: 132px; display: flex; align-items: flex-end; padding: clamp(18px,3vw,30px); background: linear-gradient(120deg,rgba(238,0,78,.92),rgba(238,0,78,.67)); backdrop-filter: blur(10px); }
.hero-content { width: 100%; }
.eyebrow { margin: 0 0 4px; font-size: .68rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero-title { margin: 0; font-size: clamp(2rem,6vw,4.8rem); font-weight: 950; letter-spacing: -.075em; line-height: .88; }
.hero-intro { margin: 8px 0 0; font-size: clamp(.95rem,2vw,1.2rem); font-weight: 650; }
.content-section { padding: clamp(14px,2vw,22px); background: var(--glass); backdrop-filter: blur(10px); }
h2, p { margin-top: 0; }
h2 { margin-bottom: 3px; font-size: clamp(1.45rem,3.5vw,2.7rem); letter-spacing: -.04em; line-height: 1; }
p { max-width: 64ch; margin-bottom: 0; font-size: clamp(.94rem,1.7vw,1.08rem); line-height: 1.5; }
.arcade-copy { margin-bottom: 14px; }
.arcade-copy h1 { margin: 0; font-size: clamp(1.45rem,3.5vw,2.7rem); font-weight: 950; letter-spacing: -.04em; line-height: 1; }
.game-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.game-card { position: relative; isolation: isolate; display: block; min-height: clamp(330px,43vw,510px); overflow: hidden; color: #fff; text-decoration: none; background: #08050c; border: 1px solid rgba(255,255,255,.32); border-radius: 8px; box-shadow: 0 14px 35px rgba(44,0,18,.22); }
.game-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom,rgba(0,0,0,.08) 38%,rgba(0,0,0,.94)); }
.game-card img, .soundlab-art img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.8,.2,1), filter 300ms ease; }
.game-card:hover img, .game-card:focus-visible img, .soundlab-art:hover img, .soundlab-art:focus-visible img { transform: scale(1.035); }
.game-card:focus-visible, .soundlab-art:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.game-copy { position: absolute; inset: auto 16px 16px; display: grid; gap: 4px; }
.game-copy strong, .production-card strong { font-size: clamp(1.45rem,3vw,2.65rem); font-weight: 950; letter-spacing: -.065em; line-height: .9; white-space: nowrap; }
.game-copy small { font-size: .83rem; font-weight: 700; opacity: .78; }
.game-copy .suncourt-tagline { display: grid; gap: 1px; max-width: 25ch; line-height: 1.28; }
.game-copy b { margin-top: 11px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.warp-title { display: inline-flex; align-items: baseline; white-space: nowrap; }
.warp-word { display: inline-flex; align-items: baseline; white-space: nowrap; letter-spacing: -.075em; }
.warp-word .inverted-a { display: inline-block; width: .66em; margin: 0 -.025em 0 -.055em; letter-spacing: 0; text-align: center; transform: rotate(180deg) translateY(-.035em); transform-origin: 50% 52%; }
.warp-word .after-a { margin-left: -.025em; }
.soundlab-section { display: grid; grid-template-columns: minmax(240px,.82fr) minmax(0,1.18fr); gap: clamp(16px,4vw,48px); align-items: center; }
.soundlab-art { position: relative; isolation: isolate; display: block; height: clamp(210px,22vw,255px); overflow: hidden; background: #101523; border-radius: 7px; }
.soundlab-copy p { margin-bottom: 18px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; padding-bottom: 3px; font-size: .82rem; font-weight: 900; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; border-bottom: 2px solid currentColor; }
.production-section { background: rgba(68,60,64,.88); }
.production-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.production-grid.production-single { grid-template-columns: 1fr; }
.production-card { position: relative; isolation: isolate; min-height: 132px; display: grid; align-content: end; gap: 5px; overflow: hidden; padding: 14px; color: rgba(255,255,255,.72); background: linear-gradient(145deg,#3e3b3c,#211f20); border: 1px solid rgba(255,255,255,.14); border-radius: 7px; filter: grayscale(1); }
.production-card.production-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom,rgba(0,0,0,.08),rgba(0,0,0,.82)); }
.production-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.dusty-tumble-card { min-height: clamp(190px,28vw,340px); }
.dusty-tumble-card { background: #000; }
.dusty-tumble-card > img { object-fit: contain; object-position: center; }
.production-card > span { align-self: start; margin-bottom: auto; font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.production-card strong { font-size: clamp(1rem,2.1vw,1.7rem); }
.production-card small { font-size: .65rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.social-section { background: rgba(238,0,78,.74); }
.social-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 7px; margin-top: 10px; }
.social-card { display: grid; place-items: center; min-height: 68px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 7px; transition: background 160ms ease, transform 160ms ease; }
.social-card:hover, .social-card:focus-visible { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.social-card img { width: 27px; height: 27px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 14px; }
.site-footer a { font-weight: 850; text-underline-offset: 3px; }
.copyright { font-size: .72rem; opacity: .72; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1024px) { body::before { background-image: url("giggleoohMainLogo.png"); background-position: center; background-size: contain; } }
@media (max-width: 760px) {
  .site-header { justify-content: center; }
  .brand { width: min(58vw,320px); min-width: 210px; }
  .menu-toggle { position: absolute; right: 0; }
  main { width: min(100% - 16px,620px); padding-top: clamp(84px,20vw,112px); }
  .game-grid { grid-template-columns: 1fr; }
  .game-card { min-height: min(118vw,520px); }
  .game-copy strong { font-size: clamp(1.8rem,9vw,3.3rem); }
  .soundlab-section { grid-template-columns: 1fr; }
  .soundlab-art { height: min(59vw,260px); }
  .production-grid { grid-template-columns: 1fr; }
  .production-card { min-height: 104px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) { .site-nav { top: 48px; right: 0; flex-direction: column; min-width: 148px; } .site-nav a { padding: 9px 10px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
