/* Trueway Games — site styles. Mobile first; tested for Safari on iPhone and iPad. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #062449;
  --blue: #0E87F7;
  --blue-text: #0A63BA;   /* brand blue darkened for AA text/buttons on white */
  --cyan: #27C8ED;
  --red: #ED1022;
  --yellow: #FFBD00;
  --green: #48C900;
  --purple: #9C16C7;

  --ink: var(--navy);
  --ink-soft: #3d5374;
  --paper: #ffffff;
  --sky: #eef6ff;
  --sand: #fff7e3;
  --line: #d6e2f0;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 28px rgba(6, 36, 73, .12);
  --shadow-sm: 0 3px 12px rgba(6, 36, 73, .08);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --font-head: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 900; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.4rem); font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--blue-text); text-underline-offset: .15em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
ul, ol { padding-left: 1.25em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.lead { font-size: clamp(1.15rem, 2.4vw, 1.35rem); color: var(--ink-soft); }
.note { font-size: .95rem; color: var(--ink-soft); margin-top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--radius-sm); z-index: 20; }
.skip-link:focus { top: 8px; }

.section { padding: clamp(48px, 7vw, 84px) 0; }
.section--tight-top { padding-top: clamp(28px, 4vw, 44px); }
.section--sky { background: var(--sky); }
.section--sand { background: var(--sand); }
.eyebrow { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--blue-text); margin-bottom: .5em; }
.eyebrow--light { color: var(--yellow); }
.row-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.row-head h2 { margin: 0; }
.row-head__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--font-head); font-weight: 800; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  border-radius: 999px; border: 3px solid transparent;
  background: var(--blue-text); color: #fff;
  box-shadow: 0 4px 0 rgba(6, 36, 73, .25);
  transition: transform .1s ease, box-shadow .1s ease, background .15s ease;
  cursor: pointer;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(6, 36, 73, .25); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 #c99500; }
