/* Vidik Studios · Hamo Run
   "Istanbul sticker" style: chunky white-outlined stickers, orange/teal,
   Istanbul skyline silhouettes. No external requests: fonts and images are
   served from this site. */

@font-face {
  font-family: "Hamo Display";
  src: url("fonts/LuckiestGuy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hamo Label";
  src: url("fonts/BarlowCondensed-ExtraBoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #13263b;
  --navy: #1d3550;
  --navy-2: #24425f;
  --sky-top: #45bfd3;
  --sky-bottom: #bdeaea;
  --orange: #ff8a1e;
  --orange-deep: #ef620b;
  --orange-hi: #ffb347;
  --teal-dark: #0c6c78;
  --yellow: #ffd23f;
  --bg: #fff4e0;
  --surface: #ffffff;
  --soft: #fff4e0;
  --text: #1b2a3a;
  --heading: #13263b;
  --muted: #4a5a6b;
  --accent-text: #b5470a;
  --line: #ead9bd;
  --road: #3b4452;
  --curb: #d9c9a8;
  --ph-bg: #ffe066;
  --outline-2:
    -2px -2px 0 var(--ink), 2px -2px 0 var(--ink), -2px 2px 0 var(--ink), 2px 2px 0 var(--ink),
    0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink);
  --outline-3:
    -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink),
    0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink);
  --sticker: 0 0 0 3px var(--ink), 0 7px 0 3px var(--ink);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Hamo Display", "Arial Black", "Segoe UI Black", system-ui, sans-serif;
  --font-label: "Hamo Label", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sky-top: #1b6a80;
    --sky-bottom: #2f8f9c;
    --bg: #0f1e2d;
    --surface: #182c42;
    --soft: #13263b;
    --text: #f3ebdf;
    --heading: #ffffff;
    --muted: #b8c4cf;
    --accent-text: #ffad66;
    --line: #2a4560;
    --road: #2a313c;
    --curb: #6d6556;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-wrap: break-word;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

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

@media (min-width: 600px) {
  .wrap {
    padding-inline: 24px;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.label {
  font-family: var(--font-label);
  font-style: italic;
  font-weight: 800;
}

/* ---------- top bar ---------- */

.topbar {
  background: var(--sky-top);
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
}

.brand {
  display: inline-block;
  font-family: var(--font-label);
  font-style: italic;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  background: var(--navy);
  border: 3px solid #fff;
  border-radius: 999px;
  padding: 0.36em 0.9em 0.42em;
  box-shadow: 0 0 0 2px var(--ink), 0 4px 0 2px var(--ink);
  transform: rotate(-2deg);
}

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 42px;
  padding: 0.5em 0.7em 0.38em;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 2px var(--ink), 0 4px 0 2px var(--ink);
}

/* Active language: TR by default, EN when #en is the target. Works without JS. */
.lang-switch .sw--tr,
.lang-switch [aria-current="page"],
body:has(#en:target) .lang-switch .sw--en {
  background: var(--orange);
}

body:has(#en:target) .lang-switch .sw--tr {
  background: #fff;
}

/* ---------- language blocks (CSS-only toggle via :target) ---------- */

.lang {
  scroll-margin-top: 6rem;
}

#en:not(:target) {
  display: none;
}

main:has(#en:target) #tr {
  display: none;
}

/* ---------- sky + skyline backdrop ---------- */

.sky {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 100%);
}

/* Two silhouette layers (img/skyline-*.svg, colours baked in so they also
   show when index.html is opened straight from disk). */
.sky::before,
.sky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.sky::before {
  height: 150px;
  background-image: url("img/skyline-back.svg");
  background-position: -430px bottom;
}

.sky::after {
  height: 100px;
  background-image: url("img/skyline-front.svg");
  background-position: left bottom;
}

@media (prefers-color-scheme: dark) {
  .sky::before {
    background-image: url("img/skyline-back-dark.svg");
  }

  .sky::after {
    background-image: url("img/skyline-front-dark.svg");
  }
}

@media (min-width: 860px) {
  .sky::before {
    height: 200px;
  }

  .sky::after {
    height: 130px;
  }
}

