/* Bad Motto. Colors come from the logo: black, off-white, brush red. */

@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-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;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-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: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-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;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/archivo-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;
}

:root {
  color-scheme: dark;
  --ink: #0d0c0b;
  --ink-2: #161412;
  --ink-3: #201d1a;
  --line: #2f2b27;
  --line-strong: #4a443e;
  --paper: #f3eee5;
  --muted: #aaa397;
  --red: #d3172a;
  --red-text: #ff5a63;
  --ok: #6fd08c;
  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --body: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 10vw, 8rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  /* Faint grain so the black reads as printed, not as an empty screen. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red-text); }

:focus-visible {
  outline: 2px solid var(--red-text);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--ink) 90%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
}
.logo { display: block; flex: none; }
.logo img {
  display: block;
  width: auto;
  height: 46px;
  /* The logo has a black background; screen drops it onto ours. */
  mix-blend-mode: screen;
}
.site-header ul {
  display: flex;
  gap: clamp(.9rem, 3vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header nav a {
  display: inline-block;
  padding-block: .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--paper); }
.lang-switch a {
  padding-inline: .55rem;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--paper);
}
.lang-switch a:hover { border-color: var(--paper); }
@media (max-width: 26rem) {
  .site-header nav a { letter-spacing: .08em; font-size: .72rem; }
}
/* Very narrow phones: Studio is one scroll away anyway. */
@media (max-width: 30rem) {
  .site-header nav li:nth-child(2) { display: none; }
  .site-header ul { gap: .8rem; }
}
/* 320px phones: Press kit stays in the footer. */
@media (max-width: 22.5rem) {
  .site-header nav li:nth-child(3) { display: none; }
}

/* ---------- Shared type ---------- */

.eyebrow,
.tag {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: .95;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-bottom: .4em;
}
.sub-title {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.5rem 0 1rem;
}
.pitch {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  font-weight: 500;
}
.lede {
  max-width: 38rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
}
.lede a { color: var(--paper); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 3rem;
  padding: .5rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--paper);
  font: 600 .95rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { border-color: var(--paper); color: var(--paper); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: #b80f20; border-color: #b80f20; color: #fff; }
.btn--block { width: 100%; }
.btn-kicker { font-weight: 400; color: var(--muted); }
.btn--primary .btn-kicker { color: inherit; }

.actions,
.stores { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(3.5rem, 9vw, 7rem) var(--section);
}
.hero .eyebrow { margin-bottom: 1.5rem; }

.mottos {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-size: clamp(1.3rem, 6.2vw, 3rem);
  line-height: 1.3;
  white-space: nowrap;
  text-transform: uppercase;
  color: #7d776e;
}
.mottos s {
  position: relative;
  text-decoration: none;
}
.mottos s::after {
  content: "";
  position: absolute;
  inset: 50% -3% auto -2%;
  height: .34em;
  translate: 0 -40%;
  rotate: -1.2deg;
  background: url("/assets/img/brush.svg") center / 100% 100% no-repeat;
}
.mottos li:nth-child(2) s::after { rotate: .8deg; }
.mottos li:nth-child(3) s::after { rotate: -2deg; }

@media (prefers-reduced-motion: no-preference) {
  .mottos s::after {
    animation: strike .45s cubic-bezier(.65, 0, .25, 1) both;
    animation-delay: calc(.3s + var(--i, 0) * .28s);
  }
}
@keyframes strike {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.5rem, 13vw, 10rem);
  line-height: .9;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero .lede { margin-bottom: 2rem; }
/* The Turkish headline is twice as long; keep it to two lines on desktop. */
html[lang="tr"] .hero h1 { font-size: clamp(2.75rem, 9.5vw, 7.5rem); }

/* ---------- Games ---------- */

.games { padding-top: var(--section); border-top: 1px solid var(--line); }
.games > .wrap:first-child { margin-bottom: clamp(1rem, 3vw, 2rem); }

.game {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
}
.game + .game { border-top: 1px solid var(--line); }
.game::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 60% at 78% 45%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  pointer-events: none;
}

.game-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .game-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .game-strip { grid-column: 1 / -1; }
}
.game-copy { max-width: 34rem; }
.game-copy > p:not(.pitch) { color: var(--muted); }

.game-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.game-icon {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 12px 30px rgb(0 0 0 / .5);
}
.game h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 5.75rem);
  line-height: .92;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.game h3::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 5px;
  margin-top: 1rem;
  background: var(--accent);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: .3rem .75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
}

