/*
  Falch Games: liquid glass.
  Translucent, blurred surfaces over soft colour. Dark by default, light when the device is set to light.
  The seven brand colours (--c1 to --c7) glow behind the glass and tint each game's card.
*/

:root {
  color-scheme: dark;
  --bg: #06061a;
  --bg-2: #0c0a28;
  --ink: #f5f6ff;
  --muted: rgba(236, 237, 255, .76);
  --faint: rgba(236, 237, 255, .66);
  --link: #a9c1ff;
  --glass: rgba(255, 255, 255, .06);
  --glass-hi: rgba(255, 255, 255, .13);
  --edge: rgba(255, 255, 255, .26);
  --edge-soft: rgba(255, 255, 255, .09);
  --shine: rgba(255, 255, 255, .38);
  --shadow: 0 34px 70px -34px rgba(0, 0, 0, .75);
  --btn-bg: #ffffff;
  --btn-ink: #090917;
  --orb: .5;
  --night: #0b0a26;
  --lav: #f3f1ff;
  --line: rgba(255, 255, 255, .12);

  --c1: #f5b921; --c2: #ff6a2b; --c3: #3d7bff; --c4: #22d67a; --c5: #17c3b2; --c6: #ff4f6d; --c7: #b26bff;
  --spectrum-v: linear-gradient(to bottom, var(--c1) 0 14.29%, var(--c2) 0 28.57%, var(--c3) 0 42.86%, var(--c4) 0 57.14%, var(--c5) 0 71.43%, var(--c6) 0 85.71%, var(--c7) 0);
  --spectrum-h: linear-gradient(to right, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7));

  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(18px, 4vw, 40px);
  --maxw: 1180px;
  --radius: 22px;
  --on-color: #0c0c1f;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #eef0fb;
    --bg-2: #e4e7f8;
    --ink: #13142b;
    --muted: rgba(19, 20, 43, .76);
    --faint: rgba(19, 20, 43, .66);
    --link: #2a52d0;
    --glass: rgba(255, 255, 255, .46);
    --glass-hi: rgba(255, 255, 255, .78);
    --edge: rgba(255, 255, 255, .95);
    --edge-soft: rgba(19, 20, 43, .07);
    --shine: rgba(255, 255, 255, 1);
    --shadow: 0 34px 70px -36px rgba(46, 52, 130, .38);
    --btn-bg: #13142b;
    --btn-ink: #ffffff;
    --orb: .46;
    --line: rgba(19, 20, 43, .1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; position: relative; }
/* the colour the glass sits on: soft, slow, behind everything */
body::before { content: ""; position: fixed; inset: -10%; z-index: -2; pointer-events: none; opacity: var(--orb);
  background:
    radial-gradient(38% 34% at 12% 8%, var(--c7), transparent 70%),
    radial-gradient(34% 30% at 88% 6%, var(--c3), transparent 70%),
    radial-gradient(40% 34% at 82% 62%, var(--c6), transparent 72%),
    radial-gradient(38% 34% at 10% 78%, var(--c5), transparent 72%),
    radial-gradient(30% 26% at 52% 96%, var(--c1), transparent 72%);
  filter: blur(40px) saturate(125%); animation: drift 38s ease-in-out infinite alternate; }
body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent, var(--bg) 120%); opacity: .55; }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(2%, 2%, 0) scale(1.06); } }

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--btn-bg); color: var(--btn-ink); padding: 8px 14px; border-radius: 999px; z-index: 50; font-weight: 600; }
.skip:focus { left: 10px; }

/* ---------- the glass itself ---------- */
.top__row, .card__btn, .seg, .gp__card, .gp__media--shots figure, .fold__side, .facts div, .contact__col, .foot__row, .copy, .kit, .doc, .doc__card, .btn--outline, .btn--ghost, .copy__btn, .kit__link, .principles > div, .logo--light, .postures, .pillar, .panel, .mailcard, .org__level {
  background: linear-gradient(150deg, var(--glass-hi), var(--glass));
  border: 1px solid var(--edge-soft);
  border-top-color: var(--edge);
  border-left-color: color-mix(in srgb, var(--edge) 55%, transparent);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--shine), inset 0 -1px 0 var(--edge-soft), var(--shadow);
}

