/* invenity.games — one stylesheet for every page (CLAUDE.md › Files).
   Colours, type and radii come from the brand (brand/README.md). Motion uses
   transform / opacity only; prefers-reduced-motion turns it off. */

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

:root {
  --night: #12121f;
  --bg: #0e0e19;
  --surface: #171728;
  --surface-2: #1e1e36;
  --line: #26263d;
  --line-2: #34345a;
  --text: #f3eee8;
  --cream: #fff4e8;
  --sub: #aaa7ba;
  --orange: #ff6d00;
  --orange-l: #ff9a4d;
  --blue: #2f6fd1;
  --blue-l: #5e97ec;
  --splash-a: #22223f;
  --splash-b: #0b0b15;
  --radius: 20px;
  --radius-s: 12px;
  --wrap: 1120px;
  --pad: clamp(18px, 5vw, 40px);
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --font: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  overflow-x: clip;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue-l);
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--orange-l);
}
:focus-visible {
  outline: 2px solid var(--orange-l);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.005em;
}
p {
  margin: 0;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--orange);
  color: #1a0d00;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
  color: #1a0d00;
}

/* ---------- missing facts (data/site.json null) ---------- */
.todo {
  display: inline-block;
  padding: 0 8px;
  border: 1px dashed var(--orange);
  border-radius: 6px;
  color: var(--orange-l);
  font-weight: 600;
  font-size: 0.92em;
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(14, 14, 25, 0.86);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.top__in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
}
.brand:hover {
  color: var(--cream);
}
.brand svg {
  width: 34px;
  height: 34px;
  flex: none;
  transition: transform 0.6s var(--ease-out);
}
.brand:hover svg {
  transform: rotate(-9deg) scale(1.06);
}
.nav {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--sub);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}
.nav a[aria-current="page"] {
  background: var(--surface-2);
}
.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.lang a {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 38px;
  border-radius: 9px;
  color: var(--sub);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}
.lang a[aria-current="page"] {
  background: var(--orange);
  color: #1a0d00;
}
@media (max-width: 719px) {
  .nav__opt {
    display: none;
  }
  .nav a {
    padding: 0 9px;
  }
  .brand__word {
    font-size: 0.98rem;
  }
}
@media (max-width: 519px) {
  .brand__word {
    display: none;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font: 600 1rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out);
}
.btn:hover {
  color: var(--cream);
  transform: translateY(-2px);
}
.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #1a0d00;
}
.btn--primary:hover {
  color: #1a0d00;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 35%, var(--splash-a) 0%, var(--bg) 62%);
}
.hero__in {
  display: grid;
  gap: 12px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 64px;
}
.hero__mark {
  position: relative;
  justify-self: center;
  width: min(64vw, 280px);
  aspect-ratio: 1;
}
.hero__mark::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 111, 209, 0.28), rgba(47, 111, 209, 0) 70%);
}
.hero__mark canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
/* static mark until the canvas runs (no JS, reduced motion): same size as the
   canvas mark (78 % of the box; the SVG's mark is 78/82 of its own box) */
.hero__mark img {
  position: absolute;
  inset: 9%;
  width: 82%;
  height: 82%;
  transition: opacity 0.4s linear 0.1s;
}
.hero__mark.is-live canvas {
  opacity: 1;
}
.hero__mark.is-live img {
  opacity: 0;
}
.eyebrow {
  color: var(--orange-l);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  /* written in capitals in the dictionary: text-transform in Turkish would make "İ" */
}
.hero h1 {
  margin-top: 12px;
  font-size: clamp(2.15rem, 7.6vw, 4rem);
  max-width: 15ch;
}
.hero__lead {
  margin-top: 18px;
  max-width: 36rem;
  color: var(--sub);
  font-size: 1.12rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (min-width: 880px) {
  .hero__in {
    grid-template-columns: 1.1fr 0.9fr;
    min-height: min(72vh, 680px);
    padding-top: 32px;
    padding-bottom: 24px;
  }
  .hero__mark {
    order: 2;
    width: min(38vw, 440px);
  }
}

/* ---------- sections ---------- */
.section {
  padding: 72px 0;
  scroll-margin-top: 64px;
}
.section__head {
  max-width: 40rem;
  margin-bottom: 32px;
}
.section__head h2 {
  font-size: clamp(1.75rem, 5vw, 2.6rem);
}
.section__head p {
  margin-top: 10px;
  color: var(--sub);
}

/* ---------- games ---------- */
.games {
  display: grid;
  gap: 24px;
}
@media (min-width: 980px) {
  .games {
    grid-template-columns: 1fr 1fr;
  }
}
.game {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface) 55%);
}
@media (min-width: 560px) {
  .game {
    grid-template-columns: 1fr 180px;
    align-items: start;
  }
}
.game__id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.game__icon {
  width: 64px;
  height: 64px;
  border-radius: 22.5%;
  flex: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.game h3 {
  font-size: 1.4rem;
}
.game__tag {
  color: var(--sub);
  font-size: 0.95rem;
}
.game__desc {
  margin-top: 16px;
  color: var(--text);
}
.game__shot {
  justify-self: center;
  width: 180px;
  padding: 6px;
  border-radius: 28px;
  background: #050509;
  box-shadow:
    0 0 0 1px #2a2a44,
    0 24px 50px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease-out);
}
.game__shot img {
  width: 100%;
  height: auto;
  border-radius: 22px;
}
.game:hover .game__shot {
  transform: translateY(-6px) rotate(-1.5deg);
}
@media (min-width: 560px) {
  .game__shot {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}
.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-top: 22px;
}
.stores a {
  display: block;
  border-radius: 8px;
}
/* Apple: badge ≥ 40 px tall on screen, clear space ≥ 1/4 of its height.
   Google's PNG carries its own clear space, different per language
   (tools/build.mjs GOOGLE_BADGE): shown taller so both badge bodies are 44 px
   tall, the negative margins line its body up with Apple's left edge.
   EN: body 168 of 250 px, 41 px clear space on every side.
   TR: body 192 of 250 px, 29 px above and below, none at the sides. */
