/* Layout : une seule piste qui descend la page (studio, jeux, presse, contact), des empreintes de patte la balisent ;
   chaque jeu s'ouvre comme une grande fenêtre dans sa propre palette, au milieu d'un cadre calme couleur neige et flaque. */

@font-face { font-family: "Gluten"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/gluten-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/gluten-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Gluten"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/gluten-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/gluten-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations"), url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

@font-face { font-family: "Luckiest Guy"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/luckiest-guy-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Luckiest Guy"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/luckiest-guy-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f3f7fb;        /* neige, légèrement bleutée */
  --paper-2: #e3edf6;      /* panneau teinté flaque */
  --ink: #1F3B5C;          /* bleu nuit du logo */
  --ink-2: #4a5671;        /* texte secondaire */
  --puddle: #9BD6EC;       /* eau du logo */
  --puddle-deep: #1d6aab;  /* liens */
  --boot: #f6c445;         /* botte de pluie jaune : boutons */
  --line: #cbd7e5;
  --mark: #fff1b8;
  --shine: #DDF3FB;         /* reflet du logo */
  --display: "Gluten", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --gunther: "Luckiest Guy", "Gluten", "Trebuchet MS", sans-serif;   /* police du titre de Gunther Aims */
  --radius: 22px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #0d1322; --paper-2: #16203a; --ink: #e8eff8; --ink-2: #a7b3c7; --puddle: #2b5a85;
  --puddle-deep: #8ccaf4; --boot: #f6c445; --line: #26324d; --mark: #5c4a12; --shine: #8ccaf4; color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #0d1322; --paper-2: #16203a; --ink: #e8eff8; --ink-2: #a7b3c7; --puddle: #2b5a85;
  --puddle-deep: #8ccaf4; --boot: #f6c445; --line: #26324d; --mark: #5c4a12; --shine: #8ccaf4; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--puddle-deep); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--puddle-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
mark.todo { background: var(--mark); color: inherit; padding: 0 .25em; border-radius: 4px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--boot); color: #1F3B5C; padding: 8px 14px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 12px; }

/* --- en-tête --- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; padding-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 6px 2px; }
.nav a:hover { color: var(--puddle-deep); }
.nav .lang { border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; font-size: 14px; letter-spacing: .06em; }

/* --- pieds de patte (balisage de la piste) --- */
.step .pad { fill: currentColor; }
.trail { display: flex; justify-content: center; gap: 46px; padding-block: 18px; color: var(--ink); opacity: .5; }
.trail svg { width: 20px; height: 26px; }
.trail svg:nth-child(odd) { transform: translateY(10px) rotate(-12deg); }
.trail svg:nth-child(even) { transform: rotate(10deg); }

/* --- boutons --- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 999px;
  font: 700 16px/1.2 var(--body); text-decoration: none; border: 2px solid currentColor; transition: transform .15s ease; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn.primary { background: var(--boot); color: #1F3B5C; border-color: #1F3B5C; box-shadow: 0 4px 0 #1F3B5C; }
.btn.ghost { color: inherit; background: transparent; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* --- accueil --- */
.hero { position: relative; padding-block: 52px 26px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 380px); gap: 24px 44px; align-items: center; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; max-width: 19ch; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 58ch; color: var(--ink-2); }
/* arrivée du logo, en écho à l'animation du studio : la flaque s'étale, le pied tape, les orteils sortent */
@media (prefers-reduced-motion: no-preference) {
  .hero-mark g { transform-box: fill-box; transform-origin: 50% 50%; }
  .hero-mark .m-pud { animation: m-bloom .75s cubic-bezier(.2, 1.5, .4, 1) .1s both; }
  .hero-mark .m-sat { animation: m-drop .6s ease-out .45s both; }
  .hero-mark .m-pad { animation: m-paf .32s ease-out both; }
  .hero-mark .m-toe > g { transform-origin: 50% 90%; animation: m-pop .42s cubic-bezier(.2, 1.7, .4, 1) both; }
  .hero-mark .m-toe > g:nth-child(1) { animation-delay: .16s; }
  .hero-mark .m-toe > g:nth-child(2) { animation-delay: .22s; }
  .hero-mark .m-toe > g:nth-child(3) { animation-delay: .28s; }
  .hero-mark .m-toe > g:nth-child(4) { animation-delay: .34s; }
}
@keyframes m-bloom { from { transform: scale(.8); } to { transform: none; } }
@keyframes m-paf { from { transform: scale(1.16); } to { transform: none; } }
@keyframes m-pop { from { transform: scale(.55); } to { transform: none; } }
@keyframes m-drop { from { opacity: .25; transform: scale(.7); } to { opacity: 1; transform: none; } }