/* ---------- sections ---------- */
.band { position: relative; background: none; color: var(--ink); }
.section { padding-block: clamp(40px, 6vw, 80px); }
.section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(26px, 4vw, 44px); }
.section__head h2, .fold h2, .contact h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.04; text-wrap: balance; }
.section__head p { color: var(--muted); max-width: 36em; margin: 0; }

/* ---------- header: a floating glass bar ---------- */
.top { position: sticky; top: 0; z-index: 30; padding-top: 12px; pointer-events: none; }
.top__row { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 12px 0 22px; border-radius: 999px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 700 1.1rem/1 var(--display); letter-spacing: -.02em; }
.mark { display: inline-flex; align-items: stretch; gap: 2px; height: 20px; }
.mark i { display: block; }
.mark__l { width: 11px; background: var(--ink); border-radius: 4px 0 0 4px; }
.mark__seam { width: 3px; background: var(--spectrum-v); border-radius: 2px; }
.mark__r { width: 11px; border: 2px solid var(--ink); border-left: 0; border-radius: 0 4px 4px 0; }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .93rem; color: var(--muted); padding: 9px 15px; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--glass-hi); }
.top__mail { font: 600 .88rem/1 var(--body); text-decoration: none; padding: 11px 17px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-ink); white-space: nowrap; transition: opacity .2s; }
.top__mail:hover { opacity: .88; }

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 600 .98rem/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s cubic-bezier(.2, .7, .2, 1), opacity .2s, background-color .2s; color: var(--ink); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--cta, .btn--game { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--btn-bg) 60%, transparent); }
.btn--cta:hover, .btn--game:hover { opacity: .9; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 6vw, 84px) clamp(64px, 8vw, 112px); }
.hero h1, .press__intro h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: .34em; text-wrap: balance; background: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 55%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.24rem); color: var(--muted); max-width: 34em; margin-bottom: 1.2em; }
.owner { font-size: .95rem; color: var(--faint); max-width: 34em; margin: 0 0 1.8em; padding-left: 14px; border-left: 2px solid var(--edge-soft); }
.owner strong { color: var(--ink); font-weight: 600; }

/* ---------- the fold: an iPhone Duo drawn to scale ----------
   Screens come from the Duo's profile in Xcode's simulator:
     cover  1398 x 2034 px  (466 x 678 pt at 3x, 460 ppi): corners 59 pt outside, 8 pt on the hinge side
     inner  2853 x 2007 px  (951 x 669 pt at 3x, 460 ppi): corners 55 pt
   The body is about 82.5 x 118 mm per half and 164.9 mm open (from a third-party 3D model, closed thickness matches
   the reviews). Apple publishes no body dimensions, so the bezels are what is left around those screens.
   Every size below is a percentage of those real sizes, so the drawing keeps its shape at any width. */
.hero__demo { margin: 0; position: relative; }
.duo { width: 100%; aspect-ratio: 164.9 / 118; container-type: size; position: relative; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)) drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
/* Folded, the phone is a closed book: its cover faces you with the spine on the left and the rounded corners on the right.
   Unfolding swings that cover to the left, like turning a page, and the inner display opens up beneath it. */
