:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --section-space: clamp(88px, 9vw, 144px);
  --content-width: 1280px;
  --shade-rgb: 6, 5, 11;
  --shade-community-rgb: 3, 8, 14;
  --card-shade-rgb: 9, 7, 14;
  --vignette-rgb: 2, 8, 14;
  --vignette-rollie-rgb: 8, 5, 25;
  --vignette-unknown-rgb: 8, 5, 12;
  --card-base: #060b12;
  --card-text: #e1e8ee;
  --ink-on-paper-rgb: 17, 16, 24;
  --paper-rgb: 244, 243, 238;
}
::selection { background: var(--violet-hot); color: var(--ink); }
html { scrollbar-gutter: stable; }
body { -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
svg { flex-shrink: 0; }
section:focus, main:focus { outline: none; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 20px; padding: 14px 22px; border-radius: 999px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.reading-progress { position: fixed; z-index: 60; inset: 0 0 auto; height: 2px; background: var(--violet-hot); transform: scaleX(var(--reading-progress, 0)); transform-origin: left; pointer-events: none; }
.site-header { transition: background-color .3s, transform .3s var(--ease-out), box-shadow .3s; }
.site-header.is-scrolled { transform: translateY(-12px); background: rgba(9, 8, 15, .58); }
@media (min-width: 901px) {
  .site-header.is-scrolled { transform: translateX(-50%) translateY(-12px); }
}
@media (max-width: 900px) {
  .site-header.is-scrolled { transform: translateY(-4px); }
}
.site-header .brand { min-height: 40px; }
#site-navigation a { position: relative; display: inline-flex; align-items: center; min-height: 44px; }
#site-navigation a[aria-current="location"]:not(.nav-contact) { color: var(--paper); opacity: 1; }
#site-navigation a[aria-current="location"]:not(.nav-contact)::after { content: ''; position: absolute; bottom: 5px; inset-inline: 0; height: 2px; background: var(--violet-hot); }
#site-navigation .nav-contact { padding-inline: 22px; }
.menu-toggle { transition: background-color .2s; }
.menu-toggle[aria-expanded="true"] { background: rgba(var(--accent-rgb), .16); }
.menu-toggle span:not(.visually-hidden) { transition: transform .25s var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(2.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-2.5px) rotate(-45deg); }
.button { min-height: 50px; padding-inline: 23px; gap: 18px; }
.button svg, .text-link svg { transition: transform .3s var(--ease-out); }
.button:hover svg, .text-link:hover svg { transform: translate(2px,-2px); }
.text-link { min-height: 44px; align-items: center; }
.button:disabled { cursor: wait; opacity: .65; }
.studio-page .section-shell { padding: var(--section-space) max(6.5%, calc((100% - var(--content-width)) / 2)); }
.studio-page .scroll-stackable:not(.hero-section), .studio-page .games-section.scroll-stackable { position: relative; min-height: auto; }
.studio-page .scroll-stage:not(.hero-section) { opacity: 1; transform: none; transition: none; scroll-margin-top: 100px; }
.studio-page .hero-section { min-height: max(800px, 100svh); background: #08070e url('../img/hero-poster.jpg') center / cover; }
.studio-page .hero-content { width: min(630px, 47%); margin: 32px 6.5% 0 auto; padding-bottom: 60px; }
.studio-page h1 { font-size: clamp(3.25rem, 4.3vw, 5.1rem); line-height: 1.12; letter-spacing: -.035em; }
.studio-page .hero-copy { max-width: 48ch; font-size: 1rem; line-height: 1.8; color: #c6c2d3; }
.studio-page .hero-shade { background: linear-gradient(270deg, rgba(var(--shade-rgb),.96) 2%, rgba(var(--shade-rgb),.83) 35%, rgba(var(--shade-rgb),.2) 72%), linear-gradient(0deg, var(--ink) 0%, transparent 38%); }
.studio-page .hero-section video { object-position: 40% center; filter: saturate(1.05) brightness(.86); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 27px; }
.hero-actions .text-link { margin: 0; font-size: .6875rem; }
.hero-bottom { position: absolute; inset: auto 6.5% 35px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hero-feature { display: flex; align-items: center; gap: 20px; max-width: 440px; }
.hero-feature > img { width: 112px; height: 74px; object-fit: cover; border-radius: 4px; transition: filter .3s; }
.hero-feature > span { display: grid; gap: 5px; }
.hero-feature small { color: var(--violet-hot); font-size: .625rem; font-weight: 800; letter-spacing: .12em; }
.hero-feature strong { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.hero-feature > span > span { color: var(--mist); font-size: .6875rem; }
.hero-feature > svg { width: 18px; height: 18px; margin-left: 15px; fill: none; stroke: var(--paper); stroke-width: 1.5; transition: transform .3s; }
.hero-feature:hover > svg { transform: translate(3px,-3px); }
.hero-bottom .scroll-cue { bottom: 0; font-size: .625rem; }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; padding: 0; color: var(--mist); background: transparent; font-size: .625rem; font-weight: 700; letter-spacing: .08em; }
.motion-toggle svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.motion-toggle:hover { color: var(--paper); }
.studio-page h2 { font-size: clamp(2.5rem, 4.4vw, 4.5rem); line-height: 1.12; letter-spacing: -.03em; }
.section-heading--wide { display: flex; justify-content: space-between; align-items: end; gap: 50px; max-width: none; }
.section-heading--wide h2 { margin: 0; }
.section-heading--wide > span { max-width: 34ch; margin-bottom: 8px; font-size: .9375rem; }
.studio-page .games-section { padding-bottom: 72px; background: var(--ink-deep); }
.studio-page .chromatic-surface::before { opacity: .25; background: radial-gradient(650px circle at var(--pointer-x) var(--pointer-y), rgba(var(--accent-deep-rgb),.2), transparent 70%); }
.studio-page .games-carousel { margin-top: 38px; }
html.js .studio-page .games-section .games-carousel { clip-path: none; filter: none; opacity: 1; transform: none; }
html.js .studio-page .carousel-stage { min-height: clamp(390px, 37vw, 510px); overflow: visible; }
html.js .studio-page .carousel-card { width: min(900px, 76vw); height: clamp(360px, 33vw, 450px); border: 0; box-shadow: 0 25px 60px rgba(0,0,0,.3); }
html.js .studio-page .carousel-card.game-entry--feature { grid-template-columns: 1fr 1fr; padding: clamp(24px, 3vw, 44px); }
html.js .studio-page .carousel-card.is-before { transform: translateX(calc(-50% - 20vw)) translateY(6px) scale(.84); opacity: .38; }
html.js .studio-page .carousel-card.is-after { transform: translateX(calc(-50% + 20vw)) translateY(6px) scale(.84); opacity: .38; }
html.js .studio-page .carousel-card.is-active { transform: translateX(-50%) translateY(-16px); }
html.js .studio-page .game-entry--feature::after { background: linear-gradient(90deg, transparent, rgba(var(--vignette-rgb),.36) 35%, rgba(var(--vignette-rgb),.87) 63%, rgba(var(--vignette-rgb),.96)), linear-gradient(0deg,rgba(var(--vignette-rgb),.72),transparent 70%); }
.studio-page .game-entry h3 { font-size: clamp(2rem, 3.25vw, 3.4rem); }
.studio-page .game-entry p { font-size: .9375rem; line-height: 1.7; }
.studio-page .game-entry-copy { align-self: end; }
.game-actions { position: relative; z-index: 1; display: flex; grid-column: 2; align-items: center; gap: 18px; flex-wrap: wrap; }
.game-actions .button { min-height: 44px; padding-inline: 18px; font-size: .75rem; }
.game-actions .game-link { font-size: .6875rem; white-space: normal; text-align: left; line-height: 1.6; }
.game-actions a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.game-actions > span { max-width: 16ch; }
.studio-page .carousel-navigation { margin-top: 35px; }
.studio-page .carousel-dots { display: grid; grid-template-columns: repeat(3, 1fr); width: min(900px, 100%); gap: 0; }
.studio-page .carousel-dot { position: relative; display: grid; justify-content: start; gap: 8px; width: auto; height: auto; min-height: 80px; padding: 22px 20px 8px; border-radius: 0; border-top: 1px solid rgba(var(--paper-rgb),.18); color: var(--mist); text-align: left; }
.studio-page .carousel-dot::before { position: absolute; inset: -1px 0 auto; width: 100%; height: 2px; border-radius: 0; background: var(--violet-hot); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out); }
.studio-page .carousel-dot.is-active::before { transform: scaleX(1); }
.studio-page .carousel-dot.is-active { color: var(--paper); }
.studio-page .carousel-dot span { font-size: .9375rem; font-weight: 800; }
.studio-page .carousel-dot small { color: var(--mist); font-size: .5625rem; line-height: 1.4; letter-spacing: .1em; }
.games-caption { display: flex; justify-content: space-between; gap: 25px; align-items: center; max-width: 900px; margin: 23px auto 0; padding-top: 18px; border-top: 1px solid rgba(var(--paper-rgb),.09); color: var(--mist); font-size: .75rem; }
.carousel-autoplay { background: none; border: none; color: var(--mist); margin: 0; padding: 0; font-size: .5625rem; }
.studio-page .about-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); background: #08080d; }
.studio-page .about-image { min-height: 650px; }
.studio-page .about-image img { object-position: center; filter: saturate(.55) brightness(.7); }
.studio-page .about-image::after { background: linear-gradient(0deg,rgba(8,8,13,.9),transparent 65%); }
.about-image-caption { position: absolute; z-index: 1; bottom: 38px; left: 36px; right: 30px; }
.about-image-caption span { font-size: .625rem; color: var(--violet-hot); letter-spacing: .16em; font-weight: 800; }
.about-image-caption strong { display: block; margin-top: 18px; font-family: var(--display); font-size: clamp(1.75rem, 2.5vw, 2.6rem); line-height: 1.2; font-weight: 400; }
.studio-page .about-copy h2 { font-size: clamp(2.5rem, 3.5vw, 3.6rem); }
.studio-page .about-copy > p { font-size: .9375rem; }
.studio-principles { margin: 30px 0 8px; }
.studio-principles > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; padding-block: 19px; border-top: 1px solid var(--line); }
.studio-principles dt { color: var(--paper); font-size: .8125rem; font-weight: 700; }
.studio-principles dd { margin: 0; font-size: .8125rem; line-height: 1.7; color: var(--mist); }
.studio-page .team-section { padding-bottom: 64px; }
.studio-page .section-heading--split { grid-template-columns: 1.4fr .6fr; align-items: end; gap: 50px; }
.studio-page .section-heading--split h2 { margin-bottom: 0; }
.studio-page .section-heading--split > span { margin-bottom: 8px; color: #514b5e; font-size: .9375rem; }
.studio-page .team-carousel { --team-dossier-min-height: clamp(460px, 36vw, 520px); --fan-card-width: min(380px, 34vw); margin-top: 65px; }
.studio-page .team-dossier { transition: opacity .5s ease, transform .22s var(--ease-out), box-shadow .7s; }
.studio-page .team-dossier img { transition: filter .5s, transform .22s var(--ease-out); }
.studio-page .team-dossier::after { background: linear-gradient(0deg,rgba(var(--card-shade-rgb),.97),rgba(var(--card-shade-rgb),.83) 17%,rgba(var(--card-shade-rgb),.2) 46%,transparent 65%); }
.studio-page .team-dossier.is-details-open::after { background: linear-gradient(0deg,rgba(var(--card-shade-rgb),.99) 12%,rgba(var(--card-shade-rgb),.93) 45%,rgba(var(--card-shade-rgb),.16) 85%); }
.studio-page .team-dossier h3 { font-size: clamp(1.65rem, 2.1vw, 2.25rem); }
.studio-page .team-dossier-summary { padding-right: 30px; }
.studio-page .team-dossier-expertise { font-size: .6875rem; }
.studio-page .team-dossier-expertise span { font-size: .5625rem; }
.studio-page .team-carousel-control { border-radius: 50%; }
.community-section { position: relative; isolation: isolate; overflow: hidden; min-height: 720px; background: #070b13; z-index: 5; }
.community-art { position: absolute; z-index: -2; inset: 0; }
.community-art img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; filter: saturate(.75); }
.community-section::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(var(--shade-community-rgb),.96) 10%,rgba(var(--shade-community-rgb),.7) 43%,rgba(var(--shade-community-rgb),.03) 85%),linear-gradient(0deg,var(--ink),transparent 45%); }
.community-copy { max-width: 570px; }
.community-copy h2 { margin-bottom: 25px; }
.community-copy h2 em { color: var(--violet-hot); font-style: normal; }
.community-copy > p { max-width: 41ch; margin-bottom: 30px; color: #c5c9d5; line-height: 1.8; font-size: .9375rem; }
.community-links { display: flex; flex-wrap: wrap; gap: 20px 35px; margin-top: 65px; }
.community-links a { display: inline-flex; align-items: center; gap: 17px; min-height: 44px; font-size: .625rem; letter-spacing: .1em; font-weight: 800; }
.community-links svg, .contact-channels svg { width: 16px; height: 16px; fill: none; stroke: var(--violet-hot); stroke-width: 1.5; }
.community-links a:hover { color: var(--violet-hot); }
.faq-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,8vw,120px); z-index: 5; background: #0a090f; }
.faq-heading h2 { font-size: clamp(2rem, 3.1vw, 3.2rem); }
.faq-heading > p { color: var(--mist); font-size: .9375rem; line-height: 1.7; max-width: 32ch; }
.faq-heading .text-link { font-size: .625rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 25px; cursor: pointer; font-size: .9375rem; font-weight: 700; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { width: 20px; height: 20px; fill: none; stroke: var(--violet-hot); stroke-width: 1.4; transition: transform .3s var(--ease-out); }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details[open] summary { color: var(--electric); }
.faq-list details > p { max-width: 60ch; padding-right: 30px; padding-bottom: 25px; margin: 0; color: var(--mist); font-size: .875rem; line-height: 1.8; }
.faq-list details a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--violet-hot); text-underline-offset: 4px; }
.studio-page .contact-section { gap: clamp(50px, 9vw, 135px); background: #0e0b17; z-index: 5; }
.contact-channels { display: grid; max-width: 320px; margin-top: 38px; }
.contact-channels a { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; border-bottom: 1px solid var(--line); font-size: .875rem; }
.contact-channels a:hover { color: var(--violet-hot); }
.contact-form h3 { font-size: 1.4rem; letter-spacing: -.02em; font-weight: 700; margin: 0; }
.contact-intro { font-size: .8125rem; line-height: 1.8; color: var(--mist); margin: 0 0 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form .optional { color: var(--mist); font-size: .6875rem; text-transform: none; letter-spacing: 0; font-weight: 400; }
.contact-form label { display: flex; flex-direction: column; gap: 10px; font-size: .6875rem; letter-spacing: .03em; text-transform: none; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid rgba(var(--paper-rgb),.25); border-radius: 0; padding: 12px 0; color: var(--paper); background: transparent; font-size: .875rem; font-weight: 400; letter-spacing: 0; line-height: 1.65; }
.contact-form select { min-height: 48px; color-scheme: dark; font-family: var(--body); }
.contact-form select option { background: var(--ink-soft); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a39bad; opacity: 1; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: #f9a8b2; }
.message-count { justify-self: end; color: var(--mist); font-size: .625rem; margin-top: -16px; }
.contact-form .form-status { margin-top: 0; font-size: .8125rem; line-height: 1.7; }
.draft-fallback > p { font-size: .8125rem; line-height: 1.6; color: var(--mist); }
.site-footer { padding-block: 50px; }
.site-footer nav a { min-height: 35px; display: inline-flex; align-items: center; }
.back-to-top { position: fixed; z-index: 19; bottom: 24px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #0d0b16; color: var(--paper); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.game-dialog { width: min(960px, calc(100% - 48px)); max-height: calc(100svh - 64px); padding: 0; border: 1px solid rgba(var(--paper-rgb),.15); border-radius: 16px; color: var(--paper); background: #100e18; overflow: auto; overscroll-behavior: contain; }
.game-dialog::backdrop { background: rgba(3,3,8,.85); backdrop-filter: blur(9px); }
.game-dialog[open] { animation: dialog-in .4s var(--ease-out); }
.dialog-close { position: absolute; z-index: 2; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(7,7,11,.85); color: var(--paper); }
.dialog-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.dialog-close:hover { background: var(--paper); color: var(--ink); }
.dialog-art { height: clamp(190px, 27vw, 320px); overflow: hidden; }
.dialog-art img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content { padding: clamp(24px,4vw,44px); }
.dialog-content h2 { font-size: clamp(2rem,4vw,3.6rem); margin-bottom: 18px; }
.dialog-content > p { color: var(--mist); line-height: 1.8; font-size: .9375rem; }
.dialog-content dl { display: flex; flex-wrap: wrap; gap: 22px 55px; padding-block: 24px; margin: 28px 0 20px; border-block: 1px solid var(--line); }
.dialog-content dt { color: var(--violet-hot); font-size: .625rem; letter-spacing: .08em; font-weight: 800; margin-bottom: 10px; }
.dialog-content dd { margin: 0; font-size: .875rem; }
.dialog-content .dialog-note { font-size: .8125rem; }
#game-dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
#game-dialog-actions .text-link { margin-top: 0; }
body:has(.game-dialog[open]) { overflow: hidden; }
@keyframes dialog-in { from { opacity: .4; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes studio-rise { from { opacity: .65; transform: translateY(24px); } to { opacity: 1; transform: none; } }
html.js:not(.motion-ready) .reveal, html.js:not(.motion-ready) .scroll-stage, html.js:not(.motion-ready) .games-carousel { opacity: 1; transform: none; filter: none; clip-path: none; }
html.js .hero-content.reveal { opacity: 1; transform: none; animation: studio-rise 1s var(--ease-out) both; }
.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition-duration: 0s !important; }
.motion-paused .reveal, .motion-paused .scroll-stage, .motion-paused .games-carousel { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
html:not(.motion-ready) .team-carousel-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
html:not(.motion-ready) .team-dossier, html.js:not(.motion-ready) .carousel-card { position: relative; inset: auto; width: 100%; visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
html:not(.motion-ready) .team-dossier { min-height: 470px; }
html:not(.motion-ready) .team-dossier-details { max-height: none; margin-top: 20px; opacity: 1; visibility: visible; transform: none; }
html:not(.motion-ready) .team-dossier-summary { padding-right: 0; }
html:not(.motion-ready) .team-dossier::after { background: linear-gradient(0deg,rgba(var(--card-shade-rgb),.99) 15%,rgba(var(--card-shade-rgb),.94) 46%,rgba(var(--card-shade-rgb),.2)); }
html:not(.motion-ready) .team-dossier-details-toggle, html:not(.motion-ready) .team-carousel-controls, html:not(.motion-ready) .carousel-navigation, html:not(.motion-ready) .carousel-autoplay, html:not(.motion-ready) [data-game-open], html:not(.motion-ready) .motion-toggle, html:not(.motion-ready) #menu-toggle { display: none; }
html.js:not(.motion-ready) .carousel-stage { display: grid; gap: 24px; }
html:not(.motion-ready) .game-actions { grid-column: auto; }
html:not(.motion-ready) .site-header { position: relative; inset: auto; left: auto; transform: none; width: 92%; margin: 20px auto; flex-wrap: wrap; }
html:not(.motion-ready) #site-navigation { position: static; display: flex; flex-wrap: wrap; width: auto; padding: 0; border: none; box-shadow: none; background: none; backdrop-filter: none; }
@media (min-width: 1600px) { .studio-page .hero-content { margin-right: max(6.5%,calc((100% - 1280px)/2)); } }
@media (max-width: 1100px) {
  .studio-page .hero-content { width: 51%; margin-right: 5%; }
  .hero-feature { max-width: 340px; }
  .hero-feature > img { width: 85px; height: 64px; }
  .hero-feature > svg { display: none; }
  .hero-feature > span > span { max-width: 25ch; line-height: 1.6; }
  .section-heading--wide { gap: 30px; }
  .section-heading--wide > span { max-width: 28ch; }
  .studio-page .about-image { min-height: 600px; }
  .studio-page .team-carousel { --fan-card-width: 32vw; }
  .studio-page .team-dossier-copy { padding-inline: 22px; }
  .studio-page .team-dossier-details-toggle { right: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 25px; }
  .site-footer { grid-template-columns: 1fr 1.5fr; }
  .footer-copyright { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .studio-page .hero-section { position: relative; min-height: 900px; }
  .studio-page .hero-content { width: min(600px,87%); margin: 80px auto 0; padding: 0 0 170px; }
  .studio-page h1 { font-size: clamp(3rem, 7.7vw, 4.8rem); }
  .studio-page .hero-shade { background: linear-gradient(90deg,rgba(var(--shade-rgb),.88),rgba(var(--shade-rgb),.5)),linear-gradient(0deg,var(--ink),transparent 65%); }
  .hero-bottom { align-items: center; bottom: 30px; }
  .hero-bottom .scroll-cue { display: none; }
  .motion-toggle span { max-width: 12ch; text-align: left; line-height: 1.7; }
  .section-heading--wide { display: block; }
  .section-heading--wide > span { max-width: 48ch; margin-top: 23px; }
  .studio-page .about-section { gap: 40px; }
  .studio-page .about-copy h2 { font-size: 2.5rem; }
  .studio-principles > div { grid-template-columns: 1fr; gap: 9px; }
  .studio-page .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
  .studio-page .section-heading--split > span { max-width: 48ch; }
  .studio-page .team-carousel { --fan-card-width: min(380px,48vw); }
  .faq-section { grid-template-columns: 1fr; gap: 40px; }
  .studio-page .contact-section { grid-template-columns: 1fr 1fr; gap: 45px; }
}
@media (max-width: 680px) {
  html:not(.motion-ready) .team-carousel-stage { grid-template-columns: 1fr; }
  html:not(.motion-ready) .game-entry { grid-template-columns: 1fr; }
  html:not(.motion-ready) .game-actions { grid-column: 1; }
  .studio-page .section-shell { padding-block: 80px; }
  .studio-page .hero-section { min-height: max(780px, 100svh); }
  .studio-page .hero-content { margin: 65px 6.5% 0; padding-bottom: 140px; width: 87%; }
  .studio-page h1 { font-size: clamp(2.4rem, 10.2vw, 4rem); letter-spacing: -.03em; line-height: 1.14; }
  .studio-page .hero-copy { font-size: .875rem; max-width: 37ch; margin-bottom: 25px; }
  .hero-actions { gap: 14px 22px; }
  .hero-actions .button { font-size: .75rem; padding-inline: 20px; }
  .hero-bottom { align-items: end; bottom: 30px; }
  .hero-feature { gap: 13px; max-width: 280px; }
  .hero-feature > img { width: 70px; height: 66px; }
  .hero-feature > span > span { display: none; }
  .hero-feature small { font-size: .5rem; }
  .hero-feature strong { font-size: 1.125rem; }
  .motion-toggle { width: 44px; justify-content: center; }
  .motion-toggle span { display: none; }
  .studio-page h2, .studio-page .about-copy h2 { font-size: clamp(2rem, 8.4vw, 3rem); line-height: 1.16; }
  .section-heading--wide > span { font-size: .875rem; }
  html.js .studio-page .carousel-stage { min-height: 455px; }
  html.js .studio-page .carousel-card { width: 87vw; height: 430px; }
  html.js .studio-page .carousel-card.game-entry--feature { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding: 25px; }
  html.js .studio-page .game-entry--feature::after { background: linear-gradient(0deg,rgba(var(--vignette-rgb),.98) 4%,rgba(var(--vignette-rgb),.88) 40%,rgba(var(--vignette-rgb),.05) 90%); }
  .studio-page .game-entry h3 { font-size: clamp(1.8rem,8.5vw,2.5rem); }
  .studio-page .game-entry p { font-size: .8125rem; }
  .game-actions { grid-column: 1; gap: 10px; }
  .game-actions .button { padding-inline: 14px; font-size: .75rem; }
  .game-actions .game-link { font-size: .75rem; max-width: 18ch; }
  .studio-page .carousel-navigation { margin-top: 16px; }
  .studio-page .carousel-dot { padding: 18px 7px 7px; gap: 7px; min-height: 100px; align-content: start; }
  .studio-page .carousel-dot span { font-size: .75rem; line-height: 1.5; }
  .studio-page .carousel-dot small { font-size: .6875rem; line-height: 1.6; letter-spacing: 0; }
  .games-caption { align-items: start; flex-direction: column; gap: 6px; font-size: .75rem; line-height: 1.7; }
  .games-caption > span { max-width: none; }
  .carousel-autoplay { font-size: .75rem; max-width: none; text-align: left; min-height: 44px; }
  .studio-page .about-section { grid-template-columns: 1fr; gap: 45px; }
  .studio-page .about-image { min-height: 380px; }
  .about-image-caption { left: 24px; bottom: 25px; }
  .about-image-caption strong { font-size: 1.9rem; }
  .studio-principles > div { grid-template-columns: .85fr 1.15fr; gap: 20px; }
  .studio-page .team-carousel { --fan-card-width: 100%; --team-dossier-min-height: 490px; margin-top: 35px; }
  .studio-page .team-dossier h3 { font-size: 1.9rem; }
  .studio-page .team-dossier-expertise { font-size: .75rem; }
  .studio-page .team-dossier.is-hidden:not(.is-active) { visibility: hidden; }
  .community-section { min-height: 650px; }
  .community-art img { object-position: 34% center; }
  .community-section::after { background: linear-gradient(90deg,rgba(var(--shade-community-rgb),.93),rgba(var(--shade-community-rgb),.4)),linear-gradient(0deg,var(--ink),transparent 65%); }
  .studio-page .community-copy h2 { font-size: clamp(2.3rem,10vw,3.5rem); }
  .community-copy > p { font-size: .875rem; }
  .community-links { margin-top: 45px; gap: 22px; }
  .community-links a { font-size: .75rem; gap: 10px; }
  .faq-list summary { font-size: .875rem; padding-block: 23px; }
  .faq-list details > p { padding-right: 12px; font-size: .8125rem; }
  .studio-page .contact-section { grid-template-columns: 1fr; gap: 55px; }
  .contact-copy > span { font-size: .875rem; }
  .contact-channels { max-width: none; }
  .contact-form h3 { font-size: 1.25rem; }
  .contact-form input, .contact-form textarea, .contact-form select { font-size: 1rem; }
  .form-row { gap: 30px; }
  .site-footer { grid-template-columns: 1fr; gap: 25px; }
  .site-footer nav { gap: 4px 20px; }
  .site-footer nav a { min-height: 44px; }
  .game-dialog { width: calc(100% - 24px); max-height: calc(100svh - 32px); }
  .dialog-art { height: 200px; }
  .dialog-content { padding: 25px; }
  .dialog-content dl { gap: 22px 35px; }
  .back-to-top { bottom: 18px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .contact-section .contact-copy.reveal, html.js .contact-section .contact-form.reveal { opacity: 1; transform: none; }
  .studio-page .hero-section { position: relative; }
  .studio-page .scroll-stage { scroll-margin-top: 100px; }
  html.js .studio-page .carousel-card.is-before, html.js .studio-page .carousel-card.is-after { visibility: hidden; }
  .game-dialog[open], html.js .hero-content.reveal { animation: none; }
}
.studio-page .team-dossier-expertise.team-dossier-expertise--role { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; font-size: 1rem; }
.studio-page .team-dossier-expertise.team-dossier-expertise--role span { flex: none; font-size: .625rem; }
.team-dossier-stats dd { text-wrap: balance; }

/* Isole Studio petrol theme: home page only (body.studio-page). Colors only, layout untouched.
   Rhythm: hero dark, games mint, about petrol, team paper, community dark, FAQ cool white, contact deep petrol, footer ink. */
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) {
  --ink: #0e1112;
  --ink-soft: #0e1112;
  --ink-deep: #0b2e35;
  --ink-on-paper: #0e1112;
  --paper: #f4f1ea;
  --mist: rgba(244, 241, 234, .72);
  --line: rgba(244, 241, 234, .2);
  --violet: #14505c;
  --violet-hot: #7fb3b9;
  --electric: #e3eeef;
  --accent-rgb: 127, 179, 185;
  --accent-deep-rgb: 127, 179, 185;
  --accent-ink: #14505c;
  --shade-rgb: 14, 17, 18;
  --shade-community-rgb: 14, 17, 18;
  --card-shade-rgb: 11, 46, 53;
  --vignette-rgb: 14, 17, 18;
  --vignette-rollie-rgb: 14, 17, 18;
  --vignette-unknown-rgb: 14, 17, 18;
  --card-base: #0e1112;
  --card-text: #e3eeef;
  --ink-on-paper-rgb: 14, 17, 18;
  --paper-rgb: 244, 241, 234;
  /* fine grain used to dither soft gradients so they do not show banding rings */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n' color-interpolation-filters='sRGB'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 .025'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --grain-strong: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n' color-interpolation-filters='sRGB'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 .06'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Header: liquid glass. Low tint, strong blur, and a backdrop darkening so light text stays readable over light sections */
:is(.studio-page, .game-page, .social-page) .site-header {
  background: linear-gradient(180deg, rgba(227, 238, 239, .12), rgba(11, 46, 53, .4));
  border-color: rgba(227, 238, 239, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(255, 255, 255, .06), 0 18px 44px rgba(11, 46, 53, .22);
  backdrop-filter: blur(28px) saturate(170%) brightness(.5);
  -webkit-backdrop-filter: blur(28px) saturate(170%) brightness(.5);
}
:is(.studio-page, .game-page, .social-page) .site-header.is-scrolled { background: linear-gradient(180deg, rgba(227, 238, 239, .12), rgba(11, 46, 53, .48)); }
:is(.studio-page, .game-page, .social-page) #site-navigation a { opacity: .88; }
:is(.studio-page, .game-page, .social-page) #site-navigation a:hover, :is(.studio-page, .game-page, .social-page) #site-navigation a:focus-visible, :is(.studio-page, .game-page, .social-page) #site-navigation a[aria-current] { opacity: 1; }

/* Hero: dark cinematic opener, video tinted petrol */
.studio-page .hero-section { background-color: #0e1112; }
.studio-page .hero-section video { filter: grayscale(1) sepia(1) hue-rotate(148deg) saturate(1.5) contrast(1.12) brightness(.9); }
.studio-page .hero-copy { color: #e3eeef; }

/* Games: mint section, cards keep their dark art */
.studio-page .games-section {
  background: #f4f1ea; color: #0e1112;
  --paper: #0e1112; --mist: rgba(14, 17, 18, .72); --line: rgba(14, 17, 18, .16); --violet-hot: #14505c; --electric: #14505c;
}
.studio-page .chromatic-surface::before { background: radial-gradient(650px circle at var(--pointer-x) var(--pointer-y), rgba(var(--accent-rgb), .16) 0%, rgba(var(--accent-rgb), .11) 16%, rgba(var(--accent-rgb), .07) 32%, rgba(var(--accent-rgb), .035) 50%, rgba(var(--accent-rgb), .01) 64%, transparent 74%), var(--grain-strong); }
.studio-page .games-section.chromatic-surface::before { background: radial-gradient(650px circle at var(--pointer-x) var(--pointer-y), rgba(20, 80, 92, .13) 0%, rgba(20, 80, 92, .09) 16%, rgba(20, 80, 92, .055) 32%, rgba(20, 80, 92, .025) 50%, rgba(20, 80, 92, .008) 64%, transparent 74%), var(--grain-strong); }
html.js .studio-page .carousel-card {
  --paper: #f4f1ea; --mist: rgba(244, 241, 234, .72); --line: rgba(244, 241, 234, .2); --violet-hot: #7fb3b9; --electric: #e3eeef;
  color: #f4f1ea; box-shadow: 0 25px 60px rgba(11, 46, 53, .3);
}
.studio-page .carousel-dot { border-top-color: rgba(14, 17, 18, .18); }
.studio-page .games-caption { border-top-color: rgba(14, 17, 18, .14); }
.studio-page a.game-entry:hover { background: rgba(20, 80, 92, .08); }

/* About: petrol block with light text */
.studio-page .about-section {
  background: #14505c; color: #f4f1ea;
  --mist: rgba(227, 238, 239, .84); --violet-hot: #e3eeef; --line: rgba(227, 238, 239, .28);
}
.studio-page .about-image::after { background: linear-gradient(0deg, rgba(11, 46, 53, .92), transparent 65%); }
.studio-page .about-depth::before { background: #0b2e35; }
.studio-page .about-depth::after { background: linear-gradient(115deg, transparent 30%, rgba(227, 238, 239, .12) 50%, transparent 70%); }

/* Team: warm paper, deep petrol cards */
.studio-page .team-section { background: #f4f1ea; }
.studio-page .section-heading--split > span { color: rgba(14, 17, 18, .72); }
.studio-page .team-section.chromatic-surface::before { background: radial-gradient(680px circle at var(--pointer-x) var(--pointer-y), rgba(20, 80, 92, .14) 0%, rgba(20, 80, 92, .1) 16%, rgba(20, 80, 92, .06) 32%, rgba(20, 80, 92, .028) 50%, rgba(20, 80, 92, .008) 64%, transparent 74%), var(--grain-strong); }
.studio-page .team-dossier { background: #0b2e35; }
.studio-page .team-dossier.is-active, .studio-page .team-dossier.is-hovered { box-shadow: 0 26px 60px rgba(11, 46, 53, .34), 0 0 0 1px rgba(20, 80, 92, .6), 0 0 34px rgba(20, 80, 92, .38); }
.studio-page .team-dossier-details-toggle { background: rgba(11, 46, 53, .72); }
.studio-page .team-dossier-details-toggle:hover { border-color: #7fb3b9; background: #7fb3b9; color: #0b2e35; }
.studio-page .team-dossier-quote { color: #e3eeef; }
.studio-page .team-carousel-dot.is-active::before, .studio-page .team-carousel-dot[aria-pressed="true"]::before { box-shadow: 0 0 0 4px rgba(20, 80, 92, .16); }

/* Community: dark photo with deep petrol wash */
.studio-page .community-section { background: #0b2e35; }
.studio-page .community-copy > p { color: #e3eeef; }

/* FAQ: cool white */
.studio-page .faq-section {
  background: #f4f1ea; color: #0e1112;
  --paper: #0e1112; --mist: rgba(14, 17, 18, .72); --line: rgba(14, 17, 18, .16); --violet-hot: #14505c; --electric: #14505c;
}

/* Contact: deep petrol */
.studio-page .contact-section { background: radial-gradient(circle at 84% 21%, rgba(127, 179, 185, .15) 0%, rgba(127, 179, 185, .105) 7%, rgba(127, 179, 185, .07) 13%, rgba(127, 179, 185, .04) 20%, rgba(127, 179, 185, .015) 27%, transparent 34%), var(--grain), #0b2e35; }
.studio-page .contact-form select option { background: #0b2e35; }
.studio-page .contact-form input::placeholder, .studio-page .contact-form textarea::placeholder { color: rgba(227, 238, 239, .6); }

/* Footer and floating UI */
:is(.studio-page, .game-page, .social-page) .site-footer nav span { color: #8a8f8f; }
:is(.studio-page, .game-page, .social-page) .back-to-top { background: #0b2e35; }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .cookie-banner { background: rgba(11, 46, 53, .96); }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .game-dialog { background: #0b2e35; }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .chatbot-launcher { background: linear-gradient(135deg, rgba(20, 80, 92, .96), rgba(11, 46, 53, .96)); }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .chatbot-panel { background: linear-gradient(155deg, rgba(20, 80, 92, .98), rgba(11, 46, 53, .99) 52%); }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .chatbot-panel::before { background: radial-gradient(circle at 12% 4%, rgba(var(--accent-rgb), .2), transparent 35%), radial-gradient(circle at 90% 66%, rgba(20, 80, 92, .3), transparent 34%); }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .chatbot-launcher-spark { background: #0b2e35; box-shadow: 0 0 24px rgba(127, 179, 185, .4); }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .chatbot-launcher-spark img { filter: hue-rotate(-55deg) saturate(.9); }

/* Headings on light sections use the deep petrol; body text stays ink */
.studio-page .games-section h2, .studio-page .team-section h2, .studio-page .faq-section h2 { color: #0b2e35; }

/* Text selection: one fixed palette pair on every section (the sections remap --violet-hot locally) */
:is(.studio-page, .game-page, .social-page) ::selection { background: #7fb3b9; color: #0b2e35; }

/* Game pages: same petrol theme. Header glass and ink footer as on the home page, content on paper */
.game-page { background: #f4f1ea; }
.game-page-main {
  color: #0e1112;
  --ink: #f4f1ea; --paper: #0e1112; --mist: rgba(14, 17, 18, .72); --line: rgba(14, 17, 18, .16); --violet-hot: #14505c; --electric: #14505c;
}
.game-page-main h1, .game-page-main h2 { color: #0b2e35; }
.game-page .site-footer { background: #0e1112; }

/* Game page and 404 actions: the shared .text-link top margin pushed links below the button's center line */
.game-page-actions .text-link { margin-top: 0; }
.game-page-actions { align-items: baseline; }

/* Social page: dark ink with petrol light. Layout untouched. */
.social-page { background: radial-gradient(circle at 72% 24%, rgba(20, 80, 92, .26) 0%, rgba(20, 80, 92, .17) 8%, rgba(20, 80, 92, .1) 16%, rgba(20, 80, 92, .045) 24%, rgba(20, 80, 92, .012) 30%, transparent 34%), var(--grain), #0e1112; }
.social-page .social-cursor-aura { background: radial-gradient(circle, rgba(127, 179, 185, .3) 0%, rgba(20, 80, 92, .2) 35%, rgba(20, 80, 92, .08) 55%, transparent 72%); }
.social-page .social-signal-dial { background: radial-gradient(circle at 50% 48%, rgba(20, 80, 92, .4) 0 17%, rgba(11, 46, 53, .82) 42%, rgba(14, 17, 18, .94) 69%); }
.social-page .social-depth-stage .social-signal-dial { background: radial-gradient(ellipse at 40% 20%, #14505c, #0b2e35 58%, #0e1112); }
.social-page .social-signal-dial::before { border-color: rgba(227, 238, 239, .28); }
.social-page .social-dial-rings::after { border-color: rgba(227, 238, 239, .35); }
.social-page .social-reel-plane { background: #0b2e35; }
.social-page .social-story-panel figure { background: #0b2e35; }
.social-page .social-story-panel figure::after { background: linear-gradient(transparent, rgba(14, 17, 18, .85)); }
:where(.social-page) .social-channel { background-color: rgba(14, 17, 18, .38); }
.social-page .social-footer { background: rgba(14, 17, 18, .72); }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .chatbot-form { background: rgba(14, 17, 18, .52); }
:root:is(:has(.studio-page), :has(.game-page), :has(.social-page)) .chatbot-form input::placeholder { color: rgba(227, 238, 239, .6); }