.road {
  height: 46px;
  background-color: var(--road);
  background-image: linear-gradient(90deg, #fff 0 50%, transparent 50% 100%);
  background-size: 72px 5px;
  background-repeat: repeat-x;
  background-position: 0 50%;
  border-top: 7px solid var(--curb);
}

/* ---------- hero ---------- */

.hero__grid {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding-top: 8px;
}

.hero__text {
  display: grid;
  justify-items: center;
}

.hero__logo {
  width: min(86vw, 360px);
  margin: 0;
}

.hero__logo img {
  width: 100%;
  filter: drop-shadow(0 6px 0 rgba(19, 38, 59, 0.22));
}

.pitch {
  max-width: 21ch;
  margin: 6px 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 5.4vw, 1.8rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: var(--outline-2), 0 4px 0 var(--ink);
}

.soon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 14px 0 10px;
  padding: 0.6em 1.4em 0.55em;
  font-family: var(--font-display);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, var(--orange-hi) 0%, var(--orange) 45%, var(--orange-deep) 100%);
  border: 5px solid #fff;
  border-radius: 22px;
  box-shadow: 0 0 0 3px var(--ink), 0 8px 0 3px var(--ink);
  transform: rotate(-2deg);
}

.soon__small {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-shadow: var(--outline-2);
}

.soon__big {
  font-size: clamp(1.55rem, 7vw, 2.1rem);
  text-shadow: var(--outline-3), 0 5px 0 var(--ink);
}

.soon__spark {
  position: absolute;
  left: -20px;
  top: -22px;
  width: 40px;
  height: 40px;
}

.hero__art {
  position: relative;
  width: min(80vw, 300px);
  aspect-ratio: 300 / 236;
  margin-top: 18px;
}

.hero__icon {
  position: absolute;
  left: 0;
  bottom: 18px;
  z-index: 2;
  width: 58%;
  transform: rotate(-6deg);
}

.hero__icon img {
  width: 100%;
  border: 6px solid #fff;
  border-radius: 24%;
  box-shadow: var(--sticker);
}

/* Diva looms behind Hamo, like in the game's menu and app icon */
.hero__diva {
  position: absolute;
  right: 4%;
  bottom: 10px;
  z-index: 1;
  width: 48%;
  transform: rotate(7deg);
  transform-origin: bottom center;
}

.hero__diva img {
  width: 100%;
  filter: drop-shadow(0 5px 0 rgba(19, 38, 59, 0.35));
}

@media (min-width: 860px) {
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    justify-items: start;
    text-align: left;
    gap: 24px;
    padding-top: 24px;
  }

  .hero__text {
    justify-items: start;
    padding-bottom: 150px;
  }

  .hero__logo {
    width: min(100%, 440px);
    margin-left: -12px;
  }

  .pitch {
    max-width: 22ch;
  }

  .soon {
    margin-left: 18px;
  }

  .hero__art {
    justify-self: end;
    width: 100%;
    max-width: 500px;
  }

  /* a jump arc of simit over the characters, like the in-game simit arcs */
  .hero__art::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 80%;
    height: 46%;
    background-image: url("img/simit.png"), url("img/simit.png"), url("img/simit.png"), url("img/simit.png"), url("img/simit.png");
    background-repeat: no-repeat;
    background-size: 54px;
    background-position: 0% 100%, 24% 28%, 50% 0%, 76% 28%, 100% 100%;
    filter: drop-shadow(0 4px 0 rgba(19, 38, 59, 0.25));
    pointer-events: none;
  }
}

/* ---------- sections ---------- */

.section {
  padding: 52px 0 60px;
}

.title {
  display: inline-block;
  margin: 0 0 24px;
  padding: 0.34em 0.6em 0.2em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 6.4vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  border: 4px solid #fff;
  border-radius: 16px;
  box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px var(--ink);
  text-shadow: 0 3px 0 var(--orange-deep);
  transform: rotate(-1.5deg);
}

.title--orange {
  background: var(--orange);
  text-shadow: var(--outline-2), 0 4px 0 var(--ink);
}

.lead {
  max-width: 62ch;
  margin: 0 0 30px;
  font-size: 1.125rem;
}

/* feature cards */

.cards {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  align-content: start;
  padding: 16px 16px 18px;
  background: var(--surface);
  border: 4px solid #fff;
  border-radius: 22px;
  box-shadow: var(--sticker);
}

.card img {
  width: auto;
  height: 76px;
}

.card h3 {
  margin: 4px 0 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--heading);
}

.card p {
  margin: 0;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .card {
    grid-template-columns: 1fr;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.22em 0.9em 0.3em;
  font-family: var(--font-label);
  font-style: italic;
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.3;
  color: #fff;
  background: var(--teal-dark);
  border: 3px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 2px var(--ink);
}

/* screenshots */

.shots {
  color: #fff;
  background-color: var(--navy);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 18px, transparent 18px 36px);
}

.hint {
  margin: -6px 0 6px;
  font-family: var(--font-label);
  font-style: italic;
  font-weight: 800;
  color: #cfe3ef;
}