/* Screenshot strip: native horizontal scroll with snap, no controls needed. */
.shots {
  display: flex;
  gap: clamp(.75rem, 2vw, 1.25rem);
  margin: 0;
  padding: .25rem .25rem 1.25rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
  -webkit-mask-image: linear-gradient(to right, #000 85%, transparent);
  mask-image: linear-gradient(to right, #000 85%, transparent);
}
.shots li { flex: none; scroll-snap-align: start; }
.shots img {
  display: block;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 18px 40px rgb(0 0 0 / .45);
}
.shots--portrait img { width: clamp(9.5rem, 20vw, 13.5rem); }
.shots--landscape img { width: clamp(17rem, 38vw, 28rem); }

/* Trailer: poster first, YouTube iframe only after a click. */
.yt {
  position: relative;
  aspect-ratio: 960 / 444;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-3);
  box-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 24px 60px rgb(0 0 0 / .5);
}
.yt a, .yt img, .yt iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt img { object-fit: cover; }
.yt-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 5rem;
  height: 5rem;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 10px 30px rgb(0 0 0 / .45);
  transition: scale .15s;
}
.yt-btn::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 54%;
  translate: -50% -50%;
  border-style: solid;
  border-width: .9rem 0 .9rem 1.5rem;
  border-color: transparent transparent transparent #fff;
}
.yt a:hover .yt-btn { scale: 1.08; }

/* ---------- Studio ---------- */

.studio,
.contact {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}
.studio-grid,
.contact-grid,
.pk-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}
@media (min-width: 60rem) {
  .studio-grid,
  .contact-grid,
  .pk-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.studio-grid > div > p:not(.pitch),
.contact-grid > div > p:not(.pitch),
.pk-grid > div > p { color: var(--muted); max-width: 40rem; }

.factsheet {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}
.factsheet div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding-block: .8rem;
  border-bottom: 1px solid var(--line);
}
.factsheet div:first-child { padding-top: 0; }
.factsheet div:last-child { padding-bottom: 0; border-bottom: 0; }
.factsheet dt { color: var(--muted); font-size: .92rem; }
.factsheet dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Contact form ---------- */

.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field input,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink-2);
  color: var(--paper);
  font: inherit;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--paper); outline-offset: 1px; border-color: transparent; }

.error-msg {
  display: none;
  margin: 0;
  color: var(--red-text);
  font-size: .88rem;
  font-weight: 500;
}
.error-msg span {
  display: inline-grid;
  place-items: center;
  width: 1.1rem;
  height: 1.1rem;
  margin-right: .3rem;
  border-radius: 50%;
  background: var(--red-text);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 700;
}
.field :is(input, textarea):user-invalid { border-color: var(--red-text); background: #231314; }
.field :is(input, textarea):user-invalid + .error-msg { display: block; }

.notice {
  margin: 0;
  padding: .9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid;
  font-weight: 500;
}
.notice--ok { border-color: var(--ok); color: var(--ok); background: #12211a; }
.notice--error { border-color: var(--red-text); color: var(--red-text); background: #231314; }

.cf-turnstile { min-height: 65px; }

/* ---------- Press kit ---------- */

.page-intro { padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2.5rem, 6vw, 4rem); }
.page-intro h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: .92;
  text-transform: uppercase;
  margin: 1.25rem 0 1.5rem;
  max-width: 14ch;
}
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.toc a {
  padding: .45rem .9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
}
.toc a:hover { border-color: var(--paper); color: var(--paper); }

.pk-block {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}
.pk-block .stores { margin-top: 1.5rem; }

.pk-shots,
.pk-logos {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pk-shots--portrait { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); }
.pk-shots--landscape { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.pk-logos { grid-template-columns: repeat(auto-fill, minmax(14rem, 18rem)); }
.pk-shots a,
.pk-logos a {
  display: grid;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.pk-shots a:hover,
.pk-logos a:hover { color: var(--paper); }
.pk-shots img,
.pk-logos img {
  display: block;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08);
}
.pk-logos img { background: #000; padding: 1.5rem; }
.pk-shots .pk-icon img { border-radius: 22%; max-width: 8.5rem; }

/* ---------- Legal pages ---------- */

.legal {
  max-width: 46rem;
  padding-block: clamp(3rem, 8vw, 5.5rem) var(--section);
  color: #d9d3c9;
}
.legal h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.75rem, 8vw, 5rem);
  line-height: .95;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1rem;
}
.legal h1 + p { color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.legal h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  line-height: 1.25;
  color: var(--paper);
  margin: 2.75rem 0 .75rem;
}
.legal h3 { font-size: 1.1rem; color: var(--paper); margin: 2rem 0 .5rem; }
.legal h4 { font-size: 1rem; color: var(--paper); margin: 1.5rem 0 .4rem; }
.legal ul, .legal ol { padding-left: 1.25rem; margin: 0 0 1em; }
.legal li { margin-bottom: .5em; }
.legal strong { color: var(--paper); }
.legal a { color: var(--paper); }
.legal a:hover { color: var(--red-text); }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.site-footer p { margin: 0; }
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