.duo__stage { position: absolute; inset: 0; perspective: 1500px; transition: transform 1.5s cubic-bezier(.3, .7, .15, 1); }
.duo__half { position: absolute; top: 0; bottom: 0; width: 50%; background: #05050d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), inset 0 0 0 .55cqh #15151f; transition: border-radius 1.5s cubic-bezier(.3, .7, .15, 1), transform 1.5s cubic-bezier(.3, .7, .15, 1); }
.duo__half--left { left: 0; border-radius: 10.9cqh 0 0 10.9cqh; transform-origin: 100% 50%; z-index: 2; }
.duo__half--right { left: 50%; border-radius: 0 10.9cqh 10.9cqh 0; transition: border-radius 1.5s cubic-bezier(.3, .7, .15, 1), visibility 0s; }
.duo { --step: .5cqw; }
.duo__tilt { position: absolute; inset: 0; transform-style: preserve-3d; }
.duo__half { transform-style: preserve-3d; }
/* thickness: stacked dark plates behind the front face (about 3 mm of body per half), so the edge shows while it turns */
.duo__slab { position: absolute; inset: 0; border-radius: inherit; background: #1d1d2a; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transform: translateZ(calc(var(--i) * var(--step) * -1)); pointer-events: none; }
.duo__slab:nth-child(odd) { background: #2b2b3b; }
.duo__slab:nth-child(6) { background: #0c0c14; }
.duo__screen, .duo__cover { position: absolute; background-repeat: no-repeat; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
/* inner display: 3.7 mm side bezel, 3.6 mm top and bottom, continuous across the hinge */
.duo__screen { top: 3.05%; bottom: 3.05%; background-image: var(--inner); background-size: 200% 100%; }
.duo__screen--left { left: 4.49%; right: 0; border-radius: 7.7cqh 0 0 7.7cqh; background-position: 0 0; }
.duo__screen--right { left: 0; right: 4.49%; border-radius: 0 7.7cqh 7.7cqh 0; background-position: 100% 0; }
/* cover display, on the back of the turning half: 2.6 mm side bezel, 2.85 mm top and bottom, exactly the cover's 1398 x 2034 shape.
   Spine side 8 pt corners, outer side 59 pt corners. */
.duo__cover { left: 3.18%; right: 3.18%; top: 2.41%; bottom: 2.41%; border-radius: 1.1cqh 8.3cqh 8.3cqh 1.1cqh; background-image: var(--cover); background-size: cover; background-position: center; transform: rotateY(180deg) translateZ(calc(var(--step) * 6)); }
.duo__shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 75%); opacity: 0; pointer-events: none; transition: opacity 1.5s; border-radius: inherit; }
.duo[data-state="unfolded"] /* the move: the body leans toward you and back, and the turning half throws a shadow across the open display */
.duo__cast { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0) 70%); opacity: 0; pointer-events: none; border-radius: inherit; }
.duo.is-moving .duo__tilt { animation: duo-lean 1.7s cubic-bezier(.45, .05, .25, 1); }
.duo.is-moving .duo__cast { animation: duo-cast 1.7s ease-in-out; }
@keyframes duo-lean {
  0%, 100% { transform: rotateX(0) rotateY(0) translateZ(0); }
  45% { transform: rotateX(13deg) rotateY(-17deg) translateZ(4cqw); }
}
@keyframes duo-cast { 0%, 100% { opacity: 0; } 45% { opacity: 1; } }
.duo[data-state="folded"] .duo__stage { transform: translateX(-25%); }
.duo[data-state="folded"] .duo__half--left { transform: rotateY(180deg); border-radius: 10.6cqh 3.4cqh 3.4cqh 10.6cqh; }
.duo[data-state="folded"] .duo__half--right { border-radius: 3.4cqh 10.6cqh 10.6cqh 3.4cqh; visibility: hidden; transition: border-radius 1.5s cubic-bezier(.3, .7, .15, 1), visibility 0s 1.5s; }
.duo[data-state="folded"] .duo__shade { opacity: 1; }
/* pixel-art screens stay crisp; photographic screens are smoothed */
.duo[data-px="1"] .duo__screen, .duo[data-px-cover="1"] .duo__cover { image-rendering: pixelated; }
.duo.no-anim *, .duo.no-anim { transition: none !important; animation: none !important; }

.demo__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(20px, 2.6vw, 30px); }
.seg { display: inline-flex; border-radius: 999px; padding: 4px; }
.seg__btn { appearance: none; border: 0; background: transparent; color: var(--muted); font: 600 .92rem/1 var(--body); min-height: 38px; padding: 0 20px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.seg__btn:hover { color: var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-ink); }
.demo__text a { color: var(--ink); font-weight: 700; }
.demo__text { margin: 0; color: var(--muted); font-size: .95rem; flex: 1 1 260px; max-width: 34em; }