.section { padding-block: 34px; }
.section > .wrap { display: grid; gap: 24px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.section h2 { font-size: clamp(34px, 5vw, 52px); }

/* fenêtres de jeu */
.game { border-radius: 30px; padding: clamp(22px, 4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.game.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.game.flip .media { order: -1; }
.game .text { display: grid; gap: 16px; min-width: 0; }
.game .media, .feat .media { min-width: 0; position: relative; }
.game .media img, .game .media video { width: 100%; border-radius: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 13px/1.2 var(--mono); padding: 6px 11px; border-radius: 999px; letter-spacing: .02em; }

.game.sc { background: #130a26; color: #f2ecff; box-shadow: inset 0 0 0 2px #2b1b4f; }
.game.sc .eyebrow { color: #7fe3ff; }
.game.sc .logo { width: min(340px, 100%); }
.game.sc .chip { background: #24164a; color: #f2ecff; box-shadow: inset 0 0 0 1px #4a3285; }
.game.sc .chip.hot { background: #ff2e8c; color: #130a26; box-shadow: none; font-weight: 500; }
.game.sc .media img, .game.sc .media video { border: 3px solid #ff2e8c; box-shadow: 8px 8px 0 #28d6ff; background: #130a26; }
.game.sc .btn.primary { box-shadow: 0 4px 0 #28d6ff; border-color: #f2ecff; }
.game.sc a:not(.btn) { color: #7fe3ff; }

.game.ga { background: #cfe8d6; color: #2c2017;
  background-image: linear-gradient(45deg, rgba(44,32,23,.05) 25%, transparent 25%, transparent 75%, rgba(44,32,23,.05) 75%),
                    linear-gradient(45deg, rgba(44,32,23,.05) 25%, transparent 25%, transparent 75%, rgba(44,32,23,.05) 75%);
  background-size: 28px 28px; background-position: 0 0, 14px 14px; box-shadow: inset 0 0 0 2px #a9cdb4; }
.game.ga .eyebrow { color: #8f2731; }
.game.ga h3 { font-size: clamp(30px, 4vw, 44px); color: #2c2017; }
/* Gunther Aims : titres dans la police du jeu (une seule graisse, pas de gras simulé) */
.game.ga h3, .ga-page main h1, .ga-page main h2, .ga-page main h3 {
  font-family: var(--gunther); font-weight: 400; font-synthesis: none; letter-spacing: .02em; line-height: 1.02; }
.game.ga h3 em { font-style: normal; color: #b8323b; display: block; font-size: .62em; }
.game.ga .chip { background: #fff7e6; color: #2c2017; box-shadow: inset 0 0 0 1px #d8c6a4; }
.game.ga .chip.hot { background: #b8323b; color: #fff7e6; box-shadow: none; }
.game.ga .media video, .game.ga .media img { border: 6px solid #fff7e6; box-shadow: 0 0 0 2px #2c2017, 8px 8px 0 #b8323b; }
.game.ga .logo { width: min(330px, 100%); }
.game.ga .btn.primary { border-color: #2c2017; box-shadow: 0 4px 0 #2c2017; }
.game.ga a:not(.btn) { color: #8f2731; }

/* boucles vidéo : lecture quand elles sont visibles, bouton pause/lecture */
video { aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.vbtn { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 999px; border: 0; padding: 0;
  display: grid; place-items: center; background: rgba(12, 14, 24, .66); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s ease; }
.vbtn svg { width: 16px; height: 16px; fill: currentColor; }
.media:hover .vbtn, .vbtn:focus-visible, .vbtn[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .vbtn { opacity: .8; } }

/* studio */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.about .copy { display: grid; gap: 14px; max-width: 64ch; }
.facts { display: grid; gap: 0; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.facts div { display: grid; grid-template-columns: 7.6em minmax(0, 1fr); gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font: 500 12.5px/1.5 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding-top: 2px; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* presse */
.lead-s { color: var(--ink-2); max-width: 62ch; font-size: 18px; margin-top: -8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--paper-2); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 26px; }
.card p { color: var(--ink-2); }
.card .links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 600; }
.card .links span { color: var(--ink-2); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.mailbox { background: var(--paper-2); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; }
.mailbox .addr { font: 500 clamp(18px, 2.6vw, 24px)/1.3 var(--mono); overflow-wrap: anywhere; user-select: all; }
.copy-btn { justify-self: start; font: 700 15px/1 var(--body); padding: 10px 16px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; min-height: 44px; }
.follow { display: grid; gap: 12px; }
.follow h3 { font-size: 24px; }
.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.socials a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.socials a span { color: var(--ink-2); font-weight: 400; font-family: var(--mono); font-size: 14px; }
.socials a:hover { border-color: var(--ink); }

/* pied de page */
.foot { margin-top: 40px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 34px; color: var(--ink-2); font-size: 15px; }
.foot a { color: var(--ink-2); }

/* --- pages de jeu --- */
.phero { position: relative; color: #fff; }
.phero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.phero .shade { position: absolute; inset: 0; }
.phero .wrap { position: relative; display: grid; gap: 18px; padding-block: clamp(48px, 9vw, 110px) clamp(40px, 7vw, 80px); }
.phero .tag { font-family: var(--display); font-weight: 700; font-size: clamp(23px, 3vw, 32px); line-height: 1.15; max-width: 24ch; }
.phero .sub { font-size: clamp(17px, 2vw, 20px); max-width: 52ch; }
.sc-page .phero .bg { background-image: url("../img/souls-caps/banner.webp"); }
.sc-page .phero .shade { background: linear-gradient(90deg, rgba(19,10,38,.94) 0%, rgba(19,10,38,.82) 46%, rgba(19,10,38,.25) 100%); }
.sc-page .phero .logo { width: min(420px, 80vw); }
.phero .chips { margin-top: 2px; }
.sc-page .phero .chip { background: #24164a; color: #f2ecff; box-shadow: inset 0 0 0 1px #4a3285; }
.sc-page .phero .chip.hot { background: #ff2e8c; color: #130a26; box-shadow: none; }
.sc-page .phero .btn.primary { box-shadow: 0 4px 0 #28d6ff; border-color: #f2ecff; }
.ga-page .phero .chip { background: #fff7e6; color: #2c2017; box-shadow: none; }
.ga-page .phero .chip.hot { background: #b8323b; color: #fff7e6; }
.ga-page .phero .btn.primary { box-shadow: 0 4px 0 #b8323b; border-color: #fff7e6; }
.ga-page .phero { background: #2c2017; }
.ga-page .phero .bg { background-image: url("../img/gunther/office.webp"); image-rendering: pixelated; opacity: .6; }
.ga-page .phero .shade { background: linear-gradient(90deg, rgba(44,32,23,.95) 0%, rgba(44,32,23,.8) 50%, rgba(44,32,23,.3) 100%); }
.ga-page .phero .wrap { grid-template-columns: minmax(0, 1fr) minmax(240px, 470px); grid-template-areas: "text logo"; align-items: center; column-gap: 40px; }
.ga-page .phero .glogo { grid-area: logo; margin: 0; }
.ga-page .phero .glogo img { width: 100%; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.ga-page .phero .ptext { grid-area: text; display: grid; gap: 18px; min-width: 0; }
.ga-page .phero .tag { font-family: var(--body); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.3; max-width: 34ch; }

.feats { display: grid; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(18px, 4vw, 44px); align-items: center; padding-block: 26px; }
.feat:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.feat:nth-child(even) .copy { order: 2; }
.feat .copy { display: grid; gap: 12px; min-width: 0; max-width: 58ch; }
.feat h2 { font-size: clamp(28px, 3.6vw, 40px); }
.feat .media video, .feat .media img { width: 100%; border-radius: 18px; }
.sc-page .feat .media video, .sc-page .feat .media img { border: 3px solid #ff2e8c; box-shadow: 7px 7px 0 #28d6ff; background: #130a26; }
.ga-page .feat .media video, .ga-page .feat .media img { border: 6px solid #fff7e6; box-shadow: 0 0 0 2px #2c2017, 7px 7px 0 #b8323b; }
.families { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.families div { border-radius: 14px; padding: 12px 14px; background: var(--paper-2); }
.families b { display: block; font-family: var(--display); font-size: 22px; line-height: 1.2; }
.families span { font-size: 15.5px; color: var(--ink-2); display: block; line-height: 1.45; }
.rarity { font-size: 15.5px; color: var(--ink-2); }
.cast { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cast div { background: var(--paper-2); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; align-content: start; }
.cast b { font-family: var(--gunther); font-weight: 400; font-synthesis: none; font-size: 21px; line-height: 1.1; letter-spacing: .02em; }
.cast span { font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.inshort { columns: 2 260px; gap: 28px; padding-left: 1.1em; margin: 0; }
.inshort li { margin-bottom: 6px; break-inside: avoid; }
.why { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.press .team p { max-width: 80ch; }

.recap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.recap h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.demo { border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; background: var(--paper); }
.demo h2 { margin: 0; }

.press { background: var(--paper-2); border-radius: 30px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 26px; }
.press h2 { font-size: clamp(32px, 4.6vw, 48px); }
.press h3 { font-size: 26px; }
.press .grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.press .block { display: grid; gap: 12px; min-width: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); }
.gallery a:hover { border-color: var(--ink); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dl a, .dl .off { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; }
.dl a span, .dl .off span { font: 400 14px var(--mono); color: var(--ink-2); }
.dl .off { opacity: .7; }
.credits { font-size: 14.5px; color: var(--ink-2); max-width: 80ch; }

/* aperçu */
.preview-bar { background: var(--boot); color: #1F3B5C; font: 600 14.5px/1.4 var(--body); padding: 9px 20px; text-align: center; }

/* légal */
.legal { max-width: 760px; display: grid; gap: 22px; padding-block: 40px 20px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); }
.legal h2 { font-size: 26px; margin-bottom: 6px; }
.legal section { display: grid; gap: 8px; }

@media (max-width: 520px) { .cast { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .game, .game.flip, .about, .contact, .press .grid2, .feat, .feat:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .families { grid-template-columns: minmax(0, 1fr); }
  .ga-page .phero .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "text"; }
  .ga-page .phero .glogo { width: min(340px, 86%); }
  .cast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery a:first-child { grid-row: auto; }
  .game.flip .media { order: 0; }
  .feat:nth-child(even) .copy { order: 0; }
  .recap { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .brand span { font-size: 26px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { order: -1; width: 150px; }
  .nav { gap: 2px 14px; }
}
