* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  background: #080b11;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6bd5ff;
  outline-offset: 3px;
}
.ad {
  position: relative;
  width: 970px;
  height: 250px;
  overflow: hidden;
  background: #150d12;
  isolation: isolate;
}
.scene {
  position: absolute;
  inset: 0 0 0 310px;
  overflow: hidden;
  background: #34101b;
}
.photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 44%;
  transition:
    filter 1.2s,
    transform 1.8s;
  filter: brightness(0.8);
}
.scene:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #170d15, transparent 25%),
    linear-gradient(0deg, #100913aa, transparent 40%);
}
.copy {
  position: absolute;
  z-index: 5;
  left: 26px;
  top: 22px;
  width: 310px;
  pointer-events: none;
}
.logo {
  width: 124px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.5px;
  color: #edb4b9;
  margin: 0 0 9px;
  text-transform: uppercase;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: normal;
  font-size: 34px;
  line-height: 1.03;
  letter-spacing: -1.1px;
  margin: 0 0 10px;
}
h1 em {
  font-style: normal;
  color: #ffbac1;
}
.desc {
  font-size: 11px;
  line-height: 1.5;
  color: #e3d7dc;
  width: 250px;
  margin: 0;
}
.tag {
  position: absolute;
  left: 26px;
  bottom: 15px;
  z-index: 6;
  letter-spacing: 1.8px;
  font-size: 9px;
  color: #d5b9c1;
}
.tools {
  position: absolute;
  right: 18px;
  top: 16px;
  z-index: 8;
  display: flex;
  gap: 8px;
  align-items: center;
}
.counter,
.reset {
  background: #16121b99;
  border: 1px solid #ffffff35;
  border-radius: 30px;
  padding: 7px 12px;
  font-size: 10px;
  backdrop-filter: blur(10px);
}
.reset {
  padding: 5px 9px;
  font-size: 16px;
  line-height: 17px;
}
.instruction {
  position: absolute;
  bottom: 16px;
  left: 400px;
  right: 50px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 11px;
}
.start {
  border: 1px solid #ffffff70;
  background: #fff;
  color: #561523;
  border-radius: 30px;
  padding: 10px 19px;
  font-size: 11px;
  font-weight: bold;
  box-shadow: 0 4px 24px #0004;
}
.hint {
  font-size: 10px;
  color: #fff;
  text-shadow: 0 1px 8px #000;
}
.balloon {
  position: absolute;
  z-index: 4;
  width: 45px;
  height: 57px;
  border: 0;
  border-radius: 50% 50% 48% 48%;
  background: radial-gradient(
    ellipse at 27% 24%,
    #ffabb4 0%,
    #fa4354 17%,
    #d1062c 48%,
    #720f26 100%
  );
  box-shadow:
    inset -5px -7px 12px #65011c80,
    0 8px 18px #0004;
  animation: float 2.8s ease-in-out infinite;
  transform-origin: 50% 120%;
  touch-action: manipulation;
}
.balloon:before {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -5px;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 7px solid #ca1535;
}
.balloon:after {
  content: "";
  position: absolute;
  left: 23px;
  top: 61px;
  width: 1px;
  height: 35px;
  background: linear-gradient(#fffc, #fff0);
  transform: rotate(7deg);
}
.balloon span {
  font: 18px Georgia;
  color: #fff6;
}
.balloon.collected {
  pointer-events: none;
  animation: pop 0.35s forwards;
}
.balloon[hidden] {
  display: none;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-17px) rotate(5deg);
  }
}
@keyframes pop {
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}
.particle {
  position: absolute;
  width: 5px;
  height: 10px;
  z-index: 9;
  background: #fff;
  pointer-events: none;
  animation: fall 2.5s ease-out forwards;
}
@keyframes fall {
  to {
    transform: translate(var(--dx), 260px) rotate(530deg);
    opacity: 0;
  }
}
.finished .photo {
  filter: brightness(0.75);
  transform: scale(1.04);
}
.end {
  position: absolute;
  z-index: 10;
  inset: 0 0 0 340px;
  background: linear-gradient(90deg, #150d1200, #180e1a85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s;
}
.finished .end {
  opacity: 1;
}
.end strong {
  font: 32px/1.08 Georgia;
  letter-spacing: -0.8px;
  text-shadow: 0 2px 25px #000;
}
.end small {
  font-size: 10px;
  letter-spacing: 2px;
  margin: 12px 0 16px;
}
.end a {
  pointer-events: auto;
  color: #fff;
  font-size: 10px;
  text-underline-offset: 5px;
}
.end[aria-hidden="true"] a {
  visibility: hidden;
}
.finished .instruction {
  display: none;
}
.nov {
  background: #0c151b;
}
.nov .scene:after {
  background:
    linear-gradient(90deg, #0c151b, transparent 25%),
    linear-gradient(0deg, #071016aa, transparent 45%);
}
.nov .eyebrow {
  color: #a5c5d5;
}
.nov h1 em {
  color: #bdd8e6;
}
.nov .tag {
  color: #8db5c8;
}
.nov .start {
  color: #15374b;
}
.vertical {
  width: 300px;
  height: 600px;
}
.vertical .scene {
  inset: 181px 0 0;
}
.vertical .scene:after {
  background:
    linear-gradient(180deg, #170d15 0, transparent 27%),
    linear-gradient(0deg, #160c16 0, transparent 40%);
}
.vertical .copy {
  left: 22px;
  top: 21px;
  width: 270px;
}
.vertical .logo {
  width: 117px;
  margin-bottom: 24px;
}
.vertical .eyebrow {
  font-size: 9px;
}
.vertical h1 {
  font-size: 36px;
  line-height: 1.03;
}
.vertical .desc {
  font-size: 11px;
  width: 242px;
  line-height: 1.45;
}
.vertical .tag {
  left: 22px;
  bottom: 18px;
  font-size: 9px;
}
.vertical .tools {
  right: 13px;
  top: 22px;
}
.vertical .counter {
  font-size: 9px;
  padding: 7px 9px;
}
.vertical .reset {
  font-size: 14px;
  padding: 4px 7px;
}
.vertical .instruction {
  left: 15px;
  right: 15px;
  bottom: 54px;
  flex-direction: column;
  gap: 8px;
}
.vertical .photo {
  object-position: 53% 50%;
}
.vertical .end {
  inset: 270px 0 80px;
  background: linear-gradient(0deg, #170e19dd, transparent);
}
.vertical .end strong {
  font-size: 33px;
}
.vertical .end small {
  font-size: 9px;
  letter-spacing: 1px;
}
.vertical.nov .scene:after {
  background:
    linear-gradient(180deg, #0c151b, transparent 30%),
    linear-gradient(0deg, #0c151b, transparent 45%);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
/* Revision: latex highlights, shaped knots and fine curved strings. */
.balloon {
  width: 48px;
  height: 62px;
  border-radius: 49% 51% 47% 47% / 43% 44% 58% 57%;
  background:
    radial-gradient(ellipse at 25% 20%, #fff4 0%, #fff0 24%),
    radial-gradient(
      ellipse at 39% 30%,
      #ff6974 0%,
      #ed1e3d 32%,
      #c6072b 62%,
      #85091f 83%,
      #df2448 100%
    );
  box-shadow:
    inset 1px 1px 2px #ffccd955,
    inset -3px -5px 9px #47071655,
    inset 2px -1px 4px #ff739077,
    3px 8px 12px #17000630;
  transform-origin: 50% 135%;
  animation-duration: 3.8s;
}
.balloon:before {
  left: 21px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  border: 0;
  background: linear-gradient(100deg, #a50729, #ed3d54 45%, #8b0a22);
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%);
}
.balloon:after {
  left: 10px;
  top: 9px;
  bottom: auto;
  width: 10px;
  height: 22px;
  border-radius: 60% 40% 48% 52%;
  background: linear-gradient(150deg, #fff9, #ffe7ed44 40%, #fff0 90%);
  transform: rotate(24deg);
  filter: blur(0.55px);
}
.balloon svg {
  position: absolute;
  top: 66px;
  left: 17px;
  width: 24px;
  height: 63px;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(1px 0 1px #0003);
}
.balloon:nth-of-type(2n) {
  animation-duration: 4.4s;
}
.balloon:nth-of-type(3n) {
  animation-duration: 3.5s;
}
/* 10 Kasım: story slider (see slider.js). */
.slider {
  outline: none;
  touch-action: pan-y;
}
.slider:after {
  content: none;
}
.slider:focus-visible {
  box-shadow: inset 0 0 0 2px #6bd5ff;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.slide.is-active {
  opacity: 1;
  z-index: 1;
}
.slide:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #07121a8c, #07121a00 26%),
    linear-gradient(90deg, #0c151b, #0c151b00 28%),
    linear-gradient(0deg, #07121ae0, #07121a00 55%);
}
.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 6s ease-out;
}
.slide.is-active img {
  transform: scale(1);
}
.slide .pos-kiz {
  object-position: 50% 30%;
}
.slide .pos-ogretmen {
  object-position: 50% 8%;
}
.slide-final img {
  filter: brightness(0.42) saturate(0.85) blur(1.5px);
}
.caption {
  position: absolute;
  z-index: 2;
  left: 170px;
  right: 0;
  bottom: 52px;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  font: italic 21px/1.2 Georgia, serif;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 14px #000a;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.7s 0.35s,
    transform 0.7s 0.35s;
}
.caption span {
  display: block;
  margin-bottom: 6px;
  font: normal 8px Arial, sans-serif;
  letter-spacing: 2.2px;
  color: #bdd8e6;
}
.final {
  position: absolute;
  z-index: 2;
  inset: 0 0 0 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.8s 0.3s,
    transform 0.8s 0.3s;
}
.is-active .caption,
.is-active .final {
  opacity: 1;
  transform: none;
}
.final small {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #bdd8e6;
  text-transform: uppercase;
}
.final strong {
  margin: 10px 0 14px;
  font: normal 30px/1.1 Georgia, serif;
  letter-spacing: -0.6px;
  text-shadow: 0 2px 25px #000;
}
.final a {
  color: #fff;
  font-size: 10px;
  text-underline-offset: 5px;
}
.progress {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 200px;
  right: 70px;
  display: flex;
  gap: 5px;
}
.progress span {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: #ffffff45;
  box-shadow: 0 0 6px #0005;
  overflow: hidden;
}
.progress i {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}
.progress .done i {
  width: 100%;
}
.progress .run i {
  animation: fill 4.5s linear forwards;
}
.paused .progress .run i {
  animation-play-state: paused;
}
@keyframes fill {
  to {
    width: 100%;
  }
}
.nav {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #ffffff45;
  border-radius: 50%;
  background: #0c151b80;
  backdrop-filter: blur(8px);
  font: 20px/26px Georgia, serif;
  transition:
    opacity 0.3s,
    background 0.3s,
    color 0.3s;
}
.nav:not(:disabled):hover {
  background: #fff;
  color: #0c151b;
}
.nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.prev {
  right: 56px;
}
.next {
  right: 18px;
}
.vertical.nov .scene {
  top: 228px;
}
.vertical .slide:before {
  background:
    linear-gradient(180deg, #0c151b, #0c151b00 22%),
    linear-gradient(0deg, #0c151b, #07121ad0 22%, #07121a00 60%);
}
.vertical .slide .pos-kiz {
  object-position: 52% 50%;
}
.vertical .slide .pos-ogretmen {
  object-position: 55% 50%;
}
.vertical .progress {
  left: 16px;
  right: 16px;
}
.vertical .caption {
  left: 0;
  padding: 0 20px;
  font-size: 20px;
}
.vertical .final {
  inset: 0;
  padding: 0 46px;
}
.vertical .final small {
  font-size: 8px;
  letter-spacing: 1.2px;
  line-height: 1.6;
}
.vertical .final strong {
  font-size: 25px;
}
.vertical .nav {
  top: 50%;
  bottom: auto;
  margin-top: -15px;
}
.vertical .prev {
  left: 10px;
  right: auto;
}
.vertical .next {
  right: 10px;
}