/* ---------- game cards ---------- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.card { grid-column: span 4; }
.card__btn { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 12px; cursor: pointer; border-radius: 30px; position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(120% 70% at 0% 0%, color-mix(in srgb, var(--game) 34%, transparent), transparent 62%),
    linear-gradient(150deg, var(--glass-hi), var(--glass));
  border: 1px solid var(--edge-soft); border-top-color: var(--edge);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--shine), inset 0 -1px 0 var(--edge-soft), var(--shadow);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.card__btn:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 var(--shine), inset 0 -1px 0 var(--edge-soft), 0 40px 70px -30px color-mix(in srgb, var(--game) 70%, transparent); }
.card__btn:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
.card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #0b0c10; border-radius: 20px; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card__media img.px, .kit__thumb img.px { image-rendering: pixelated; }
.card__btn:hover .card__media img { transform: scale(1.04); }
.card__text { padding: 16px 8px 8px; display: flex; flex-direction: column; gap: 8px; }
.card__row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.card__plat { font-size: .85rem; font-weight: 500; color: var(--faint); }
.card h3 { font-size: 1.6rem; line-height: 1.05; }
.card__tag { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--muted); }

.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 5px 13px 5px 11px; border-radius: 999px; font: 600 .8rem/1.3 var(--body); background: var(--glass-hi); border: 1px solid var(--edge-soft); color: var(--ink); width: fit-content; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--c4)); box-shadow: 0 0 10px var(--dot, var(--c4)); }
.chip--warm { --dot: var(--c1); }

/* games without a screenshot yet: a few plain shapes in the game's colour */
.mark-tile { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(110% 90% at 20% 0%, color-mix(in srgb, var(--game) 60%, #fff), transparent 62%), linear-gradient(160deg, color-mix(in srgb, var(--game) 86%, #000), color-mix(in srgb, var(--game) 52%, #000)); }
.mark-tile svg { width: min(54%, 260px); height: auto; max-height: 78%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .28)); }
.kit__thumb.is-mark .mark-tile svg { width: min(70%, 200px); }

/* ---------- studio ---------- */
.fold { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px); }
.fold__side { padding: clamp(26px, 3.6vw, 48px); border-radius: 34px; }
.fold__side h2 { margin-bottom: .6em; }
.fold__side > p { color: var(--muted); max-width: 32em; }
.fold__side > p strong { color: var(--ink); }
.fold h3 { font-size: 1.4rem; margin-bottom: 20px; }
.principles { margin: 0; display: grid; gap: 12px; }
.principles > div { padding: 16px 18px; border-radius: 20px; box-shadow: none; }
.principles dt { font: 650 1.02rem/1.3 var(--display); margin-bottom: 3px; display: flex; align-items: center; gap: 10px; }
.principles dt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bar); box-shadow: 0 0 12px var(--bar); flex: none; }
.principles > div:nth-child(1) { --bar: var(--c1); }
.principles > div:nth-child(2) { --bar: var(--c6); }
.principles > div:nth-child(3) { --bar: var(--c4); }
.principles > div:nth-child(4) { --bar: var(--c5); }
.principles dd { margin: 0; color: var(--muted); font-size: .97rem; }
.facts { margin: clamp(14px, 2vw, 22px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.facts div { padding: 18px 20px; border-radius: 22px; }
.facts dt { font-size: .82rem; color: var(--faint); margin-bottom: 3px; text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; font-weight: 600; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 22px); align-items: stretch; }
.contact--short { grid-template-columns: 1fr; }
.contact__col { display: grid; gap: 14px; justify-items: start; align-content: start; padding: clamp(26px, 3.6vw, 46px); border-radius: 34px; }
.contact h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.contact p { max-width: 30em; color: var(--muted); margin: 0 0 6px; }
.contact a:not(.btn) { color: var(--link); }

/* ---------- footer ---------- */
.foot { padding: 0 0 clamp(18px, 3vw, 32px); color: var(--muted); }
.foot__row { display: block; padding: clamp(22px, 3vw, 34px) clamp(22px, 3.4vw, 40px); border-radius: 32px; font-size: .94rem; }
.foot__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.4fr; gap: 28px clamp(20px, 3.4vw, 44px); width: 100%; }
.foot p { margin: 0; }
.foot__about .brand { margin-bottom: 12px; color: var(--ink); }
.foot__about p { max-width: 30em; color: var(--faint); font-size: .9rem; }
.foot nav, .foot__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.foot__h { font: 650 .78rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 0 0 4px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot__mail { color: var(--ink); font-weight: 650; word-break: break-word; }

/* ---------- press kit ---------- */
.band--page .press__intro { padding-block: clamp(48px, 7vw, 92px) clamp(40px, 6vw, 80px); }
.press__intro .lede a { color: var(--link); font-weight: 600; }
.press__block { padding-block: clamp(36px, 5vw, 64px); }
.press__block > h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 24px; }
.facts--press { margin: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.copy-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(14px, 2vw, 22px); }
.copy { border-radius: 28px; padding: 22px 26px 10px; }
.copy__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.copy h3 { font-size: 1.2rem; }
.copy p { color: var(--muted); font-size: 1rem; }
.copy__btn { appearance: none; color: var(--ink); font: 600 .85rem/1 var(--body); min-height: 36px; padding: 0 16px; border-radius: 999px; cursor: pointer; box-shadow: none; }
.copy__btn:hover { background: var(--btn-bg); color: var(--btn-ink); }
.logos { display: grid; grid-template-columns: 180px 180px minmax(0, 1fr); gap: 16px; align-items: center; }
.logo { margin: 0; aspect-ratio: 4 / 3; border-radius: 26px; display: grid; place-items: center; }
.logo img { width: 62%; height: auto; }
.logo--light { background: #f3f1ff; }
.logo--dark { background: #0d0b2b; border: 1px solid var(--edge-soft); }
.logos__note { color: var(--muted); font-size: .96rem; margin: 0; max-width: 38em; }
.logos__note a { color: var(--link); font-weight: 600; }
.kit-games { display: grid; gap: 16px; }
.kit { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 12px; padding: 12px; border-radius: 32px; scroll-margin-top: 100px;
  background: radial-gradient(90% 90% at 0% 0%, color-mix(in srgb, var(--game) 30%, transparent), transparent 60%), linear-gradient(150deg, var(--glass-hi), var(--glass)); }
.kit__thumb { position: relative; background: #0b0c10; min-height: 180px; border-radius: 22px; overflow: hidden; }
.kit__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kit__body { padding: 16px clamp(14px, 2vw, 24px); }
.kit__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 4px; }
.kit h3 { font-size: 1.6rem; }
.kit__tag { font: 650 1.05rem/1.4 var(--display); margin-bottom: 8px; }
.kit__body p { color: var(--muted); }
.kit__meta { color: var(--faint) !important; font-size: .92rem; }
.kit__dl { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 6px 0 0; }
.kit__link { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none; box-shadow: none; }
.kit__link:hover { background: var(--btn-bg); color: var(--btn-ink); }

/* ---------- legal and document pages ---------- */
.doc { max-width: 800px; margin-block: clamp(34px, 5vw, 64px) clamp(40px, 6vw, 80px); padding: clamp(26px, 5vw, 60px); border-radius: 38px; }
.doc h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); line-height: 1.04; margin-bottom: 8px; }
.doc h2 { font-size: 1.3rem; margin: 2em 0 .5em; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 1.2em; }
.doc li { margin: .35em 0; }
.doc a { color: var(--link); text-underline-offset: 3px; }
.doc .updated { color: var(--faint); font-size: .92rem; margin-bottom: 1.6em; }
.doc__card { border-radius: 24px; padding: 6px 24px 14px; margin: 22px 0; box-shadow: none; background: var(--glass); }
.doc__card h2 { margin-top: 1em; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.doc th { color: var(--ink); font-weight: 600; }
.doc .btn { display: inline-flex; text-decoration: none; color: var(--btn-ink); background: var(--btn-bg); }
.doc .card { background: var(--glass); border: 1px solid var(--edge-soft); border-radius: 20px; padding: 16px 20px; margin: 14px 0; grid-column: auto; }
.doc .muted { color: var(--muted); }

/* ---------- small screens ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .section__head { grid-template-columns: 1fr; }
  .card { grid-column: span 6; }
  .fold { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
  .copy-grid { grid-template-columns: 1fr; }
  .logos { grid-template-columns: 1fr 1fr; }
  .logos__note { grid-column: 1 / -1; }
  .kit { grid-template-columns: 1fr; }
  .kit__thumb { aspect-ratio: 2 / 1; min-height: 0; }
}
@media (max-width: 760px) {
  .nav a:nth-child(3), .nav a:nth-child(4) { display: none; }
}
@media (max-width: 480px) {
  .brand, .nav a { white-space: nowrap; }
  .nav a { padding: 8px 10px; font-size: .88rem; }
  .brand { font-size: 1rem; gap: 9px; }
}
@media (max-width: 600px) {
  .card { grid-column: span 12; }
  .actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- game pages ---------- */
.gp { padding-block: clamp(20px, 3vw, 40px) clamp(40px, 6vw, 80px); display: grid; gap: clamp(14px, 2vw, 22px); }
.gp__crumb { margin: 0; }
.gp__crumb a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.gp__crumb a:hover { color: var(--ink); }
.gp__hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(22px, 4vw, 56px); align-items: center; padding-block: clamp(10px, 2vw, 30px); }
.gp__intro h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; margin: 14px 0 12px; text-wrap: balance; }
.gp__tag { font: 650 clamp(1.1rem, 1.6vw, 1.35rem)/1.4 var(--display); margin-bottom: .5em; }
.gp__meta { color: var(--faint); margin-bottom: 1.6em; }
.btn--off { background: var(--glass-hi); color: var(--muted); border-color: var(--edge-soft); box-shadow: none; cursor: default; }
.btn--off:hover { transform: none; }
.gp__media { position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: 3 / 2; background: #0b0c10; box-shadow: var(--shadow); }
.gp__media > img { width: 100%; height: 100%; object-fit: cover; }
.gp__media--tile .mark-tile svg { width: min(46%, 300px); }
.gp__media--shots { aspect-ratio: auto; background: none; box-shadow: none; overflow: visible; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, .69fr); gap: 14px; align-items: end; }
.gp__media--shots figure { margin: 0; padding: 8px; border-radius: 26px; }
.gp__media--shots img { width: 100%; height: auto; border-radius: 18px; image-rendering: pixelated; }
.gp__media--shots figcaption { padding: 8px 6px 2px; font-size: .82rem; color: var(--faint); text-align: center; }
.gp__card { border-radius: 30px; padding: clamp(22px, 3.2vw, 38px); }
.gp__card h2 { font-size: 1.5rem; margin-bottom: 14px; }
.gp__card p { color: var(--muted); max-width: 46em; }
.gp__card .ticks { margin-bottom: 0; }
.gp__fold { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gp__fold > div { padding: 16px 18px; border-radius: 20px; background: color-mix(in srgb, var(--game, var(--c3)) 14%, transparent); border: 1px solid var(--edge-soft); }
.gp__fold h3 { font-size: 1rem; margin-bottom: 4px; }
.gp__fold p { margin: 0; font-size: .95rem; }
.gp__details { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 24px; }
.gp__details dt { color: var(--faint); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.gp__details dd { margin: 0; font-weight: 600; }
.gp__details a, .gp__links a, .gp__update a { color: var(--link); }
.gp__update { padding: 16px 0; border-top: 1px solid var(--line); }
.gp__update:first-of-type { border-top: 0; padding-top: 0; }
.gp__update h3 { font-size: 1.15rem; margin: 2px 0 6px; }
.gp__update p { margin: 0; }
.gp__update .gp__date { color: var(--faint); font-size: .85rem; margin-bottom: 0; }
.gp__empty { margin: 0; }
.gp__links { margin: 0; padding-left: 1.2em; color: var(--muted); }
.gp__links li { margin: .5em 0; }
@media (max-width: 920px) { .gp__hero { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .gp__fold { grid-template-columns: 1fr; } .gp__media--shots { grid-template-columns: 1fr 1fr; } }

/* ---------- accessibility preferences ---------- */
/* Reduce Transparency: glass becomes a solid surface and the colour behind it is switched off. */
@media (prefers-reduced-transparency: reduce) {
  :root { --surface: #14143a; --surface-edge: rgba(255, 255, 255, .28); --orb: 0; }
  body::before { display: none; }
  .top__row, .card__btn, .seg, .gp__card, .gp__media--shots figure, .fold__side, .facts div, .contact__col, .foot__row, .copy, .kit, .doc, .doc__card, .btn--outline, .btn--ghost, .copy__btn, .kit__link, .principles > div, .logo--light, .postures, .pillar, .panel, .mailcard, .org__level {
    background: var(--surface); border-color: var(--surface-edge);
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  }
}
@media (prefers-reduced-transparency: reduce) and (prefers-color-scheme: light) {
  :root { --surface: #ffffff; --surface-edge: rgba(19, 20, 43, .3); }
}
/* Increase Contrast: full-strength text and clear edges. */
@media (prefers-contrast: more) {
  :root { --muted: var(--ink); --faint: var(--ink); --edge-soft: var(--edge); }
  .top__row, .card__btn, .seg, .gp__card, .fold__side, .facts div, .contact__col, .foot__row, .copy, .kit, .doc, .doc__card, .btn--outline, .btn--ghost, .copy__btn, .principles > div, .pillar, .panel, .mailcard, .org__level { border-color: var(--ink); }
  a { text-decoration: underline; }
}

/* =====================================================================
   Overhaul: devices, badges, studio and contact pages
   ===================================================================== */

/* ---------- hero extras ---------- */
.hero__mail { margin: 22px 0 0; font-size: .95rem; color: var(--faint); }
.hero__mail a { color: var(--link); font-weight: 600; }
.hero h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.04; letter-spacing: -.04em; margin-bottom: .5em; text-wrap: balance; }
.hero--duo { padding-block: clamp(24px, 4vw, 56px) clamp(40px, 6vw, 80px); }
.section__more { margin-top: clamp(20px, 3vw, 32px); }

/* ---------- devices, drawn to scale ----------
   Each figure is set to a device's real proportions (--w and --h in mm), so an iPhone, an iPad and an iPhone Duo
   sit next to each other at their true relative sizes. Screens show real screenshots; with none, a plain brand screen. */
.hero__devices { margin: 0; }
.devs { display: grid; gap: clamp(10px, 2.4%, 30px); align-items: end; width: 100%; }
.dev { margin: 0; min-width: 0; container-type: inline-size; }
.dev__body { position: relative; aspect-ratio: var(--w) / var(--h); background: #05050d; border-radius: 12.5cqw; padding: 3.4cqw;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26), inset 0 0 0 .9cqw #16161f, 0 34px 44px -22px rgba(0, 0, 0, .6); }
.dev__screen { position: relative; width: 100%; height: 100%; border-radius: 9.4cqw; overflow: hidden; background: #0b0c10; }
.dev__screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dev__screen img.px { image-rendering: pixelated; }
.dev__brand { position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(90% 70% at 20% 0%, color-mix(in srgb, var(--c7) 55%, transparent), transparent 70%), radial-gradient(80% 60% at 90% 100%, color-mix(in srgb, var(--c3) 50%, transparent), transparent 70%), #0d0b2b; }
.dev__brand .mark { height: 18cqw; gap: 1cqw; }
.dev__brand .mark__l { width: 10cqw; border-radius: 3cqw 0 0 3cqw; background: #fff; }
.dev__brand .mark__seam { width: 2.8cqw; border-radius: 1cqw; }
.dev__brand .mark__r { width: 10cqw; border: 2cqw solid #fff; border-left: 0; border-radius: 0 3cqw 3cqw 0; }
.dev--ipad .dev__body { border-radius: 4.6cqw; padding: 3.4cqw; }
.dev--ipad .dev__screen { border-radius: 2.2cqw; }
.dev--ipad .dev__brand .mark { height: 12cqw; }
.dev--ipad .dev__brand .mark__l { width: 7cqw; border-radius: 2cqw 0 0 2cqw; }
.dev--ipad .dev__brand .mark__seam { width: 2cqw; }
.dev--ipad .dev__brand .mark__r { width: 7cqw; border-width: 1.4cqw; border-radius: 0 2cqw 2cqw 0; }
.dev--duo-unfolded .dev__body { border-radius: 4.4cqw; padding: 2.4cqw; }
.dev--duo-unfolded .dev__screen { border-radius: 3cqw; }
.dev--duo-folded .dev__body { border-radius: 8.6cqw; padding: 3cqw; }
.dev--duo-folded .dev__screen { border-radius: 6cqw; }
.dev__island { position: absolute; top: 2.6cqw; left: 50%; width: 27cqw; height: 7.6cqw; transform: translateX(-50%); border-radius: 4cqw; background: #000; z-index: 2; }
.dev__crease { position: absolute; top: 0; bottom: 0; left: 50%; width: .7cqw; transform: translateX(-50%); background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(255, 255, 255, .12), rgba(0, 0, 0, .55)); pointer-events: none; z-index: 2; }
.dev figcaption { padding-top: 12px; text-align: center; font-size: .82rem; font-weight: 500; color: var(--faint); }

/* ---------- device badges ---------- */
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.4em; padding: 0; }
.badge { padding: 6px 13px; border-radius: 999px; font: 600 .82rem/1.2 var(--body); background: var(--glass-hi); border: 1px solid var(--edge-soft); color: var(--ink); }
.badges--sm { margin: 0; gap: 6px; }
.badges--sm .badge { padding: 4px 10px; font-size: .75rem; font-weight: 500; color: var(--muted); }
.card__row { gap: 10px; }

/* ---------- game pages: terms, privacy and support buttons, device pictures ---------- */
.gp__legal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gp__legal .btn { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.gp__media--devices { aspect-ratio: auto; background: none; box-shadow: none; overflow: visible; border-radius: 0; }

/* ---------- page intros ---------- */
.press__intro h1 { margin-bottom: .3em; }

/* ---------- studio and contact ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.pillars--n2, .pillars--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pillar { padding: clamp(22px, 2.6vw, 30px); border-radius: 28px; }
.pillar h3 { font-size: 1.2rem; line-height: 1.2; margin-bottom: 8px; }
.pillar p, .plain { color: var(--muted); margin: 0; }
.plain { padding-left: 1.2em; margin-top: 4px; }
.plain li { margin: .5em 0; }
.plain a { color: var(--link); }
.panel { padding: clamp(24px, 3.6vw, 46px); border-radius: 32px; max-width: 880px; }
.panel--wide { max-width: none; }
.panel p { color: var(--muted); font-size: 1.04rem; }
.panel p strong { color: var(--ink); }
.panel p:last-child { margin-bottom: 0; }
.panel .actions { margin-top: 22px; }
.org { list-style: none; margin: 0 0 clamp(12px, 1.6vw, 20px); padding: 0; display: grid; gap: 12px; }
.org__level { padding: 20px 26px; border-radius: 24px; position: relative; }
.org__level:nth-child(2) { margin-left: clamp(14px, 4vw, 52px); }
.org__level:nth-child(3) { margin-left: clamp(28px, 8vw, 104px); }
.org__level + .org__level::before { content: ""; position: absolute; left: -18px; top: -12px; width: 14px; height: calc(50% + 12px); border-left: 2px solid var(--edge); border-bottom: 2px solid var(--edge); border-radius: 0 0 0 10px; opacity: .6; }
.org__level h3 { font-size: 1.15rem; margin-bottom: 4px; }
.org__level p { margin: 0; color: var(--muted); }
.mailcard { padding: clamp(28px, 5vw, 56px); border-radius: 36px; display: grid; gap: 14px; margin-bottom: clamp(12px, 1.6vw, 20px); }
.mailcard__label { margin: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.mailcard__addr { font: 700 clamp(1.5rem, 4.4vw, 2.9rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); text-decoration: none; word-break: break-word; }
.mailcard__addr:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact .mailcard__addr { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin-bottom: 6px; }
.facts--studio { margin: 0; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

@media (max-width: 1040px) { .top__mail { display: none; } }
@media (max-width: 920px) {
  .pillars, .pillars--n2, .pillars--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pillars, .pillars--n2, .pillars--n4 { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .gp__legal .btn { flex: 1 1 calc(50% - 10px); }
  .dev figcaption { font-size: .7rem; }
}

/* phones: keep the header on one line and the email address whole */
@media (max-width: 480px) {
  .nav a:nth-child(2) { display: none; }
}
@media (max-width: 600px) {
  .foot__contact { grid-column: 1 / -1; }
}

/* a row of two larger cards (the last two games) */
.card--half { grid-column: span 6; }
@media (max-width: 600px) { .card--half { grid-column: span 12; } }

.doc h3 { font-size: 1.05rem; letter-spacing: -.01em; margin: 1.5em 0 .3em; }