.badge-apple {
  height: 44px;
  width: auto;
}
.badge-google {
  height: 65px;
  width: auto;
  max-width: none;
  margin: -10.5px -11px;
}
.badge-google--tr {
  height: 57px;
  margin: -6.6px 0;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  color: var(--cream);
  font-weight: 600;
}
.soon--small {
  min-height: 30px;
  margin-top: 8px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  gap: 8px;
}
.soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}
/* inline-block (not flex): the arrow stays on the last word's line (&nbsp;) */
.game__site {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 0;
  font-weight: 600;
}
.game__arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}
.game__site:hover .game__arrow {
  transform: translateX(4px);
}

/* ---------- next projects ---------- */
.section--tight {
  padding-top: 8px;
}
.next {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.next__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
}
.next__tile {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 22.5%;
  background: linear-gradient(145deg, var(--surface-2), #26264a);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--orange-l);
  font-weight: 800;
  font-size: 1.6rem;
}
.next__item h3 {
  align-self: end;
  font-size: 1.2rem;
}
.next__item .soon {
  justify-self: start;
  align-self: start;
}

/* ---------- about ---------- */
.about {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .about {
    grid-template-columns: 1fr 1fr;
  }
}
.about .card p,
.about .card li {
  color: #d9d4ce;
}
.about .card strong {
  color: var(--text);
}
.card .ticks li {
  position: relative;
  padding: 0 0 0 22px;
  border-top: 0;
}
.card .ticks li + li {
  margin-top: 10px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange);
  transform: rotate(45deg);
}
.about__company {
  margin-top: 18px;
}
.about__company .facts {
  margin-top: 4px;
}