.btn--yellow:hover { background: #ffcc33; color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); border-color: var(--navy); box-shadow: 0 4px 0 rgba(6, 36, 73, .2); }
.btn--white:hover { background: var(--sky); color: var(--navy); }
.btn--big { min-height: 58px; padding: 14px 30px; font-size: 1.2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ---------- Icon tiles (coloured squares) ---------- */
.icon-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c, var(--blue)); color: #fff; flex: none; box-shadow: inset 0 -4px 0 rgba(0,0,0,.15); }
.icon-tile .icon { width: 28px; height: 28px; }
.icon-tile--small { width: 38px; height: 38px; border-radius: 11px; }
.icon-tile--small .icon { width: 22px; height: 22px; }

/* ---------- Header: full-width white bar ---------- */
.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; min-height: 72px; padding-top: 8px; padding-bottom: 8px; }
.site-header__brand { display: flex; align-items: center; gap: 16px; }
.site-header__logo { display: block; }
.site-header__logo img { width: 128px; }
.site-header__tk { display: none; font-size: .95rem; color: var(--ink-soft); text-decoration: none; padding: 10px 0; }
.site-header__tk:hover { color: var(--blue-text); text-decoration: underline; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--navy); text-decoration: none; border-radius: 999px;
}
.site-nav a:hover { background: var(--sky); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
@media (min-width: 640px) { .site-header__tk { display: block; } }
@media (min-width: 900px) { .site-header__logo img { width: 160px; } .site-header__bar { min-height: 88px; } .site-nav a { padding: 8px 16px; font-size: 1.1rem; } }
@media (max-width: 420px) { .site-header__bar { justify-content: center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #e6eef9; padding: 44px 0 calc(24px + env(safe-area-inset-bottom)); font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer__inner { display: grid; gap: 28px; }
.site-footer__logo { display: inline-block; margin-bottom: 12px; }
.site-footer__logo img { width: 150px; }
.site-footer__about p { max-width: 420px; }
.site-footer__head { font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 0 32px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__small { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; color: #b9cbe3; }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* ---------- Status and format badges ---------- */
.status { display: inline-block; margin: 0; padding: 3px 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: .85rem; line-height: 1.5; background: var(--navy); color: #fff; }
.status--released { background: #1f6b00; }
.status--in-development, .status--coming-later { background: #5a6b85; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 10px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 900; font-size: .85rem; text-transform: uppercase; letter-spacing: .03em;
  color: #fff; background: var(--navy); box-shadow: 0 2px 6px rgba(6,36,73,.25);
}
.badge .icon { width: 16px; height: 16px; }
.badge--digital { background: var(--blue-text); }
.badge--printable { background: #c40d1c; }
.badge--3d { background: #7f12a3; }
.badge--video { background: var(--yellow); color: var(--navy); }
.badge--download { background: #2d7d00; }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative; text-align: center; isolation: isolate;
  background: #c4e8fd var(--hero-image) center bottom / cover no-repeat;
  padding: clamp(24px, 5vw, 40px) 0 clamp(96px, 12vw, 140px);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%); }
.hero__logo { width: min(540px, 86%); margin: 0 auto clamp(10px, 2vw, 18px); }
.hero__lead { max-width: 560px; margin: 0 auto 1.4em; font-size: clamp(1.1rem, 2.2vw, 1.3rem); font-weight: 700; color: var(--navy); }
@media (min-width: 900px) { .hero { padding-top: 140px; min-height: 720px; } }

.dots-title { font-size: clamp(1.25rem, 3.6vw, 2rem); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin-bottom: .5em; }
.dots-title span { white-space: nowrap; }
.dots-title span + span::before { content: ""; display: inline-block; width: .38em; height: .38em; border-radius: 50%; margin: 0 .45em .18em .1em; vertical-align: middle; background: var(--c); }
.dots-title span:nth-child(2) { --c: var(--yellow); }
.dots-title span:nth-child(3) { --c: var(--green); }
.dots-title span:nth-child(4) { --c: var(--red); }

/* ---------- White strip overlapping the hero (ways to play / game facts) ---------- */
.ways-strip {
  position: relative; z-index: 2; list-style: none; margin: -64px 0 0; padding: 18px;
  display: grid; gap: 14px 20px; grid-template-columns: 1fr;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.ways-strip li { display: flex; align-items: center; gap: 14px; line-height: 1.35; font-size: .98rem; color: var(--ink-soft); }
.ways-strip strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; color: var(--navy); }
@media (min-width: 600px) { .ways-strip { grid-template-columns: repeat(2, 1fr); padding: 22px 24px; } }
@media (min-width: 1100px) {
  .ways-strip { grid-template-columns: repeat(4, 1fr); }
  .ways-strip li + li { border-left: 1px solid var(--line); padding-left: 20px; }
}
.ways-strip--facts { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important; }
.ways-strip--facts li + li { border-left: 0 !important; padding-left: 0 !important; }

/* ---------- Game tiles ---------- */
.game-tile { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.game-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(6,36,73,.18); }
.game-tile:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.game-tile__art { position: relative; }
.game-tile__art img, .game-tile__noart { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.game-tile__noart { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), #1d4f8a); color: rgba(255,255,255,.7); }
.game-tile__noart .icon { width: 64px; height: 64px; stroke-width: 1.4; }
.game-tile__badges { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.game-tile__badges .badge { font-size: .74rem; padding: 4px 10px 4px 8px; box-shadow: none; }
.game-tile__badges .status { font-size: .8rem; line-height: 1.45; }
.game-tile__body { display: flex; gap: 14px; align-items: flex-end; justify-content: space-between; padding: 18px 20px 20px; flex: 1; }
.game-tile__status { margin-bottom: 8px; }
.game-tile h3 { margin-bottom: .2em; font-size: 1.45rem; }
.game-tile h3 a { color: var(--navy); text-decoration: none; }
.game-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.game-tile h3 a:focus-visible { outline: none; }
.game-tile__tagline { color: var(--ink-soft); margin: 0 0 6px; line-height: 1.45; }
.game-tile__meta { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.game-tile__meta span + span::before { content: " · "; }
.game-tile__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue-text); color: #fff; flex: none; box-shadow: 0 4px 0 rgba(6,36,73,.25); }
.game-tile__go .icon { width: 22px; height: 22px; margin-left: 3px; }

.featured { display: grid; gap: 24px; }
@media (min-width: 700px) { .featured { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .featured { grid-template-columns: repeat(3, 1fr); } }
.featured__soon { display: grid; gap: 16px; align-content: start; }
@media (min-width: 700px) and (max-width: 1039px) { .featured__soon { grid-column: 1 / -1; grid-template-columns: repeat(2, 1fr); } }
.soon-tile {
  display: flex; align-items: center; gap: 16px; min-height: 120px; padding: 20px;
  border-radius: var(--radius); text-decoration: none; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(39,200,237,.35), transparent 55%), linear-gradient(135deg, #0b3a73, var(--navy));
  box-shadow: var(--shadow);
}
.soon-tile:hover { color: #fff; filter: brightness(1.1); }
.soon-tile__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.6); flex: none; }
.soon-tile__icon .icon { width: 28px; height: 28px; }
.soon-tile__status { display: block; font-family: var(--font-head); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); }
.soon-tile strong { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; line-height: 1.2; }

.game-grid { display: grid; gap: 28px; }
@media (min-width: 680px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Catalogue filter (works without JavaScript, uses :has()) ---------- */
.filter { border: 0; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filter legend { width: 100%; text-align: center; font-family: var(--font-head); font-weight: 800; margin-bottom: 8px; }
.filter input { position: absolute; opacity: 0; pointer-events: none; }
.filter label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px;
  border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; cursor: pointer;
}
.filter label::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--c, var(--navy)); }
.filter label[for="f-all"]::before { display: none; }
.filter input:checked + label { background: var(--navy); color: #fff; }
.filter input:focus-visible + label { outline: 3px solid var(--yellow); outline-offset: 3px; }
.catalogue:has(#f-digital:checked) .game-tile:not([data-digital]),
.catalogue:has(#f-printable:checked) .game-tile:not([data-printable]),
.catalogue:has(#f-3d:checked) .game-tile:not([data-3d]),
.catalogue:has(#f-video:checked) .game-tile:not([data-video]) { display: none; }

/* ---------- Discovery journey band ---------- */
.journey-band { background: radial-gradient(circle at 10% 0%, rgba(39,200,237,.35), transparent 45%), linear-gradient(135deg, #0A63BA 0%, #0a3f86 55%, var(--navy) 100%); color: #fff; padding: clamp(48px, 7vw, 80px) 0; }
.journey-band h2 { color: #fff; }
.journey-band__inner { display: grid; gap: 28px; align-items: center; }
.journey-band__intro p:last-child { color: #d7e4f5; margin: 0; }
.journey-band__intro--center { text-align: center; max-width: 720px; margin: 0 auto 32px; }
@media (min-width: 1040px) { .journey-band__inner { grid-template-columns: 1fr 3fr; gap: 40px; } }
.journey-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 600px) { .journey-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .journey-steps { grid-template-columns: repeat(4, 1fr); } }
.journey-steps li { counter-increment: step; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 16px 20px; background: #fff; color: var(--ink-soft); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(0,0,0,.18); line-height: 1.4; font-size: .98rem; }
.journey-steps li::before { content: counter(step); position: absolute; top: -14px; left: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 900; border: 3px solid #fff; }
.journey-steps li:nth-child(2)::before { color: var(--navy); }
.journey-steps strong { font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; color: var(--navy); }
.journey-steps__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--navy); margin-bottom: 4px; }
.journey-steps__icon .icon { width: 34px; height: 34px; }

/* ---------- Trueway Kids + promise ---------- */
.duo { display: grid; gap: 28px; }
@media (min-width: 960px) { .duo { grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; } }
.duo__tk { background: var(--sand); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); }
.duo__tk p { color: var(--ink-soft); }
.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.promise li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 800; line-height: 1.3; color: var(--navy); }
.promise__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: #fff; flex: none; }
.promise__icon .icon { width: 22px; height: 22px; }
.promise li[style*="yellow"] .promise__icon, .promise li[style*="cyan"] .promise__icon { color: var(--navy); }
.section--navy-band { background: var(--navy); color: #fff; }

/* ---------- Game page ---------- */
.game-hero {
  position: relative; isolation: isolate; text-align: center; color: #fff;
  background: var(--navy) var(--hero-image) center / cover no-repeat;
  padding: clamp(28px, 5vw, 48px) 0 clamp(100px, 12vw, 130px);
}
.game-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,36,73,.05) 0%, rgba(6,36,73,.1) 50%, rgba(6,36,73,.6) 100%); }
.game-hero--plain { background: linear-gradient(135deg, #0b3a73, var(--navy)); }
.game-hero__status { margin-bottom: 10px; }
.game-hero__logo { margin: 0 auto 12px; }
.game-hero__logo img { width: min(460px, 82vw); margin: 0 auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.game-hero__title { color: #fff; font-size: clamp(2.4rem, 8vw, 4rem); text-shadow: 0 3px 12px rgba(0,0,0,.4); }
.game-hero__tagline { display: inline-block; max-width: 640px; margin: 0 auto 22px; padding: 8px 20px; border-radius: 999px; background: rgba(6,36,73,.72); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.25rem); }
@media (min-width: 900px) { .game-hero { padding-top: 64px; min-height: 600px; } }

.game-intro { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .game-intro { grid-template-columns: 1fr 1fr; gap: 48px; } .game-intro--single { grid-template-columns: 1fr; } }
.game-intro .prose h2:first-child { margin-top: 0; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; }
.needs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.needs li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; background: var(--sky); border-radius: var(--radius-sm); font-size: 1rem; }
.needs .icon { color: var(--blue-text); margin-top: 2px; }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.play-ways { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.play-way { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-top: 6px solid var(--c); }
.play-way__art { display: grid; place-items: center; height: 200px; padding: 18px; background: color-mix(in srgb, var(--c) 10%, #fff); }
.play-way__art { overflow: hidden; }
.play-way__art img { height: 164px; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 14px rgba(6,36,73,.2); }
.play-way__art--image { padding: 0; }
.play-way__art--image img { width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; box-shadow: none; }
.play-way__bigicon { color: var(--c); } .play-way__bigicon .icon { width: 80px; height: 80px; stroke-width: 1.4; }
.play-way__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.play-way__body h3 { display: flex; align-items: center; gap: 10px; margin: 0; }
.play-way__body p { margin: 0; color: var(--ink-soft); }
.play-way__body .note { margin: 0; }
.play-way__body .btn { margin-top: auto; align-self: flex-start; }
.play-way .icon-tile { background: var(--c); }
.tips { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; font-size: 1rem; }
.tips summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-family: var(--font-head); font-weight: 800; color: var(--blue-text); }
.tips ul { margin: 4px 0 0; }

.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: var(--sky); border-radius: var(--radius); padding: 14px; height: 100%; }
.gallery img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.gallery figcaption { font-family: var(--font-head); font-weight: 800; font-size: .95rem; text-align: center; margin-top: 8px; }

.after { display: grid; gap: 22px; }
@media (min-width: 1000px) { .after { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.after__card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 26px rgba(0,0,0,.2); border-top: 8px solid var(--c); font-size: 1.05rem; }
.after__card h3 { display: flex; align-items: center; gap: 12px; }
.after__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c); color: var(--navy); flex: none; }
.after__card[style*="purple"] .after__num { color: #fff; }
.after__num .icon { width: 24px; height: 24px; }
.after__card h4 { display: flex; align-items: center; gap: 8px; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin: 1.1em 0 .3em; font-weight: 800; }
.after__card h4 .icon { width: 18px; height: 18px; color: var(--blue-text); }
.after__card > :last-child, .after__card p:last-child { margin-bottom: 0; }

blockquote.scripture { margin: 0 0 1em; padding: 16px 20px; background: var(--sand); border-left: 6px solid var(--yellow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.15rem; }
blockquote.scripture p { margin: 0 0 .4em; font-style: italic; }
blockquote.scripture footer { font-weight: 700; font-size: 1rem; }

.talk { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.talk li { background: var(--sky); border-radius: var(--radius-sm); padding: 12px 16px 12px 46px; position: relative; line-height: 1.45; }
.talk li::before { content: "?"; position: absolute; left: 12px; top: 12px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-text); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: .9rem; }

.tk-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tk-links a { display: flex; align-items: center; gap: 14px; height: 100%; min-height: 84px; padding: 16px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 2px solid var(--line); text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 800; line-height: 1.3; color: var(--navy); }
.tk-links a:hover { border-color: var(--blue-text); }
.tk-links small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.tk-links__ext { margin-left: auto; color: var(--blue-text); }

/* ---------- Simple content pages ---------- */
.page-head { background: var(--sky); padding: clamp(28px, 5vw, 56px) 0 clamp(28px, 4vw, 44px); }
.page-head p { margin: 0; }
.content { padding: clamp(32px, 6vw, 64px) 0; }
.content h2 { margin-top: 1.5em; }
.content h2:first-child { margin-top: 0; }
.tip-grid { display: grid; gap: 16px; margin: 1em 0 1.5em; }
@media (min-width: 700px) { .tip-grid { grid-template-columns: repeat(2, 1fr); } }
.tip { background: var(--sky); border-radius: var(--radius); padding: 20px; }
.tip h3 { margin-bottom: .4em; }
.tip p:last-child, .tip ul:last-child { margin-bottom: 0; }
.content .journey-steps { margin: 28px 0 12px; }
.content .journey-steps li { box-shadow: var(--shadow-sm); border: 2px solid var(--line); }

/* ---------- Play page ---------- */
.play-body { margin: 0; background: var(--navy); color: #fff; height: 100%; overflow: hidden; overscroll-behavior: none; }
html:has(.play-body) { height: 100%; }
#canvas { position: fixed; top: env(safe-area-inset-top); right: env(safe-area-inset-right); bottom: env(safe-area-inset-bottom); left: env(safe-area-inset-left); width: calc(100% - env(safe-area-inset-left) - env(safe-area-inset-right)); height: calc(100% - env(safe-area-inset-top) - env(safe-area-inset-bottom)); height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom)); display: block; touch-action: none; background: #000; }
#canvas:focus { outline: none; }
.play-frame { position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; display: block; background: var(--navy); }
.play-screen {
  position: fixed; inset: 0; z-index: 2;
  display: grid; place-items: center; padding: 24px; text-align: center; overflow: auto;
  background: var(--navy) center / cover no-repeat;
}
.play-screen::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,36,73,.45), rgba(6,36,73,.88)); }
.play-screen__box { position: relative; max-width: 460px; width: 100%; }
.play-screen__logo { width: 150px; margin: 0 auto 16px; }
.play-screen h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); margin-bottom: .2em; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.play-screen p { color: #e6eef9; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.play-screen .btn { width: 100%; max-width: 320px; font-size: 1.3rem; min-height: 60px; }
.play-progress { width: 100%; height: 18px; border-radius: 999px; background: rgba(255,255,255,.2); overflow: hidden; margin: 16px 0 8px; }
.play-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--green)); border-radius: 999px; transition: width .2s ease; }
.play-status { min-height: 1.6em; font-weight: 700; }
.play-error { background: #fff; color: var(--navy); border-radius: var(--radius-sm); padding: 14px; text-shadow: none; }
.play-screen[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Navy band with section heading (About page promise) ---------- */
.section--navy { background: var(--navy); color: #fff; }
.section__head { max-width: 720px; margin: 0 auto clamp(28px, 5vw, 40px); text-align: center; }
.section--navy .section__head h2 { color: #fff; }
.section--navy .promise { max-width: 980px; margin: 0 auto; }

/* =================================================================
   HOMEPAGE
   ================================================================= */

/* ---------- Spotlight (featured game) ---------- */
.spot { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); display: flex; align-items: flex-end; min-height: min(150vw, 720px); }
.spot__bg, .spot__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.spot__bg { z-index: -2; }
.spot__bg img { object-fit: cover; object-position: center top; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,36,73,.92) 0%, rgba(6,36,73,.6) 38%, rgba(6,36,73,0) 62%); }
.spot__inner { padding-top: 32px; padding-bottom: 28px; }
.spot__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.spot__label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-family: var(--font-head); font-weight: 900; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.spot__label .icon { width: 16px; height: 16px; fill: currentColor; }
.spot__logo { margin: 0 0 6px; font-size: clamp(2.4rem, 8vw, 4rem); color: #fff; }
.spot__logo img { width: min(300px, 72vw); filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.spot__tagline { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.3; max-width: 30ch; margin: 0 0 18px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.spot__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.spot__chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.spot__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 700; font-size: .92rem; }
.spot__chips .icon { width: 16px; height: 16px; }
.btn--glass { background: rgba(6,36,73,.25); color: #fff; border-color: #fff; box-shadow: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.18); color: #fff; }
.spot .btn .icon { width: 20px; height: 20px; }

@media (min-width: 700px) {
  .spot { align-items: center; min-height: clamp(460px, 44vw, 640px); }
  .spot__bg img { object-position: 70% center; }
  .spot::after { background: linear-gradient(90deg, rgba(6,36,73,.88) 0%, rgba(6,36,73,.6) 32%, rgba(6,36,73,0) 58%); }
  .spot__inner { padding-top: 48px; padding-bottom: 48px; }
  .spot__content { align-items: flex-start; text-align: left; max-width: 480px; }
  .spot__buttons, .spot__chips { justify-content: flex-start; }
  .spot__logo img { width: min(400px, 40vw); }
}

/* ---------- Filter chips ---------- */
.games-area { padding: clamp(28px, 4vw, 44px) 0 clamp(48px, 6vw, 72px); }
.chips { border: 0; margin: 0 0 clamp(20px, 3vw, 32px); padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chip {
  --c: var(--navy); --t: #fff;
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border-radius: 999px; border: 2px solid var(--c); background: #fff; color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; cursor: pointer; user-select: none;
}
.chip:hover { background: color-mix(in srgb, var(--c) 10%, #fff); }
.chips input:checked + .chip { background: var(--c); color: var(--t); }
.chips input:focus-visible + .chip { outline: 3px solid var(--yellow); outline-offset: 3px; }
.chip--navy { --c: var(--navy); }
.chip--red { --c: #c40d1c; }
.chip--purple { --c: #7f12a3; }
.chip--blue { --c: var(--blue-text); }
.chip--orange { --c: #b85500; }
.chip--green { --c: #2a7d00; }
.chip--yellow { --c: #e0a400; --t: var(--navy); }

/* ---------- Game cards ---------- */
.hgrid { display: grid; gap: 20px; }
@media (min-width: 600px) { .hgrid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .hgrid { grid-template-columns: repeat(4, 1fr); } }
.hcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.hcard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(6,36,73,.2); }
.hcard:focus-within { outline: 3px solid var(--yellow); outline-offset: 3px; }
.hcard__art { position: relative; overflow: hidden; }
.hcard__art img, .hcard__noart { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hcard__noart { display: grid; place-items: center; background: linear-gradient(135deg, #0b3a73, var(--navy)); color: rgba(255,255,255,.6); }
.hcard__noart .icon { width: 56px; height: 56px; stroke-width: 1.4; }
.hcard__ribbon {
  position: absolute; top: 18px; right: -40px; width: 160px; padding: 5px 0; transform: rotate(45deg);
  background: var(--purple); color: #fff; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.3);
  font-family: var(--font-head); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
}
.hcard__body { padding: 14px 72px 18px 18px; flex: 1; }   /* not positioned, so the title link covers the whole card, picture included */
.hcard h3 { font-size: 1.3rem; margin: 0 0 8px; }
.hcard h3 a { color: var(--navy); text-decoration: none; }
.hcard h3 a::after { content: ""; position: absolute; inset: 0; }
.hcard h3 a:focus-visible { outline: none; }
.hcard__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.htag { padding: 2px 10px; border-radius: 999px; font-family: var(--font-head); font-weight: 800; font-size: .8rem; line-height: 1.6; }
.htag--type { background: #ffe1e4; color: #a30b18; }
.htag--age { background: #dcf5cf; color: #1f6b00; }
.htag--players { background: #ddeeff; color: var(--blue-text); }
.hcard__go { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; }
.hcard__go .icon { width: 20px; height: 20px; margin-left: 3px; }
.hcard:hover .hcard__go { background: var(--blue-text); }

/* ---------- Journey strip ---------- */
.jstrip { background: var(--navy); color: #d7e4f5; padding: 22px 0; }
.jstrip__list { list-style: none; margin: 0 auto; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.jstrip__list li { display: flex; align-items: center; gap: 12px; line-height: 1.3; font-size: .92rem; }
.jstrip__list strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; color: #fff; }
.jstrip__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #fff; flex: none; }
.jstrip__icon--dark { color: var(--navy); }
.jstrip__icon .icon { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .jstrip__list { grid-template-columns: repeat(4, 1fr); }
  .jstrip__list li + li { border-left: 1px solid rgba(255,255,255,.2); padding-left: 20px; }
}
@media (max-width: 420px) { .jstrip__list { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust { background: #f1f5fa; padding: 24px 0 8px; }
.trust__list { list-style: none; margin: 0 auto; display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.trust__list li { display: flex; align-items: center; gap: 12px; line-height: 1.3; font-size: .92rem; color: var(--ink-soft); }
.trust__list strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.05rem; color: var(--navy); }
.trust__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--c); color: #fff; flex: none; }
.trust__icon .icon { width: 24px; height: 24px; }
.trust__more { margin: 0 auto; padding-top: 12px; padding-bottom: 16px; text-align: center; font-size: .95rem; }
.trust__more a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 420px) { .trust__list { grid-template-columns: 1fr; } }
@media (max-width: 699px) {
  .spot { min-height: max(132vw, 560px); }
  .spot::after { background: linear-gradient(0deg, rgba(6,36,73,.95) 0%, rgba(6,36,73,.75) 30%, rgba(6,36,73,0) 55%); }
  .spot__label { margin-bottom: 6px; }
  .spot__logo img { width: min(210px, 56vw); }
  .spot__tagline { font-size: 1.05rem; margin-bottom: 14px; }
  .spot__buttons { flex-wrap: nowrap; width: 100%; max-width: 420px; gap: 10px; }
  .spot__buttons .btn { flex: 1; min-height: 52px; padding: 10px 8px; font-size: 1rem; white-space: nowrap; gap: .4em; }
  .spot__chips { margin-top: 12px; gap: 6px; }
  .spot__chips li { font-size: .82rem; padding: 4px 10px; }
}
/* Game logo laid over the card art */
.hcard__art img.hcard__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72%; height: auto; max-height: 70%; aspect-ratio: auto; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); pointer-events: none; }

/* ---------- Spotlight with a product shot (game on a tablet + printed sheet) ---------- */
.spot__product { position: relative; width: min(88%, 400px); margin: 0 auto; padding: 0 0 4% 14%; }
.spot__tablet {
  position: relative; z-index: 1; padding: 3.2%; border-radius: 6% / 8.5%;
  background: linear-gradient(145deg, #2b3440, #0d1117); box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset, 0 24px 48px rgba(0,0,0,.5);
}
.spot__tablet img { width: 100%; border-radius: 2.4% / 3.3%; }
.spot__sheet { position: absolute; z-index: 0; left: 0; bottom: -2%; width: 38%; transform: rotate(-9deg); border-radius: 3px; box-shadow: 0 14px 30px rgba(0,0,0,.45); background: #fff; }
.spot--product::after { background: linear-gradient(0deg, rgba(6,36,73,.95) 0%, rgba(6,36,73,.72) 50%, rgba(6,36,73,.4) 100%); }

/* Phone: label, logo, product, then the rest */
@media (max-width: 699px) {
  .spot--product { align-items: stretch; }
  .spot--product .spot__inner { display: flex; flex-direction: column; align-items: center; }
  .spot--product .spot__content { display: contents; }
  .spot--product .spot__label { order: 1; }
  .spot--product .spot__logo { order: 2; }
  .spot--product .spot__product { order: 3; margin: 4px auto 18px; }
  .spot--product .spot__tagline { order: 4; text-align: center; }
  .spot--product .spot__buttons { order: 5; }
  .spot--product .spot__chips { order: 6; }
  .spot--product .spot__logo img { width: min(190px, 50vw); }
}
@media (min-width: 700px) {
  .spot--product .spot__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
  .spot--product .spot__product { width: 100%; max-width: 640px; justify-self: end; }
  .spot--product::after { background: linear-gradient(90deg, rgba(6,36,73,.92) 0%, rgba(6,36,73,.65) 45%, rgba(6,36,73,.4) 100%); }
}

/* ---------- Spotlight: focus point, and phones without a tall picture ---------- */
.spot[style*="--focus"] .spot__bg img { object-position: var(--focus); }
@media (min-width: 700px) {
  .spot--stack::after { background: linear-gradient(90deg, rgba(10,14,26,.86) 0%, rgba(10,14,26,.6) 30%, rgba(10,14,26,.1) 52%, rgba(10,14,26,0) 62%); }
}
@media (max-width: 699px) {
  .spot--stack { display: block; min-height: 0; }
  .spot--stack .spot__bg { position: relative; display: block; height: 62vw; z-index: 0; }
  .spot--stack .spot__bg img { position: absolute; }
  .spot--stack::after { inset: auto 0 0 0; top: calc(62vw - 70px); height: 70px; background: linear-gradient(0deg, var(--navy), rgba(6,36,73,0)); z-index: 0; }
  .spot--stack .spot__inner { position: relative; z-index: 1; padding-top: 0; margin-top: -34px; }
}

/* ---------- Game page: what's in the game (flat-lay) ---------- */
.inside { margin: 0 0 28px; }
.inside img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.inside figcaption { margin-top: 10px; font-size: .95rem; color: var(--ink-soft); text-align: center; }

/* =================================================================
   Game page (short version): intro + video, folded extras, after-game cards
   ================================================================= */
.game-page .spot { margin-bottom: 0; }
.game-hero .spot__content { align-items: center; text-align: center; }
.gintro { display: grid; gap: 28px; align-items: start; }
.gintro h2 { margin-top: 0; }
.gintro__lead { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.5; color: var(--navy); margin: 0 0 14px; }
.gintro__video .note { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.gintro__video .note .icon { width: 18px; height: 18px; color: var(--red); }
@media (min-width: 860px) { .gintro { grid-template-columns: 1fr 1.25fr; gap: 48px; } .gintro--single { grid-template-columns: 1fr; max-width: 760px; } }

/* "Read more" fold: big touch target, plus sign that turns into a minus */
.more { margin-top: 10px; }
.more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-head); font-weight: 800; color: var(--blue-text); }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); font-size: 1.1rem; line-height: 1; }
.more[open] > summary::before { content: "−"; }
.more > :not(summary) { margin-top: 6px; }
.more h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin: 1em 0 .3em; }

.after2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: start; }
.after2__card { background: #fff; border-radius: var(--radius); padding: 22px 22px 16px; box-shadow: var(--shadow-sm); border: 2px solid var(--line); border-top: 6px solid var(--c); }
.after2__card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.after2__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--c); color: var(--navy); flex: none; }
.after2__card[style*="purple"] .after2__icon { color: #fff; }
.after2__icon .icon { width: 22px; height: 22px; }
.after2__card p { margin: 0 0 8px; }
.after2__q { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.scripture--small { margin: 0 0 10px; padding: 12px 16px; font-size: 1.1rem; }
.game-page .play-ways { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }


/* =================================================================
   Homepage and format pages (v4): flat colours, built from every game's own art
   ================================================================= */
.btn--red { background: #c40d1c; }
.btn--red:hover { background: #8f0914; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px); }
.sec-head h2 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); line-height: 1.12; margin: 0 0 .3em; letter-spacing: -.01em; }
.sec-head p { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); margin: 0; }
.sec-head--light h2 { color: #fff; }
.sec-head--light .eyebrow { color: var(--yellow); }

/* ---- Game art: an iPad with the game library ---- */
.art-screen { width: 100%; max-width: 520px; margin: 0 auto; padding: 3.2%; border-radius: 7% / 9.5%; background: #1c2433; box-shadow: 0 2px 0 #3a4558 inset, 0 24px 50px rgba(6,36,73,.28); transform: rotate(-2deg); }
.art-screen__glass { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 4.5% / 6%; background: #0d1420; aspect-ratio: 4 / 3; overflow: hidden; }
.art-screen__tile { position: relative; display: block; border-radius: 10px; overflow: hidden; }
.art-screen__tile { min-height: 0; }
.art-screen__tile > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art-screen__logo { position: absolute; left: 12%; right: 12%; top: 50%; transform: translateY(-50%); width: 76%; max-height: 80%; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); }

/* ---- Game art: print-and-play covers fanned out ---- */
.art-print { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 4 / 3; }
.art-print__sheet { position: absolute; top: 6%; left: 50%; width: 44%; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 16px 34px rgba(6,36,73,.24); transform-origin: 50% 100%; }
.art-print__sheet:nth-child(1) { transform: translateX(-50%); z-index: 3; }
.art-print--2 .art-print__sheet:nth-child(1) { transform: translateX(-80%) rotate(-7deg); }
.art-print--2 .art-print__sheet:nth-child(2) { transform: translateX(-20%) rotate(7deg); z-index: 2; }
.art-print--3 .art-print__sheet:nth-child(2) { transform: translateX(-95%) rotate(-11deg) translateY(4%); z-index: 2; }
.art-print--3 .art-print__sheet:nth-child(3) { transform: translateX(-5%) rotate(11deg) translateY(4%); z-index: 1; }

/* ---- How do you want to play? ---- */
.ways2 { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.ways2__grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .ways2__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.way { display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--ink); background: #fff; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(6,36,73,.09); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.way:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(6,36,73,.16); color: var(--ink); }
.way:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.way__art { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 44px) clamp(24px, 5vw, 48px) clamp(20px, 4vw, 36px); background: var(--tint); }
.way[style*="blue"] { --tint: #e8f3ff; --c: var(--blue-text); }
.way[style*="red"] { --tint: #fdecee; --c: #c40d1c; }
.way .art-print, .way .art-screen { max-width: 380px; }
.way:hover .art-screen { transform: rotate(-2deg) translateY(-4px); }
.art-screen { transition: transform .3s ease; }
.way__body { display: flex; flex-direction: column; gap: 6px; padding: 24px 26px 26px; }
.way__icon { display: none; }
.way strong { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2rem); line-height: 1.1; color: var(--navy); }
.way__body > span:not([class]) { font-size: 1.08rem; line-height: 1.5; color: var(--ink-soft); }
.way__go { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 10px; padding: 10px 18px; border-radius: 999px; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 900; }
.way__go .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.way:hover .way__go .icon { transform: translateX(3px); }

/* ---- Games ---- */
.games-area { padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 96px); }

/* ---- Why we make games: flat navy band ---- */
.journey2 { color: #fff; padding: clamp(64px, 9vw, 110px) 0; background: var(--navy); }
.journey2 .sec-head h2 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); }
.journey2__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .journey2__steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .journey2__steps { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.journey2__steps li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px 22px 24px; border-radius: 22px; background: #0d3260; }
.journey2__num { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-weight: 900; font-size: 1rem; color: #8fa9c9; }
.journey2__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: var(--navy); margin-bottom: 10px; }
.journey2__icon .icon { width: 26px; height: 26px; }
.journey2__steps strong { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; }
.journey2__steps li > span:last-child { color: #c9d7ea; line-height: 1.55; }

/* ---- Made for everyone ---- */
.foryou { padding: clamp(64px, 9vw, 110px) 0; }
.foryou__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .foryou__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.foryou__card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 30px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(6,36,73,.07); border-top: 6px solid var(--c); }
.foryou__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--c); color: #fff; margin-bottom: 12px; }
.foryou__card[style*="yellow"] .foryou__icon { color: var(--navy); }
.foryou__card[style*="green"] { --c: #2a9d00; }
.foryou__icon .icon { width: 28px; height: 28px; }
.foryou__card h3 { font-size: 1.45rem; margin: 0 0 6px; }
.foryou__card p { color: var(--ink-soft); line-height: 1.6; margin: 0 0 20px; flex: 1; }

/* ---- Promise + Trueway Kids ---- */
.promise2 { padding: 0 0 clamp(64px, 9vw, 110px); }
.promise2__inner { display: grid; gap: 28px; align-items: stretch; padding-top: clamp(48px, 7vw, 72px); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .promise2__inner { grid-template-columns: 1.15fr 1fr; gap: 48px; } }
.promise2 h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); line-height: 1.15; }
.promise2__list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 18px; }
@media (min-width: 600px) { .promise2__list { grid-template-columns: 1fr 1fr; } }
.promise2__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--ink-soft); }
.promise2__list .icon { flex: none; width: 26px; height: 26px; color: var(--blue-text); margin-top: 1px; }
.promise2__list strong { font-family: var(--font-head); color: var(--navy); }
.tkband { padding: 32px 30px; border-radius: 26px; background: var(--sky); display: flex; flex-direction: column; align-items: flex-start; }
.tkband__label { font-family: var(--font-head); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--blue-text); margin: 0 0 8px; }
.tkband h3 { font-size: 1.6rem; margin: 0 0 8px; }
.tkband p { color: var(--ink-soft); margin: 0 0 22px; line-height: 1.6; }
.tkband .btn { margin-top: auto; }

/* ---- Play online / Print and play pages ---- */
.fhead { padding: clamp(40px, 7vw, 88px) 0; background: var(--tint); }
.fhead[style*="blue"] { --tint: #e8f3ff; --c: var(--blue-text); }
.fhead[style*="red"] { --tint: #fdecee; --c: #c40d1c; }
.fhead__inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 820px) { .fhead__inner { grid-template-columns: 1fr 1fr; gap: 56px; } }
.fhead h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1.04; margin: 0 0 .3em; letter-spacing: -.01em; }
.fhead__label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin: 0 0 16px; }
.fhead__label .icon { width: 18px; height: 18px; }
.fhead__lead { font-size: clamp(1.08rem, 2.2vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 40ch; }
.ftips { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ftips li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: #fff; border-radius: 20px; border: 1px solid var(--line); line-height: 1.5; color: var(--ink-soft); }
.ftips__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--c); color: #fff; }
.ftips li[style*="red"] { --c: #c40d1c; }
.ftips li[style*="blue"] { --c: var(--blue-text); }
.ftips__icon .icon { width: 24px; height: 24px; }
.ftips strong { display: block; font-family: var(--font-head); font-weight: 900; color: var(--navy); font-size: 1.1rem; margin-bottom: 2px; }
.ftips__other { margin: 32px 0 0; }
.page-head__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px !important; }

/* ---- Phones: keep the menu on one line ---- */
@media (max-width: 559px) {
  .site-nav ul { justify-content: center; gap: 0; }
  .site-nav a { padding: 8px 7px; font-size: .95rem; }
}

/* =================================================================
   About and Leaders pages
   ================================================================= */
.phead { padding: clamp(48px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); background: var(--sky); }
.phead__inner { max-width: 880px; }
.phead--split .phead__inner { max-width: var(--wrap); display: grid; gap: 36px; align-items: center; }
@media (min-width: 880px) { .phead--split .phead__inner { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.phead h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); line-height: 1.06; letter-spacing: -.01em; margin: 0 0 .35em; }
.phead__lead { font-size: clamp(1.1rem, 2.3vw, 1.35rem); line-height: 1.55; color: var(--ink-soft); margin: 0; max-width: 44ch; }
.phead__facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.phead__facts li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.phead__facts .icon { width: 22px; height: 22px; color: var(--blue-text); flex: none; }

/* Imagine: three short scenes */
.imagine { display: grid; gap: 20px; }
@media (min-width: 900px) { .imagine { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.imagine__card { overflow: hidden; border-top: 6px solid var(--c); padding: 0 28px 30px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(6,36,73,.07); }
.imagine__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--c); color: #fff; margin-bottom: 16px; }
.imagine__card[style*="yellow"] .imagine__icon { color: var(--navy); }
.imagine__card[style*="green"] .imagine__icon { background: #2a9d00; }
.imagine__icon .icon { width: 28px; height: 28px; }
.imagine__art { display: block; width: calc(100% + 56px); max-width: none; height: auto; margin: 0 -28px 18px; background: #fcf9f1; }
.imagine__card h3 { font-size: 1.35rem; margin: 0 0 8px; }
.imagine__card p { color: var(--ink-soft); line-height: 1.65; margin: 0; }
.bigquote { margin: clamp(40px, 6vw, 64px) auto 0; max-width: 760px; text-align: center; border: 0; padding: 0; }
.bigquote p { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 5.4vw, 3.4rem); line-height: 1.1; color: var(--navy); margin: 0 0 14px; }
.bigquote footer { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); }
.journey2__intro { color: #c9d7ea !important; margin-top: 14px !important; }

/* Text beside a picture */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.split h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.12; margin: 0 0 .5em; }
.split__text p { font-size: 1.1rem; line-height: 1.7; color: var(--ink-soft); }
.split__text p.eyebrow { font-size: .85rem; color: var(--blue-text); }

/* Bible / history / imagination */
.three-truths { display: grid; gap: 20px; }
@media (min-width: 900px) { .three-truths { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.three-truths article { padding: 30px 28px; border-radius: 24px; background: #fff; border-top: 6px solid var(--c); }
.three-truths article[style*="green"] { --c: #2a9d00; }
.three-truths article[style*="blue"] { --c: var(--blue-text); }
.three-truths__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: #fff; margin-bottom: 14px; }
.three-truths__icon .icon { width: 26px; height: 26px; }
.three-truths h3 { font-size: 1.3rem; margin: 0 0 8px; }
.three-truths p { color: var(--ink-soft); line-height: 1.65; margin: 0; }

/* Promise grid (About) */
.promise { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.promise li { display: flex; align-items: flex-start; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: none; font-family: var(--font-body); font-weight: 400; line-height: 1.5; color: var(--ink-soft); }
.promise li strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.12rem; color: var(--navy); margin-bottom: 2px; }
.promise__icon { width: 46px; height: 46px; border-radius: 14px; color: #fff; }
.promise li[style*="green"] .promise__icon { background: #2a9d00; }
.promise li[style*="yellow"] .promise__icon, .promise li[style*="cyan"] .promise__icon { color: var(--navy); }

/* Two panels side by side */
.promise2__inner--plain { padding-top: 0; border-top: 0; }
@media (min-width: 960px) { .promise2__inner--plain { grid-template-columns: 1fr 1fr; } }
.tkband--white { background: #fff; border: 1px solid var(--line); }
.tkband--wide { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .tkband--wide { grid-template-columns: 1.6fr auto; gap: 40px; padding: 36px 40px; } }
.tkband--wide p { margin-bottom: 0; }
.tkband__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Leaders: session timeline */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 26px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.timeline__step { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; }
.timeline li[style*="yellow"] .timeline__step { color: var(--navy); }
.timeline li[style*="green"] .timeline__step { background: #2a9d00; }
.timeline strong { display: block; font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; color: var(--navy); margin: 12px 0 4px; }
.timeline p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.usegrid { display: grid; gap: 14px; margin-top: clamp(32px, 5vw, 48px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.usegrid > div { padding: 20px; border-radius: 18px; background: var(--sky); color: var(--ink-soft); line-height: 1.5; }
.usegrid strong { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 900; color: var(--navy); margin-bottom: 4px; }
.usegrid .icon { width: 20px; height: 20px; color: var(--blue-text); }

/* Leaders: how-to columns */
.howto { display: grid; gap: 20px; }
@media (min-width: 900px) { .howto { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.howto article { padding: 30px 28px; border-radius: 24px; background: #fff; }
.howto__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--c); color: #fff; margin-bottom: 14px; }
.howto__icon .icon { width: 26px; height: 26px; }
.howto h3 { font-size: 1.35rem; margin: 0 0 10px; }
.howto ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); line-height: 1.6; }
.howto li + li { margin-top: 8px; }

/* Leaders: lock the device */
.lock { display: grid; gap: 20px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 860px) { .lock { grid-template-columns: 1fr 1fr; gap: 24px; } }
.lock article { padding: 28px; border-radius: 24px; border: 2px solid var(--line); background: #fff; }
.lock h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin: 0 0 14px; }
.lock h3 .icon { width: 26px; height: 26px; color: #2a9d00; flex: none; }
.lock ol { margin: 0; padding-left: 1.3em; color: var(--ink-soft); line-height: 1.6; }
.lock li + li { margin-top: 8px; }
.lock li::marker { font-family: var(--font-head); font-weight: 900; color: var(--navy); }
.promise { display: flex; flex-wrap: wrap; justify-content: center; }
.promise li { flex: 1 1 250px; max-width: 100%; }
@media (min-width: 1000px) { .promise li { flex: 0 1 calc(25% - 12px); } }

/* Feedback line at the end of a game page */
.feedback-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 0 0 20px; color: var(--ink-soft); }
.feedback-note .icon { width: 20px; height: 20px; color: var(--blue); }
.feedback-note a { font-weight: 700; }

/* About: the rule under the three truths */
.three-truths__rule { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin: 28px auto 0; padding: 16px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--navy); }
.three-truths__rule .icon { flex: none; width: 26px; height: 26px; color: var(--green-text, #2f7d00); margin-top: 2px; }

/* Game page: share link and QR code */
.share { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.share__qr svg { display: block; width: 100%; height: auto; border-radius: 8px; }
.share__text h2 { margin: 0 0 8px; }
.share__text p { margin: 0 0 10px; color: var(--ink-soft); }
.share__url { font-family: var(--font-head); font-weight: 800; color: var(--navy) !important; overflow-wrap: anywhere; }
.share__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 599px) { .share { grid-template-columns: 1fr; justify-items: center; text-align: center; } .share__qr { width: 180px; } .share__buttons { justify-content: center; } }

/* Homepage: reassurance strip under the spotlight */
.trust { background: #fff; border-bottom: 1px solid #e3ebf5; }
.trust__list { list-style: none; margin: 0 auto; padding-top: 14px; padding-bottom: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: .98rem; }
.trust__list li { display: inline-flex; align-items: center; gap: 8px; }
.trust__list .icon { width: 20px; height: 20px; color: var(--blue); }
.trust__list a { color: inherit; }

/* Game cards: playing time, and the round button goes straight into the game */
.hcard__go--play { z-index: 2; background: var(--yellow); color: var(--navy); box-shadow: 0 3px 0 #c98f00; text-decoration: none; }
.hcard__go--play:hover, .hcard:hover .hcard__go--play { background: #ffcc33; color: var(--navy); }
.hcard__go--play:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Help page */
.faq { max-width: 820px; }
.faq h2 { margin: 36px 0 14px; }
.faq h2:first-child { margin-top: 0; }
.faq__item { background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin: 0 0 10px; }
.faq__item summary { cursor: pointer; padding: 16px 20px; min-height: 44px; font-family: var(--font-head); font-weight: 800; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq__item[open] summary::after { content: "–"; }
.faq__item > p, .faq__item > ul { margin: 0; padding: 0 20px 18px; color: var(--ink-soft); }
.faq__item > ul { padding-left: 40px; }
.faq__allowed { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; border-left: 6px solid var(--green); }
.faq__allowed ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.faq__allowed li { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); font-weight: 600; }
.faq__allowed .icon { flex: none; width: 22px; height: 22px; color: #2a7d00; margin-top: 1px; }
.faq__allowed p { margin: 0; color: var(--ink-soft); }
.faq__allowed p + p { margin-top: 10px; font-size: .95rem; }
.faq__allowed--lang p + p { font-size: inherit; }
.faq__allowed--lang li { font-weight: 400; }

/* Play page: floating menu (replaces the top bar) */
.play-menu { position: fixed; z-index: 20; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; transition: opacity .4s ease; }
.play-menu--top-left { top: calc(10px + env(safe-area-inset-top)); left: calc(10px + env(safe-area-inset-left)); }
.play-menu--top-right { top: calc(10px + env(safe-area-inset-top)); right: calc(10px + env(safe-area-inset-right)); align-items: flex-end; }
.play-menu--bottom-left { bottom: calc(10px + env(safe-area-inset-bottom)); left: calc(10px + env(safe-area-inset-left)); flex-direction: column-reverse; }
.play-menu--bottom-right { bottom: calc(10px + env(safe-area-inset-bottom)); right: calc(10px + env(safe-area-inset-right)); flex-direction: column-reverse; align-items: flex-end; }
.play-menu.is-dim { opacity: .65; }
.play-menu__btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: #062449; display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.play-menu__btn img { width: 28px; height: 28px; border-radius: 6px; }
.play-menu__panel { background: #fff; border-radius: 14px; box-shadow: 0 8px 28px rgba(0,0,0,.4); padding: 6px; display: flex; flex-direction: column; min-width: 220px; }
.play-menu__panel[hidden] { display: none; }
.play-menu__panel a, .play-menu__panel button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; font: 800 1rem var(--font-head); color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; white-space: nowrap; }
.play-menu__panel a:hover, .play-menu__panel button:hover, .play-menu__panel a:focus-visible, .play-menu__panel button:focus-visible { background: #e8f3fe; }

/* Doodle illustrations */
.doodle { display: block; width: 100%; height: auto; border-radius: 20px; background: #fcf9f1; }
.way__art--doodle { padding: 0; background: #fcf9f1; }
.way__art--doodle .doodle { border-radius: 0; }
.phead__art--small .doodle { max-width: 420px; margin: 0 auto; }
@media (max-width: 879px) { .phead__art--small .doodle { max-width: 240px; } }