.shots__scroller {
  margin-inline: -16px;
  padding: 14px 16px 26px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.shots__list {
  display: flex;
  gap: 20px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shots__list > li {
  width: min(64vw, 250px);
  scroll-snap-align: start;
}

.shot {
  margin: 0;
  transform: rotate(-1.5deg);
}

.shots__list > li:nth-child(even) .shot {
  transform: rotate(1.5deg);
}

.shot img {
  width: 100%;
  aspect-ratio: 500 / 1111;
  object-fit: cover;
  background: var(--navy-2);
  border: 5px solid #fff;
  border-radius: 22px;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.3);
}

.shot figcaption {
  margin-top: 14px;
  font-family: var(--font-label);
  font-style: italic;
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #fff;
}

@media (min-width: 600px) {
  .shots__scroller {
    margin-inline: -24px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
  }
}

@media (min-width: 960px) {
  .hint {
    display: none;
  }

  .shots__scroller {
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .shots__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    width: auto;
  }

  .shots__list > li {
    width: auto;
  }
}

/* studio + contact */

.duo {
  display: grid;
  gap: 30px;
}

@media (min-width: 760px) {
  .duo {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  padding: 20px 20px 24px;
  background: var(--surface);
  border: 4px solid #fff;
  border-radius: 22px;
  box-shadow: var(--sticker);
}

.panel--orange {
  color: var(--ink);
  background: var(--orange);
}

.panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-label);
  font-style: italic;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--heading);
}

.panel--orange h2 {
  color: var(--ink);
}

.panel p {
  margin: 0 0 0.6em;
}

.mail {
  font-size: 1.2rem;
}

/* placeholders the owner must fill in */

.ph {
  margin: 0 0.15em;
  padding: 0.05em 0.35em;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.95em;
  font-weight: 700;
  color: var(--ink);
  background: var(--ph-bg);
  border-radius: 6px;
  outline: 2px dashed var(--ink);
  outline-offset: 1px;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 36px 0 44px;
  font-size: 0.95rem;
  color: #e9eef3;
  background: var(--ink);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.site-footer nav a {
  display: inline-block;
  padding: 0.3em 1em 0.36em;
  font-family: var(--font-label);
  font-style: italic;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  background: var(--navy-2);
  border: 3px solid #fff;
  border-radius: 999px;
}

.site-footer p {
  margin: 0.45em 0;
}

.site-footer a {
  color: #fff;
}

.fine {
  font-size: 0.875rem;
  color: #b9c6d3;
}

@media (hover: hover) {
  .lang-switch a:hover,
  .site-footer nav a:hover,
  .brand:hover {
    filter: brightness(1.08);
  }
}

/* ---------- privacy pages ---------- */

.page-hero {
  padding: 22px 0 120px;
  text-align: center;
}

.page-hero .title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.4rem, 6vw, 2.2rem);
}

.paper {
  position: relative;
  max-width: 800px;
  margin: -80px auto 0;
  padding: 22px 18px 30px;
  background: var(--surface);
  border: 4px solid #fff;
  border-radius: 24px;
  box-shadow: var(--sticker);
}

@media (min-width: 600px) {
  .paper {
    padding: 30px 34px 38px;
  }
}

.policy-wrap {
  padding-bottom: 56px;
}

.paper h2 {
  margin: 32px 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.meta {
  margin: 0 0 8px;
  color: var(--muted);
}

.meta span {
  display: block;
}

.meta strong {
  color: var(--text);
}

.summary {
  margin: 0;
  padding: 14px 16px;
  background: var(--soft);
  border: 2px solid var(--line);
  border-left: 6px solid var(--orange);
  border-radius: 12px;
}

.table-wrap {
  margin: 10px 0 14px;
  overflow-x: auto;
  border: 2px solid var(--line);
  border-radius: 12px;
}

.paper table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.paper th,
.paper td {
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.paper th {
  font-weight: 700;
  color: #fff;
  background: var(--navy);
}

.paper tr:last-child td {
  border-bottom: 0;
}

.paper ul {
  padding-left: 1.2em;
}

.paper li {
  margin: 6px 0;
}

.paper a {
  color: var(--accent-text);
  overflow-wrap: anywhere;
}

/* ---------- 404 ---------- */

.nf {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 28px 0 150px;
  text-align: center;
}

.nf__kos {
  width: min(70vw, 300px);
  margin-bottom: 10px;
  transform: rotate(-4deg);
}

.nf .title {
  margin: 0 0 10px;
}

.nf p {
  max-width: 34ch;
  margin: 0.35em 0;
  font-weight: 600;
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  .nf p {
    color: #fff;
  }
}

.nf .soon {
  margin-top: 16px;
}