/* ---------- vision & mission ---------- */
.vision {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 18px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(47, 111, 209, 0.22), rgba(47, 111, 209, 0) 60%),
    radial-gradient(70% 110% at 0% 100%, rgba(255, 109, 0, 0.16), rgba(255, 109, 0, 0) 60%),
    var(--surface);
}
.vision__sign {
  width: 96px;
  height: 48px;
}
.vision__sign path {
  fill: none;
  stroke: url(#vision-grad);
  stroke-width: 7;
  stroke-linecap: round;
}
.vision__title {
  margin-top: 18px;
  color: var(--orange-l);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.vision__lead {
  margin-top: 8px;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
}
.vision__grid {
  display: grid;
  gap: 18px 40px;
  margin-top: 26px;
}
@media (min-width: 760px) {
  .vision__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.vision__item {
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.vision__item h4 {
  font-size: 1.1rem;
}
.vision__item p {
  margin-top: 8px;
  color: #d9d4ce;
}

/* ---------- contact ---------- */
.contact {
  display: grid;
  gap: 18px;
}
@media (min-width: 760px) {
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card p + p,
.card ul {
  margin-top: 8px;
}
.card ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}
.card li {
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.card li:first-child {
  border-top: 0;
}
.muted {
  color: var(--sub);
}
.mail {
  display: inline-block;
  padding: 6px 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ---------- documents (about, terms, privacy) ---------- */
.doc {
  padding: 48px 0 72px;
}
.doc__head {
  max-width: 46rem;
}
.doc__head h1 {
  font-size: clamp(2rem, 6vw, 3rem);
}
.doc__meta {
  margin-top: 10px;
  color: var(--sub);
}
.doc__lead {
  margin-top: 16px;
  font-size: 1.12rem;
  color: var(--sub);
}
.doc__body {
  display: grid;
  gap: 32px;
  margin-top: 36px;
}
@media (min-width: 960px) {
  .doc__body {
    grid-template-columns: 240px minmax(0, 46rem);
    gap: 56px;
  }
}
.toc {
  align-self: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--surface);
  font-size: 0.95rem;
}
@media (min-width: 960px) {
  .toc {
    position: sticky;
    top: 88px;
  }
}
.toc h2 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 6px;
}
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--text);
  text-decoration: none;
}
.toc a:hover {
  color: var(--orange-l);
}
.prose section {
  scroll-margin-top: 84px;
}
.prose section + section {
  margin-top: 34px;
}
.prose h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.prose h3 {
  font-size: 1.05rem;
  margin: 16px 0 6px;
}
.prose p,
.prose li {
  color: #d9d4ce;
}
.prose p + p,
.prose ul {
  margin-top: 10px;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li + li {
  margin-top: 6px;
}
.prose strong {
  color: var(--text);
}
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  margin: 12px 0 0;
}
.facts dt {
  color: var(--sub);
}
.facts dd {
  margin: 0;
}
.facts .mail {
  padding: 0;
}
.facts + p {
  margin-top: 12px;
}

/* ---------- 404 ---------- */
.lost {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 72px 0 96px;
  text-align: center;
}
.lost svg {
  width: 120px;
  height: 120px;
  animation: spin 24s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.lost h1 {
  font-size: clamp(2rem, 7vw, 3.2rem);
}
.lost p {
  color: var(--sub);
  max-width: 30rem;
}

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  color: var(--sub);
  font-size: 0.95rem;
}
.foot__in {
  display: grid;
  gap: 18px;
}
.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}
.foot__row a,
.linkbtn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--text);
  text-decoration: none;
}
.foot__row a:hover,
.linkbtn:hover {
  color: var(--orange-l);
}
.linkbtn {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.12em;
}
.foot__brand svg {
  width: 28px;
  height: 28px;
}
.foot__legal {
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ---------- consent banner ---------- */
.consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 40;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 18px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(23, 23, 40, 0.97);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
  animation: rise 0.45s var(--ease-out) both;
}
.consent[hidden] {
  display: none;
}
.consent h2 {
  font-size: 1rem;
  margin-bottom: 6px;
  padding-right: 40px;
}
.consent__close {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--sub);
  cursor: pointer;
}
.consent__close:hover {
  color: var(--text);
  background: var(--surface-2);
}
.consent__close svg {
  width: 20px;
  height: 20px;
}
.consent__close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.consent p {
  color: var(--sub);
}
.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.consent .btn {
  min-height: 46px;
  padding: 0 12px;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- scroll reveal (JS adds .reveal-on; no JS = everything visible) ---------- */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal-on [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- splash (home only; html[data-splash] set by the inline head script) ---------- */
.splash {
  display: none;
}
[data-splash="full"] .splash,
[data-splash="short"] .splash {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: radial-gradient(75% 60% at 50% 40%, var(--splash-a), var(--splash-b));
  /* failsafe if the script never runs: get out of the way */
  animation: splash-failsafe 0.3s linear 5s forwards;
}
.splash.is-running {
  background: none;
  animation: none;
}
.splash canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.splash__brand {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--brand-top, 62%);
  text-align: center;
  color: var(--cream);
  pointer-events: none;
  transition: opacity 0.35s linear;
}
.splash__word {
  font-weight: 800;
  font-size: var(--word, 2.4rem);
  letter-spacing: 0.12em;
  line-height: 1;
  margin-right: -0.12em;
}
.splash__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
  transition-delay: calc(var(--t0, 0.9s) + var(--i) * 45ms);
}
.splash__tag {
  margin-top: 0.9em;
  font-weight: 500;
  font-size: calc(var(--word, 2.4rem) * 0.34);
  letter-spacing: 0.6em;
  margin-right: -0.6em;
  color: rgba(255, 244, 232, 0.6);
  opacity: 0;
  transform: translateY(0.6em);
  transition:
    opacity 0.6s var(--ease-out) calc(var(--t0, 0.9s) + 0.5s),
    transform 0.6s var(--ease-out) calc(var(--t0, 0.9s) + 0.5s);
}
.splash.is-in .splash__word span,
.splash.is-in .splash__tag {
  opacity: 1;
  transform: none;
}
.splash.is-out .splash__brand {
  opacity: 0;
}
.splash__skip {
  position: absolute;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 244, 232, 0.25);
  border-radius: 12px;
  background: rgba(14, 14, 25, 0.5);
  color: var(--cream);
  font: 600 0.95rem var(--font);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s linear 0.4s;
}
.splash.is-running .splash__skip {
  opacity: 1;
}
.splash.is-out .splash__skip {
  opacity: 0;
  transition-delay: 0s;
}
@keyframes splash-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    transition-delay: 0s !important;
  }
  .reveal-on [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .splash {
    display: none !important;
  }
}
