@font-face {
  font-family: "Hitchcut";
  src: url("./fonts/Hitchcut-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("./fonts/tt-firs-neue/TT Firs Neue Trial Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("./fonts/tt-firs-neue/TT Firs Neue Trial Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("./fonts/tt-firs-neue/TT Firs Neue Trial DemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("./fonts/tt-firs-neue/TT Firs Neue Trial Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("./fonts/tt-firs-neue/TT Firs Neue Trial Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TT Firs Neue";
  src: url("./fonts/tt-firs-neue/TT Firs Neue Trial Bold Italic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bone: #f0eddf;
  --yellow: #e0dc53;
  --grid-line: rgba(61, 92, 18, 0.18);
  --blue: #3100ff;
  --deep-blue: #1800a8;
  --orange: #ff6600;
  --lime: var(--yellow);
  --ink: #11112a;
  --white: #ffffff;
  --font-display: "Hitchcut", Impact, fantasy;
  --font-action: "Hitchcut", Impact, fantasy;
  --font-body: "TT Firs Neue", "TT Firs", "TT Firs Text", "TT Firs Grotesk", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "TT Firs Neue", "Helvetica Neue", Helvetica, sans-serif;
  --edge: clamp(18px, 4vw, 58px);
  --border-size: 7px;
  --border: 7px solid var(--blue);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.loader-lock {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 54px);
  color: var(--blue);
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.08) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.08) 0 1px, transparent 1px),
    var(--yellow);
  background-size: 20px 20px, 20px 20px, auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 260ms steps(5, end),
    visibility 260ms steps(1, end);
}

.site-loader::before,
.site-loader::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-loader::before {
  inset: 0;
  background:
    none;
  mix-blend-mode: multiply;
}


.site-loader.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(90vw, 520px);
  gap: clamp(10px, 1.7vw, 14px);
  padding: clamp(20px, 3.4vw, 32px);
  border: 7px solid var(--blue);
  color: var(--blue);
  background: var(--bone);
  box-shadow: 10px 10px 0 var(--orange);
  transform: rotate(-1.2deg);
  animation: loader-panel-in 420ms steps(5, end) both;
}

.loader-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.loader-kicker,
.loader-panel small,
.loader-code {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px 6px;
  border: 4px solid var(--blue);
  color: var(--yellow);
  background: var(--blue);
  font-family: var(--font-mono);
  font-size: clamp(10px, 2.1vw, 13px);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--orange);
}

.loader-code {
  color: var(--blue);
  background: var(--yellow);
  border-color: var(--orange);
  box-shadow: 4px 4px 0 var(--blue);
}

.loader-logo {
  display: block;
  width: min(210px, 52vw);
  height: auto;
  margin: 0;
}

.loader-panel strong {
  display: grid;
  gap: 2px;
  max-width: 100%;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(36px, 9vw, 68px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: normal;
}

.loader-panel strong span {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding-right: 0.04em;
  white-space: nowrap;
}

.loader-panel strong span:nth-child(2) {
  color: var(--orange);
  transform: translateX(clamp(12px, 4vw, 30px)) rotate(-1deg);
}

.loader-track {
  position: relative;
  overflow: hidden;
  height: clamp(18px, 4vw, 26px);
  border: 5px solid var(--blue);
  background: var(--white);
}

.loader-track span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0.06);
  transform-origin: left center;
  background:
    repeating-linear-gradient(90deg, var(--orange) 0 13px, var(--blue) 13px 20px, var(--yellow) 20px 30px);
  animation: loader-fill 2s steps(18, end) forwards;
}

.loader-panel small {
  justify-self: end;
  color: var(--blue);
  background: var(--yellow);
  font-size: clamp(9px, 2vw, 12px);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.top-anchor {
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

main,
section {
  scroll-margin-top: calc(92px + var(--border-size));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18%, var(--blue) 18% 22%, transparent 22% 44%, var(--orange) 44% 48%, transparent 48%),
    repeating-linear-gradient(0deg, var(--yellow) 0 16px, var(--bone) 16px 28px);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  animation: boot-smash 760ms steps(7, end) forwards;
}

.magic-cursor {
  --cursor-x: 0px;
  --cursor-y: 0px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 95;
  display: none;
  width: 56px;
  height: 60px;
  pointer-events: none;
  transform: translate3d(calc(var(--cursor-x) - 2px), calc(var(--cursor-y) - 1px), 0);
  transform-origin: 9px 4px;
  filter: none;
  will-change: transform;
}

.magic-cursor img {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  display: block;
  width: 40px;
  height: auto;
  transform: none;
  transform-origin: 9px 4px;
  filter: none;
  transition:
    opacity 130ms steps(2, end),
    transform 170ms cubic-bezier(0.16, 1, 0.3, 1);
}

.magic-cursor .magic-cursor-arrow {
  opacity: 1;
}

.magic-cursor .magic-cursor-click {
  width: 40px;
  opacity: 0;
  transform: translate3d(-9px, -4px, 0) scale(0.72);
  transform-origin: 16px 5px;
}

.magic-cursor .magic-cursor-grab {
  width: 52px;
  opacity: 0;
  transform: translate3d(-12px, -7px, 0) rotate(-8deg) scale(0.88);
  transform-origin: 18px 16px;
}

.magic-cursor.is-grab .magic-cursor-arrow {
  opacity: 0;
  transform: translate3d(5px, 2px, 0) rotate(-10deg) scale(0.72);
}

.magic-cursor.is-click .magic-cursor-arrow {
  opacity: 0;
  transform: translate3d(3px, 2px, 0) scale(0.68);
}

.magic-cursor.is-click .magic-cursor-click {
  opacity: 1;
  transform: translate3d(-9px, -4px, 0) scale(1);
}

.magic-cursor.is-grab .magic-cursor-grab {
  opacity: 1;
  transform: translate3d(-13px, -8px, 0) rotate(-5deg) scale(0.98);
}

.magic-cursor.is-grabbing .magic-cursor-grab {
  transform: translate3d(-12px, -6px, 0) rotate(4deg) scale(0.86);
}

.magic-cursor.is-visible {
  display: block;
}

.copyright-toast {
  position: fixed;
  left: var(--toast-x, 50%);
  top: var(--toast-y, 50%);
  z-index: 96;
  display: grid;
  place-items: center;
  min-width: 178px;
  max-width: min(82vw, 320px);
  min-height: 42px;
  padding: 9px 14px 12px;
  color: var(--yellow);
  background: var(--blue);
  border: 4px solid var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) rotate(-2deg) scale(0.88);
  transition:
    opacity 120ms steps(2, end),
    transform 160ms steps(3, end);
}

.copyright-toast.is-visible {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) rotate(1deg) scale(1);
}

/* eski cursor:none kurali kaldirildi - native svg imlecler kullaniliyor */

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  color: var(--yellow);
  background: var(--blue);
}

.skip-link {
  position: fixed;
  z-index: 90;
  left: var(--edge);
  top: 12px;
  padding: 9px 12px 11px;
  color: var(--yellow);
  background: var(--blue);
  border: 4px solid var(--orange);
  transform: translateY(-160%);
  transition: transform 160ms steps(2, end);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bone);
  border-bottom: var(--border);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--border-size) * -1);
  height: var(--border-size);
  background: var(--orange);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  transition: transform 120ms steps(3, end);
}

.nav-shell {
  display: grid;
  grid-template-columns: 156px 1fr 224px 210px;
  align-items: center;
  min-height: 68px;
  padding: 5px var(--edge);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(96px, 7.7vw, 112px);
  max-height: 58px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 38px);
  color: var(--ink);
  font-family: var(--font-action);
  font-size: 23px;
  line-height: 0.9;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 18px;
}

.nav-links a::before,
.nav-links a::after {
  position: absolute;
  top: 50%;
  color: var(--orange);
  opacity: 0;
  transform: translateY(-52%);
  transition: opacity 120ms steps(2, end), transform 120ms steps(2, end);
}

.nav-links a::before {
  content: "[";
  left: 5px;
}

.nav-links a::after {
  content: "]";
  right: 5px;
}

.nav-links a:hover,
.nav-links a.is-current {
  color: var(--blue);
  background: var(--yellow);
}

.nav-links a:hover::before,
.nav-links a:hover::after,
.nav-links a.is-current::before,
.nav-links a.is-current::after {
  opacity: 1;
}

.nav-controls {
  justify-self: end;
  display: grid;
  grid-template-columns: minmax(84px, 1fr) minmax(110px, 1fr);
  width: 224px;
  gap: 6px;
}

.sfx-toggle,
.language-switch button {
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
  min-height: 38px;
  padding: 0 8px 2px;
  color: var(--ink);
  background: var(--bone);
  border: 5px solid var(--blue);
  font: 400 13px / 0.95 var(--font-action);
  cursor: pointer;
  clip-path: polygon(0 8%, 94% 0, 100% 88%, 8% 100%);
}

.sfx-toggle {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.sfx-toggle i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 18px;
  color: var(--blue);
  background: var(--yellow);
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.language-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.sfx-toggle.is-active,
.language-switch button.is-active {
  color: var(--yellow);
  background: var(--blue);
}

.sfx-toggle:not(.is-active) i {
  color: var(--bone);
  background: var(--orange);
}

.contact-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-height: 48px;
  padding: 7px 18px 10px;
  color: var(--white);
  background: var(--orange);
  font-size: 28px;
  line-height: 0.9;
  clip-path: polygon(0 0, 100% 8%, 94% 88%, 4% 100%);
  box-shadow: 7px 7px 0 var(--blue);
  transition: transform 150ms steps(2, end), box-shadow 150ms steps(2, end), color 150ms steps(2, end), background 150ms steps(2, end);
}

.contact-button:hover,
.contact-button:focus-visible {
  color: var(--yellow);
  background: var(--blue);
  transform: translate(-4px, -4px);
  box-shadow: none;
}

.hero-poster .hero-back-card {
  position: absolute;
  z-index: -1;
  width: min(82%, 470px);
  aspect-ratio: 1;
  background: transparent;
  border: 5px solid var(--orange);
  transform: translate(14px, 12px) rotate(7deg);
  transform-origin: center;
  animation: hero-card-angle-fast 4.2s var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)) infinite;
}

.contact-button:active,
.hero-primary:active,
.hero-secondary:active,
.about-panel a:active,
.proof-links a:active,
.footer-action a:active {
  transform: translate(1px, 1px);
  box-shadow: 4px 4px 0 var(--ink);
}

.hero {
  --hero-mx: 0px;
  --hero-my: 0px;
  --hero-tilt: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  padding: clamp(52px, 8vw, 110px) var(--edge);
  background: var(--yellow);
  border-bottom: var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px),
    linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px);
  background-size: 28px 28px;
  animation: grid-sail 12s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  left: var(--edge);
  right: var(--edge);
  bottom: 18px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 18px, transparent 18px 32px);
  opacity: 0.35;
}

.hero-chaos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translate(calc(var(--hero-mx) * -0.18), calc(var(--hero-my) * -0.18));
  animation: chaos-drift 10.5s ease-in-out infinite;
}

.hero-chaos span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(74px * var(--s));
  aspect-ratio: 1;
  background: url("./assets/brand/8star.svg") center / contain no-repeat;
  opacity: 0.35;
  transform: translate(-50%, -50%) rotate(var(--r));
  animation: chaos-pop 2.8s steps(4, end) infinite;
  animation-delay: calc(var(--s) * -1s);
}

.hero-chaos span:nth-child(2n) {
  animation-name: chaos-pop-wide;
  animation-duration: 3.4s;
}

.hero-chaos span:nth-child(3n) {
  animation-duration: 4.2s;
  animation-direction: reverse;
}

.hero-alert {
  position: absolute;
  z-index: 2;
  left: var(--edge);
  right: var(--edge);
  top: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  animation: alert-float 6.2s ease-in-out infinite;
}

.hero-alert span {
  padding: 6px 10px 8px;
  color: var(--yellow);
  background: var(--ink);
  border: 3px solid var(--blue);
  font-size: 14px;
  line-height: 0.9;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--orange);
  animation: alert-snap 1200ms steps(4, end) infinite;
}

.hero-alert span:nth-child(2) {
  animation-delay: 160ms;
}

.hero-alert span:nth-child(3) {
  animation-delay: 320ms;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 3;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.hero-copy::before {
  content: attr(data-player);
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 7px 10px 8px;
  color: var(--yellow);
  background: var(--ink);
  border: 3px solid var(--orange);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--blue);
  overflow-wrap: anywhere;
}

.kicker {
  display: inline-block;
  max-width: min(100%, 720px);
  margin: 0 0 20px;
  padding: 9px 14px 11px;
  color: var(--yellow);
  background: var(--blue);
  border: 4px solid var(--blue);
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  box-shadow: 6px 6px 0 var(--orange);
  animation: label-thump 1.7s steps(3, end) infinite;
}

.hero-wordmark {
  display: grid;
  justify-items: start;
  max-width: 100%;
  margin: 0;
  color: var(--blue);
  font-size: clamp(86px, 13vw, 190px);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: 0;
  text-transform: lowercase;
  overflow-wrap: normal;
  animation: wordmark-float 7.6s ease-in-out infinite;
}

.hero-lede {
  max-width: 620px;
  margin: clamp(28px, 4vw, 52px) 0 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.48vw, 22px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.word-line {
  display: flex;
}

.word-line span {
  display: inline-block;
  margin-right: 0.018em;
  transform-origin: bottom center;
  animation:
    letter-drop 620ms steps(5, end) both,
    glyph-drift 5.8s ease-in-out 900ms infinite;
  transition: transform 150ms steps(2, end), color 150ms steps(2, end), text-shadow 150ms steps(2, end);
}

.word-line:first-child span:nth-child(1) {
  animation-delay: 50ms, 1.05s;
}

.word-line:first-child span:nth-child(2) {
  animation-delay: 100ms, 1.34s;
  animation-duration: 620ms, 6.4s;
}

.word-line:first-child span:nth-child(3) {
  animation-delay: 150ms, 1.18s;
  animation-duration: 620ms, 5.4s;
}

.word-line:nth-child(2) span:nth-child(1) {
  animation-delay: 200ms, 1.42s;
  animation-duration: 620ms, 6s;
}

.word-line:nth-child(2) span:nth-child(2) {
  animation-delay: 250ms, 1.2s;
  animation-duration: 620ms, 5.2s;
}

.word-line:nth-child(2) span:nth-child(3) {
  animation-delay: 300ms, 1.55s;
  animation-duration: 620ms, 6.8s;
}

.word-line:nth-child(2) span:nth-child(4) {
  animation-delay: 350ms, 1.28s;
  animation-duration: 620ms, 5.9s;
}

.word-line:nth-child(2) span:nth-child(5) {
  animation-delay: 400ms, 1.7s;
  animation-duration: 620ms, 6.2s;
}

.word-line span:hover {
  color: var(--orange);
  text-shadow: 8px 8px 0 var(--blue);
  transform: translateY(-0.08em) rotate(-3deg) scaleY(1.12);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 680px;
  margin-top: clamp(20px, 3vw, 34px);
}

.hero-tags span {
  max-width: 100%;
  padding: 10px 14px 12px;
  background: var(--bone);
  border: 5px solid var(--blue);
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 25px);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  box-shadow: 7px 7px 0 var(--blue);
  transition: transform 150ms steps(2, end), box-shadow 150ms steps(2, end), background 150ms steps(2, end);
}

.hero-tags span:nth-child(1) {
  animation: chip-float-a 5.6s ease-in-out infinite;
}

.hero-tags span:nth-child(2) {
  animation: chip-float-b 6.2s ease-in-out -1.1s infinite;
}

.hero-tags span:nth-child(3) {
  animation: chip-float-c 5.2s ease-in-out -0.4s infinite;
}

.hero-tags span:hover {
  background: var(--orange);
  color: var(--white);
  transform: translate(-4px, -4px) rotate(-1deg);
  box-shadow: 12px 12px 0 var(--blue);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 660px;
  margin-top: 24px;
}

.hero-primary,
.hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 18px 13px;
  border: 6px solid var(--blue);
  font-size: 30px;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform 150ms steps(2, end), box-shadow 150ms steps(2, end), color 150ms steps(2, end);
}

.hero-primary {
  color: var(--white);
  background: var(--orange);
  clip-path: polygon(0 0, 98% 6%, 100% 88%, 6% 100%);
  box-shadow: 9px 9px 0 var(--blue);
  animation: cta-float-primary 6.8s ease-in-out infinite;
}

.hero-secondary {
  color: var(--blue);
  background: var(--bone);
  clip-path: polygon(5% 0, 100% 0, 94% 100%, 0 88%);
  box-shadow: 9px 9px 0 var(--orange);
  animation: cta-float-secondary 7.2s ease-in-out -1.6s infinite;
}

.hero-primary:hover,
.hero-secondary:hover {
  color: var(--yellow);
  background: var(--blue);
  transform: translate(-5px, -5px);
  box-shadow: 14px 14px 0 var(--ink);
}








.hero-visual {
  --head-x: 2%;
  --head-y: 0px;
  --head-rotate: 2deg;
  --head-idle-x: 0px;
  --head-idle-y: 0px;
  --head-idle-rotate: 0deg;
  min-height: min(72vh, 720px);
  display: grid;
  place-items: center;
  isolation: isolate;
  transform: translate(calc(var(--hero-mx) * 0.08), calc(var(--hero-my) * 0.08));
  animation: visual-sail 9.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.pixel-card {
  position: absolute;
  z-index: 0;
  width: min(86%, 570px);
  aspect-ratio: 1;
  background: var(--bone);
  border: var(--border);
  box-shadow: 18px 18px 0 var(--blue);
  transform: translate(calc(var(--hero-mx) * -0.12), calc(var(--hero-my) * -0.12)) rotate(-4deg);
  animation:
    card-stomp 900ms steps(5, end) both,
    pixel-card-drift 10.8s cubic-bezier(0.45, 0, 0.2, 1) 1s infinite;
}

.magic-ring {
  position: absolute;
  z-index: 0;
  width: min(96%, 640px);
  aspect-ratio: 1;
  border: 8px dashed var(--orange);
  clip-path: polygon(7% 0, 100% 6%, 94% 100%, 0 92%);
  opacity: 0.78;
  transform: translate(calc(var(--hero-mx) * -0.24), calc(var(--hero-my) * -0.24)) rotate(7deg);
  animation:
    ring-jitter 5.8s steps(5, end) infinite,
    ring-sail 11.6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.magic-ring::before,
.magic-ring::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 5px solid var(--blue);
}

.magic-ring::after {
  inset: 66px;
  border-color: var(--yellow);
  background:
    linear-gradient(90deg, transparent calc(50% - 3px), var(--blue) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px)),
    linear-gradient(0deg, transparent calc(50% - 3px), var(--blue) calc(50% - 3px) calc(50% + 3px), transparent calc(50% + 3px));
}

.focus-frame {
  position: absolute;
  z-index: 3;
  width: min(90%, 590px);
  aspect-ratio: 1;
  pointer-events: none;
  transform: translate(calc(var(--hero-mx) * 0.16), calc(var(--hero-my) * 0.16)) rotate(3deg);
  animation: focus-drift 9.4s cubic-bezier(0.45, 0, 0.2, 1) -1.8s infinite;
}

.focus-frame::before,
.focus-frame::after {
  content: "";
  position: absolute;
  width: 104px;
  height: 104px;
  border-color: var(--orange);
}

.focus-frame::before {
  left: 0;
  top: 0;
  border-left: 10px solid var(--orange);
  border-top: 10px solid var(--orange);
}

.focus-frame::after {
  right: 0;
  bottom: 0;
  border-right: 10px solid var(--orange);
  border-bottom: 10px solid var(--orange);
}

.burst {
  position: absolute;
  z-index: 1;
  right: -5%;
  top: 0%;
  width: clamp(112px, 14vw, 200px);
  aspect-ratio: 1;
  background: url("./assets/brand/8star.svg") center / contain no-repeat;
  animation:
    spin-pop 4s steps(8, end) infinite,
    burst-drift-big 12.6s ease-in-out infinite;
}

.burst-small {
  right: auto;
  top: 18%;
  left: 0;
  width: clamp(68px, 8vw, 118px);
  transform-origin: center;
  animation-name: spin-pop, burst-drift-small;
  animation-duration: 3.6s, 10.4s;
  animation-timing-function: steps(8, end), ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: reverse, normal;
}

.hero-callout {
  position: absolute;
  z-index: 4;
  left: 2%;
  bottom: 10%;
  display: grid;
  gap: 3px;
  min-width: 170px;
  padding: 10px 14px 13px;
  color: var(--yellow);
  background: var(--blue);
  border: 5px solid var(--bone);
  box-shadow: 8px 8px 0 var(--orange);
  transform: translate(calc(var(--hero-mx) * 0.22), calc(var(--hero-my) * 0.22)) rotate(-4deg);
  animation:
    callout-hit 1.4s steps(4, end) infinite,
    callout-sail 6.1s ease-in-out infinite;
}

.hero-callout span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-callout strong {
  font-size: 48px;
  font-weight: 400;
  line-height: 0.8;
}

.hero-meter {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 13%;
  width: min(34%, 210px);
  height: 30px;
  padding: 5px;
  background: var(--bone);
  border: 5px solid var(--blue);
  box-shadow: 7px 7px 0 var(--ink);
  transform: translate(calc(var(--hero-mx) * -0.18), calc(var(--hero-my) * -0.18)) rotate(3deg);
  animation: meter-drift 5.2s ease-in-out -0.8s infinite;
}

.hero-meter span {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 82%;
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--orange) 0 12px, var(--yellow) 12px 20px);
  animation: meter-pulse 900ms steps(4, end) infinite;
}

.hero-head {
  position: relative;
  z-index: 2;
  width: min(88%, 610px);
  height: auto;
  image-rendering: auto;
  filter: drop-shadow(14px 16px 0 var(--orange));
  transform: translate(calc(var(--head-x) + var(--head-idle-x) + var(--hero-mx) * 0.5), calc(var(--head-y) + var(--head-idle-y) + var(--hero-my) * 0.5)) rotate(calc(var(--head-rotate) + var(--head-idle-rotate)));
  animation:
    float-head 5.9s cubic-bezier(0.45, 0, 0.2, 1) infinite,
    head-sway 9.7s ease-in-out -1.1s infinite;
  will-change: transform;
}

.hero-trail {
  position: fixed;
  z-index: 50;
  left: 0;
  top: 0;
  width: 28px;
  aspect-ratio: 1;
  pointer-events: none;
  background: var(--orange);
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 34%);
  transform: translate(-50%, -50%) rotate(0deg) scale(0.6);
  animation: trail-burst 520ms steps(5, end) forwards;
}

.client-arena {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.3fr);
  gap: clamp(12px, 2vw, 26px);
  align-items: start;
  padding: clamp(34px, 4.2vw, 58px) var(--edge) clamp(34px, 4.4vw, 62px);
  color: var(--ink);
  background: var(--yellow);
  border-bottom: var(--border);
}

.client-arena::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.07) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.07) 0 1px, transparent 1px);
  background-size: 24px 24px;
}

.client-arena-copy,
.client-legend,
.client-stage {
  position: relative;
  z-index: 1;
}

.client-arena-copy {
  max-width: 640px;
}

.client-arena-copy h2 {
  max-width: 620px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.client-arena-copy p:not(.section-kicker) {
  max-width: 48ch;
  margin: clamp(14px, 2vw, 22px) 0 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.16vw, 19px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: pretty;
}

.client-arena-copy .client-instruction {
  display: inline-flex;
  width: fit-content;
  max-width: min(100%, 540px);
  margin-top: clamp(10px, 1.2vw, 14px);
  padding: 8px 10px 9px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 900;
  line-height: 1.15;
  text-transform: none;
}

.client-legend {
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-items: end;
  justify-content: flex-end;
}

.client-legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  max-width: 190px;
  padding: 6px 9px 7px;
  color: var(--yellow);
  background: var(--blue);
  border: 3px solid var(--yellow);
  font-size: clamp(10px, 0.84vw, 12px);
  line-height: 0.96;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--orange);
  overflow-wrap: anywhere;
}

.client-legend span[data-client-kind="direct"] {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--blue);
  box-shadow: 5px 5px 0 var(--blue);
}

.client-legend span[data-client-kind="side"] {
  color: var(--white);
  background: var(--orange);
  border-color: var(--bone);
  box-shadow: 5px 5px 0 var(--blue);
}

.client-stage {
  grid-column: 1 / -1;
  position: relative;
  min-height: 0;
  margin-top: clamp(4px, 1.1vw, 14px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: 74px;
  gap: 6px;
  align-items: stretch;
  overflow: hidden;
  padding: clamp(24px, 2.2vw, 34px);
  border: 5px solid var(--blue);
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.035) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.035) 0 1px, transparent 1px),
    var(--bone);
  background-size: 18px 18px, 18px 18px, auto;
  box-shadow: none;
  touch-action: auto;
  isolation: isolate;
}

.client-stage.is-static {
  min-height: 0;
}

.client-stage.is-physics-wall {
  display: block;
  height: clamp(340px, 28vw, 480px);
  min-height: 340px;
  cursor: grab;
  touch-action: none;
}

.client-stage.is-physics-wall.is-grabbing {
  cursor: grabbing;
}

@media (max-width: 900px) {
  .client-stage.is-physics-wall {
    height: clamp(440px, 72vh, 620px);
    min-height: 440px;
  }
}

.client-stage::before {
  content: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 18px, var(--orange) 18px 28px, var(--yellow) 28px 38px);
  border-top: 5px solid var(--blue);
  opacity: 0.86;
  pointer-events: none;
}

.client-stage::after {
  content: none;
}

.client-hint {
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 7px 5px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.66);
  border: 2px solid rgba(49, 0, 255, 0.24);
  font-family: var(--font-action);
  font-size: 10px;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: none;
  pointer-events: none;
}

.client-info-card {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  display: grid;
  gap: 6px;
  width: min(280px, calc(100% - 20px));
  padding: 11px 12px 12px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.04) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.04) 0 1px, transparent 1px),
    rgba(255, 252, 237, 0.98);
  background-size: 12px 12px, 12px 12px, auto;
  border: 3px solid var(--blue);
  box-shadow: 7px 7px 0 rgba(255, 107, 0, 0.86);
  font-family: var(--font-body);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  transition: opacity 120ms steps(2, end);
}

.client-info-card[hidden] {
  display: none;
}

.client-info-card.is-visible {
  opacity: 1;
}

.client-info-category {
  width: fit-content;
  max-width: 100%;
  padding: 4px 6px 5px;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--blue);
  font-family: var(--font-action);
  font-size: 10px;
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.client-info-title {
  color: var(--blue);
  font-family: var(--font-action);
  font-size: 20px;
  font-weight: 900;
  line-height: 0.92;
  overflow-wrap: anywhere;
}

.client-info-copy {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.client-token {
  position: relative;
  z-index: 2;
  grid-column: auto;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  width: 100%;
  min-width: 0;
  min-height: 74px;
  padding: 6px;
  color: var(--token-fg, var(--ink));
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 0.9;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  cursor: default;
  user-select: none;
  touch-action: auto;
  opacity: 1;
  transform: none;
  animation: none;
  clip-path: none;
  transition:
    filter 160ms steps(2, end),
    transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.client-stage.is-physics-wall .client-token {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--physics-card-width, 160px);
  height: var(--physics-card-height, 74px);
  min-height: 0;
  padding: 0;
  opacity: 1;
  transform: translate3d(-999px, -999px, 0);
  transition: filter 120ms steps(2, end);
  cursor: grab;
  touch-action: none;
}

.client-stage.is-physics-wall .client-token[data-plate-shape] .client-logo-frame {
  width: 100% !important;
  height: 100% !important;
}

.client-stage.is-physics-wall.is-grabbing .client-token {
  cursor: grabbing;
}

.client-token[data-size="wide"] {
  grid-column: auto;
  align-content: center;
}

.client-token[data-size="badge"] {
  grid-column: auto;
  grid-row: auto;
  min-height: 74px;
  border-radius: 0;
}

.client-token[data-size="hero"] {
  grid-column: auto;
  grid-row: auto;
  min-height: 74px;
}

.client-token[data-size="compact"] {
  grid-column: auto;
  grid-row: auto;
  min-height: 74px;
}

.client-token:nth-of-type(5n + 2) {
  transform-origin: center;
}

.client-token:nth-of-type(7n + 4) {
  filter: none;
}

.client-token:focus-visible {
  outline: 4px solid var(--white);
  outline-offset: 4px;
}

.client-stage:not(.is-physics-wall) .client-token:hover {
  z-index: 5;
  filter: none;
  transform: translateY(-3px) rotate(var(--logo-hover-rotate, 1.2deg));
}

.client-stage.is-physics-wall .client-token:hover {
  z-index: 5;
  filter: none;
}

.client-token[data-kind="agency"] {
  --token-bg: var(--bone);
  --token-fg: var(--blue);
  --token-shadow: var(--orange);
}

.client-token[data-kind="direct"] {
  --token-bg: var(--orange);
  --token-fg: var(--white);
  --token-shadow: var(--blue);
}

.client-token[data-kind="side"] {
  --token-bg: var(--blue);
  --token-fg: var(--yellow);
  --token-shadow: var(--orange);
  font-size: clamp(14px, 1.24vw, 20px);
}

.client-token[data-logo="true"] {
  --token-fg: var(--blue);
}

.client-token[data-shape="round"] {
  min-height: 64px;
}

.client-logo-frame {
  position: relative;
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  width: var(--logo-frame-w, max-content);
  min-width: 0;
  min-height: 0;
  height: var(--logo-frame-h, auto);
  max-width: 100%;
  padding: 0;
  background: rgba(255, 255, 246, 0.78);
  border: 3px solid var(--blue);
  box-shadow: 4px 4px 0 var(--brand-shadow, var(--orange));
  overflow: hidden;
}

.client-token[data-plate-shape="rect"] .client-logo-frame {
  width: var(--logo-frame-w, max-content);
  height: var(--logo-frame-h, auto);
}

.client-token[data-plate-shape="square"] .client-logo-frame {
  width: var(--logo-frame-w, 70px);
  height: var(--logo-frame-h, 70px);
}

.client-token[data-plate-shape="round"] .client-logo-frame {
  width: var(--logo-frame-w, 68px);
  height: var(--logo-frame-h, 68px);
  padding: 0;
  border-radius: 999px;
}

.client-token img {
  display: block;
  max-width: 92%;
  max-height: 64px;
  object-fit: contain;
  pointer-events: none;
  justify-self: center;
  align-self: center;
  transform: none;
}

.hero-svg-wordmark {
  display: block;
  width: min(100%, 640px);
  max-width: 100%;
  line-height: 1;
  white-space: normal;
}

.hero-title-svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-title-svg-tr {
  display: none;
}

html[lang="tr"] .hero-title-svg-en {
  display: none;
}

html[lang="tr"] .hero-title-svg-tr {
  display: block;
}

.hero-intro {
  max-width: 46ch;
  margin: clamp(20px, 2.4vw, 30px) 0 0;
  color: var(--deep-blue);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.client-token[data-size="wide"] img {
  max-width: min(94%, var(--token-w, 220px));
  max-height: 58px;
}

.client-token[data-size="compact"] img {
  max-width: 90%;
  max-height: 54px;
}

.client-token[data-size="badge"] img,
.client-token[data-size="hero"] img {
  max-width: min(90%, var(--token-w, 230px));
  max-height: 62px;
}

.client-token[data-size="badge"] img {
  max-width: 90%;
  max-height: 54px;
}

.client-token[data-client="bizim-hesap"] .client-logo-frame {
  background-color: rgba(255, 255, 246, 0.94);
}

.client-token[data-client="verdent"] .client-logo-frame {
  background-color: rgba(255, 255, 246, 0.94);
}

.client-token[data-client="verdent"] {
  background: transparent;
}

.client-token[data-client="pippit"] .client-logo-frame,
.client-token[data-client="dreamina"] .client-logo-frame {
  background-color: rgba(255, 255, 246, 0.94);
}

.client-token[data-client="chill-cactus-studio"] img {
  max-width: calc(100% - 18px);
  max-height: calc(100% - 18px);
  image-rendering: pixelated;
}

.client-token[data-client="bozcaada-belediyesi"] img,
.client-token[data-client="iklim-haber"] img,
.client-token[data-client="90pixel"] img,
.client-token[data-client="enocta"] img {
  max-height: 70px;
}

.client-token[data-client="iklim-haber"] img,
.client-token[data-client="bozcaada-belediyesi"] img {
  max-width: 84%;
  max-height: 64px;
}

.client-token[data-client="morrie-content-studio"] img,
.client-token[data-client="astralime-creative"] img {
  max-width: 84%;
  max-height: 64px;
}

.client-token[data-client="90pixel"] img,
.client-token[data-client="enocta"] img {
  max-width: 88%;
}

.client-token[data-client="ekoiq"] img,
.client-token[data-client="fatihlyfe"] img,
.client-token[data-client="capcut"] img {
  max-width: min(92%, var(--token-w, 220px));
  max-height: 58px;
}

.client-token[data-shape="square"] img {
  width: auto;
  max-width: 84%;
  max-height: 64px;
}

.client-token[data-shape="round"] img {
  width: auto;
  max-width: 84px;
  max-height: 84px;
}

.client-token[data-shape="round"] .client-logo-frame,
.client-token[data-shape="square"] .client-logo-frame {
  min-height: 0;
}

.client-logo-frame img {
  width: auto;
  height: auto;
  max-width: min(var(--logo-img-w, 160px), calc(100% - 12px)) !important;
  max-height: min(var(--logo-img-h, 64px), calc(100% - 12px)) !important;
  margin: auto;
}

.client-token[data-plate-shape="square"] .client-logo-frame img {
  max-width: min(var(--logo-img-w, 60px), calc(100% - 12px)) !important;
  max-height: min(var(--logo-img-h, 60px), calc(100% - 12px)) !important;
}

.client-token[data-plate-shape="round"] .client-logo-frame img {
  max-width: min(var(--logo-img-w, 60px), calc(100% - 8px)) !important;
  max-height: min(var(--logo-img-h, 60px), calc(100% - 8px)) !important;
}

.client-stage.is-physics-wall .client-token[data-plate-shape="rect"] .client-logo-frame img,
.client-stage.is-physics-wall .client-token[data-plate-shape="square"] .client-logo-frame img {
  max-width: min(var(--logo-img-w, 160px), calc(100% - 12px)) !important;
  max-height: min(var(--logo-img-h, 64px), calc(100% - 12px)) !important;
}

.client-stage.is-physics-wall .client-token[data-plate-shape="round"] .client-logo-frame img {
  max-width: min(var(--logo-img-w, 60px), calc(100% - 8px)) !important;
  max-height: min(var(--logo-img-h, 60px), calc(100% - 8px)) !important;
}

.client-token strong {
  display: block;
  max-width: 100%;
  pointer-events: none;
}

.client-token strong {
  overflow-wrap: anywhere;
}



.intro-band h1,
.intro-band h2,
.spell-card h2,
.spell-card h3,
.about h1,
.about p {
  margin: 0;
  font-weight: 400;
}
















.jump-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-shift: 0px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 100%;
  padding: clamp(18px, 2.5vw, 30px);
  color: var(--blue);
  text-decoration: none;
  background: var(--blue);
  border: 6px solid var(--bone);
  box-shadow: 8px 8px 0 var(--orange);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  transform: translateY(var(--card-shift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 150ms steps(2, end), box-shadow 150ms steps(2, end), filter 150ms steps(2, end);
}

.jump-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 0;
  border: 2px dashed currentColor;
  opacity: 0.18;
  pointer-events: none;
}

.jump-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -38px;
  width: 148px;
  aspect-ratio: 1;
  background: url("./assets/brand/8star.svg") center / contain no-repeat;
  opacity: 0.18;
  transform: rotate(14deg);
}

.jump-card:hover {
  --card-shift: -5px;
  filter: saturate(1.08) contrast(1.05);
  box-shadow: 13px 13px 0 var(--orange);
}

.jump-card span,
.jump-card small {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jump-card strong {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: inherit;
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 400;
  line-height: 0.84;
  overflow-wrap: anywhere;
}

.jump-card small {
  max-width: 28ch;
  color: inherit;
}


.jump-card:nth-child(2) {
  color: var(--blue);
  background: var(--bone);
  box-shadow: 8px 8px 0 var(--blue);
}

.jump-card:nth-child(3) {
  color: var(--white);
  background: var(--orange);
  box-shadow: 8px 8px 0 var(--blue);
}


.section-head {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 1160px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-head::after,
.dossier-head::after {
  content: none;
  display: none;
}

.section-kicker {
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 8px 12px 10px;
  color: var(--yellow);
  font-family: var(--font-action);
  line-height: 0.88;
  letter-spacing: 0.01em;
  background: var(--blue);
  border: 4px solid var(--orange);
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.3vw, 15px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h1,
.section-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(38px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.work-lab {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6.5vw, 90px) var(--edge) clamp(56px, 7vw, 104px);
  background: var(--bone);
  border-bottom: var(--border);
}

.work-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(90deg, transparent 0 9px, rgba(49, 0, 255, 0.12) 9px 10px, transparent 10px 38px),
    linear-gradient(0deg, transparent 0 9px, rgba(49, 0, 255, 0.12) 9px 10px, transparent 10px 38px);
}

.work-lab > * {
  position: relative;
  z-index: 1;
}

.lab-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: minmax(142px, auto);
  gap: 7px;
  background: var(--blue);
  border: var(--border);
  box-shadow: 14px 14px 0 var(--orange);
}

.lab-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-shift: 0px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 16px;
  min-height: 100%;
  padding: clamp(20px, 3vw, 34px);
  color: var(--blue);
  background: var(--yellow);
  transform: translateY(var(--card-shift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 160ms steps(2, end), filter 160ms steps(2, end), background 160ms steps(2, end);
}

.lab-card::before {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -38px;
  width: 160px;
  aspect-ratio: 1;
  background: url("./assets/brand/8star.svg") center / contain no-repeat;
  opacity: 0.2;
  transform: rotate(18deg);
}

.lab-card:hover {
  --card-shift: -5px;
  filter: saturate(1.08) contrast(1.06);
}

.lab-card samp,
.lab-card data {
  position: relative;
  z-index: 1;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lab-card samp::after {
  content: " / READY";
  color: var(--blue);
}

.lab-card-tall samp::after,
.lab-card-blue samp::after {
  color: var(--yellow);
}

.lab-icon {
  --icon-main: var(--blue);
  --icon-alt: var(--orange);
  --icon-paper: var(--bone);
  position: relative;
  z-index: 1;
  justify-self: end;
  width: clamp(92px, 10vw, 164px);
  height: clamp(76px, 8.7vw, 134px);
  margin: -8px 0 -12px;
  pointer-events: none;
  transform: rotate(-5deg);
  filter: drop-shadow(7px 8px 0 rgba(17, 17, 42, 0.18));
  animation: lab-icon-drift 6.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.lab-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lab-icon-poster {
  width: clamp(82px, 8.4vw, 132px);
  height: clamp(82px, 8.4vw, 132px);
  margin-right: clamp(10px, 2vw, 28px);
  filter: drop-shadow(7px 8px 0 rgba(255, 101, 0, 0.45));
}

.lab-icon-social {
  width: clamp(104px, 10.5vw, 176px);
  height: clamp(92px, 9.2vw, 152px);
}

.lab-icon-football {
  width: clamp(76px, 8vw, 126px);
  height: clamp(86px, 8.8vw, 142px);
}

.social-count-badge {
  position: absolute;
  right: 2%;
  top: 30%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 39px);
  line-height: 0.8;
  text-shadow: 4px 4px 0 var(--blue), 7px 7px 0 var(--orange);
  transform: rotate(3deg) scale(0.92);
  transform-origin: center;
  animation: count-badge-pop 1.6s steps(4, end) infinite;
}

.social-count-badge output {
  position: relative;
  display: inline-block;
  font: inherit;
}

.social-count-badge output::before {
  content: "+";
}

.lab-icon i,
.lab-icon b,
.lab-icon em {
  position: absolute;
  display: block;
  font-style: normal;
}

.lab-icon i::before,
.lab-icon i::after,
.lab-icon b::before,
.lab-icon b::after,
.lab-icon em::before,
.lab-icon em::after {
  content: "";
  position: absolute;
  display: block;
}

.lab-card-tall .lab-icon,
.lab-card-blue .lab-icon {
  --icon-main: var(--yellow);
  --icon-paper: var(--bone);
  filter: drop-shadow(7px 8px 0 rgba(255, 101, 0, 0.56));
}

.lab-card-orange .lab-icon {
  --icon-main: var(--bone);
  --icon-alt: var(--blue);
  --icon-paper: var(--white);
  filter: drop-shadow(7px 8px 0 rgba(49, 0, 255, 0.54));
}

.lab-icon-identity i {
  left: 0;
  top: 6%;
  width: 58%;
  aspect-ratio: 1;
  background: var(--icon-main);
  clip-path: polygon(
    50% 0,
    60% 31%,
    88% 13%,
    73% 42%,
    100% 50%,
    70% 58%,
    84% 88%,
    57% 70%,
    49% 100%,
    39% 70%,
    13% 88%,
    27% 58%,
    0 49%,
    28% 42%,
    13% 13%,
    41% 31%
  );
}

.lab-icon-identity i::before {
  left: 30%;
  top: 42%;
  width: 11%;
  height: 11%;
  background: var(--icon-paper);
  box-shadow: 24px 0 0 var(--icon-paper);
  transform: rotate(14deg);
}

.lab-icon-identity i::after {
  left: 29%;
  top: 57%;
  width: 38%;
  height: 7%;
  background: var(--icon-paper);
  transform: rotate(-10deg);
}

.lab-icon-identity b {
  right: 17%;
  top: 12%;
  width: 17%;
  height: 68%;
  background: var(--icon-alt);
  border: 5px solid var(--icon-paper);
  transform: rotate(16deg);
}

.lab-icon-identity b::before {
  left: 50%;
  bottom: -22%;
  width: 112%;
  height: 24%;
  background: var(--icon-alt);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}

.hero-intro {
  align-self: flex-start;
  margin: 0 0 -0.03em 20%;
  color: var(--deep-blue);
  font-size: 0.24em;
  line-height: 0.9;
  text-shadow: 0.09em 0.11em 0 var(--orange);
  transform: rotate(-3deg);
}

.lab-icon-identity b::after {
  left: 50%;
  top: 10%;
  width: 28%;
  height: 74%;
  background: var(--icon-paper);
  transform: translateX(-50%);
}

.lab-icon-poster i {
  left: 12%;
  top: 0;
  width: 58%;
  height: 76%;
  border: 8px solid var(--icon-main);
  background: transparent;
  transform: rotate(-5deg);
}

.lab-icon-poster i::before {
  left: 12%;
  right: 12%;
  bottom: 11%;
  height: 10%;
  background: var(--icon-alt);
}

.lab-icon-poster b {
  right: 2%;
  top: 30%;
  width: 62%;
  height: 34%;
  color: var(--icon-paper);
  background: var(--icon-alt);
  box-shadow: 6px 6px 0 var(--icon-main);
  transform: rotate(3deg);
}

.lab-icon-poster b::before {
  left: 15%;
  top: 34%;
  width: 18%;
  aspect-ratio: 1;
  background: currentColor;
  transform: rotate(45deg);
}

.lab-icon-poster b::after {
  content: "+23";
  left: 40%;
  top: 20%;
  color: currentColor;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 0.85;
}

.lab-icon-poster em {
  left: 6%;
  bottom: 2%;
  width: 20%;
  height: 12%;
  background: var(--icon-main);
  box-shadow: 18px 0 0 var(--icon-main), 36px 0 0 var(--icon-main);
}

.lab-icon-social i {
  left: 9%;
  top: 3%;
  width: 46%;
  height: 86%;
  border: 8px solid var(--icon-main);
  background: transparent;
  transform: rotate(-4deg);
}

.lab-icon-social i::before {
  left: 50%;
  bottom: 5%;
  width: 22%;
  height: 7%;
  background: var(--icon-alt);
  transform: translateX(-50%);
}

.lab-icon-social b {
  right: 1%;
  top: 30%;
  width: 60%;
  height: 34%;
  color: var(--icon-paper);
  background: var(--icon-alt);
  box-shadow: 6px 6px 0 var(--icon-main);
}

.lab-icon-social b::before {
  left: 13%;
  top: 31%;
  width: 14%;
  aspect-ratio: 1;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 32%, 82% 100%, 50% 80%, 18% 100%, 0 32%);
}

.lab-icon-social b::after {
  content: "+23";
  right: 11%;
  top: 19%;
  color: currentColor;
  font-family: var(--font-action);
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 0.85;
}

.lab-icon-social em {
  right: 9%;
  bottom: 6%;
  width: 38%;
  height: 7%;
  background: repeating-linear-gradient(90deg, var(--icon-main) 0 9px, var(--icon-paper) 9px 13px);
  box-shadow: 5px 5px 0 var(--icon-main);
}

.lab-icon-football i {
  left: 20%;
  top: 7%;
  width: 42%;
  aspect-ratio: 1;
  background: var(--icon-alt);
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 34%);
}

.lab-icon-football b {
  left: 44%;
  bottom: 4%;
  width: 12%;
  height: 48%;
  background: var(--icon-main);
}

.lab-icon-football em {
  right: 9%;
  top: 3%;
  width: 34%;
  height: 38%;
}

.lab-icon-football em::before,
.lab-icon-football em::after {
  background: var(--icon-main);
}

.lab-icon-football em::before {
  left: 12%;
  top: 0;
  width: 8px;
  height: 46%;
}

.lab-icon-football em::after {
  right: 0;
  top: 42%;
  width: 46%;
  height: 8px;
  box-shadow: -17px 17px 0 var(--icon-main);
}

.lab-card h2,
.lab-card h3,
.lab-card p {
  position: relative;
  z-index: 1;
  margin: 0;
}

.lab-card h2,
.lab-card h3 {
  max-width: 780px;
  font-size: clamp(38px, 5vw, 74px);
  font-weight: 400;
  line-height: 0.86;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.lab-card p {
  max-width: 58ch;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 900;
  line-height: 1.14;
}

.lab-card-large {
  grid-column: span 7;
  grid-row: span 2;
}

.lab-card-tall {
  grid-column: span 5;
  grid-row: span 3;
  color: var(--bone);
  background: var(--blue);
}

.lab-card-orange {
  grid-column: span 4;
  color: var(--white);
  background: var(--orange);
}

.lab-card-blue {
  grid-column: span 3;
  color: var(--yellow);
  background: var(--ink);
}

.dossier {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6.5vw, 90px) var(--edge) clamp(58px, 7vw, 104px);
  color: var(--bone);
  background: var(--blue);
  border-bottom: var(--border);
}

.dossier::before {
  content: none;
}

.dossier > * {
  position: relative;
  z-index: 1;
}

.dossier-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 3.5vw, 40px);
}

.dossier-head::after {
  background: repeating-linear-gradient(90deg, var(--yellow) 0 22px, var(--orange) 22px 28px, transparent 28px 36px);
  box-shadow: 5px 5px 0 var(--ink);
}

.dossier-head h1,
.dossier-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--yellow);
  font-size: clamp(38px, 5.3vw, 76px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.project-proof-card span,
.project-proof-card small {
  font-family: var(--font-action);
  font-size: 12px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: clamp(16px, 2.5vw, 28px);
}

.case-filter button {
  appearance: none;
  -webkit-appearance: none;
  min-height: 46px;
  padding: 9px 14px 12px;
  color: var(--yellow);
  background: var(--ink);
  border: 5px solid var(--bone);
  font: 400 clamp(18px, 2.2vw, 30px) / 0.82 var(--font-action);
  cursor: pointer;
  clip-path: polygon(0 0, 96% 7%, 100% 84%, 6% 100%);
  box-shadow: 6px 6px 0 var(--orange);
  transition: transform 150ms steps(2, end), color 150ms steps(2, end), background 150ms steps(2, end), box-shadow 150ms steps(2, end);
}

.case-filter button:hover,
.case-filter button:focus-visible,
.case-filter button.is-active {
  color: var(--blue);
  background: var(--yellow);
  box-shadow: 9px 9px 0 var(--orange);
  transform: translate(-3px, -3px);
}

.case-filter button:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 var(--orange);
}

.project-proof-grid {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 0.8fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 7px;
}

.project-proof-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-shift: 0px;
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 220px;
  padding: 0;
  color: var(--bone);
  background: var(--ink);
  border: 6px solid var(--bone);
  box-shadow: 9px 9px 0 var(--ink);
  transform: translateY(var(--card-shift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  isolation: isolate;
  transition: transform 150ms steps(2, end), box-shadow 150ms steps(2, end), filter 150ms steps(2, end);
}

.project-proof-card:focus-visible,
.jump-card:focus-visible,
.lab-card:focus-visible,
.spell-card:focus-visible,
.signal-console:focus-visible,
.about-panel:focus-visible {
  outline-offset: 8px;
}

.project-proof-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 13, 19, 0.02) 0%, rgba(12, 13, 19, 0.38) 58%, rgba(12, 13, 19, 0.88) 100%),
    linear-gradient(90deg, rgba(49, 0, 255, 0.22), transparent 44%);
  pointer-events: none;
}

.project-proof-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  z-index: 2;
  width: 120px;
  aspect-ratio: 1;
  background: url("./assets/brand/8star.svg") center / contain no-repeat;
  opacity: 0.22;
  mix-blend-mode: screen;
}

.project-proof-card:hover {
  --card-shift: -5px;
  filter: saturate(1.1) contrast(1.05);
  box-shadow: 14px 14px 0 var(--orange);
}

.project-proof-card:hover .project-proof-cover img {
  transform: scale(1.06) rotate(-1deg);
}

.project-proof-card.is-filtered-out {
  display: none;
}

.project-proof-primary {
  grid-row: span 2;
  min-height: 447px;
}

.project-proof-cover {
  position: absolute;
  inset: 0;
  margin: 0;
}

.project-proof-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 260ms steps(3, end);
}

.project-proof-copy {
  position: relative;
  z-index: 3;
  align-self: end;
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 30px);
  text-shadow: 2px 2px 0 rgba(12, 13, 19, 0.34);
}

.project-proof-copy::before {
  content: "SAVE FILE";
  width: max-content;
  max-width: 100%;
  padding: 5px 7px 6px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--bone);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

.project-proof-card span,
.project-proof-card small {
  position: relative;
  color: var(--yellow);
}

.project-proof-card strong {
  position: relative;
  color: var(--white);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
  line-height: 0.82;
  text-wrap: balance;
}

.project-proof-primary strong {
  font-size: clamp(40px, 5.2vw, 78px);
}



.spell-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-shift: 0px;
  position: relative;
  min-width: 0;
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: clamp(20px, 2.6vw, 30px);
  color: var(--bone);
  background: var(--blue);
  border: 6px solid var(--bone);
  clip-path: polygon(0 0, 95% 0, 100% 10%, 100% 100%, 8% 100%, 0 90%);
  box-shadow: 9px 9px 0 var(--ink);
  transform: translateY(var(--card-shift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 150ms steps(2, end), box-shadow 150ms steps(2, end), color 150ms steps(2, end);
}

.spell-card:hover {
  --card-shift: -6px;
  color: var(--yellow);
  box-shadow: 14px 14px 0 var(--ink);
}

.spell-card span {
  color: var(--yellow);
  width: max-content;
  max-width: 100%;
  padding: 6px 8px 7px;
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spell-card h2,
.spell-card h3 {
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 0.86;
  overflow-wrap: anywhere;
}

.spell-card p {
  max-width: 32ch;
  margin: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.14;
}

.signal-stage {
  --cursor-x: 0px;
  --cursor-y: 0px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.54fr);
  gap: clamp(22px, 3.5vw, 46px);
  align-items: stretch;
  padding: clamp(52px, 7vw, 102px) var(--edge) clamp(60px, 7.5vw, 112px);
  color: var(--bone);
  background: var(--blue);
  border-bottom: var(--border);
}

.signal-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(240, 237, 223, 0.26) 10px 11px);
}

.signal-stage::after {
  content: "+";
  position: absolute;
  left: calc(50% + var(--cursor-x));
  top: calc(50% + var(--cursor-y));
  color: var(--yellow);
  font-family: var(--font-mono);
  font-size: 92px;
  line-height: 1;
  opacity: 0.28;
  transform: translate(-50%, -50%);
}

.signal-copy,
.signal-console {
  position: relative;
  z-index: 1;
}



.signal-copy > p:not(.section-kicker) {
  max-width: 58ch;
  margin: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.16;
}

.signal-console {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-shift: 0px;
  display: grid;
  align-content: start;
  gap: 1px;
  min-height: 380px;
  background: var(--yellow);
  border: 7px solid var(--bone);
  box-shadow: 14px 14px 0 var(--orange);
  transform: translateY(var(--card-shift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 160ms steps(2, end);
}

.signal-console::before {
  content: "SYSTEM CHECK";
  display: block;
  min-height: 34px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--orange);
  border-bottom: 1px solid var(--yellow);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
}

.signal-console:hover {
  --card-shift: -5px;
}

.console-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 1px;
  min-height: 74px;
  background: var(--yellow);
}

.console-row span,
.console-row output {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 12px;
  color: var(--yellow);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.console-row output {
  color: var(--bone);
  background: var(--blue);
  word-break: break-word;
}

.console-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  min-height: 170px;
  padding: 1px;
  background: var(--yellow);
}

.console-bars i {
  align-self: end;
  display: block;
  height: calc(22% + (var(--scroll-progress, 0) * 58%));
  background: var(--orange);
  animation: meter-pop 1.4s steps(4, end) infinite;
}

.console-bars i:nth-child(2n) {
  height: calc(38% + (var(--scroll-progress, 0) * 38%));
  background: var(--bone);
  animation-delay: -300ms;
}

.console-bars i:nth-child(3n) {
  height: calc(18% + (var(--scroll-progress, 0) * 72%));
  background: var(--yellow);
  animation-delay: -600ms;
}

.signal-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--yellow);
}

.signal-feature-grid span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--yellow);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.15vw, 13px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal-feature-grid span:nth-child(3n + 2) {
  color: var(--bone);
  background: var(--blue);
}

.signal-feature-grid span:nth-child(3n) {
  color: var(--blue);
  background: var(--orange);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 360px);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(52px, 7vw, 96px) var(--edge);
  background: var(--ink);
  color: var(--bone);
}

.about-cv {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.58fr);
  gap: clamp(20px, 3vw, 38px);
  align-items: start;
  padding-top: clamp(42px, 5.8vw, 78px);
}



.cv-hero p:not(.section-kicker) {
  max-width: 62ch;
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(17px, 1.6vw, 23px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}




















.site-footer {
  overflow: hidden;
  color: var(--blue);
  background: var(--yellow);
  border-top: var(--border);
}

.footer-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: clamp(20px, 3.5vw, 46px);
  align-items: end;
  padding: clamp(48px, 6.5vw, 88px) var(--edge);
}

.footer-action h2 {
  max-width: 900px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(44px, 7.2vw, 106px);
  font-weight: 400;
  line-height: 0.86;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.footer-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 14px 20px 18px;
  color: var(--white);
  background: var(--orange);
  border: 7px solid var(--blue);
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 10px 10px 0 var(--blue);
  clip-path: polygon(0 0, 98% 7%, 100% 88%, 5% 100%);
  transition: transform 160ms steps(2, end), box-shadow 160ms steps(2, end);
}

.footer-action a:hover {
  transform: translate(-5px, -5px);
  box-shadow: 16px 16px 0 var(--ink);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(18px, 3vw, 34px);
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--edge) 22px;
  color: var(--yellow);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h1,
.about-copy p {
  max-width: 900px;
  font-family: var(--font-body);
  font-size: clamp(32px, 4.8vw, 68px);
  font-weight: 900;
  line-height: 1;
  text-wrap: balance;
}

.about-panel {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-shift: 0px;
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 300px;
  padding: clamp(22px, 3vw, 34px);
  color: var(--blue);
  background: var(--yellow);
  border: var(--border);
  box-shadow: 12px 12px 0 var(--orange);
  transform: translateY(var(--card-shift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 150ms steps(2, end), box-shadow 150ms steps(2, end);
}

.about-panel:hover {
  --card-shift: -6px;
  box-shadow: 18px 18px 0 var(--orange);
}

.about-panel span {
  width: max-content;
  max-width: 100%;
  padding: 7px 9px 9px;
  color: var(--yellow);
  background: var(--blue);
  border: 3px solid var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-panel strong {
  display: block;
  max-width: 300px;
  font-size: clamp(32px, 3.8vw, 54px);
  font-weight: 400;
  line-height: 0.88;
  overflow-wrap: anywhere;
}








.about-panel a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 10px 16px 13px;
  color: var(--bone);
  background: var(--blue);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 0.9;
  clip-path: polygon(0 8%, 96% 0, 100% 86%, 7% 100%);
}

.about-proof {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(240px, 0.9fr) minmax(300px, 1.08fr) minmax(230px, 0.62fr);
  gap: 1px;
  align-items: stretch;
  color: var(--blue);
  background: var(--yellow);
  border: var(--border);
  box-shadow: 12px 12px 0 var(--orange);
}

.proof-copy,
.proof-stats,
.proof-links {
  min-width: 0;
  background: var(--bone);
}

.proof-copy {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 30px);
}

.proof-copy span,
.proof-stats dt {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-copy span {
  width: max-content;
  max-width: 100%;
  padding: 6px 8px 7px;
  color: var(--yellow);
  background: var(--blue);
}

.proof-copy strong {
  max-width: 520px;
  font-family: var(--font-body);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.04;
}








[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 360ms steps(4, end), transform 360ms steps(4, end);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual[data-reveal].is-visible {
  transform: translate(calc(var(--hero-mx) * 0.08), calc(var(--hero-my) * 0.08));
}

.lab-card[data-reveal],
.jump-card[data-reveal],
.project-proof-card[data-reveal],
.signal-console[data-reveal],
.spell-card[data-reveal],
.about-panel[data-reveal] {
  transform: translateY(30px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.lab-card[data-reveal].is-visible,
.jump-card[data-reveal].is-visible,
.project-proof-card[data-reveal].is-visible,
.signal-console[data-reveal].is-visible,
.spell-card[data-reveal].is-visible,
.about-panel[data-reveal].is-visible {
  transform: translateY(var(--card-shift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
}

.pointer-spark {
  position: fixed;
  z-index: 60;
  left: 0;
  top: 0;
  width: 42px;
  aspect-ratio: 1;
  pointer-events: none;
  background: url("./assets/brand/8star.svg") center / contain no-repeat;
  transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
  animation: spark-out 420ms steps(5, end) forwards;
}

@keyframes float-head {
  0%,
  100% {
    transform: translate(calc(var(--head-x) + var(--head-idle-x) + var(--hero-mx) * 0.5), calc(var(--head-y) + var(--head-idle-y) + var(--hero-my) * 0.5)) rotate(calc(var(--head-rotate) + var(--head-idle-rotate)));
  }

  50% {
    transform: translate(calc(var(--head-x) + var(--head-idle-x) + var(--hero-mx) * 0.34 + 4px), calc(var(--head-y) + var(--head-idle-y) + var(--hero-my) * 0.34 - 18px)) rotate(calc(var(--head-rotate) + var(--head-idle-rotate) - 1.7deg));
  }
}

@keyframes head-sway {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
  }

  38% {
    translate: 9px -10px;
    rotate: 1.1deg;
    scale: 1.008;
  }

  72% {
    translate: -7px 8px;
    rotate: -0.8deg;
    scale: 0.998;
  }
}

@keyframes grid-sail {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 56px 28px, 28px 56px;
  }
}

@keyframes chaos-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  50% {
    translate: -16px 10px;
    rotate: -0.4deg;
  }
}

@keyframes chaos-pop-wide {
  0%,
  100% {
    opacity: 0.14;
    transform: translate(-50%, -50%) rotate(var(--r)) scale(0.86);
  }

  42% {
    opacity: 0.42;
    transform: translate(-50%, -50%) rotate(calc(var(--r) - 24deg)) scale(1.14);
  }
}

@keyframes alert-float {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  50% {
    translate: 0 7px;
    rotate: 0.35deg;
  }
}

@keyframes wordmark-float {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  40% {
    translate: 8px -10px;
    rotate: -0.55deg;
  }

  76% {
    translate: -5px 5px;
    rotate: 0.35deg;
  }
}

@keyframes glyph-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  50% {
    translate: 0 -0.045em;
    rotate: -1.5deg;
  }
}

@keyframes chip-float-a {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  50% {
    translate: 4px -8px;
    rotate: -1.2deg;
  }
}

@keyframes chip-float-b {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  50% {
    translate: -5px 6px;
    rotate: 1deg;
  }
}

@keyframes chip-float-c {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  50% {
    translate: 6px 4px;
    rotate: -0.7deg;
  }
}

@keyframes cta-float-primary {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  48% {
    translate: 3px -5px;
    rotate: -0.6deg;
  }
}

@keyframes cta-float-secondary {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  52% {
    translate: -4px 4px;
    rotate: 0.75deg;
  }
}

@keyframes proof-bob-a {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}

@keyframes proof-bob-b {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 5px 4px;
  }
}

@keyframes proof-bob-c {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: -4px -3px;
  }
}

@keyframes visual-sail {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  36% {
    translate: -16px 12px;
    rotate: -0.9deg;
  }

  72% {
    translate: 10px -9px;
    rotate: 0.6deg;
  }
}

@keyframes pixel-card-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  34% {
    translate: -22px 16px;
    rotate: 1.8deg;
  }

  72% {
    translate: 13px -11px;
    rotate: -0.9deg;
  }
}

@keyframes ring-sail {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  42% {
    translate: 22px -18px;
    scale: 1.024;
  }

  74% {
    translate: -10px 8px;
    scale: 0.992;
  }
}

@keyframes focus-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  46% {
    translate: 16px -14px;
    rotate: -1.3deg;
  }

  76% {
    translate: -8px 8px;
    rotate: 0.7deg;
  }
}

@keyframes case-star-spin {
  0%,
  100% {
    rotate: 0deg;
    scale: 1;
  }

  50% {
    rotate: 180deg;
    scale: 1.08;
  }
}

@keyframes case-image-float {
  0%,
  100% {
    object-position: 50% 50%;
  }

  40% {
    object-position: 48% 46%;
  }

  74% {
    object-position: 52% 53%;
  }
}

@keyframes lab-icon-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(-5deg);
  }

  45% {
    transform: translate(-5px, 4px) rotate(2deg);
  }

  70% {
    transform: translate(3px, -3px) rotate(-8deg);
  }
}

@keyframes count-badge-pop {
  0%,
  100% {
    transform: rotate(3deg) scale(0.92);
  }

  48% {
    transform: rotate(-2deg) scale(1);
  }
}

@keyframes mini-mehmagic-float {
  0%,
  100% {
    translate: 0 0;
    rotate: -1deg;
  }

  45% {
    translate: -3px -5px;
    rotate: 2deg;
  }

  72% {
    translate: 3px 2px;
    rotate: -2deg;
  }
}

@keyframes burst-drift-big {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: 12px -18px;
    scale: 1.06;
  }
}

@keyframes burst-drift-small {
  0%,
  100% {
    translate: 0 0;
    scale: 1;
  }

  50% {
    translate: -9px 11px;
    scale: 0.94;
  }
}

@keyframes callout-sail {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  50% {
    translate: -8px -6px;
    rotate: 1.2deg;
  }
}

@keyframes meter-drift {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }

  50% {
    translate: 8px 5px;
    rotate: -0.9deg;
  }
}

@keyframes boot-smash {
  0% {
    opacity: 1;
    transform: scale(1);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  58% {
    opacity: 1;
    transform: scale(1.02) skewX(-4deg);
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  }

  100% {
    opacity: 0;
    transform: translateX(100%) skewX(-12deg);
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 74% 100%);
  }
}

@keyframes loader-panel-in {
  0% {
    opacity: 0;
    transform: translateY(-22px) rotate(-3deg) scale(0.98);
  }

  70% {
    opacity: 1;
    transform: translateY(3px) rotate(-1deg) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-1.2deg) scale(1);
  }
}

@keyframes loader-fill {
  0% {
    transform: scaleX(0.06);
  }

  100% {
    transform: scaleX(1);
  }
}


@keyframes chaos-pop {
  0%,
  100% {
    opacity: 0.18;
    transform: translate(-50%, -50%) rotate(var(--r)) scale(0.92);
  }

  45% {
    opacity: 0.46;
    transform: translate(-50%, -50%) rotate(calc(var(--r) + 18deg)) scale(1.08);
  }
}

@keyframes alert-snap {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  48% {
    transform: translateY(3px) rotate(-1deg);
  }
}

@keyframes label-thump {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-2px, -2px);
  }
}

@keyframes letter-drop {
  0% {
    opacity: 0;
    transform: translateY(-0.55em) rotate(-8deg) scaleY(1.3);
  }

  60% {
    opacity: 1;
    transform: translateY(0.08em) rotate(2deg) scaleY(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scaleY(1);
  }
}

@keyframes card-stomp {
  0% {
    transform: translate(calc(var(--hero-mx) * -0.12), calc(var(--hero-my) * -0.12)) rotate(-12deg) scale(0.82);
  }

  65% {
    transform: translate(calc(var(--hero-mx) * -0.12), calc(var(--hero-my) * -0.12)) rotate(-2deg) scale(1.04);
  }

  100% {
    transform: translate(calc(var(--hero-mx) * -0.12), calc(var(--hero-my) * -0.12)) rotate(-4deg) scale(1);
  }
}

@keyframes ring-jitter {
  0%,
  100% {
    transform: translate(calc(var(--hero-mx) * -0.24), calc(var(--hero-my) * -0.24)) rotate(7deg);
  }

  50% {
    transform: translate(calc(var(--hero-mx) * -0.24), calc(var(--hero-my) * -0.24)) rotate(13deg) scale(1.02);
  }
}

@keyframes callout-hit {
  0%,
  100% {
    transform: translate(calc(var(--hero-mx) * 0.22), calc(var(--hero-my) * 0.22)) rotate(-4deg);
  }

  50% {
    transform: translate(calc(var(--hero-mx) * 0.22), calc(var(--hero-my) * 0.22 - 5px)) rotate(-6deg);
  }
}

@keyframes meter-pulse {
  0%,
  100% {
    width: 78%;
  }

  50% {
    width: 100%;
  }
}

@keyframes spin-pop {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(18deg) scale(1.08);
  }
}

@keyframes marquee {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-34px);
  }
}

@keyframes spark-out {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35) rotate(0deg);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -84%) scale(1.35) rotate(36deg);
  }
}

@keyframes trail-burst {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.55);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -122%) rotate(72deg) scale(1.45);
  }
}

@keyframes meter-pop {
  0%,
  100% {
    transform: scaleY(0.82);
  }

  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 132px minmax(0, 1fr) minmax(168px, 190px);
    min-height: 104px;
  }

  .nav-links {
    gap: clamp(10px, 2vw, 22px);
    font-size: clamp(17px, 2.2vw, 22px);
  }

  .nav-controls {
    width: min(21vw, 190px);
    grid-template-columns: minmax(72px, 0.8fr) minmax(86px, 1fr);
  }

  .contact-button {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: auto;
    min-height: 42px;
    font-size: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 86px;
  }

  .hero-wordmark {
    font-size: clamp(78px, 10vw, 104px);
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-alert {
    top: 16px;
    flex-wrap: wrap;
  }




  .lab-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .lab-card-large,
  .lab-card-tall,
  .lab-card-orange,
  .lab-card-blue {
    grid-column: span 3;
    grid-row: auto;
    min-height: 280px;
  }

  .signal-stage {
    grid-template-columns: 1fr;
  }


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

  .footer-action {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) and (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 132px minmax(0, 1fr) minmax(160px, 176px) 190px;
    min-height: 74px;
    gap: 16px;
  }

  .nav-links {
    gap: clamp(10px, 1.7vw, 18px);
    font-size: clamp(16px, 1.9vw, 20px);
  }

  .nav-controls {
    width: 176px;
  }

  .contact-button {
    grid-column: auto;
    justify-self: end;
    width: 190px;
    min-height: 44px;
    padding: 7px 10px 10px;
    font-size: 22px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.78fr);
    gap: 24px;
    min-height: calc(100svh - 74px);
    padding-top: clamp(40px, 5vw, 70px);
  }

  .hero-wordmark {
    font-size: clamp(56px, 6.8vw, 72px);
    line-height: 0.86;
  }

  .hero-visual {
    min-height: min(60vh, 560px);
  }

  .hero-wordmark::before {
    content: "mehmagic";
    display: block;
    white-space: nowrap;
  }

  .hero-wordmark .word-line {
    display: none;
  }
}

@media (min-width: 821px) and (max-width: 899px) {
  .hero-wordmark {
    font-size: clamp(56px, 6.8vw, 66px);
    line-height: 0.86;
  }

  .hero-wordmark::before {
    content: "mehmagic";
    display: block;
    white-space: nowrap;
  }

  .hero-wordmark .word-line {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --border-size: 5px;
    --border: 5px solid var(--blue);
    --edge: clamp(18px, 5vw, 24px);
  }

  main,
  section {
    scroll-margin-top: 132px;
  }

  .site-header {
    width: 100vw;
    max-width: 100vw;
    overflow: visible;
  }

  .nav-shell {
    position: relative;
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
    width: 100vw;
    max-width: 100vw;
    min-height: auto;
    padding-block: 8px 9px;
    gap: 6px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .brand-logo {
    width: min(25vw, 96px);
  }

  .nav-controls {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 3;
    order: 4;
    justify-self: stretch;
    width: calc(100vw - (var(--edge) * 2));
    margin-right: 0;
    grid-template-columns: minmax(92px, 0.78fr) minmax(132px, 1.22fr);
    gap: 4px;
    z-index: 2;
    justify-items: stretch;
    overflow: visible;
  }

  .nav-controls > *,
  .sfx-toggle,
  .language-switch {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .sfx-toggle,
  .language-switch button {
    min-height: 28px;
    border-width: 3px;
    font-size: clamp(8px, 2vw, 10px);
  }

  .sfx-toggle i {
    min-width: 26px;
    min-height: 15px;
    font-size: 10px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    width: calc(100vw - (var(--edge) * 2));
    max-width: calc(100vw - (var(--edge) * 2));
    gap: 0 5px;
    font-size: clamp(10px, 2.15vw, 13px);
  }

  .nav-links a {
    min-width: 0;
    padding: 6px 0;
    text-align: center;
  }

  .nav-links a::before,
  .nav-links a::after {
    display: none;
  }

  .contact-button {
    grid-column: 2;
    grid-row: 1;
    order: 2;
    justify-self: stretch;
    width: auto;
    max-width: none;
    min-height: 34px;
    font-size: clamp(14px, 3.9vw, 19px);
  }

  .kicker {
    display: block;
    max-width: none;
    width: 100%;
    padding-inline: 8px;
    font-size: clamp(8px, 2.35vw, 10px);
    line-height: 1;
    text-align: center;
    white-space: normal;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 0;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .hero::before {
    background-size: 19px 19px;
  }

  .hero::after {
    left: var(--edge);
    right: var(--edge);
    bottom: 10px;
    height: 5px;
    background-size: 22px 5px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-wordmark {
    position: relative;
    z-index: 4;
    order: 2;
    width: 100%;
    max-width: none;
    font-size: clamp(34px, 10.2vw, 48px);
    line-height: 0.92;
    overflow: visible;
    letter-spacing: 0;
  }

  .hero-lede {
    position: relative;
    z-index: 4;
    order: 3;
    width: 100%;
    max-width: 42ch;
    margin-top: 10px;
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.18;
  }

  .hero-wordmark::before {
    content: "mehmagic";
    display: block;
    white-space: nowrap;
  }

  .hero-wordmark .word-line {
    display: none;
  }

  .word-line span {
    margin-right: 0.006em;
  }

  .kicker {
    position: relative;
    z-index: 4;
    order: 1;
    margin-bottom: 14px;
  }

  .hero-alert {
    top: 13px;
    left: var(--edge);
    right: var(--edge);
    justify-content: flex-start;
    gap: 5px;
  }

  .hero-alert span {
    padding: 5px 7px 7px;
    border-width: 2px;
    font-size: 10px;
    box-shadow: 3px 3px 0 var(--orange);
  }

  .hero-alert span:nth-child(3) {
    display: none;
  }

  .hero-tags {
    position: relative;
    z-index: 4;
    order: 5;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 12px;
  }

  .hero-tags span {
    min-height: 35px;
    padding: 7px 8px 9px;
    font-size: clamp(12px, 3.5vw, 15px);
    text-align: center;
    box-shadow: 5px 5px 0 var(--blue);
  }

  .hero-tags span:nth-child(3),
  .hero-tags span:nth-child(4) {
    grid-column: auto;
  }

  .hero-cta-row {
    position: relative;
    z-index: 4;
    order: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 14px;
  }

  .hero-primary,
  .hero-secondary {
    min-height: 45px;
    border-width: 4px;
    padding: 8px 8px 10px;
    font-size: clamp(16px, 4.9vw, 20px);
    box-shadow: 6px 6px 0 var(--blue);
    white-space: nowrap;
    min-width: 0;
  }

  .hero-secondary {
    box-shadow: 6px 6px 0 var(--orange);
  }




  .hero-visual {
    position: relative;
    z-index: 3;
    order: 4;
    align-self: center;
    width: min(78vw, 310px);
    min-height: min(78vw, 310px);
    margin: 2px 0 0;
    opacity: 1;
    transform: none;
  }

  .pixel-card {
    width: min(62vw, 260px);
    box-shadow: 8px 8px 0 var(--blue);
  }

  .magic-ring {
    width: min(72vw, 294px);
    border-width: 5px;
  }

  .magic-ring::before {
    inset: 24px;
    border-width: 4px;
  }

  .magic-ring::after {
    inset: 48px;
    border-width: 3px;
  }

  .focus-frame {
    width: min(66vw, 276px);
  }

  .focus-frame::before,
  .focus-frame::after {
    width: 58px;
    height: 58px;
    border-width: 7px;
  }

  .burst {
    right: -1%;
    top: -2%;
    width: clamp(78px, 21vw, 104px);
  }

  .burst-small {
    left: 0;
    top: 20%;
    width: clamp(50px, 15vw, 74px);
  }

  .hero-callout {
    left: -3%;
    bottom: 2%;
    min-width: 108px;
    padding: 8px 10px 10px;
    border-width: 4px;
    box-shadow: 6px 6px 0 var(--orange);
  }

  .hero-callout span {
    font-size: 10px;
  }

  .hero-callout strong {
    font-size: 30px;
  }

  .hero-meter {
    right: 4%;
    bottom: 6%;
    width: min(38vw, 142px);
    height: 24px;
    border-width: 4px;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .hero-head {
    width: min(68vw, 276px);
    filter: drop-shadow(8px 10px 0 var(--orange));
  }

  .hero-chaos span {
    width: calc(48px * var(--s));
    opacity: 0.28;
  }









  .jump-card,
  .jump-card-wide,
  .jump-card-long {
    grid-column: 1;
    min-height: 178px;
    padding: 20px;
    border-width: 5px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .jump-card:nth-child(2),
  .jump-card:nth-child(3) {
    box-shadow: 7px 7px 0 var(--blue);
  }

  .jump-card strong {
    font-size: clamp(31px, 8.8vw, 46px);
    line-height: 0.96;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 26px;
  }

  .section-kicker {
    padding: 7px 9px 9px;
    border-width: 3px;
    font-size: 10px;
  }

  .section-head h1,
  .section-head h2 {
    font-size: clamp(30px, 8.4vw, 44px);
    line-height: 0.98;
    text-wrap: balance;
  }

  .work-lab {
    padding-block: 42px 54px;
  }

  .lab-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 5px;
    box-shadow: 8px 8px 0 var(--orange);
  }

  .lab-card-large,
  .lab-card-tall,
  .lab-card-orange,
  .lab-card-blue {
    grid-column: 1;
    grid-row: auto;
    min-height: 204px;
  }

  .lab-card {
    padding: 20px;
  }

  .lab-card h2,
  .lab-card h3 {
    font-size: clamp(32px, 9.2vw, 48px);
    line-height: 0.96;
  }

  .lab-card p {
    font-size: 15px;
  }

  .dossier {
    padding-block: 42px 56px;
  }

  .dossier-head {
    gap: 10px;
    margin-bottom: 26px;
  }

  .dossier-head h1,
  .dossier-head h2 {
    font-size: clamp(30px, 8.4vw, 44px);
    line-height: 0.98;
    text-wrap: balance;
  }

  .project-proof-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .project-proof-card,
  .project-proof-primary {
    grid-column: 1;
    grid-row: auto;
  }

  .project-proof-card {
    min-height: 190px;
    padding: 20px;
    border-width: 5px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .project-proof-card {
    min-height: 260px;
    padding: 0;
  }

  .project-proof-primary {
    min-height: 330px;
  }

  .project-proof-copy {
    padding: 18px;
  }

  .project-proof-card strong {
    font-size: clamp(31px, 8.8vw, 46px);
    line-height: 0.96;
  }

  .case-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 18px;
  }

  .case-filter button {
    min-height: 42px;
    padding: 8px 8px 10px;
    border-width: 4px;
    font-size: clamp(17px, 5vw, 23px);
    box-shadow: 5px 5px 0 var(--orange);
  }

  .spell-card p {
    font-size: 15px;
  }



  .spell-card {
    min-height: 178px;
    padding: 22px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .spell-card h2,
  .spell-card h3 {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 0.96;
  }

  .signal-stage {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 46px 58px;
  }


  .signal-copy > p:not(.section-kicker) {
    font-size: 16px;
  }

  .signal-console {
    min-height: 300px;
    border-width: 5px;
    box-shadow: 8px 8px 0 var(--orange);
  }

  .console-row {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 58px;
  }

  .console-row span,
  .console-row output {
    padding: 9px;
    font-size: 10px;
  }

  .console-bars {
    min-height: 118px;
  }

  .signal-feature-grid {
    grid-template-columns: 1fr;
  }

  .signal-feature-grid span {
    min-height: 38px;
    padding: 9px;
    font-size: 10px;
  }

  .about {
    gap: 22px;
    padding-block: 48px 68px;
  }

  .about-copy h1,
  .about-copy p {
    font-size: clamp(27px, 7.8vw, 42px);
    line-height: 1.02;
    text-wrap: balance;
  }

  .about-panel {
    min-height: 245px;
    padding: 22px;
    box-shadow: 8px 8px 0 var(--orange);
  }

  .about-panel strong {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 0.96;
  }

  .about-proof {
    grid-template-columns: 1fr;
    border-width: 5px;
    box-shadow: 8px 8px 0 var(--orange);
  }

  .proof-copy {
    padding: 20px;
  }

  .proof-copy strong {
    font-size: clamp(19px, 5.2vw, 25px);
    line-height: 1.08;
  }






  .footer-action {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 44px 54px;
  }

  .footer-action h2 {
    font-size: clamp(36px, 10.2vw, 58px);
    line-height: 0.94;
    text-wrap: balance;
  }

  .footer-action a {
    min-height: 54px;
    border-width: 5px;
    padding: 10px 14px 13px;
    font-size: clamp(19px, 5.8vw, 28px);
    box-shadow: 7px 7px 0 var(--blue);
  }

  .footer-meta {
    display: grid;
    justify-items: start;
    font-size: 10px;
  }
}

@media (min-width: 600px) and (max-width: 820px) {
  :root {
    --edge: clamp(28px, 5vw, 42px);
  }

  .brand-logo {
    width: 118px;
  }

  .nav-shell {
    grid-template-columns: minmax(118px, auto) minmax(0, 1fr);
  }

  .hero-wordmark {
    font-size: clamp(50px, 7.6vw, 64px);
  }

  .hero-visual {
    width: min(60vw, 430px);
    min-height: min(60vw, 430px);
  }

  .pixel-card {
    width: min(50vw, 360px);
  }

  .magic-ring {
    width: min(56vw, 400px);
  }

  .focus-frame {
    width: min(52vw, 376px);
  }

  .hero-head {
    width: min(50vw, 360px);
  }

  .hero-tags {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 480px) {
  .hero-alert {
    display: none;
  }

  .nav-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
    gap: 6px;
    overflow: hidden;
  }

  .brand {
    flex: 0 0 96px;
  }

  .brand-logo {
    width: min(23vw, 88px);
  }

  .contact-button {
    flex: 1 1 calc(100% - 104px);
    width: auto;
    max-width: none;
    min-height: 31px;
    font-size: clamp(13px, 3.4vw, 17px);
    padding-inline: 10px;
  }

  .nav-links {
    flex: 1 0 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 4px;
    font-size: clamp(10px, 3vw, 12px);
  }

  .nav-links a {
    min-height: 24px;
    padding: 5px 4px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-controls {
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .language-switch {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sfx-toggle,
  .language-switch button {
    min-height: 24px;
    font-size: 10px;
  }

  .sfx-toggle i {
    min-width: 22px;
    min-height: 13px;
    font-size: 7px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-cta-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .kicker {
    padding-inline: 5px;
    font-size: clamp(8px, 2.1vw, 9px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
}

/* Final Mehvision 3D composition. Kept last so legacy CTA rules cannot override it. */
.site-footer .footer-action[data-mehvision-stage] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-items: center;
  align-content: start;
  min-height: clamp(760px, 62vw, 940px);
  padding: clamp(42px, 4vw, 68px) var(--edge) clamp(126px, 10vw, 170px);
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  width: min(76vw, 980px);
  height: clamp(300px, 34vw, 500px);
  margin: 0 auto clamp(-38px, -2.4vw, -18px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  contain: layout paint style;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model.is-grabbing {
  cursor: grabbing;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model:focus-visible {
  outline: 0;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model:focus-visible canvas {
  filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.72));
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 260ms ease-out;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model.is-ready canvas {
  opacity: 1;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-copy {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  transform: none;
  text-align: center;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
  display: flex;
  max-width: none;
  margin: 0;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  color: var(--blue);
  font-size: clamp(62px, 7.4vw, 132px);
  line-height: 0.88;
  white-space: nowrap;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 > span {
  display: inline-block;
  width: auto;
  max-width: none;
  white-space: nowrap;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 > span:last-child::after {
  width: clamp(72px, 7vw, 118px);
  margin-right: auto;
  margin-left: auto;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-second {
  margin: clamp(34px, 3vw, 52px) auto 0;
  text-align: center;
}

.site-footer .footer-action[data-mehvision-stage] .footer-contact {
  right: var(--edge);
  bottom: clamp(38px, 4vw, 64px);
}

@media (max-width: 900px) {
  .site-footer .footer-action[data-mehvision-stage] {
    min-height: 700px;
    padding: 30px 22px 184px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-model {
    width: min(96vw, 720px);
    height: clamp(250px, 52vw, 390px);
    margin-bottom: -20px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    max-width: none;
    gap: 0.16em;
    font-size: clamp(38px, 9.5vw, 76px);
  }

  .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    right: 22px;
    bottom: 42px;
    width: calc(100% - 44px);
    align-items: center;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-action[data-mehvision-stage] {
    min-height: 620px;
    padding: 24px 16px 176px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-model {
    width: calc(100vw - 16px);
    height: clamp(220px, 65vw, 300px);
    margin-bottom: -14px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    gap: 0.14em;
    font-size: clamp(27px, 9.4vw, 46px);
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 > span:last-child::after {
    width: 62px;
    height: 5px;
    margin-top: 10px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-second {
    max-width: 18ch;
    margin-top: 26px;
    font-size: clamp(26px, 8vw, 38px);
  }

  .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    right: 16px;
    bottom: 34px;
    width: calc(100% - 32px);
  }
}



/* Distilled UI: keep the authored game language, remove template-like chrome. */
.site-loader .loader-panel {
  width: min(76vw, 320px);
  gap: 18px;
  padding: 26px 28px 24px;
}

.site-loader .loader-logo {
  width: min(210px, 62vw);
  margin-inline: auto;
}

.site-loader .loader-track {
  width: 100%;
  margin: 0;
}

.project-proof-cover::before,
.project-proof-card[data-case-type]::after {
  content: none !important;
  display: none !important;
}

.project-proof-card:hover .project-proof-copy::after,
.project-proof-card:focus-visible .project-proof-copy::after {
  color: var(--yellow);
}

.mehvision-copy > p {
  max-width: 58ch;
  margin-inline: auto;
}

/* ---- Mehvision 3D CTA: centered model, title and calm Y-axis rotation ---- */
.site-footer .footer-action[data-mehvision-stage] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-items: center;
  align-content: start;
  min-height: clamp(760px, 62vw, 940px);
  padding: clamp(42px, 4vw, 68px) var(--edge) clamp(126px, 10vw, 170px);
}

.footer-action[data-mehvision-stage] .mehvision-model {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  width: min(76vw, 980px);
  height: clamp(300px, 34vw, 500px);
  margin: 0 auto clamp(-38px, -2.4vw, -18px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  contain: layout paint style;
}

.footer-action[data-mehvision-stage] .mehvision-model.is-grabbing {
  cursor: grabbing;
}

.footer-action[data-mehvision-stage] .mehvision-model:focus-visible {
  outline: 5px solid var(--blue);
  outline-offset: 4px;
}

.footer-action[data-mehvision-stage] .mehvision-model canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 260ms ease-out;
}

.footer-action[data-mehvision-stage] .mehvision-model.is-ready canvas {
  opacity: 1;
}

.footer-action[data-mehvision-stage] .mehvision-copy {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  transform: none;
  text-align: center;
}

.footer-action[data-mehvision-stage] .mehvision-copy h2 {
  display: flex;
  max-width: none;
  margin: 0;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  color: var(--blue);
  font-size: clamp(62px, 7.4vw, 132px);
  line-height: 0.88;
  white-space: nowrap;
}

.footer-action[data-mehvision-stage] .mehvision-copy h2 > span {
  display: inline-block;
  width: auto;
  max-width: none;
  white-space: nowrap;
}

.footer-action[data-mehvision-stage] .mehvision-copy h2 > span:last-child::after {
  width: clamp(72px, 7vw, 118px);
  margin-right: auto;
  margin-left: auto;
}

.footer-action[data-mehvision-stage] .mehvision-second {
  margin: clamp(34px, 3vw, 52px) auto 0;
  text-align: center;
}

.site-footer .footer-action[data-mehvision-stage] .footer-contact {
  right: var(--edge);
  bottom: clamp(38px, 4vw, 64px);
}

@media (max-width: 900px) {
  .site-footer .footer-action[data-mehvision-stage] {
    min-height: 700px;
    padding: 30px 22px 184px;
  }

  .footer-action[data-mehvision-stage] .mehvision-model {
    width: min(96vw, 720px);
    height: clamp(250px, 52vw, 390px);
    margin-bottom: -20px;
  }

  .footer-action[data-mehvision-stage] .mehvision-copy {
    transform: none;
  }

  .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    max-width: none;
    font-size: clamp(38px, 9.5vw, 76px);
  }

  .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    right: 22px;
    bottom: 42px;
    width: calc(100% - 44px);
    align-items: center;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-action[data-mehvision-stage] {
    min-height: 620px;
    padding: 24px 16px 176px;
  }

  .footer-action[data-mehvision-stage] .mehvision-model {
    width: calc(100vw - 16px);
    height: clamp(220px, 65vw, 300px);
    margin-bottom: -14px;
  }

  .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    gap: 0.14em;
    font-size: clamp(27px, 9.4vw, 46px);
  }

  .footer-action[data-mehvision-stage] .mehvision-copy h2 > span:last-child::after {
    width: 62px;
    height: 5px;
    margin-top: 10px;
  }

  .footer-action[data-mehvision-stage] .mehvision-second {
    max-width: 18ch;
    margin-top: 26px;
    font-size: clamp(26px, 8vw, 38px);
  }

  .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    right: 16px;
    bottom: 34px;
    width: calc(100% - 32px);
  }
}



/* ---- Mehvision composition v2: open stage + heavy draggable glasses ---- */

.site-footer .footer-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  align-items: center;
  min-height: clamp(620px, 48vw, 780px);
  padding: clamp(72px, 8vw, 130px) var(--edge) clamp(100px, 10vw, 150px);
  overflow: hidden;
}

.footer-action.is-visible .mehvision-glasses {
  animation: none;
}

.mehvision-copy {
  z-index: 2;
  grid-column: 1;
  align-self: center;
  width: min(100%, 820px);
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mehvision-copy .system-label {
  margin-bottom: clamp(18px, 2vw, 28px);
}

.footer-action .mehvision-copy h2 {
  max-width: 11ch;
  color: var(--blue);
  font-size: clamp(68px, 6.8vw, 126px);
  line-height: 0.88;
}

.mehvision-copy > p {
  max-width: 44ch;
  margin-top: clamp(18px, 2vw, 30px);
  color: var(--deep-blue);
  font-size: clamp(18px, 1.35vw, 24px);
}

.mehvision-second {
  max-width: 22ch;
  margin-top: clamp(20px, 2.5vw, 38px);
  font-size: clamp(32px, 3.5vw, 64px);
  line-height: 0.95;
}

.mehvision-glasses {
  top: clamp(52px, 7vw, 105px);
  right: clamp(-70px, -2vw, -20px);
  left: auto;
  width: min(53vw, 860px);
  transform: rotate(8deg) skewX(-2deg);
  transition: transform 150ms steps(3, end);
  user-select: none;
  -webkit-user-drag: none;
}

.mehvision-glasses:hover {
  transform: rotate(7deg) skewX(-2deg);
}

.footer-action.is-mehvision-physics .mehvision-glasses {
  top: 0;
  right: auto;
  left: 0;
  margin: 0;
  transition: none;
  will-change: transform;
  touch-action: none;
  cursor: grab;
}

.footer-action.is-mehvision-physics.is-glasses-grabbing .mehvision-glasses {
  cursor: grabbing;
}

.site-footer .footer-contact {
  position: absolute;
  z-index: 6;
  right: var(--edge);
  bottom: clamp(52px, 6vw, 88px);
  display: flex;
  width: min(430px, 42vw);
  align-items: flex-end;
  flex-direction: column-reverse;
  gap: 16px;
}

.site-footer .footer-socials {
  justify-content: flex-end;
}

.site-footer .footer-mail {
  min-width: min(100%, 320px);
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--blue);
  transform: rotate(-4deg);
}

.site-footer .footer-mail:hover,
.site-footer .footer-mail:focus-visible {
  color: var(--white);
  background: var(--orange);
  box-shadow: 5px 5px 0 var(--blue);
  transform: rotate(-2deg) translateY(-3px);
}

body.is-mehvision .mehvision-copy.focus-brackets::before,
body.is-mehvision .mehvision-copy.focus-brackets::after {
  opacity: 0;
}

@media (max-width: 900px) {
  .site-footer .footer-action {
    grid-template-columns: 1fr;
    min-height: 760px;
    padding: 265px 22px 170px;
    align-items: start;
  }

  .mehvision-copy {
    grid-column: 1;
  }

  .footer-action .mehvision-copy h2 {
    max-width: 9ch;
    font-size: clamp(58px, 16vw, 84px);
  }

  .mehvision-copy > p {
    max-width: 34ch;
    font-size: 17px;
  }

  .mehvision-glasses {
    top: 24px;
    right: -8vw;
    left: auto;
    width: min(100vw, 520px);
    transform: rotate(7deg) skewX(-2deg);
  }

  .site-footer .footer-contact {
    right: 22px;
    bottom: 54px;
    width: calc(100% - 44px);
    align-items: flex-end;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-action {
    min-height: 720px;
    padding: 220px 16px 168px;
  }

  .footer-action .mehvision-copy h2 {
    font-size: clamp(52px, 16.5vw, 68px);
  }

  .mehvision-second {
    font-size: clamp(28px, 9.5vw, 40px);
  }

  .site-footer .footer-contact {
    right: 16px;
    width: calc(100% - 32px);
  }
}



/* ---- work archive: replaceable data shelves ---- */
.work-archive {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 6vw, 86px) var(--edge) clamp(64px, 8vw, 112px);
  color: var(--ink);
  background-color: var(--bone);
  background-image:
    linear-gradient(rgba(30, 22, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 22, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 6px solid var(--deep-blue);
}

.work-archive-head {
  max-width: 1040px;
  margin: 0 0 clamp(38px, 5vw, 68px);
}

.work-archive-head h2 {
  max-width: 14ch;
  margin: 10px 0 16px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(44px, 6.6vw, 92px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.work-archive-head > p:last-child {
  max-width: 68ch;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.45;
}

.archive-module {
  position: relative;
  display: grid;
  gap: clamp(26px, 3vw, 44px);
  padding: clamp(26px, 4vw, 56px) 0;
  border-top: 6px solid var(--deep-blue);
}

.archive-module-heading {
  display: grid;
  grid-template-columns: 48px clamp(96px, 11vw, 150px) minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 32px);
  align-items: center;
  min-width: 0;
}

.archive-module-index {
  align-self: start;
  padding-top: 7px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.archive-module-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  color: var(--blue);
  background: var(--yellow);
  border: 5px solid var(--deep-blue);
  box-shadow: 8px 8px 0 var(--orange);
  transform: rotate(-3deg);
}

.archive-module-icon img {
  display: block;
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.archive-module-heading h3 {
  max-width: 15ch;
  margin: 0 0 10px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(36px, 4.7vw, 70px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.archive-module-heading p {
  max-width: 62ch;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1.45;
}

.archive-module-behance {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-inline: calc(var(--edge) * -1);
  padding-inline: var(--edge);
  color: var(--bone);
  background: var(--deep-blue);
  border-color: var(--orange);
}

.archive-module-behance .archive-module-heading h3,
.archive-module-behance .archive-module-index {
  color: var(--yellow);
}

.archive-behance-icon {
  color: var(--bone);
  background: var(--blue);
  border-color: var(--yellow);
}

.archive-module-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-width: 260px;
  padding: 12px 18px 15px;
  color: var(--deep-blue);
  background: var(--yellow);
  border: 4px solid var(--bone);
  box-shadow: 6px 6px 0 var(--orange);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.archive-module-action:hover,
.archive-module-action:focus-visible {
  transform: translate(-2px, -3px);
  box-shadow: 9px 10px 0 var(--orange);
  outline: 3px solid var(--bone);
  outline-offset: 4px;
}

.logo-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.logo-tile {
  --logo-accent: var(--blue);
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: 12px;
  min-width: 0;
  min-height: clamp(150px, 15vw, 220px);
  padding: clamp(16px, 2vw, 26px);
  color: #73727a;
  background: var(--white);
  border: 4px solid #8b8990;
  box-shadow: 5px 5px 0 #8b8990;
  cursor: pointer;
  transition: color 170ms ease, border-color 170ms ease, box-shadow 170ms ease, transform 170ms ease;
}

.logo-tile[data-accent="orange"] { --logo-accent: var(--orange); }
.logo-tile[data-accent="deep"] { --logo-accent: var(--deep-blue); }
.logo-tile[data-accent="yellow"] { --logo-accent: #9a9300; }

.logo-tile:hover,
.logo-tile:focus-visible {
  z-index: 2;
  color: var(--logo-accent);
  border-color: var(--logo-accent);
  box-shadow: 8px 8px 0 var(--orange);
  transform: translate(-2px, -3px);
  outline: 3px solid var(--deep-blue);
  outline-offset: 3px;
}

.logo-placeholder-mark {
  display: grid;
  place-items: center;
  width: min(78%, 150px);
  min-width: 80px;
  aspect-ratio: 1;
  color: inherit;
  border: 10px solid currentColor;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1;
  filter: grayscale(1);
  transition: filter 170ms ease, transform 170ms ease;
}

.logo-tile[data-shape="round"] .logo-placeholder-mark { border-radius: 50%; }
.logo-tile[data-shape="wide"] .logo-placeholder-mark {
  width: min(92%, 190px);
  aspect-ratio: 2.25 / 1;
  border-width: 8px;
}

.logo-tile:hover .logo-placeholder-mark,
.logo-tile:focus-visible .logo-placeholder-mark {
  filter: none;
  transform: rotate(-2deg) scale(1.04);
}

.logo-tile small {
  max-width: 100%;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.archive-module-social {
  margin-inline: calc(var(--edge) * -1);
  padding-inline: var(--edge);
  background: var(--yellow);
}

.archive-social-icon {
  background: var(--bone);
}

.archive-social-icon strong {
  position: absolute;
  right: -13px;
  bottom: -11px;
  padding: 6px 8px 8px;
  color: var(--bone);
  background: var(--orange);
  border: 4px solid var(--deep-blue);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 0.8;
  transform: rotate(3deg);
}

.social-card-deck {
  position: relative;
  overflow: hidden;
  height: clamp(330px, 30vw, 430px);
  background-color: var(--bone);
  background-image:
    linear-gradient(rgba(30, 22, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 22, 255, 0.075) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 5px solid var(--deep-blue);
  box-shadow: 10px 10px 0 var(--orange);
  isolation: isolate;
}

.social-post-card {
  --offset: calc(var(--slot, 0) * clamp(20px, 4.2vw, 52px));
  --angle: 0deg;
  --card-color: var(--blue);
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: var(--stack, 1);
  display: grid;
  grid-template-rows: 1fr auto;
  width: clamp(170px, 17vw, 238px);
  aspect-ratio: 4 / 5;
  padding: 10px;
  color: var(--bone);
  background: var(--card-color);
  border: 5px solid var(--deep-blue);
  box-shadow: 7px 8px 0 var(--orange);
  cursor: pointer;
  transform: translate(calc(-50% + var(--offset)), -50%) rotate(var(--angle));
  transform-origin: 50% 90%;
  transition: transform 190ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 190ms ease, filter 190ms ease;
}

.social-post-card[data-accent="orange"] { --card-color: var(--orange); }
.social-post-card[data-accent="yellow"] { --card-color: var(--yellow); color: var(--deep-blue); }
.social-post-card[data-accent="deep"] { --card-color: var(--deep-blue); }

.social-post-card:hover,
.social-post-card:focus-visible {
  z-index: 50;
  filter: saturate(1.08);
  box-shadow: 12px 15px 0 var(--orange);
  transform: translate(calc(-50% + var(--offset)), calc(-50% - 34px)) rotate(0deg) scale(1.06);
  outline: 3px solid var(--bone);
  outline-offset: 4px;
}

.social-post-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 0;
  color: currentColor;
  background: var(--bone);
  border: 4px solid currentColor;
}

.social-post-visual::before,
.social-post-visual::after {
  content: "";
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  background: var(--yellow);
  transform: rotate(28deg);
}

.social-post-visual::before { left: -25%; top: -22%; }
.social-post-visual::after { right: -27%; bottom: -24%; background: var(--orange); }

.social-post-visual strong {
  position: relative;
  z-index: 1;
  color: var(--deep-blue);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 0.9;
}

.social-post-card > small {
  padding-top: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.archive-dialog {
  width: min(92vw, 640px);
  max-height: 88vh;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  overflow: visible;
}

.archive-dialog::backdrop {
  background: rgba(17, 17, 42, 0.78);
}

.archive-dialog-panel {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  background-color: var(--bone);
  background-image:
    linear-gradient(rgba(30, 22, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 22, 255, 0.075) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 5px solid var(--blue);
  box-shadow: 12px 12px 0 var(--orange);
}

.archive-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--bone);
  background: var(--orange);
  border: 4px solid var(--deep-blue);
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.archive-dialog-kicker {
  display: inline-block;
  max-width: calc(100% - 58px);
  padding: 7px 10px 9px;
  color: var(--yellow);
  background: var(--deep-blue);
  border: 3px solid var(--orange);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.archive-dialog h2 {
  max-width: 12ch;
  margin: 24px 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 400;
  line-height: 0.88;
  overflow-wrap: anywhere;
}

.archive-dialog-facts {
  display: grid;
  gap: 14px;
  margin: 0;
}

.archive-dialog-facts div {
  padding-top: 13px;
  border-top: 3px solid var(--deep-blue);
}

.archive-dialog-facts dt {
  margin-bottom: 6px;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.archive-dialog-facts dd {
  max-width: 58ch;
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.archive-dialog-link {
  display: inline-flex;
  margin-top: 24px;
  padding: 11px 15px 14px;
  color: var(--bone);
  background: var(--blue);
  border: 4px solid var(--deep-blue);
  box-shadow: 5px 5px 0 var(--orange);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.archive-dialog-link[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .archive-module-behance {
    grid-template-columns: 1fr;
  }

  .archive-module-action {
    margin-left: 62px;
  }

  .logo-placeholder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .work-archive {
    padding-inline: 14px;
  }

  .archive-module-behance,
  .archive-module-social {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .archive-module-heading {
    grid-template-columns: 34px 82px minmax(0, 1fr);
    gap: 10px;
  }

  .archive-module-icon {
    border-width: 4px;
    box-shadow: 5px 5px 0 var(--orange);
  }

  .archive-module-heading h3 {
    font-size: clamp(30px, 9.2vw, 42px);
  }

  .archive-module-heading p {
    font-size: 14px;
  }

  .archive-module-action {
    width: calc(100% - 44px);
    max-width: none;
    margin-left: 44px;
  }

  .logo-placeholder-grid {
    gap: 8px;
  }

  .logo-tile {
    min-height: 142px;
    padding: 12px 8px;
  }

  .logo-placeholder-mark {
    min-width: 62px;
    border-width: 7px;
  }

  .social-card-deck {
    height: 300px;
    margin-inline: -4px;
  }

  .social-post-card {
    width: 156px;
    border-width: 4px;
    box-shadow: 5px 6px 0 var(--orange);
  }

  .social-post-card:hover,
  .social-post-card:focus-visible {
    box-shadow: 8px 10px 0 var(--orange);
    transform: translate(calc(-50% + var(--offset)), calc(-50% - 20px)) rotate(0deg) scale(1.03);
  }
}

/* Behance mark: fixed to the true right edge without animation drift. */
body[data-page="projects"] .dossier-head {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  padding-right: 70px;
  overflow: visible;
}

body[data-page="projects"] .dossier-head .behance-badge {
  position: absolute;
  inset: 50% 0 auto auto;
  box-sizing: border-box;
  width: 54px;
  max-width: 54px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  transform: translateY(-50%) rotate(2deg);
  animation: behance-edge-wobble 4.8s ease-in-out infinite;
}

body[data-page="projects"] .dossier-head .behance-badge img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

@keyframes behance-edge-wobble {
  0%, 100% { transform: translateY(-50%) rotate(2deg); }
  38% { transform: translateY(calc(-50% - 3px)) rotate(-2deg); }
  70% { transform: translateY(calc(-50% + 1px)) rotate(3deg); }
}

@media (max-width: 620px) {
  body[data-page="projects"] .dossier-head {
    padding-right: 58px;
  }

  body[data-page="projects"] .dossier-head .behance-badge {
    width: 46px;
    max-width: 46px;
  }
}

/* Behance badge cleanup: official mark, quiet interaction, no sticker noise. */
body[data-page="projects"] .dossier-head {
  padding-right: 60px;
}

body[data-page="projects"] .dossier-head .behance-badge {
  position: absolute;
  inset: 50% 0 auto auto;
  display: block;
  width: 48px;
  max-width: 48px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #0057ff;
  border: 3px solid var(--bone);
  outline: 0;
  box-shadow: 4px 4px 0 var(--orange);
  transform: translateY(-50%);
  animation: none;
  transition:
    transform 140ms ease-out,
    box-shadow 140ms ease-out,
    border-color 140ms ease-out;
}

body[data-page="projects"] .dossier-head .behance-badge::after {
  content: none;
  display: none;
  animation: none;
}

body[data-page="projects"] .dossier-head .behance-badge:hover {
  background: #0057ff;
  border-color: var(--white);
  outline: 0;
  box-shadow: 5px 6px 0 var(--orange);
  transform: translateY(calc(-50% - 2px));
}

body[data-page="projects"] .dossier-head .behance-badge:focus-visible {
  background: #0057ff;
  border-color: var(--white);
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  box-shadow: none;
  transform: translateY(-50%);
}

@media (max-width: 620px) {
  body[data-page="projects"] .dossier-head {
    padding-right: 52px;
  }

  body[data-page="projects"] .dossier-head .behance-badge {
    width: 42px;
    max-width: 42px;
  }
}

@keyframes evo-road-build {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes evo-stop-land {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.82);
  }
  72% {
    opacity: 1;
    transform: translateY(-4px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mehmagic-band .evo-road-stage .evo-road-line,
  .mehmagic-band .evo-road-stage .evo-stop {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="projects"] .dossier-head .behance-badge {
    animation: none;
  }
}



/* The project archive is immediately scannable; filtering replaces scroll reveals. */
.dossier .project-proof-card[data-case-type]::after {
  content: none;
}

.dossier [data-reveal],
.dossier [data-reveal].is-visible,
.dossier .project-proof-card[data-motion],
.dossier .project-proof-card[data-motion].motion-visible {
  opacity: 1;
  transform: none;
  translate: none;
  scale: 1;
  transition: none;
}

@media (max-width: 380px) {
  .kicker {
    padding-inline: 5px;
    font-size: 10px;
    overflow-wrap: anywhere;
  }

  .hero-visual {
    width: min(72vw, 270px);
    min-height: min(72vw, 270px);
  }

  .pixel-card {
    width: min(58vw, 220px);
  }

  .magic-ring {
    width: min(68vw, 252px);
  }

  .focus-frame {
    width: min(62vw, 238px);
  }

  .hero-head {
    width: min(62vw, 238px);
  }
}

@media (max-width: 760px) {
  .about-cv {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 36px;
  }



  .cv-hero p:not(.section-kicker) {
    font-size: 16px;
  }











  .client-arena {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 34px 42px;
  }

  .client-arena-copy h2 {
    font-size: clamp(30px, 8.4vw, 44px);
    line-height: 0.98;
  }

  .client-arena-copy p:not(.section-kicker) {
    font-size: 16px;
    max-width: 34ch;
  }

  .client-legend {
    justify-content: flex-start;
    justify-items: start;
    gap: 6px;
  }

  .client-legend span {
    min-height: 26px;
    padding: 5px 7px 6px;
    border-width: 2px;
    font-size: 10px;
    box-shadow: 3px 3px 0 var(--orange);
  }

  .client-stage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(68px, auto);
    gap: 6px;
    min-height: 0;
    margin-top: 4px;
    padding: 18px 10px 14px;
    border-width: 4px;
    background:
      linear-gradient(90deg, rgba(49, 0, 255, 0.035) 0 1px, transparent 1px),
      linear-gradient(0deg, rgba(49, 0, 255, 0.035) 0 1px, transparent 1px),
      var(--bone);
    background-size: 16px 16px, 16px 16px, auto;
    box-shadow: none;
  }

  .client-stage.is-physics-wall {
    display: block;
    height: clamp(440px, 78vh, 590px);
    min-height: 440px;
    padding: 12px;
    touch-action: none;
  }

  .client-hint {
    display: none;
  }

  .client-token {
    grid-column: span 2;
    width: 100%;
    min-height: 68px;
    padding: 7px;
    border-width: 0;
    box-shadow: none;
    font-size: clamp(15px, 5.1vw, 21px);
    transform: none;
  }

  .client-token[data-size="wide"],
  .client-token[data-size="hero"] {
    grid-column: span 2;
  }

  .client-token[data-client="borusan-holding"],
  .client-token[data-client="metro-istanbul"],
  .client-token[data-client="clara-hygienics"],
  .client-token[data-client="solaris-istanbul"],
  .client-token[data-client="fatihlyfe"],
  .client-token[data-client="capcut"],
  .client-token[data-client="shein"],
  .client-token[data-client="pippit"],
  .client-token[data-client="verdent"],
  .client-token[data-client="higgsfield"],
  .client-token[data-client="dreamina"] {
    grid-column: span 4;
  }

  .client-token[data-size="badge"],
  .client-token[data-size="compact"],
  .client-token[data-shape="round"] {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 78px;
  }

  .client-token[data-kind="side"] {
    font-size: clamp(12px, 3.9vw, 16px);
  }

  .client-logo-frame {
    min-height: 0;
  }

  .client-token img {
    max-width: 92%;
    max-height: 58px;
  }

  .client-token[data-size="badge"] img,
  .client-token[data-size="compact"] img {
    max-width: 90%;
    max-height: 58px;
  }

  .client-token[data-client="iklim-haber"] img,
  .client-token[data-client="bozcaada-belediyesi"] img,
  .client-token[data-client="chill-cactus-studio"] img,
  .client-token[data-client="morrie-content-studio"] img,
  .client-token[data-client="astralime-creative"] img {
    max-width: 88%;
    max-height: 62px;
  }

  .client-token[data-client="ekoiq"] img,
  .client-token[data-client="fatihlyfe"] img,
  .client-token[data-client="capcut"] img,
  .client-token[data-client="pippit"] img,
  .client-token[data-client="verdent"] img,
  .client-token[data-client="higgsfield"] img,
  .client-token[data-client="dreamina"] img {
    max-width: 92%;
    max-height: 58px;
  }

  .client-token[data-shape="square"] img {
    max-width: 86%;
    max-height: 60px;
  }

  .client-token[data-shape="round"] img {
    max-width: 84%;
    max-height: 60px;
  }

  .client-logo-frame {
    width: var(--logo-frame-w, max-content);
    height: var(--logo-frame-h, auto);
  }

  .client-logo-frame img {
    max-width: min(var(--logo-img-w, 150px), calc(100% - 10px)) !important;
    max-height: min(var(--logo-img-h, 60px), calc(100% - 10px)) !important;
  }

}

/* Behance archive beacon: anchored to the project heading, not the card grid. */
body[data-page="projects"] .dossier-head {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(28px, 5vw, 84px);
}

.behance-badge {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(92px, 8vw, 128px);
  aspect-ratio: 1;
  overflow: hidden;
  color: var(--yellow);
  background: var(--ink);
  border: 6px solid var(--yellow);
  box-shadow: 10px 10px 0 var(--orange), 15px 15px 0 var(--deep-blue);
  transform: rotate(3deg);
  animation: behance-badge-wobble 4.8s ease-in-out infinite;
}

.behance-badge::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  background: linear-gradient(115deg, transparent 39%, rgba(255, 255, 255, 0.78) 47%, rgba(255, 255, 255, 0.78) 52%, transparent 60%);
  transform: translateX(-130%);
  animation: behance-badge-shine 4.8s steps(8, end) infinite;
}

.behance-badge svg {
  width: 62%;
  height: 62%;
  fill: currentColor;
}

.behance-badge:hover,
.behance-badge:focus-visible {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--white);
  outline: 4px solid var(--orange);
  outline-offset: 5px;
}

@keyframes behance-badge-wobble {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  35% { transform: rotate(-2deg) translateY(-4px); }
  68% { transform: rotate(4deg) translateY(2px); }
}

@keyframes behance-badge-shine {
  0%, 68% { transform: translateX(-130%); }
  88%, 100% { transform: translateX(130%); }
}

@media (max-width: 760px) {
  body[data-page="projects"] .dossier-head {
    grid-template-columns: minmax(0, 1fr) clamp(68px, 20vw, 86px);
    column-gap: 18px;
  }

  .behance-badge {
    width: clamp(68px, 20vw, 86px);
    border-width: 4px;
    box-shadow: 6px 6px 0 var(--orange), 10px 10px 0 var(--deep-blue);
  }
}

@media (prefers-reduced-motion: reduce) {
  .behance-badge,
  .behance-badge::after {
    animation: none;
  }
}

/* Final project-heading placement: compact Behance mark at the far right. */
body[data-page="projects"] .dossier-head {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  padding-right: clamp(74px, 6vw, 94px);
}

body[data-page="projects"] .dossier-head .behance-badge {
  position: absolute;
  top: 50%;
  right: 0;
  justify-self: auto;
  width: clamp(56px, 4vw, 64px);
  transform: translateY(-50%) rotate(2deg);
}

@media (max-width: 760px) {
  body[data-page="projects"] .dossier-head {
    display: block;
    grid-template-columns: none;
    padding-right: 62px;
  }

  body[data-page="projects"] .dossier-head .behance-badge {
    width: 50px;
  }
}

/* Compact official Behance mark at the far edge of the project heading. */
body[data-page="projects"] .dossier-head {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  padding-right: clamp(76px, 7vw, 104px);
}

body[data-page="projects"] .dossier-head .behance-badge {
  position: absolute;
  top: 50%;
  right: 0;
  width: clamp(58px, 4.6vw, 68px);
  border: 4px solid var(--bone);
  background: #0057ff;
  box-shadow: 5px 5px 0 var(--orange);
  transform: translateY(-50%) rotate(2deg);
}

body[data-page="projects"] .dossier-head .behance-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body[data-page="projects"] .dossier-head .behance-badge:hover,
body[data-page="projects"] .dossier-head .behance-badge:focus-visible {
  background: #0057ff;
  border-color: var(--white);
  box-shadow: 7px 7px 0 var(--orange);
}

@media (max-width: 760px) {
  body[data-page="projects"] .dossier-head {
    display: block;
    padding-right: 66px;
  }

  body[data-page="projects"] .dossier-head .behance-badge {
    width: 52px;
  }
}

/* not: dekoratif loop'lar bilinçli olarak açık bırakıldı */

/* ---- home: seçili işler ---- */

.dossier-lede {
  max-width: 560px;
  margin: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.45;
  opacity: 0.85;
}

.dossier-more {
  justify-self: start;
  display: inline-block;
  margin-top: clamp(24px, 3vw, 40px);
  padding: 12px 22px 10px;
  color: var(--ink);
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-family: var(--font-action);
  font-size: clamp(17px, 1.7vw, 24px);
  text-decoration: none;
  transition: transform 120ms steps(2, end), box-shadow 120ms steps(2, end);
}

.dossier-more:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--orange);
  color: var(--white);
}

/* ---- home: mehmagic band ---- */

.mehmagic-band {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(48px, 6.5vw, 90px) var(--edge);
  background: var(--bone);
  border-bottom: var(--border);
}

.mehmagic-band-figure {
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 26px);
  background: var(--yellow);
  border: var(--border);
  box-shadow: 10px 10px 0 var(--ink);
}

.mehmagic-band-figure img {
  width: auto;
  height: clamp(240px, 30vw, 420px);
  max-width: 100%;
  object-fit: contain;
}

.mehmagic-band-copy {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  justify-items: start;
}

.mehmagic-band-copy h2 {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.85;
}

.mehmagic-band-copy p:not(.section-kicker) {
  max-width: 520px;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.5;
}

.mehmagic-band-link {
  padding: 10px 18px 8px;
  color: var(--white);
  background: var(--blue);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  font-family: var(--font-action);
  font-size: clamp(16px, 1.6vw, 22px);
  text-decoration: none;
  transition: transform 120ms steps(2, end), box-shadow 120ms steps(2, end);
}

.mehmagic-band-link:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--orange);
}









@media (max-width: 760px) {
  .mehmagic-band {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 42px 56px;
  }

  .mehmagic-band-figure {
    justify-self: center;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .mehmagic-band-figure img {
    height: clamp(200px, 52vw, 300px);
  }


  .dossier-more,
  .mehmagic-band-link {
    font-size: 18px;
  }
}

/* ---- animasyon paketi: bölüm geneli ---- */

/* seçili işler: kartlar sırayla girsin */
.project-proof-grid .project-proof-card:nth-child(1) { --reveal-delay: 0ms; }
.project-proof-grid .project-proof-card:nth-child(2) { --reveal-delay: 110ms; }
.project-proof-grid .project-proof-card:nth-child(3) { --reveal-delay: 220ms; }
.project-proof-grid .project-proof-card:nth-child(4) { --reveal-delay: 330ms; }
.project-proof-grid .project-proof-card:nth-child(5) { --reveal-delay: 440ms; }

/* loadout kartları da sırayla */
.lab-grid .lab-card:nth-child(1) { --reveal-delay: 0ms; }
.lab-grid .lab-card:nth-child(2) { --reveal-delay: 110ms; }
.lab-grid .lab-card:nth-child(3) { --reveal-delay: 220ms; }
.lab-grid .lab-card:nth-child(4) { --reveal-delay: 330ms; }

/* mehmagic bandı: karakter hafifçe nefes alsın, kutu sallansın */
@keyframes mehmagic-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes mehmagic-frame-tilt {
  0%, 100% { transform: rotate(-0.6deg); }
  50% { transform: rotate(0.6deg); }
}

.mehmagic-band-figure {
  animation: mehmagic-frame-tilt 7s ease-in-out infinite;
}

.mehmagic-band-figure img {
  animation: mehmagic-bob 3.6s ease-in-out infinite;
}

/* butonlarda dürtme oku */
@keyframes nudge-arrow {
  0%, 70%, 100% { transform: translateX(0); }
  80% { transform: translateX(5px); }
  90% { transform: translateX(1px); }
}

.dossier-more,
.mehmagic-band-link {
  overflow: hidden;
}

.dossier-more::after,
.mehmagic-band-link::after {
  content: "→";
  display: inline-block;
  margin-left: 10px;
  transition: transform 160ms steps(2, end);
}

.dossier-more:not(:hover)::after,
.mehmagic-band-link:not(:hover)::after {
  animation: nudge-arrow 3.4s steps(3, end) infinite;
}

.dossier-more:hover::after,
.mehmagic-band-link:hover::after {
  transform: translateX(4px);
}


.cv-process.is-visible li:nth-child(1) { transition-delay: 80ms; }
.cv-process.is-visible li:nth-child(2) { transition-delay: 220ms; }
.cv-process.is-visible li:nth-child(3) { transition-delay: 360ms; }
.cv-process.is-visible li:nth-child(4) { transition-delay: 500ms; }

.cv-process.is-visible li {
  opacity: 1;
  transform: translateY(0);
}


/* filtre butonları: basınca zıplasın */
.case-filter button {
  transition: transform 130ms steps(2, end), background 130ms steps(2, end), color 130ms steps(2, end);
}

.case-filter button:hover {
  transform: translateY(-3px) rotate(-1deg);
}

.case-filter button:active {
  transform: translateY(2px) scale(0.96);
}

/* footer: mail linki canlansın */
.footer-action a {
  display: inline-block;
  transition: transform 140ms steps(2, end), color 140ms steps(2, end);
}

.footer-action a:hover {
  transform: translateY(-4px) rotate(-1.2deg);
}



/* Keep this branded loop independent from optional reduced-motion polish. */


/* ---- stilistik paket ---- */

/* retro ticker bandı */
.ticker {
  overflow: hidden;
  padding: 10px 0 12px;
  background: var(--ink);
  border-bottom: var(--border);
  transform: translateZ(0);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-roll var(--ticker-duration, 22s) linear infinite;
  transform: translate3d(0, 0, 0);
}

.ticker-track span {
  flex: none;
  padding-right: 0;
  color: var(--yellow);
  font-family: var(--font-action);
  font-size: clamp(16px, 1.8vw, 26px);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-roll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(var(--ticker-distance, 50%) * -1), 0, 0); }
}

/* section kicker: yanıp sönen imleç */
.section-kicker::after {
  content: "▮";
  margin-left: 6px;
  animation: kicker-blink 1.1s steps(2, end) infinite;
}

@keyframes kicker-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* seçim rengi */
::selection {
  background: var(--blue);
  color: var(--yellow);
}

/* retro scrollbar */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: var(--bone);
  border-left: 3px solid var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border: 3px solid var(--ink);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--orange);
}

/* mehmagic bandı: dönen yıldız aksanı */
.mehmagic-band {
  position: relative;
  overflow: hidden;
}

.mehmagic-band::after {
  content: "";
  position: absolute;
  right: clamp(20px, 6vw, 90px);
  top: clamp(18px, 4vw, 60px);
  width: clamp(40px, 6vw, 84px);
  aspect-ratio: 1;
  background: url("./assets/brand/8star.svg") center / contain no-repeat;
  animation: star-spin 9s steps(12, end) infinite;
  pointer-events: none;
}

@keyframes star-spin {
  to { transform: rotate(360deg); }
}

/* proje kartı: kapak üstünde tarama çizgisi */
.project-proof-cover {
  position: relative;
  overflow: hidden;
}

.project-proof-card:hover .project-proof-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0 46%, rgba(240, 237, 223, 0.35) 48% 52%, transparent 54%);
  animation: scanline 900ms steps(6, end) infinite;
  pointer-events: none;
}

@keyframes scanline {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

/* footer başlığı hover'da sıkışıp açılsın */
.footer-action h2 {
  transition: letter-spacing 200ms steps(3, end), color 200ms steps(3, end);
}

.footer-action:hover h2 {
  letter-spacing: 0.04em;
  color: var(--orange);
}



/* hero tags: sırayla hafif zıplama */
@keyframes tag-hop {
  0%, 88%, 100% { transform: translateY(0); }
  92% { transform: translateY(-6px) rotate(-2deg); }
  96% { transform: translateY(1px); }
}

.hero-tags span:nth-child(1) { animation: tag-hop 5.2s steps(3, end) 0s infinite; }
.hero-tags span:nth-child(2) { animation: tag-hop 5.2s steps(3, end) 1.3s infinite; }
.hero-tags span:nth-child(3) { animation: tag-hop 5.2s steps(3, end) 2.6s infinite; }
.hero-tags span:nth-child(4) { animation: tag-hop 5.2s steps(3, end) 3.9s infinite; }

/* client legend: nokta nabzı */
.client-legend span {
  animation: legend-pulse 2.4s steps(2, end) infinite;
}

.client-legend span:nth-child(2) { animation-delay: 0.8s; }
.client-legend span:nth-child(3) { animation-delay: 1.6s; }

@keyframes legend-pulse {
  0%, 90%, 100% { opacity: 1; }
  95% { opacity: 0.55; }
}


/* ---- ekstra loop paketi ---- */

/* kart gecikmeleri 12 karta kadar */
.project-proof-grid .project-proof-card:nth-child(n + 6) { --reveal-delay: 100ms; }
.project-proof-grid .project-proof-card:nth-child(2n + 6) { --reveal-delay: 200ms; }
.project-proof-grid .project-proof-card:nth-child(3n + 6) { --reveal-delay: 300ms; }

/* dossier baslik seridi kaysin */
.dossier-head::after {
  animation: stripe-roll 1.4s linear infinite;
}

@keyframes stripe-roll {
  from { background-position: 0 0; }
  to { background-position: 48px 0; }
}

/* hero callout MAX nabzi */
.hero-callout strong {
  display: inline-block;
  animation: max-pulse 1.8s steps(3, end) infinite;
}

@keyframes max-pulse {
  0%, 78%, 100% { transform: scale(1); }
  86% { transform: scale(1.18) rotate(-2deg); }
  94% { transform: scale(0.98); }
}

/* mehmagic band basligi hafif sallanma */
.mehmagic-band-copy h2 {
  animation: mehmagic-frame-tilt 6s ease-in-out infinite;
  transform-origin: left bottom;
}

/* lab kart ikonlari yuzsun */
.lab-icon img {
  animation: mehmagic-bob 4.4s ease-in-out infinite;
}

.lab-card:nth-child(2) .lab-icon img { animation-delay: 1.1s; }
.lab-card:nth-child(3) .lab-icon img { animation-delay: 2.2s; }
.lab-card:nth-child(4) .lab-icon img { animation-delay: 3.3s; }

/* sfx toggle ON isigi */
.sfx-toggle.is-active i {
  animation: none;
}

/* ---- mehmagic refleks testi ---- */

.mehmagic-game {
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.mehmagic-game-head {
  display: grid;
  gap: 8px;
  max-width: 640px;
}

.mehmagic-game-head h2 {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 0.9;
}

.mehmagic-game-head p:not(.section-kicker) {
  margin: 0;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.5;
}

.mehmagic-game-stage {
  --mehmagic-shift-x: 0px;
  --mehmagic-shift-y: 0px;
  position: relative;
  min-height: clamp(380px, 46vw, 560px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.09) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.09) 0 1px, transparent 1px),
    var(--yellow);
  background-size: 26px 26px, 26px 26px, auto;
  border: var(--border);
  box-shadow: 12px 12px 0 var(--ink);
  cursor: crosshair;
}

.mehmagic-game-stage > img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  height: 86%;
  transform: translateX(-50%) translate(var(--mehmagic-shift-x), var(--mehmagic-shift-y));
  pointer-events: none;
}

.mehmagic-game-hud {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 3;
  display: grid;
  gap: 4px;
  padding: 8px 12px;
  color: var(--yellow);
  background: var(--ink);
  border: 3px solid var(--blue);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.mehmagic-game-star {
  position: absolute;
  z-index: 4;
  width: clamp(44px, 6vw, 64px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: url("./assets/brand/8star.svg") center / contain no-repeat;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: star-spin 3s steps(12, end) infinite, star-pop 220ms steps(4, end) both;
  filter: drop-shadow(4px 4px 0 var(--ink));
}

@keyframes star-pop {
  from { scale: 0; }
  to { scale: 1; }
}

.mehmagic-game-panel {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  gap: 14px;
  justify-items: center;
  background: rgba(17, 17, 42, 0.42);
}

.mehmagic-game-panel[hidden] {
  display: none;
}

.mehmagic-game-result {
  padding: 10px 20px;
  color: var(--yellow);
  background: var(--ink);
  border: 4px solid var(--blue);
  font-family: var(--font-action);
  font-size: clamp(22px, 3vw, 38px);
  animation: star-pop 260ms steps(4, end) both;
}

.mehmagic-game-start {
  padding: 14px 26px 12px;
  color: var(--white);
  background: var(--blue);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  font-family: var(--font-action);
  font-size: clamp(18px, 2vw, 28px);
  cursor: pointer;
  transition: transform 120ms steps(2, end), box-shadow 120ms steps(2, end), background 120ms steps(2, end);
}

.mehmagic-game-start:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--orange);
}

@media (max-width: 760px) {
  .mehmagic-game-stage {
    min-height: 340px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .mehmagic-game-stage > img {
    height: 78%;
  }
}

/* ---- CV dil secimi ---- */

.cv-dialog {
  width: min(520px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  overflow: visible;
}

.cv-dialog::backdrop {
  background: rgba(17, 17, 42, 0.62);
  backdrop-filter: blur(3px);
}

.cv-dialog-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.09) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.09) 0 1px, transparent 1px),
    var(--bone);
  background-size: 20px 20px, 20px 20px, auto;
  border: 5px solid var(--blue);
  box-shadow: 10px 10px 0 var(--orange);
}

.cv-dialog-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0 0 3px;
  color: var(--white);
  background: var(--orange);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--blue);
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.cv-dialog-close:hover,
.cv-dialog-close:focus-visible {
  color: var(--yellow);
  background: var(--blue);
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.cv-dialog-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.cv-dialog-options a {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 16px 14px 17px;
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
  text-decoration: none;
  transition: transform 140ms steps(2, end), color 140ms steps(2, end), background 140ms steps(2, end), box-shadow 140ms steps(2, end);
}

.cv-dialog-options a:nth-child(2) {
  box-shadow: 6px 6px 0 var(--orange);
}

.cv-dialog-options strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 400;
  line-height: 0.9;
}

.cv-dialog-options a:hover,
.cv-dialog-options a:focus-visible {
  color: var(--white);
  background: var(--blue);
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--orange);
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.cv-dialog-options a:hover strong,
.cv-dialog-options a:focus-visible strong {
  color: var(--yellow);
}

@media (max-width: 430px) {
  .cv-dialog {
    width: calc(100vw - 24px);
  }

  .cv-dialog-panel {
    padding: 18px 16px 20px;
  }

  .cv-dialog-options {
    gap: 9px;
  }

  .cv-dialog-options a {
    padding: 14px 10px 15px;
  }
}

/* ---- refleks testi v2: manuel çevirme ---- */

.mehmagic-game-stage {
  cursor: grab;
  touch-action: none;
}

.mehmagic-game-stage.is-dragging {
  cursor: grabbing;
}

.mehmagic-game-stage:focus-visible {
  outline: 4px dashed var(--blue);
  outline-offset: -10px;
}

.mehmagic-game-instructions {
  max-width: 380px;
  margin: 0;
  padding: 8px 14px;
  text-align: center;
  color: var(--bone);
  background: var(--ink);
  border: 3px solid var(--blue);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.45;
}

.mehmagic-game-hint {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- ticker: gerçek yıldız + kusursuz loop ---- */

.ticker-track {
  will-change: transform;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding-right: clamp(14px, 2vw, 26px);
}

.ticker-track span i {
  font-style: normal;
  white-space: nowrap;
}

.ticker-track span img {
  width: clamp(16px, 1.8vw, 26px);
  height: auto;
  animation: star-spin 7s steps(12, end) infinite;
}

/* ---- refleks testi v3: radar halkası + bakış ışını ---- */

.mehmagic-game-stage {
  --gaze: 0deg;
}

.mehmagic-game-stage > img {
  height: 56%;
  bottom: auto;
  top: 47%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.mehmagic-game-orbit {
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: 1;
  transform: translate(-50%, -50%);
  border: 3px dashed rgba(49, 0, 255, 0.45);
  border-radius: 50%;
  background:
    conic-gradient(
      from calc(var(--gaze) - 16deg),
      rgba(255, 107, 0, 0.42) 0 32deg,
      transparent 32deg
    );
  pointer-events: none;
  transition: background 80ms steps(2, end);
}

.mehmagic-game-stage.is-near .mehmagic-game-orbit {
  border-color: var(--orange);
  background:
    conic-gradient(
      from calc(var(--gaze) - 16deg),
      rgba(255, 107, 0, 0.68) 0 32deg,
      transparent 32deg
    );
}

.mehmagic-game-star {
  z-index: 3;
  width: clamp(52px, 7vw, 76px);
  background-image: url("./assets/brand/star.png");
  transition: scale 120ms steps(2, end);
}

.mehmagic-game-stage.is-near .mehmagic-game-star {
  scale: 1.3;
}

@media (max-width: 760px) {
  .mehmagic-game-stage > img {
    height: 50%;
  }
}

/* ---- kartlar küçüldü: düşük çözünürlüklü kapaklar daha iyi görünsün ---- */

.project-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: 10px;
}

.project-proof-card {
  min-height: 150px;
  border-width: 4px;
  box-shadow: 6px 6px 0 var(--ink);
}

.project-proof-card strong {
  font-size: clamp(18px, 1.8vw, 26px);
}

.home-dossier .project-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(170px, auto);
}

@media (max-width: 980px) {
  .project-proof-grid,
  .home-dossier .project-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-proof-grid,
  .home-dossier .project-proof-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Blizzkrieg yerine Hitchcut: yeni eklenen yerlerde ---- */

.dossier-more,
.mehmagic-band-link,
.ticker-track span,
.mehmagic-game-result,
.mehmagic-game-start {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}



@media (max-width: 760px) {
}

@media (max-width: 430px) {




}



/* ---- profil kartı: yatay, kısa, okunur ---- */

.cv-id-card {
  align-content: center;
  min-height: clamp(220px, 23vw, 320px);
}




@media (max-width: 760px) {


}

@media (max-width: 430px) {

}

/* ---- tipografi düzeltmesi: gövde metinleri display fontundan çıkar ---- */

main p:not(.section-kicker):not(.kicker),
.cv-list span,
.project-proof-copy small,
.lab-card p {
  font-family: var(--font-body);
}

main p:not(.section-kicker):not(.kicker) {
  line-height: 1.55;
}

.kicker,
.section-kicker {
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- hero sol taraf: sadeleşme sonrası ferahlık ---- */

.hero-copy {
  display: grid;
  gap: clamp(16px, 2.2vw, 26px);
  justify-items: start;
}

.hero-lede {
  max-width: 480px;
}

/* soldaki dağınık yıldızları sağa topla */
.hero-chaos span:nth-child(1),
.hero-chaos span:nth-child(2) {
  display: none;
}

/* ---- oyun v4: halka/ışın gitti ---- */

.mehmagic-game-orbit {
  display: none;
}

.mehmagic-game-stage {
  cursor: crosshair;
}

.mehmagic-game-stage.is-dragging {
  cursor: crosshair;
}

/* ---- sayfa geçişi: mavi perde ---- */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--blue);
  transform: translateY(-102%);
  pointer-events: none;
}

body:not(.loader-lock)::before {
  animation: page-wipe-out 420ms steps(6, end) both;
}

body.page-leave::before {
  animation: page-wipe-in 260ms steps(5, end) both;
}

@keyframes page-wipe-out {
  from { transform: translateY(0); }
  to { transform: translateY(102%); }
}

@keyframes page-wipe-in {
  from { transform: translateY(-102%); }
  to { transform: translateY(0); }
}

/* ---- tipografi: kicker TT Firs Neue, gövde medium, vurgular bold ---- */

.kicker,
.section-kicker {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-lede,
main p:not(.section-kicker):not(.kicker) {
  font-weight: 500;
}

main p strong,
.hero-lede strong {
  font-weight: 700;
}

/* ---- ticker: hover'da da aksın ---- */

.ticker:hover .ticker-track {
  animation-play-state: running;
}

/* ---- iş kartları: hepsi eşit, fontlar okunur ---- */

.project-proof-grid,
.home-dossier .project-proof-grid {
  grid-auto-rows: auto;
}

.project-proof-card,
.project-proof-primary {
  grid-row: auto;
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.project-proof-card span,
.project-proof-card small {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.project-proof-card strong,
.project-proof-primary strong {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

/* ---- sayfa geçişi: hedef sayfanın hero rengiyle ---- */

body::before {
  background: var(--wipe-color, var(--blue));
}

body[data-page="home"] {
  --wipe-color: var(--yellow);
}

body[data-page="projects"] {
  --wipe-color: var(--deep-blue);
}

body[data-page="about"] {
  --wipe-color: var(--bone);
}

/* hero lede: geniş aksın, CTA'lar yukarı çıksın */
.hero-lede {
  max-width: 640px;
}

/* ---- paragraflar geniş, hero üstten kompakt ---- */

.hero-lede {
  max-width: 760px;
  margin-top: clamp(14px, 1.8vw, 24px);
}

main p:not(.section-kicker):not(.kicker) {
  max-width: 760px;
}

.hero {
  padding-top: clamp(20px, 3vw, 44px);
  padding-bottom: clamp(28px, 4vw, 56px);
  min-height: 0;
  align-items: start;
}

.hero-copy {
  gap: clamp(10px, 1.4vw, 18px);
}

.hero-wordmark {
  font-size: clamp(64px, 9.5vw, 150px);
}

.hero-cta-row {
  margin-top: clamp(10px, 1.4vw, 20px);
}

/* ---- behance modal ---- */

body.behance-lock {
  cursor: progress;
}

.behance-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 34px);
  pointer-events: none;
}

.behance-modal[hidden] {
  display: none;
}

.behance-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 42, 0.28);
  backdrop-filter: blur(2px);
}

.behance-modal-panel {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(620px, 100%);
  padding: 18px 20px 20px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.08) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.08) 0 1px, transparent 1px),
    var(--bone);
  background-size: 18px 18px, 18px 18px, auto;
  border: 5px solid var(--blue);
  box-shadow: 8px 8px 0 var(--orange), 14px 14px 0 var(--ink);
  transform: rotate(-1.2deg);
  animation: behance-popup-in 220ms steps(4, end) both;
  pointer-events: auto;
}

.behance-cover-deck {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 500px);
  height: clamp(150px, 24vw, 218px);
  margin: 4px auto 2px;
  isolation: isolate;
  perspective: 900px;
}

.behance-cover-deck::before {
  content: "";
  position: absolute;
  inset: auto 8% 6px;
  height: 34px;
  background: rgba(17, 17, 42, 0.2);
  filter: blur(16px);
  transform: scaleX(0.82);
  pointer-events: none;
}

.behance-deck-card {
  --deck-x: calc(var(--deck-offset, 0) * 34px);
  --deck-rot: calc(var(--deck-offset, 0) * 4deg);
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: var(--deck-depth, 1);
  display: grid;
  place-items: center;
  width: clamp(118px, 20vw, 164px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  color: var(--yellow);
  background: var(--ink);
  border: 4px solid var(--bone);
  box-shadow:
    0 0 0 2px var(--blue),
    7px 7px 0 var(--orange);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 0.9;
  text-align: center;
  transform:
    translate(calc(-50% + var(--deck-x)), -50%)
    rotate(var(--deck-rot));
  transform-origin: 50% 72%;
  transition:
    transform 180ms steps(4, end),
    z-index 0ms linear,
    box-shadow 180ms steps(4, end);
  cursor: pointer;
}

.behance-deck-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02);
}

.behance-deck-card.is-active {
  z-index: 20;
  border-color: var(--yellow);
  transform: translate(-50%, -50%) rotate(0deg);
}

.behance-deck-card.is-peek,
.behance-deck-card:hover {
  z-index: 40;
  box-shadow:
    0 0 0 2px var(--blue),
    10px 10px 0 var(--orange);
  transform:
    translate(calc(-50% + (var(--deck-offset, 0) * 18px)), calc(-50% - 12px))
    rotate(calc(var(--deck-offset, 0) * 1.2deg))
    scale(1.04);
}

.behance-cover-deck:has(.behance-deck-card:hover) .behance-deck-card:not(:hover):not(.is-peek) {
  transform:
    translate(calc(-50% + (var(--deck-offset, 0) * 42px)), -50%)
    rotate(calc(var(--deck-offset, 0) * 5deg))
    scale(1);
}

.behance-modal-title {
  min-width: 0;
  overflow: hidden;
  width: 100%;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 0.92;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.behance-modal-message {
  font-family: var(--font-display);
  font-size: clamp(23px, 3.8vw, 34px);
  line-height: 0.88;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}

.behance-modal-subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink);
}

.behance-modal-progress {
  display: block;
  width: 100%;
  height: 10px;
  margin-top: 6px;
  background: var(--blue);
  border: 3px solid var(--ink);
  transform-origin: left center;
  animation: behance-popup-progress 1.65s steps(8, end) both;
}

@keyframes behance-popup-in {
  0% {
    opacity: 0;
    transform: translateY(14px) rotate(-4deg) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-1.2deg) scale(1);
  }
}

@keyframes behance-popup-progress {
  0% {
    transform: scaleX(0.08);
  }

  100% {
    transform: scaleX(1);
  }
}

.project-proof-cover.is-cover-missing {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px),
    var(--blue);
  background-size: 18px 18px, auto;
}

.project-proof-cover.is-cover-missing::before {
  content: attr(data-cover-label) " / Behance";
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 46px);
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.project-proof-cover.is-cover-missing img {
  display: none;
}

@media (max-width: 760px) {
  .behance-modal {
    align-items: end;
  }

  .behance-modal-panel {
    width: 100%;
    transform: none;
    animation-name: behance-popup-mobile-in;
  }

  .behance-cover-deck {
    height: 142px;
  }

  .behance-deck-card {
    --deck-x: calc(var(--deck-offset, 0) * 24px);
    width: min(26vw, 104px);
    border-width: 3px;
  }

  .behance-deck-card:nth-child(n + 6) {
    display: none;
  }
}

@keyframes behance-popup-mobile-in {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- box polish: aynı oyun paneli dili ---- */

.sfx-toggle,
.language-switch button {
  min-height: 34px;
  padding: 0 9px 2px;
  border-width: 3px;
  box-shadow: 4px 4px 0 var(--blue);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 100%, 6px 100%);
  transform: none;
}

.sfx-toggle {
  gap: 5px;
}

.sfx-toggle i {
  min-width: 26px;
  min-height: 15px;
  border: 2px solid currentColor;
  font-size: 10px;
}

.sfx-toggle.is-active,
.language-switch button.is-active {
  box-shadow: 4px 4px 0 var(--orange);
}

.language-switch {
  gap: 7px;
}

.hero-cta-row {
  align-items: center;
  gap: 14px;
}

.hero-primary,
.hero-secondary {
  min-height: 54px;
  padding: 10px 20px 13px;
  border-width: 5px;
  font-size: clamp(23px, 2.35vw, 32px);
  box-shadow: 7px 7px 0 var(--blue);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 10px 100%);
  animation: none;
}

.hero-primary {
  min-width: min(100%, 300px);
}

.hero-secondary {
  min-width: min(100%, 268px);
  box-shadow: 7px 7px 0 var(--orange);
}

.hero-primary:hover,
.hero-secondary:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--ink);
}




@media (max-width: 760px) {
  .sfx-toggle,
  .language-switch button {
    min-height: 28px;
    padding-inline: 7px;
    box-shadow: 3px 3px 0 var(--blue);
  }

  .sfx-toggle.is-active,
  .language-switch button.is-active {
    box-shadow: 3px 3px 0 var(--orange);
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border-width: 4px;
    box-shadow: 6px 6px 0 var(--blue);
  }

  .hero-secondary {
    box-shadow: 6px 6px 0 var(--orange);
  }

}

/* ---- final cleanup: kutular yamuk degil, arcade panel ---- */

.sfx-toggle,
.language-switch button {
  min-height: 32px;
  padding: 0 10px 2px;
  color: var(--blue);
  background: var(--bone);
  border: 3px solid var(--blue);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--orange);
  clip-path: none;
  transform: none;
  transition: transform 140ms steps(2, end), box-shadow 140ms steps(2, end), color 140ms steps(2, end), background 140ms steps(2, end);
}

.sfx-toggle {
  gap: 6px;
}

.sfx-toggle i {
  min-width: 24px;
  min-height: 14px;
  color: var(--blue);
  background: var(--yellow);
  border: 2px solid currentColor;
  font-size: 10px;
  line-height: 1;
}

.sfx-toggle.is-active,
.language-switch button.is-active {
  color: var(--yellow);
  background: var(--blue);
  box-shadow: 3px 3px 0 var(--orange);
}

.sfx-toggle:not(.is-active) i {
  color: var(--blue);
  background: var(--yellow);
}

.language-switch {
  gap: 6px;
}

.sfx-toggle:hover,
.language-switch button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--orange);
}

.contact-button {
  width: 180px;
  min-height: 46px;
  padding: 7px 16px 10px;
  border: 4px solid var(--orange);
  border-radius: 0;
  color: var(--white);
  background: var(--orange);
  box-shadow: 6px 6px 0 var(--blue);
  clip-path: none;
  transform: none;
}

.contact-button:hover,
.contact-button:focus-visible {
  color: var(--yellow);
  background: var(--blue);
  border-color: var(--blue);
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--orange);
}

.hero-cta-row {
  align-items: center;
  gap: 12px;
}

.hero-primary,
.hero-secondary {
  min-height: 56px;
  padding: 11px 22px 14px;
  border: 5px solid var(--blue);
  border-radius: 0;
  font-size: clamp(23px, 2.2vw, 30px);
  line-height: 0.88;
  box-shadow: 8px 8px 0 var(--blue);
  clip-path: none;
  animation: none;
  transform: none;
  transition: transform 150ms steps(2, end), box-shadow 150ms steps(2, end), color 150ms steps(2, end), background 150ms steps(2, end);
}

.hero-primary {
  min-width: min(100%, 300px);
  color: var(--white);
  background: var(--orange);
  box-shadow: 8px 8px 0 var(--blue);
}

.hero-secondary {
  min-width: min(100%, 270px);
  color: var(--blue);
  background: var(--bone);
  box-shadow: 8px 8px 0 var(--orange);
}

.hero-primary:hover,
.hero-secondary:hover {
  color: var(--yellow);
  background: var(--blue);
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--ink);
}






@media (max-width: 760px) {
  .sfx-toggle,
  .language-switch button {
    min-height: 28px;
    padding-inline: 7px;
    border-width: 2px;
    box-shadow: 3px 3px 0 var(--orange);
    clip-path: none;
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border-width: 4px;
    box-shadow: 6px 6px 0 var(--blue);
    clip-path: none;
  }

  .hero-secondary {
    box-shadow: 6px 6px 0 var(--orange);
  }

}

/* ---- about cleanup: kartlar daha sakin, yatay ve okunur ---- */

.about-cv {
  gap: clamp(18px, 2vw, 28px);
}

.cv-id-card.about-panel {
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.62fr);
  grid-template-areas:
    "level photo"
    "line photo"
    "mail photo";
  align-items: center;
  min-height: 0;
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--yellow);
  border: 5px solid var(--blue);
  box-shadow: 8px 8px 0 var(--orange);
  transform: none;
}

.cv-id-card.about-panel:hover {
  --card-shift: 0px;
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--orange);
}

.about-panel span {
  padding: 7px 10px 8px;
  border: 3px solid var(--blue);
  color: var(--yellow);
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--orange);
}




.about-panel a {
  min-height: 46px;
  padding: 9px 14px 11px;
  border: 4px solid var(--blue);
  border-radius: 0;
  color: var(--yellow);
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
  clip-path: none;
  transform: none;
}










@media (max-width: 900px) {

}

@media (max-width: 760px) {
  .about-cv {
    gap: 16px;
  }

  .cv-id-card.about-panel {
    grid-template-columns: minmax(0, 1fr) minmax(112px, 34%);
    padding: 15px;
    border-width: 4px;
    box-shadow: 6px 6px 0 var(--orange);
  }



  .about-panel a {
    min-height: 38px;
    border-width: 3px;
    box-shadow: 4px 4px 0 var(--orange);
  }



}

/* ---- project covers: Behance kart mantigi ---- */

.project-proof-grid,
.home-dossier .project-proof-grid {
  align-items: start;
  grid-auto-rows: auto;
}

.project-proof-card,
.project-proof-primary {
  aspect-ratio: 404 / 316;
  min-height: 0;
  padding: 0;
}

.project-proof-card::before {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(12, 13, 19, 0) 0%, rgba(12, 13, 19, 0.05) 42%, rgba(12, 13, 19, 0.62) 72%, rgba(12, 13, 19, 0.86) 100%),
    linear-gradient(90deg, rgba(49, 0, 255, 0.12), transparent 38%);
}

.project-proof-card::after {
  z-index: 3;
  width: 92px;
  right: -24px;
  bottom: -24px;
  opacity: 0.16;
}

.project-proof-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.project-proof-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.project-proof-card:hover .project-proof-cover img {
  transform: none;
}

.project-proof-copy {
  align-self: end;
  gap: clamp(4px, 0.65vw, 8px);
  padding: clamp(12px, 1.45vw, 20px);
  text-shadow: 2px 2px 0 rgba(12, 13, 19, 0.42);
}

.project-proof-copy::before {
  padding: 4px 6px 5px;
  font-size: clamp(7px, 0.72vw, 10px);
}

.project-proof-card span,
.project-proof-card small {
  max-width: 100%;
  font-size: clamp(8px, 0.78vw, 11px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.project-proof-card strong,
.project-proof-primary strong {
  max-width: 100%;
  font-size: clamp(20px, 1.95vw, 30px);
  line-height: 0.92;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .project-proof-card,
  .project-proof-primary {
    aspect-ratio: 404 / 316;
    min-height: 0;
  }

  .project-proof-copy {
    padding: 14px;
  }
}

/* ---- hover paketi v2 ---- */

/* proje kartları: kalk + hafif dön, etiket renklensin */
.project-proof-card:hover {
  transform: translate(-3px, -6px) rotate(-0.6deg);
  box-shadow: 12px 14px 0 var(--ink);
}

.project-proof-card:hover span {
  color: var(--orange);
}

.project-proof-card:hover strong {
  text-shadow: 3px 3px 0 var(--blue);
}

/* lab kartları: kalk + ikon selam versin */
.lab-card:hover {
  transform: translateY(-6px) rotate(0.5deg);
}

.lab-card:hover .lab-icon img {
  animation: icon-greet 480ms steps(4, end);
}

@keyframes icon-greet {
  0% { transform: rotate(0); }
  30% { transform: rotate(-14deg) scale(1.12); }
  65% { transform: rotate(10deg) scale(1.06); }
  100% { transform: rotate(0); }
}

/* hero CTA: bas-çek hissi */
.hero-primary:hover,
.hero-secondary:hover {
  transform: translateY(-4px) rotate(-1deg) scale(1.03);
}

.hero-primary:active,
.hero-secondary:active,
.dossier-more:active,
.mehmagic-band-link:active,
.mehmagic-game-start:active {
  transform: translate(4px, 4px) scale(0.97);
  box-shadow: 0 0 0 var(--ink);
}

/* nav iletişim butonu: renk takla */
.contact-button {
  transition: transform 130ms steps(2, end), background 130ms steps(2, end), color 130ms steps(2, end), box-shadow 130ms steps(2, end);
}

.contact-button:hover {
  transform: rotate(-2deg) scale(1.05);
  background: var(--orange);
  color: var(--white);
}

/* dil + sfx düğmeleri: bas hissi */
.language-switch button:hover,
.sfx-toggle:hover {
  transform: translateY(-2px);
}

.language-switch button:active,
.sfx-toggle:active {
  transform: translateY(1px) scale(0.94);
}

/* mehmagic bandı: hover'da karakter büyüsün, çerçeve doğrulsun */
.mehmagic-band-figure:hover {
  animation-play-state: paused;
  transform: rotate(0);
}

.mehmagic-band-figure:hover img {
  scale: 1.06;
  transition: scale 160ms steps(3, end);
}





/* oyun yıldızı: hover'da parla */
.mehmagic-game-star:hover {
  scale: 1.18;
  filter: drop-shadow(4px 4px 0 var(--ink)) drop-shadow(0 0 10px rgba(255, 107, 0, 0.8));
}


/* ticker: hover'da renk ters yüz */
.ticker:hover {
  background: var(--blue);
}

.ticker:hover .ticker-track span i {
  color: var(--bone);
}

/* ---- pattern paketi: bölümlere doku ---- */

/* seçili işler / arşiv (mavi bölüm): çapraz ince çizgiler */
.dossier {
  background-color: #070baa;
  background-image: url("./assets/brand/pattern.svg");
  background-repeat: repeat;
  background-position: center top;
  background-size: max(960px, 100vw) auto;
}

/* mehmagic bandı: halftone nokta dokusu */
.mehmagic-band {
  background-image:
    radial-gradient(rgba(49, 0, 255, 0.13) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  background-color: var(--bone);
}

/* footer: dama tahtası şeridi üstte */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background:
    repeating-conic-gradient(var(--yellow) 0 25%, var(--ink) 25% 50%);
  background-size: 28px 28px;
  pointer-events: none;
}

/* work-lab (loadout): seyrek artı işaretleri */
.work-lab {
  background-image:
    linear-gradient(rgba(17, 17, 42, 0.09) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(17, 17, 42, 0.09) 1.5px, transparent 1.5px);
  background-size: 64px 64px, 64px 64px;
  background-position: 31px 24px, 24px 31px;
}


/* oyun sahnesi: yıldız serpiştirme */
.mehmagic-game-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/brand/8star.svg");
  background-size: 34px;
  background-repeat: space;
  opacity: 0.06;
  pointer-events: none;
}

/* ---- hero: "this is / mehmagic" + float mehmagic geri ---- */

.hero {
  align-items: center;
  min-height: min(calc(100svh - 72px), 780px);
}

.hero-wordmark {
  font-size: clamp(58px, 8.2vw, 132px);
}

.word-line-small {
  font-size: 0.34em;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.word-gap {
  display: inline-block;
  width: 0.5em;
}

/* ---- loadout: temiz 2x2 ---- */

.lab-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
}

.lab-card,
.lab-card-large,
.lab-card-tall,
.lab-card-orange,
.lab-card-blue {
  grid-column: auto;
  grid-row: auto;
  min-height: 240px;
}

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

/* ---- filtre butonları: temiz kutular ---- */

.case-filter button {
  padding: 9px 16px 10px;
  color: var(--ink);
  background: var(--bone);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.case-filter button:hover {
  transform: translateY(-3px);
  background: var(--white);
  color: var(--blue);
}

.case-filter button.is-active {
  color: var(--blue);
  background: var(--yellow);
  transform: none;
}

.case-filter button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ---- footer mail: sade güçlü blok ---- */

.footer-action a {
  min-height: 0;
  padding: 16px 26px 18px;
  color: var(--bone);
  background: var(--blue);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 32px);
  transform: none;
}

.footer-action a:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--orange);
  color: var(--white);
}

/* eğik kesimleri de düzelt */
.case-filter button,
.footer-action a {
  clip-path: none;
  font-family: var(--font-body);
}

.footer-action a {
  font-family: var(--font-display);
}

.case-filter button:hover,
.case-filter button:focus-visible {
  box-shadow: 4px 7px 0 var(--ink);
}

.case-filter button.is-active {
  box-shadow: 4px 4px 0 var(--ink);
}


/* save file rozeti ve file etiketleri kaldırıldı */
.project-proof-copy::before {
  content: none;
}

.project-proof-copy > span {
  display: none;
}

/* ticker: hover'da renk değişmesin */
.ticker:hover {
  background: var(--ink);
}

.ticker:hover .ticker-track span i {
  color: var(--yellow);
}

/* logo gölgeleri kapalı */
.client-logo-frame {
  box-shadow: none;
}



/* ---- geniş boşluklar: başlıklar alanı kullansın ---- */

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
}

.section-head h1,
.section-head h2 {
  max-width: 20ch;
  font-size: clamp(34px, 4.6vw, 64px);
}

.dossier-head h1,
.dossier-head h2 {
  max-width: 24ch;
}

.mehmagic-game-head {
  max-width: 860px;
}

/* oyun başlığı: FM kartıyla aynı hizada, kontrollü satır kırılımı */
.mehmagic-game {
  align-items: start;
}

.mehmagic-game-head {
  width: min(100%, 980px);
  max-width: 980px;
  box-sizing: border-box;
  justify-self: start;
  justify-items: start;
  text-align: left;
  padding-inline: clamp(16px, 3vw, 48px);
}

.mehmagic-game-head h2 {
  max-width: 15ch;
  text-wrap: balance;
}

.mehmagic-game-head p:not(.section-kicker) {
  max-width: 58ch;
}

@media (max-width: 760px) {
  .mehmagic-game-head {
    width: 100%;
  }

  .mehmagic-game-head h2 {
    max-width: 11ch;
    font-size: clamp(30px, 11vw, 46px);
    line-height: 0.92;
  }
}

.client-arena-copy h2,
.mehmagic-band-copy h2 {
  max-width: 18ch;
}

/* ---- profil: temiz tema ---- */

/* sarı kart yerine bone kart */
.cv-id-card,
.about-panel {
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}















.about-cv .cv-id-card.about-panel {
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

/* ---- denge paketi: sağ boşlukları doldur ---- */

/* hero başlık satırları */
.word-line-mid {
  font-size: 0.56em;
  color: var(--ink);
}

/* section-head: başlık sol, paragraf sağ */
.section-head {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: end;
}

.section-head .section-kicker {
  grid-column: 1 / -1;
}

.section-head-side {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.55;
}

/* referanslar: başlık sol, açıklama+etiketler sağ */
.client-arena-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: end;
}

.client-arena-copy .section-kicker {
  grid-column: 1 / -1;
}

.client-arena-copy p:not(.section-kicker) {
  margin: 0;
}

.client-arena-copy .client-instruction {
  margin-top: clamp(10px, 1.2vw, 14px);
}

.client-legend {
  justify-content: flex-start;
}

/* mehmagic bandı: metin genişlesin, dikey ortalansın */
.mehmagic-band {
  grid-template-columns: minmax(200px, 340px) minmax(0, 1fr);
}

.mehmagic-band-copy {
  align-content: center;
  max-width: 760px;
}

.mehmagic-band-copy p:not(.section-kicker) {
  max-width: 640px;
}

/* footer: başlık sol, iletişim sağ */
.footer-action {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
}

.footer-action h2 {
  margin: 0;
}

.footer-contact {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-mail {
  padding: 14px 22px 16px;
  color: var(--bone);
  background: var(--blue);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 28px);
  text-decoration: none;
  transition: transform 130ms steps(2, end), box-shadow 130ms steps(2, end), background 130ms steps(2, end);
}

.footer-mail:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--orange);
  color: var(--white);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-socials a {
  padding: 7px 13px 8px;
  color: var(--ink);
  background: transparent;
  border: 3px solid var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 120ms steps(2, end), background 120ms steps(2, end), color 120ms steps(2, end);
}

.footer-socials a:hover {
  transform: translateY(-3px);
  background: var(--ink);
  color: var(--yellow);
}

@media (max-width: 860px) {
  .section-head,
  .client-arena-copy,
  .footer-action {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ================ PROFİL v2: temiz sayfa ================ */

.profile {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(42px, 5.5vw, 80px) var(--edge) clamp(56px, 7vw, 100px);
  background:
    radial-gradient(rgba(49, 0, 255, 0.08) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  background-color: var(--bone);
  border-bottom: var(--border);
}

/* hero: isim sol, foto sağ */
.profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 360px);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.profile-intro {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
  justify-items: start;
}

.profile-intro h1 {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 96px);
  line-height: 0.88;
}

.profile-lede {
  max-width: 640px;
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.55;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.profile-actions a,
.profile-actions button {
  appearance: none;
  padding: 10px 18px 11px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 120ms steps(2, end), box-shadow 120ms steps(2, end), background 120ms steps(2, end), color 120ms steps(2, end);
}

.profile-actions a:hover,
.profile-actions button:hover {
  transform: translateY(-3px);
  background: var(--yellow);
  color: var(--blue);
}

.profile-actions a:active,
.profile-actions button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.profile-actions .is-mail {
  color: var(--bone);
  background: var(--blue);
}

.profile-actions .is-mail:hover {
  background: var(--orange);
  color: var(--white);
}

.profile-email-address {
  display: inline-block;
  width: fit-content;
  margin-top: 10px;
  color: var(--blue);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  transition: color 120ms steps(2, end), transform 120ms steps(2, end);
}

.profile-email-address:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.profile-email-address:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}

.profile-actions button:focus-visible,
.profile-actions a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.profile-photo {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
}

.profile-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.profile-photo figcaption {
  padding: 8px 12px;
  color: var(--bone);
  background: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* sayı şeridi */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-stats > div {
  display: grid;
  gap: 4px;
  padding: clamp(14px, 1.8vw, 22px);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.profile-stats strong {
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.9;
}

.profile-stats span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* içerik bloğu: deneyim geniş, eğitim + odak yan */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  gap: 10px;
  align-items: start;
}

.profile-block {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.profile-block h2 {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 0.9;
}

.profile-block-sub {
  margin-top: 8px !important;
}

.profile-timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-timeline li {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(17, 17, 42, 0.12);
}

.profile-timeline li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.pt-head strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(14px, 1.3vw, 17px);
}

.pt-head span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.profile-timeline em {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.5;
  opacity: 0.85;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-tags span {
  padding: 6px 11px 7px;
  border: 2px solid var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pstep;
}

.profile-steps li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  gap: 8px;
  counter-increment: pstep;
}

.profile-steps li::before {
  content: "0" counter(pstep);
  color: var(--orange);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
}

.profile-steps strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
}

.profile-steps em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  opacity: 0.75;
}

@media (max-width: 980px) {
  .profile-hero {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    max-width: 320px;
  }

  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* ---- footer sosyal: ikon kutuları ---- */

.footer-socials a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--yellow);
  background: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(17, 17, 42, 0.35);
}

.footer-socials a:hover {
  transform: translateY(-3px) rotate(-3deg);
  background: var(--orange);
  color: var(--white);
}

.footer-socials a:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 rgba(17, 17, 42, 0.35);
}

.si-text {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  transform: translateY(-1px);
}

.footer-socials svg {
  display: block;
}

/* ---- FM stat ekranı ---- */

.fm-board {
  display: grid;
  gap: clamp(12px, 1.8vw, 20px);
  padding: clamp(20px, 2.8vw, 34px);
  color: var(--bone);
  background: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--blue);
}

.fm-board-head {
  display: grid;
  gap: 8px;
}

.fm-board-head h2 {
  margin: 0;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 0.9;
}

.fm-board-head p:not(.section-kicker) {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(11px, 0.95vw, 12.5px) !important;
  line-height: 1.35;
  opacity: 0.8;
}

.fm-board .section-kicker {
  color: var(--orange);
}

.fm-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.fm-col h3 {
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--blue);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fm-col ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm-col li {
  --fm-stat-bg: rgba(240, 237, 223, 0.06);
  --fm-stat-fill: rgba(240, 237, 223, 0.18);
  --fm-stat-value: var(--bone);
  --fm-stat-value-bg: rgba(240, 237, 223, 0.14);
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12px, 1.1vw, 14px);
  background: var(--fm-stat-bg);
}

.fm-col li.is-high {
  --fm-stat-bg: rgba(28, 185, 111, 0.08);
  --fm-stat-fill: rgba(28, 185, 111, 0.46);
  --fm-stat-value: #071b12;
  --fm-stat-value-bg: #2ee083;
}

.fm-col li.is-mid {
  --fm-stat-bg: rgba(236, 196, 58, 0.08);
  --fm-stat-fill: rgba(236, 196, 58, 0.44);
  --fm-stat-value: #1d1602;
  --fm-stat-value-bg: #f2cf49;
}

.fm-col li.is-low {
  --fm-stat-bg: rgba(201, 66, 66, 0.08);
  --fm-stat-fill: rgba(201, 66, 66, 0.34);
  --fm-stat-value: #fff2f2;
  --fm-stat-value-bg: #9d3030;
}

.fm-col li::before {
  content: "";
  position: absolute;
  inset: 0;
  right: calc(100% - (var(--stat) / 20 * 100%));
  background: var(--fm-stat-fill);
}

.fm-col li > * {
  position: relative;
}

.fm-col strong {
  min-width: 26px;
  text-align: center;
  padding: 1px 4px 2px;
  font-weight: 700;
  font-size: 13px;
  color: var(--fm-stat-value);
  background: var(--fm-stat-value-bg);
}

@media (max-width: 860px) {
  .fm-cols {
    grid-template-columns: 1fr;
  }
}

/* ================ MOBİL İYİLEŞTİRME PAKETİ ================ */

@media (max-width: 760px) {
  /* --- nav: 4 kat kule yerine 2 kompakt satır --- */
  .nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    row-gap: 8px;
    column-gap: 8px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .brand-logo {
    width: 76px;
    height: auto;
  }

  .nav-controls {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: end;
    display: flex;
    width: auto;
    gap: 6px;
  }

  .nav-links {
    grid-column: 1 / 3;
    grid-row: 2;
    display: flex;
    gap: 6px;
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    text-align: center;
    padding: 8px 6px;
    font-size: 14px;
  }

  .contact-button {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* --- mehmagic bandı: tek kolon, taşma biter --- */
  .mehmagic-band {
    grid-template-columns: 1fr;
  }

  .mehmagic-band-copy {
    max-width: 100%;
  }

  .mehmagic-band-copy h2,
  .mehmagic-band-copy p:not(.section-kicker) {
    max-width: 100%;
  }

  /* --- filtre: katlanmak yerine yatay kaydırma şeridi --- */
  .case-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .case-filter::-webkit-scrollbar {
    display: none;
  }

  .case-filter button {
    flex: none;
  }

  /* --- referans duvarı: taşan token kırpılsın --- */
  .client-stage {
    overflow: hidden;
  }

  /* --- hero: dikey sıkılaştırma --- */
  .hero {
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 36px;
    gap: 18px;
  }

  .hero-wordmark {
    font-size: clamp(52px, 15vw, 72px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* --- iki kolonlu başlıklar zaten 1fr; boşluk küçült --- */
  .section-head,
  .client-arena-copy,
  .footer-action {
    gap: 14px;
  }

  /* --- profil --- */
  .profile-photo {
    margin: 0 auto;
    width: min(78vw, 300px);
  }

  .profile-stats {
    gap: 8px;
  }

  .profile-stats > div {
    padding: 12px;
  }

  .profile-actions {
    width: 100%;
  }

  .profile-actions a {
    flex: 1 1 auto;
    text-align: center;
  }

  /* --- fm board --- */
  .fm-board {
    padding: 16px;
    box-shadow: 5px 5px 0 var(--blue);
  }

  .fm-col li {
    font-size: 13px;
  }

  /* --- oyun sahnesi: parmak için --- */
  .mehmagic-game-star {
    width: 64px;
  }

  .mehmagic-game-hud {
    left: 10px;
    top: 10px;
    font-size: 11px;
  }

  /* --- footer --- */
  .footer-mail {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
  }

  .footer-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* --- ticker --- */
  .ticker-track span {
    gap: 12px;
    padding-right: 12px;
  }

  .ticker-track span i {
    font-size: 15px;
  }

  /* --- kartlar: kapak oranı mobile uygun --- */
  .project-proof-card,
  .project-proof-primary {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 400px) {
  .nav-links a {
    font-size: 13px;
    padding: 7px 4px;
  }

  .hero-wordmark {
    font-size: 15vw;
  }
}

@media (max-width: 760px) {
  .nav-links a {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    padding: 8px 2px;
    font-size: 13px;
    letter-spacing: 0;
  }
}

/* ---- mizanpaj: tek kelimelik satır artığı olmasın ---- */

main p,
.hero-lede,
.profile-lede,
.dossier-lede,
.section-head-side,
.mehmagic-band-copy p,
.profile-timeline em,
.footer-action h2 {
  text-wrap: pretty;
}

h1,
h2,
h3,
.profile-intro h1,
.dossier-head h1,
.dossier-head h2 {
  text-wrap: balance;
}

/* ---- hero: boş player kutusu kaldırıldı ---- */

.hero-copy::before {
  content: none;
}

/* ---- referanslar başlığı: sağlam iki kolon ---- */

.client-arena-copy {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(20px, 4vw, 72px);
  margin-bottom: clamp(18px, 2.6vw, 32px);
}

.client-arena-copy h2 {
  max-width: none;
  margin: 0;
}

.client-arena-copy p:not(.section-kicker) {
  max-width: 56ch;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
}

.client-legend {
  display: none;
}

@media (max-width: 860px) {
  .client-arena-copy {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }
}

/* referanslar basligi: duz akis - baslik ustte, aciklama altta */
.client-arena-copy {
  display: block;
  margin-bottom: clamp(18px, 2.6vw, 32px);
}

.client-arena-copy h2 {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 0.9;
  word-break: normal;
  overflow-wrap: normal;
}

.client-arena-copy p:not(.section-kicker) {
  max-width: 72ch;
  margin: 0;
}

.client-arena-copy .section-kicker {
  margin-bottom: 14px;
}

/* ---- "tut, sürükle, fırlat": sağda rozet ---- */

.client-arena {
  position: relative;
}

.client-instruction {
  position: absolute;
  right: var(--edge);
  top: clamp(42px, 5.5vw, 76px);
  z-index: 2;
  max-width: 240px;
  margin: 0;
  padding: 14px 18px;
  color: var(--bone) !important;
  background: var(--ink);
  border: 3px solid var(--blue);
  box-shadow: 6px 6px 0 var(--blue);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  transform: rotate(2.5deg);
  animation: badge-sway 5s ease-in-out infinite;
}

.client-instruction::before {
  content: "★";
  position: absolute;
  left: -12px;
  top: -14px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  transform: rotate(-10deg);
}

@keyframes badge-sway {
  0%, 100% { transform: rotate(2.5deg); }
  50% { transform: rotate(-1.5deg); }
}

@media (max-width: 860px) {
  .client-instruction {
    position: static;
    max-width: 100%;
    margin-top: 14px;
    transform: none;
    animation: none;
  }
}

/* rozet: özgüllük düzeltmesi */
.client-arena .client-arena-copy .client-instruction {
  position: absolute;
  right: var(--edge);
  left: auto;
  top: clamp(42px, 5.5vw, 76px);
  max-width: 240px;
  margin: 0;
  padding: 14px 18px;
  color: var(--bone);
  background: var(--ink);
  border: 3px solid var(--blue);
  box-shadow: 6px 6px 0 var(--blue);
  transform: rotate(2.5deg);
}

@media (max-width: 860px) {
  .client-arena .client-arena-copy .client-instruction {
    position: static;
    max-width: 100%;
    margin-top: 14px;
    transform: none;
  }
}

/* rozet artık doğrudan arena çocuğu */
.client-arena > .client-instruction {
  position: absolute;
  right: var(--edge);
  left: auto;
  top: clamp(42px, 5.5vw, 76px);
  z-index: 3;
  max-width: 240px;
  margin: 0;
  padding: 14px 18px;
  color: var(--bone);
  background: var(--ink);
  border: 3px solid var(--blue);
  box-shadow: 6px 6px 0 var(--blue);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.5;
  transform: rotate(2.5deg);
}

@media (max-width: 860px) {
  .client-arena > .client-instruction {
    position: static;
    max-width: 100%;
    margin: 14px 0 0;
    transform: none;
  }
}

/* ---- tipografi: satır çakışmaları + paragraf boşlukları ---- */

h1, h2, h3 {
  line-height: 1.04;
}

.hero-wordmark {
  line-height: 0.95;
}

.profile-intro h1,
.client-arena-copy h2,
.mehmagic-band-copy h2,
.dossier-head h1,
.dossier-head h2,
.section-head h1,
.section-head h2,
.footer-action h2,
.mehmagic-game-head h2,
.fm-board-head h2 {
  line-height: 1.02;
}

main p {
  margin-block: 0 0.85em;
}

main p:last-child,
main .section-kicker {
  margin-block-end: 0;
}

.section-kicker {
  margin-block: 0 10px;
}

/* ---- mail: zarf/pul tasarimi - ikonlardan ayrissin ---- */

.footer-mail {
  position: relative;
  display: inline-grid;
  gap: 6px;
  padding: 16px 20px 14px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  font-family: var(--font-body);
  text-decoration: none;
  transform: rotate(-1.2deg);
  transition: transform 140ms steps(2, end), box-shadow 140ms steps(2, end);
}

/* zarf içi kesikli çizgi */
.footer-mail::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px dashed rgba(17, 17, 42, 0.35);
  pointer-events: none;
}

/* pul köşesi */
.footer-mail::after {
  content: "✉";
  position: absolute;
  right: -12px;
  top: -14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--bone);
  background: var(--blue);
  border: 3px solid var(--ink);
  font-size: 15px;
  transform: rotate(6deg);
}

.footer-mail-tab {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.footer-mail-addr {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1;
  color: var(--ink);
}

.footer-mail:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 9px 11px 0 var(--ink);
  background: var(--white);
  color: var(--ink);
}

.footer-mail:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

/* zarf: özgüllük garantisi */
.site-footer .footer-contact .footer-mail {
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
  transform: rotate(-1.2deg);
  font-family: var(--font-body);
}

.site-footer .footer-contact .footer-mail:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 9px 11px 0 var(--ink);
  background: var(--white);
  color: var(--ink);
}

/* ---- logo plakaları: marka renkli koleksiyon kartı ---- */

.client-logo-frame {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.client-token[data-plate-shape="round"] .client-logo-frame {
  border: 0;
  box-shadow: none;
}

.client-stage.is-physics-wall .client-token:hover .client-logo-frame {
  border-color: transparent;
  box-shadow: none;
}

/* ---- iletişim: mail sağ üst, ikonlar sağ alt ---- */

.footer-action {
  align-items: stretch;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  height: 100%;
}

.footer-socials {
  justify-content: flex-end;
}

@media (max-width: 860px) {
  .footer-contact {
    align-items: flex-start;
    gap: 20px;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

/* ================ GÖVDE METNİ SİSTEMİ (tek kural seti) ================ */

/* standart gövde: 15-18px, 1.6 satır, maks 68ch */
main p:not(.section-kicker):not(.kicker):not(.client-instruction) {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 68ch;
}

/* lead metinler bir kademe büyük */
.hero-lede,
.profile-lede,
.dossier-lede,
.mehmagic-band-copy p:not(.section-kicker) {
  font-size: clamp(16px, 1.5vw, 19px) !important;
}

/* kart alt yazıları: 10px cücelikten kurtar */
.project-proof-copy small {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

/* loadout kart paragrafları */
.lab-card p {
  font-size: clamp(14px, 1.2vw, 16px) !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  max-width: 46ch;
}

/* profil zaman çizelgesi açıklamaları */
.profile-timeline em {
  line-height: 1.55;
}

/* fm istatistik satırları */
.fm-col li {
  line-height: 1.4;
}

/* rozet ve küçük bilgi metinleri kendi boylarında kalır */

/* ---- mehmagic evrim zinciri ---- */

.mehmagic-band {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
}

.mehmagic-evolution {
  position: relative;
  display: grid;
  gap: 14px;
  justify-self: end;
  width: min(100%, 420px);
  padding: clamp(16px, 2vw, 24px);
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--ink);
}

.evo-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

.evo-node {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
}

/* düğümler arası kesikli bağ */
.evo-node + .evo-node::before {
  content: "";
  position: absolute;
  left: 31px;
  top: -14px;
  height: 14px;
  border-left: 3px dashed rgba(17, 17, 42, 0.3);
}

.evo-node img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--blue);
  background: var(--white);
}

.evo-node.is-v1 img { border-color: #6b1fe0; }
.evo-node.is-v2 img { border-color: var(--blue); }
.evo-node.is-v3 img { border-color: var(--orange); }

.evo-node.is-v4 img {
  border-color: var(--ink);
  background: var(--yellow);
  object-fit: contain;
  padding: 5px;
}

.evo-node-copy {
  display: grid;
  gap: 2px;
}

.evo-node-copy strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--blue);
}

.evo-node.is-v3 .evo-node-copy strong,
.evo-node.is-v4 .evo-node-copy strong {
  color: var(--orange);
}

.evo-node-copy em {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.8;
}

/* son düğüm nabız atsın */
.evo-node.is-v4 img {
  animation: evo-pulse 3s steps(3, end) infinite;
}

@keyframes evo-pulse {
  0%, 82%, 100% { transform: scale(1); }
  88% { transform: scale(1.08) rotate(-2deg); }
  94% { transform: scale(0.99); }
}

@media (max-width: 860px) {
  .mehmagic-band {
    grid-template-columns: 1fr;
  }

  .mehmagic-evolution {
    justify-self: stretch;
    width: 100%;
  }
}

/* ---- geniş mizanpaj: referanslar, loadout, oyun başlığı ---- */

.client-arena-copy h2 {
  max-width: none;
  font-size: clamp(40px, 6vw, 84px);
}

.client-arena-copy p:not(.section-kicker) {
  max-width: 88ch !important;
  font-size: clamp(16px, 1.5vw, 19px) !important;
}

/* loadout başlığı: iki kolon yerine düz geniş akış */
.section-head {
  display: block;
  max-width: none;
}

.section-head h1,
.section-head h2 {
  max-width: none;
  margin: 0 0 14px;
  font-size: clamp(40px, 6vw, 84px);
}

.section-head-side {
  max-width: 88ch !important;
  font-size: clamp(16px, 1.5vw, 19px) !important;
  margin: 0;
}

/* oyun başlığı da aynı genişlikte */
.mehmagic-game-head {
  max-width: none;
}

.mehmagic-game-head h2 {
  max-width: none;
  font-size: clamp(34px, 4.6vw, 64px);
}

.mehmagic-game-head p:not(.section-kicker) {
  max-width: 88ch !important;
  font-style: normal;
  font-size: clamp(16px, 1.5vw, 19px) !important;
  opacity: 1;
}

/* referanslar: üst grid kaldırıldı, tam genişlik akış */
.client-arena {
  display: block;
}

.client-arena-copy {
  width: 100%;
}

.client-arena-copy {
  max-width: none;
}

/* ---- evrim v2: geniş alan, büyük düğümler, 2x2 ---- */

.mehmagic-band {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.mehmagic-evolution {
  width: 100%;
  justify-self: stretch;
  padding: clamp(18px, 2.4vw, 30px);
}

.evo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.evo-node {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 10px;
  margin: 0;
  text-align: center;
}

.evo-node + .evo-node::before {
  content: none;
}

/* orijinal halkalar gorselde - css cercevesi yok, daire maskesi yeter */
.evo-node > img {
  width: clamp(110px, 11vw, 150px);
  height: clamp(110px, 11vw, 150px);
  border-radius: 50%;
  border: 0;
  object-fit: cover;
  background: var(--white);
}

/* güncel hal: eğik beyaz kare + kafa + yıldız (verdiğin kompozisyon) */
.evo-current {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(110px, 11vw, 150px);
  height: clamp(110px, 11vw, 150px);
}

.evo-current::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: var(--white);
  border: 3px solid var(--blue);
  box-shadow: 5px 5px 0 var(--blue);
  transform: rotate(-4deg);
}

.evo-current-head {
  position: relative;
  width: 78%;
  transform: rotate(3deg);
}

.evo-current-star {
  position: absolute;
  right: -2%;
  top: -2%;
  width: 34%;
  animation: star-spin 9s steps(12, end) infinite;
}

.evo-node figcaption {
  display: grid;
  gap: 2px;
}

.evo-node figcaption strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
}

.evo-node.is-v3 figcaption strong,
.evo-node.is-v4 figcaption strong {
  color: var(--orange);
}

.evo-node figcaption em {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.8;
  max-width: 22ch;
}

@media (max-width: 860px) {
  .evo-grid {
    gap: 14px;
  }
}

/* sahte kalınlaştırma yasak: font kendi gerçek ağırlıklarıyla render edilir */
body {
  font-synthesis: none;
}

main p strong,
.hero-lede strong,
.profile-lede strong {
  font-weight: 700;
}

/* evrim 2026: verilen kompozisyon, kendi kare sahnesiyle */
.evo-node.is-v4 img {
  border-radius: 14px;
  object-fit: cover;
}

/* ---- evrim daireleri: dördü de eşit, temiz maske ---- */
.evo-node > img,
.evo-node.is-v4 img {
  width: clamp(112px, 11vw, 152px);
  height: clamp(112px, 11vw, 152px);
  border-radius: 50%;
  border: 0;
  padding: 0;
  object-fit: cover;
  background: transparent;
  animation: none;
}

.evo-node.is-v4 img {
  animation: evo-pulse 3s steps(3, end) infinite;
}

/* ---- evrim: dosyalar hazır yuvarlak, maske yok ---- */
.evo-node > img,
.evo-node.is-v4 img {
  width: clamp(120px, 12vw, 164px);
  height: clamp(120px, 12vw, 164px);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  object-fit: contain;
}

.evo-node.is-v4 img {
  animation: evo-pulse 3s steps(3, end) infinite;
}

/* ================ EVRİM YOLU (animasyonlu roadmap) ================ */

.mehmagic-band {
  display: block;
}

.mehmagic-band-copy {
  max-width: 760px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.evo-road {
  width: 100%;
}

.evo-road-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 340;
  min-height: 300px;
}

.evo-road-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* asfalt: çizilerek belir */
.evo-road-base {
  fill: none;
  stroke: var(--ink);
  stroke-width: 30;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.evo-road.is-visible .evo-road-base,
[data-reveal].is-visible .evo-road-base {
  animation: road-draw 1.7s ease-out 0.15s forwards;
}

@keyframes road-draw {
  to { stroke-dashoffset: 0; }
}

/* orta çizgi: akan sarı kesikler */
.evo-road-dash {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 2 20;
  opacity: 0;
}

.evo-road.is-visible .evo-road-dash,
[data-reveal].is-visible .evo-road-dash {
  animation: road-dash-in 0.3s linear 1.6s forwards, road-flow 1.1s linear 1.6s infinite;
}

@keyframes road-dash-in {
  to { opacity: 1; }
}

@keyframes road-flow {
  to { stroke-dashoffset: -22; }
}

/* yol boyunca ilerleyen yıldız */
.evo-road-runner image {
  animation: star-spin 2.4s steps(12, end) infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* duraklar */
.evo-stop {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: clamp(118px, 13vw, 168px);
  margin: 0;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  text-align: center;
}

.evo-stop img {
  width: clamp(96px, 10vw, 132px);
  height: auto;
  filter: drop-shadow(4px 5px 0 rgba(17, 17, 42, 0.28));
}

.evo-stop figcaption {
  display: grid;
  gap: 2px;
  margin-top: 6px;
}

.evo-stop figcaption strong {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
}

.evo-stop.is-v3 figcaption strong,
.evo-stop.is-v4 figcaption strong {
  color: var(--orange);
}

.evo-stop figcaption em {
  display: block;
  margin: 0 auto;
  max-width: 20ch;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.82;
}

/* duraklar sırayla belirsin (yol onlara ulaştıkça) */
.evo-road.is-visible .evo-stop,
[data-reveal].is-visible .evo-stop {
  animation: stop-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
}

.evo-road.is-visible .evo-stop.is-v1 { animation-delay: 0.3s; }
.evo-road.is-visible .evo-stop.is-v2 { animation-delay: 0.75s; }
.evo-road.is-visible .evo-stop.is-v3 { animation-delay: 1.2s; }
.evo-road.is-visible .evo-stop.is-v4 { animation-delay: 1.65s; }

@keyframes stop-pop {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.evo-stop.is-v4 img {
  animation: evo-pulse 3s steps(3, end) 2.2s infinite;
}

/* mobil: yol yerine dikey liste */
@media (max-width: 760px) {
  .evo-road-stage {
    aspect-ratio: auto;
    min-height: 0;
    display: grid;
    gap: 22px;
    padding-left: 20px;
  }

  .evo-road-svg {
    display: none;
  }

  .evo-road-stage::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 20px;
    bottom: 20px;
    border-left: 4px dashed var(--blue);
  }

  .evo-stop {
    position: static;
    transform: none;
    opacity: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    animation: none !important;
  }

  .evo-stop img {
    width: 96px;
  }

  .evo-stop figcaption {
    margin-top: 0;
    justify-items: start;
  }

  .evo-stop figcaption em {
    margin: 0;
    max-width: none;
  }
}


/* ---- evrim yolu v2: keskin köşeli + yazının sağında ---- */

.mehmagic-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.mehmagic-band-copy {
  margin-bottom: 0;
}

.evo-road-stage {
  aspect-ratio: 520 / 470;
  overflow: visible;
}

/* keskin köşe: yuvarlak birleşim yerine miter */
.evo-road-base {
  stroke-width: 26;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 10;
}

.evo-road-dash {
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

@media (max-width: 860px) {
  .mehmagic-band {
    grid-template-columns: 1fr;
  }

  .mehmagic-band-copy {
    margin-bottom: clamp(20px, 3vw, 32px);
  }
}

/* ---- hero: eski player etiketi tamamen kapali ---- */

.hero-copy::before {
  content: none !important;
  display: none !important;
}

/* ---- nav controls: dil butonlari SFX'ten ayri okunsun ---- */

.language-switch {
  gap: 7px;
}

.language-switch button {
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--orange);
}

.language-switch button.is-active {
  color: var(--white);
  background: #d91f2f;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
}

.language-switch button:hover {
  color: var(--white);
  background: #d91f2f;
  border-color: var(--blue);
  box-shadow: 5px 5px 0 var(--blue);
}

/* ---- section arcade bars: her ana blokta ortak hareketli ayirac ---- */

.section-kicker {
  --section-bar-a: var(--blue);
  --section-bar-b: var(--orange);
  --section-bar-c: var(--yellow);
  --section-bar-shadow: var(--ink);
}

.section-kicker::after {
  content: "";
  display: block;
  width: min(280px, 72vw);
  height: 13px;
  margin-top: 12px;
  margin-left: 0;
  border: 3px solid var(--section-bar-shadow);
  background:
    repeating-linear-gradient(
      90deg,
      var(--section-bar-a) 0 18px,
      var(--section-bar-b) 18px 26px,
      var(--section-bar-c) 26px 42px,
      transparent 42px 48px
    );
  background-size: 48px 100%;
  box-shadow: 5px 5px 0 var(--section-bar-shadow);
  animation: stripe-roll 1.1s linear infinite;
}

.dossier .section-kicker,
.fm-board .section-kicker,
.mehmagic-game .section-kicker {
  --section-bar-a: var(--yellow);
  --section-bar-b: var(--orange);
  --section-bar-c: var(--bone);
  --section-bar-shadow: var(--ink);
}

.client-arena .section-kicker,
.mehmagic-band .section-kicker,
.profile .section-kicker,
.work-lab .section-kicker {
  --section-bar-a: var(--blue);
  --section-bar-b: var(--orange);
  --section-bar-c: var(--yellow);
  --section-bar-shadow: var(--ink);
}

.footer-action .section-kicker {
  --section-bar-a: var(--yellow);
  --section-bar-b: var(--orange);
  --section-bar-c: var(--bone);
  --section-bar-shadow: var(--blue);
}

.profile .fm-board .section-kicker {
  --section-bar-a: var(--yellow);
  --section-bar-b: var(--orange);
  --section-bar-c: var(--bone);
  --section-bar-shadow: var(--ink);
}

/* ---- section arcade bars v2: etiketin degil, govde cumlesinin altinda ---- */

.section-kicker::after {
  content: none !important;
  display: none !important;
}

.client-arena-copy > p:not(.section-kicker):not(.client-instruction)::after,
.dossier-lede::after,
.profile-lede::after,
.fm-board-head > p:not(.section-kicker)::after,
.mehmagic-game-head > p:not(.section-kicker)::after,
.section-head-side::after {
  --section-bar-a: var(--blue);
  --section-bar-b: var(--orange);
  --section-bar-c: var(--yellow);
  --section-bar-shadow: var(--ink);
  content: "";
  display: block;
  width: min(280px, 72vw);
  height: 13px;
  margin-top: 16px;
  border: 3px solid var(--section-bar-shadow);
  background:
    repeating-linear-gradient(
      90deg,
      var(--section-bar-a) 0 18px,
      var(--section-bar-b) 18px 26px,
      var(--section-bar-c) 26px 42px,
      transparent 42px 48px
    );
  background-size: 48px 100%;
  box-shadow: 5px 5px 0 var(--section-bar-shadow);
  animation: stripe-roll 1.1s linear infinite;
}

.fm-board-head > p:not(.section-kicker)::after,
.mehmagic-game-head > p:not(.section-kicker)::after {
  --section-bar-a: var(--yellow);
  --section-bar-b: var(--orange);
  --section-bar-c: var(--bone);
  --section-bar-shadow: var(--ink);
}

.footer-action p:not(.section-kicker)::after {
  --section-bar-a: var(--yellow);
  --section-bar-b: var(--orange);
  --section-bar-c: var(--bone);
  --section-bar-shadow: var(--blue);
}

/* ---- referans havuzu: yuvarlak logo plakalarinda golge yok ---- */

.client-token[data-plate-shape="round"] .client-logo-frame,
.client-stage.is-physics-wall .client-token[data-plate-shape="round"]:hover .client-logo-frame {
  border-bottom-width: 3px;
  box-shadow: none;
}

/* ---- evrim yolu: kompakt ---- */

.mehmagic-band {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

.evo-road-stage {
  max-width: 440px;
  min-height: 0;
  margin-left: auto;
}

.evo-stop {
  width: clamp(96px, 9vw, 124px);
}

.evo-stop img {
  width: clamp(72px, 7vw, 96px);
}

.evo-stop figcaption strong {
  font-size: 13px;
}

.evo-stop figcaption em {
  font-size: 11.5px;
  max-width: 18ch;
}

.evo-road-base {
  stroke-width: 20;
}

.evo-title {
  margin-bottom: 8px;
}

.evo-road-runner image {
  width: 30px;
  height: 30px;
  x: -15px;
  y: -15px;
}

/* ---- evrim yolu v3: snake, köşeli, alanı dolduran ---- */

.evo-road-stage {
  max-width: none;
  width: 100%;
  margin-left: 0;
}

/* evrim yolu: 3 sıra, kompakt oran */
.evo-road-stage {
  aspect-ratio: 520 / 330;
}

/* ---- karakter + evrim: tek çerçeve ---- */

.mehmagic-band {
  display: block;
}

.mehmagic-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.mehmagic-frame .mehmagic-band-copy {
  margin-bottom: 0;
}

.evo-stop {
  width: clamp(112px, 10vw, 142px);
  padding: 9px 8px 10px;
  background: var(--white);
  border: 3px solid var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
}

.evo-stop.is-v2,
.evo-stop.is-v4 {
  border-color: var(--orange);
  box-shadow: 5px 5px 0 var(--blue);
}

.evo-stop img {
  display: block;
  margin: 0 auto;
}

.evo-stop figcaption {
  min-width: 0;
}

@media (max-width: 860px) {
  .mehmagic-frame {
    grid-template-columns: 1fr;
    padding: 0;
    box-shadow: none;
  }

  .evo-stop {
    box-sizing: border-box;
    width: 100%;
    padding: 10px 12px;
    box-shadow: 4px 4px 0 var(--orange);
  }

  .evo-stop.is-v2,
  .evo-stop.is-v4 {
    box-shadow: 4px 4px 0 var(--blue);
  }
}

/* ---- motion v2: arayuz kilidi reveal + fm stat dolumu + level kart rozeti ---- */

[data-reveal] {
  clip-path: inset(0 0 24% 0);
  transition:
    opacity 360ms steps(4, end),
    transform 360ms steps(4, end),
    clip-path 440ms steps(5, end);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  clip-path: inset(0 0 0 0);
}


.project-proof-card {
  position: relative;
}

.project-proof-card::after {
  content: "AÇ →";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 9px 5px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-6px) rotate(3deg);
  transition: opacity 140ms steps(2, end), transform 140ms steps(2, end);
  pointer-events: none;
}

html[lang="en"] .project-proof-card::after {
  content: none;
}

.project-proof-card:hover::after,
.project-proof-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

@media (hover: none) {
  .project-proof-card::after {
    display: none;
  }
}



/* ---- motion v3: gorunur hareket paketi ---- */

@keyframes ui-slide-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-copy .kicker,
.hero-wordmark .word-line > span,
.hero-lede,
.hero-cta-row .hero-primary,
.hero-cta-row .hero-secondary,
.hero-visual {
  opacity: 0;
}

body.boot-complete .hero-copy .kicker { animation: ui-slide-in 300ms steps(3, end) 80ms both; }
body.boot-complete .hero-wordmark .word-line > span { display: inline-block; animation: ui-slide-in 340ms steps(4, end) both; }
.hero-wordmark .word-line:nth-child(1) > span { animation-delay: 220ms; }
.hero-wordmark .word-line:nth-child(2) > span { animation-delay: 320ms; }
.hero-wordmark .word-line:nth-child(3) > span { animation-delay: 420ms; }
body.boot-complete .hero-lede { animation: ui-slide-in 320ms steps(4, end) both 560ms; }
body.boot-complete .hero-cta-row .hero-primary { animation: ui-slide-in 280ms steps(3, end) both 680ms; }
body.boot-complete .hero-cta-row .hero-secondary { animation: ui-slide-in 280ms steps(3, end) both 760ms; }
body.boot-complete .hero-visual { animation: hero-screen-online 480ms steps(6, end) 360ms both; }

@keyframes hero-screen-online {
  0% { opacity: 0; transform: translateX(30px) scale(0.92) rotate(2deg); }
  72% { opacity: 1; transform: translateX(-5px) scale(1.02) rotate(-0.5deg); }
  100% { opacity: 1; transform: translateX(0) scale(1) rotate(0); }
}

/* hero-head idle hareketi zaten mevcut (float-head + head-sway), ustune yazilmadi */

.ticker { position: relative; overflow: hidden; }

.ticker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(240, 237, 223, 0.16) 50%, transparent 58%);
  transform: translateX(-100%);
  animation: ticker-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ticker-sheen {
  0%, 68% { transform: translateX(-110%); }
  90%, 100% { transform: translateX(110%); }
}

.project-proof-cover img { transition: transform 320ms steps(5, end); }
.project-proof-card:hover .project-proof-cover img { transform: scale(1.05); }

.project-proof-copy::after {
  content: "SEÇ";
  justify-self: start;
  margin-top: 7px;
  padding: 4px 8px 5px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--bone);
  box-shadow: 3px 3px 0 var(--orange);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 140ms steps(2, end), transform 140ms steps(2, end);
}

html[lang="en"] .project-proof-copy::after { content: "SELECT"; }

.project-proof-card:hover .project-proof-copy::after,
.project-proof-card:focus-visible .project-proof-copy::after {
  opacity: 1;
  transform: translateY(0);
}

@keyframes token-pop {
  0% { opacity: 0; scale: 0.55; }
  70% { scale: 1.08; }
  100% { opacity: 1; scale: 1; }
}

.client-token .client-logo-frame { animation: token-pop 420ms steps(5, end) both; }
.client-token:nth-child(1) .client-logo-frame { animation-delay: 120ms; }
.client-token:nth-child(2) .client-logo-frame { animation-delay: 200ms; }
.client-token:nth-child(3) .client-logo-frame { animation-delay: 280ms; }
.client-token:nth-child(4) .client-logo-frame { animation-delay: 360ms; }
.client-token:nth-child(5) .client-logo-frame { animation-delay: 440ms; }
.client-token:nth-child(6) .client-logo-frame { animation-delay: 520ms; }
.client-token:nth-child(7) .client-logo-frame { animation-delay: 600ms; }
.client-token:nth-child(8) .client-logo-frame { animation-delay: 680ms; }
.client-token:nth-child(n + 9) .client-logo-frame { animation-delay: 760ms; }

.client-logo-frame { transition: translate 140ms steps(2, end), rotate 140ms steps(2, end); }
.client-token:hover .client-logo-frame { translate: 0 -4px; rotate: -2deg; }

@keyframes evo-idle {
  50% { translate: 0 -5px; }
}

.evo-stop.is-v4 img { animation: evo-idle 3.4s ease-in-out infinite; }

.lab-card { transition: transform 200ms steps(3, end), filter 200ms steps(3, end); }

.lab-card[data-reveal].is-visible {
  animation: slot-ready 360ms steps(5, end) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes slot-ready {
  0% { opacity: 0; transform: translateY(22px) scale(0.94); }
  70% { opacity: 1; transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.lab-card:hover {
  outline: 3px dashed var(--ink);
  outline-offset: -12px;
  animation: slot-select 900ms steps(2, end) infinite;
}

@keyframes slot-select {
  50% { outline-color: transparent; }
}

@keyframes stamp-in {
  0% { opacity: 0; scale: 1.16; }
  100% { opacity: 1; scale: 1; }
}

.footer-action.is-visible h2 { animation: stamp-in 380ms steps(4, end) both 120ms; }

.footer-action.is-visible .footer-contact {
  animation: ui-slide-in 320ms steps(4, end) 300ms both;
}

.footer-mail { transition: translate 140ms steps(2, end), box-shadow 140ms steps(2, end); }
.footer-mail:hover { translate: 2px 2px; }
.footer-mail:hover .footer-mail-tab { background: var(--orange); color: var(--white); }

/* ---- tipografi duzeni v3 ---- */

h1, h2, h3 { text-wrap: balance; }

.hero-lede,
.dossier-lede,
.mehmagic-band p,
.footer-action p {
  line-height: 1.55;
  max-width: 62ch;
}

.footer-mail-addr {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .ticker::after { display: none; }
  .hero-head { animation: none; }
  .hero-wordmark .word-line > span,
  .hero-copy .kicker,
  .hero-lede,
  .hero-cta-row .hero-primary,
  .hero-cta-row .hero-secondary,
  .hero-visual { animation-duration: 220ms; }

  .project-proof-copy::after { display: none; }
}


/* ---- motion v4: imlec etiketi, modal acilisi, save-bar, arsiv kademesi ---- */

.magic-cursor-label {
  position: absolute;
  left: 20px;
  top: 22px;
  padding: 2px 7px 3px;
  color: var(--white);
  background: var(--ink);
  border: 2px solid var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 120ms steps(2, end), transform 120ms steps(2, end);
  pointer-events: none;
}

.magic-cursor:not([data-mode="default"]) .magic-cursor-label {
  opacity: 1;
  transform: translateY(0);
}

.magic-cursor[data-mode="work"] .magic-cursor-label { background: var(--blue); }
.magic-cursor[data-mode="mail"] .magic-cursor-label { background: var(--orange); }
.magic-cursor.is-grab .magic-cursor-label { background: var(--orange); }

@media (hover: none), (pointer: coarse) {
  .magic-cursor-label { display: none; }
}

@keyframes modal-state-in {
  0% { opacity: 0; transform: scale(0.88) translateY(10px); }
  60% { opacity: 1; transform: scale(1.03); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.behance-modal:not([hidden]) .behance-modal-panel {
  animation: modal-state-in 240ms steps(4, end) both;
}

.behance-modal:not([hidden]) .behance-modal-backdrop {
  animation: backdrop-flicker 220ms steps(3, end) both;
}

@keyframes backdrop-flicker {
  0% { opacity: 0; }
  40% { opacity: 0.6; }
  60% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Header already has a clear divider; avoid a second XP-style progress bar. */
.site-header::after {
  content: none;
}

/* arsiv kartlari kademeli acilsin (level select) */
.project-proof-card[data-reveal]:nth-child(2) { --reveal-delay: 60ms; }
.project-proof-card[data-reveal]:nth-child(3) { --reveal-delay: 120ms; }
.project-proof-card[data-reveal]:nth-child(4) { --reveal-delay: 180ms; }
.project-proof-card[data-reveal]:nth-child(4n + 1):not(:first-child) { --reveal-delay: 0ms; }
.project-proof-card[data-reveal]:nth-child(4n + 2) { --reveal-delay: 60ms; }
.project-proof-card[data-reveal]:nth-child(4n + 3) { --reveal-delay: 120ms; }
.project-proof-card[data-reveal]:nth-child(4n) { --reveal-delay: 180ms; }



/* ---- fix: reveal clip'i kalici degil, tek seferlik animasyon (tasan icerik kesilmesin) ---- */

[data-reveal] {
  clip-path: none;
  transition: opacity 360ms steps(4, end), transform 360ms steps(4, end);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  clip-path: none;
  animation: unlock-clip 440ms steps(5, end);
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes unlock-clip {
  from { clip-path: inset(0 0 24% 0); }
  to { clip-path: inset(0 0 0 0); }
}



/* ---- geri alma: kart AC rozeti kaldirildi ---- */

.magic-cursor[data-mode="link"] .magic-cursor-arrow,
.magic-cursor[data-mode="menu"] .magic-cursor-arrow,
.magic-cursor[data-mode="work"] .magic-cursor-arrow,
.magic-cursor[data-mode="mail"] .magic-cursor-arrow {
  opacity: 0;
  transform: translate3d(-2px, -3px, 0) scale(0.6);
}

.project-proof-card::after { content: none; }

/* ---- yeni tutucu el imleci boyutu ---- */
.magic-cursor .magic-cursor-grab {
  width: 40px;
}

/* ---- orta tus (tekerlek) kaydirma imleci ---- */

.magic-cursor .magic-cursor-scroll {
  width: 34px;
  opacity: 0;
  transform: translate3d(-15px, -10px, 0) scale(0.78);
}

.magic-cursor.is-scroll .magic-cursor-arrow,
.magic-cursor.is-scroll .magic-cursor-click,
.magic-cursor.is-scroll .magic-cursor-grab {
  opacity: 0;
}

.magic-cursor.is-scroll .magic-cursor-scroll {
  opacity: 1;
  transform: translate3d(-15px, -10px, 0) scale(1);
  animation: scroll-cursor-pulse 900ms steps(2, end) infinite;
}

@keyframes scroll-cursor-pulse {
  50% { transform: translate3d(-15px, -10px, 0) translateY(3px) scale(1.06); }
}

/* ---- motion v5: sticker rotasyonlari, hazir etiketi, rapor rozeti, basa don ---- */

.client-token:nth-child(3n) .client-logo-frame { rotate: 1.2deg; }
.client-token:nth-child(3n + 1) .client-logo-frame { rotate: -1deg; }
.client-token:nth-child(5n) .client-logo-frame { rotate: 2deg; }
.client-token:hover .client-logo-frame { translate: 0 -4px; rotate: -2.5deg; }

.lab-card { position: relative; }

.lab-card::after {
  content: "HAZIR";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 3px 8px 4px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 140ms steps(2, end);
  pointer-events: none;
}

html[lang="en"] .lab-card::after { content: "READY"; }

.lab-card:hover::after {
  opacity: 1;
  animation: kicker-blink 900ms steps(2, end) infinite;
}

.footer-meta a[href="#top"] {
  display: inline-block;
  transition: translate 140ms steps(2, end);
}

.footer-meta a[href="#top"]::before {
  content: "▲ ";
  color: var(--orange);
}

.footer-meta a[href="#top"]:hover { translate: 0 -3px; }

@media (max-width: 760px) {
  .lab-card::after { display: none; }
}





/* ---- comfort pass: ortak ritim, tipografi ve kontrollu hareket ---- */

.dossier,
.work-lab,
.profile {
  padding-top: clamp(42px, 5vw, 68px);
  padding-bottom: clamp(48px, 5.8vw, 78px);
}

.client-arena,
.mehmagic-band {
  padding-top: clamp(38px, 4.6vw, 62px);
  padding-bottom: clamp(42px, 5vw, 70px);
}

.dossier-head,
.section-head {
  margin-bottom: clamp(20px, 2.6vw, 32px);
}

.dossier-head h1,
.dossier-head h2,
.section-head h1,
.section-head h2,
.client-arena-copy h2,
.mehmagic-band-copy h2,
.profile-intro h1,
.fm-board-head h2 {
  letter-spacing: 0;
  text-wrap: balance;
}

.dossier-head h1,
.dossier-head h2,
.section-head h1,
.section-head h2 {
  font-size: clamp(36px, 4.7vw, 68px);
  line-height: 0.94;
}

main p:not(.section-kicker):not(.kicker):not(.client-instruction),
.project-proof-card small,
.lab-card p,
.profile-timeline em,
.profile-steps em {
  font-family: var(--font-body);
  letter-spacing: 0;
}

main p:not(.section-kicker):not(.kicker):not(.client-instruction) {
  line-height: 1.55;
}

.section-kicker {
  font-size: clamp(10px, 0.82vw, 12px);
  line-height: 1;
  letter-spacing: 0.08em;
}

.project-proof-grid,
.lab-grid {
  gap: 9px;
}

.project-proof-copy {
  gap: 7px;
  padding: clamp(14px, 1.7vw, 22px);
}

.project-proof-card strong,
.project-proof-primary strong {
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 0.94;
}

.project-proof-card small {
  max-width: 34ch;
  font-size: clamp(10px, 0.78vw, 12px);
  font-weight: 700;
  line-height: 1.28;
  text-transform: none;
}

.project-proof-card:hover {
  transform: translate(-2px, -7px) rotate(-0.45deg);
  border-color: var(--yellow);
  box-shadow: 11px 13px 0 var(--orange);
}

.project-proof-card:hover .project-proof-cover img {
  transform: scale(1.045);
}

.lab-card {
  gap: 12px;
  padding: clamp(18px, 2.2vw, 28px);
}

.lab-card h2 {
  line-height: 0.96;
  text-wrap: balance;
}

.lab-card p {
  max-width: 44ch;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.5;
}

.lab-card:hover {
  transform: translateY(-6px) rotate(0.35deg);
  box-shadow: inset 0 0 0 4px currentColor;
}

.client-arena-copy {
  margin-bottom: clamp(16px, 2vw, 26px);
}

.client-stage .client-logo-frame {
  animation: none;
}

.client-stage.is-archive-visible .client-token .client-logo-frame {
  animation: token-pop 430ms steps(5, end) both;
}

.client-stage.is-archive-visible .client-token:nth-child(3n + 1) .client-logo-frame {
  animation-delay: 80ms;
}

.client-stage.is-archive-visible .client-token:nth-child(3n + 2) .client-logo-frame {
  animation-delay: 150ms;
}

.client-stage.is-archive-visible .client-token:nth-child(3n) .client-logo-frame {
  animation-delay: 220ms;
}

.evo-road.is-visible .evo-stop {
  animation-duration: 430ms;
}

.profile {
  gap: clamp(24px, 3vw, 42px);
}

.profile-grid,
.profile-stats {
  gap: 12px;
}

.profile-block,
.profile-stats > div {
  box-shadow: 4px 4px 0 var(--ink);
}

.profile-photo {
  transition: transform 180ms steps(3, end), box-shadow 180ms steps(3, end);
}

.profile-photo:hover {
  transform: translateY(-5px) rotate(0.4deg);
  box-shadow: 13px 14px 0 var(--orange);
}

.fm-col li {
  min-height: 30px;
  line-height: 1.25;
}

.footer-action {
  gap: clamp(24px, 3.5vw, 48px);
  padding-top: clamp(46px, 5vw, 70px);
  padding-bottom: clamp(42px, 4.6vw, 66px);
}

.footer-action h2 {
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.9;
}

.footer-contact {
  gap: clamp(18px, 3vw, 36px);
}

.footer-socials a {
  transition: transform 140ms steps(2, end), color 140ms steps(2, end), background 140ms steps(2, end);
}

.footer-socials a:hover {
  transform: translateY(-4px) rotate(-2deg);
}

@media (max-width: 760px) {
  .dossier,
  .work-lab,
  .profile,
  .client-arena,
  .mehmagic-band {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .project-proof-grid,
  .lab-grid {
    gap: 7px;
  }

  .project-proof-card:hover,
  .lab-card:hover,
  .profile-photo:hover {
    transform: none;
  }

  .project-proof-card strong,
  .project-proof-primary strong {
    font-size: clamp(22px, 7vw, 30px);
  }
}


/* ---- interaction cleanup: temiz golge, okunur renk, ortak hover dili ---- */

.nav-links a,
.contact-button,
.hero-primary,
.hero-secondary,
.case-filter button,
.project-proof-card,
.lab-card,
.mehmagic-band-link,
.footer-mail,
.footer-socials a,
.footer-meta a {
  transition-duration: 160ms;
  transition-timing-function: steps(3, end);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-current {
  color: var(--blue);
  background: var(--yellow);
}

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

.contact-button:hover,
.contact-button:focus-visible {
  color: var(--white);
  background: var(--orange);
  border-color: var(--blue);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--blue);
}

.hero-primary:hover,
.hero-primary:focus-visible {
  color: var(--yellow);
  background: var(--blue);
  border-color: var(--blue);
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--orange);
}

.hero-secondary:hover,
.hero-secondary:focus-visible {
  color: var(--blue);
  background: var(--yellow);
  border-color: var(--blue);
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 var(--orange);
}

.case-filter button:hover,
.case-filter button:focus-visible {
  color: var(--yellow);
  background: var(--blue);
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 5px 6px 0 var(--orange);
}

.case-filter button.is-active {
  color: var(--blue);
  background: var(--yellow);
  border-color: var(--yellow);
  transform: none;
  box-shadow: 5px 6px 0 var(--orange);
}

.project-proof-card:hover,
.project-proof-card:focus-visible {
  border-color: var(--yellow);
  box-shadow: 9px 11px 0 var(--orange);
  filter: saturate(1.04) contrast(1.02);
}

.project-proof-card:hover span,
.project-proof-card:focus-visible span,
.project-proof-card:hover small,
.project-proof-card:focus-visible small {
  color: var(--yellow);
}

.project-proof-card:hover strong,
.project-proof-card:focus-visible strong {
  color: var(--white);
  text-shadow: 2px 2px 0 var(--blue);
}

.project-proof-card:focus-visible,
.lab-card:focus-visible {
  outline: 4px solid var(--orange);
  outline-offset: 4px;
}

.lab-card:hover,
.lab-card:focus-visible {
  outline: 0;
  animation: none;
  filter: none;
  box-shadow: inset 0 0 0 3px var(--blue);
}

.lab-card-blue:hover,
.lab-card-blue:focus-visible {
  box-shadow: inset 0 0 0 3px var(--yellow);
}

.client-token .client-logo-frame {
  transition: translate 150ms steps(3, end), rotate 150ms steps(3, end), border-color 150ms steps(3, end), box-shadow 150ms steps(3, end);
}

.client-token:focus-visible .client-logo-frame {
  border-color: var(--blue);
  box-shadow: 5px 5px 0 var(--brand-shadow, var(--orange));
}

.client-stage.is-physics-wall .client-token:hover .client-logo-frame {
  border-color: transparent;
  box-shadow: none;
}

.client-stage.is-physics-wall .client-token[data-plate-shape="round"]:hover .client-logo-frame,
.client-token[data-plate-shape="round"]:focus-visible .client-logo-frame {
  border-color: var(--blue);
  box-shadow: none;
}

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

.mehmagic-band-link:hover,
.mehmagic-band-link:focus-visible {
  color: var(--white);
  background: var(--orange);
  border-color: var(--blue);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--blue);
}

.footer-mail:hover,
.footer-mail:focus-visible,
.site-footer .footer-contact .footer-mail:hover,
.site-footer .footer-contact .footer-mail:focus-visible {
  color: var(--ink);
  background: var(--white);
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 7px 8px 0 var(--orange);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--yellow);
  background: var(--ink);
  border-color: var(--blue);
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 4px 5px 0 var(--orange);
}

.footer-meta a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--white);
  text-decoration: underline;
}

@media (hover: none) {
  .project-proof-card:hover,
  .lab-card:hover,
  .client-token:hover .client-logo-frame,
  .footer-socials a:hover {
    transform: none;
    translate: none;
    rotate: 0deg;
  }
}

/* ---- FM attribute load: 0'dan final degere tek sefer ---- */

.fm-col li::before {
  right: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2500ms cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--stat-delay, 0ms);
  will-change: transform;
}

.fm-board.stats-loaded .fm-col li::before {
  transform: scaleX(var(--stat-scale, 0));
}


/* ---- unified motion system: data-motion + motion-visible ---- */

:root {
  --motion-duration: 900ms;
  --fm-load-duration: 1200ms;
}

body.motion-debug {
  --motion-duration: 2500ms;
  --fm-load-duration: 2500ms;
}

body.motion-system-ready [data-motion] {
  opacity: 0;
  translate: 0 24px;
  scale: 0.98;
  animation: none !important;
  transition:
    opacity var(--motion-duration) cubic-bezier(0.2, 0.75, 0.25, 1),
    translate var(--motion-duration) cubic-bezier(0.2, 0.75, 0.25, 1),
    scale var(--motion-duration) cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, translate, scale;
}

body.motion-system-ready [data-motion="hero"]:not(.motion-visible) {
  translate: 0 30px;
  scale: 0.96;
}

body.motion-system-ready .hero-visual[data-motion]:not(.motion-visible) {
  translate: 36px 10px;
  scale: 0.9;
}

body.motion-system-ready [data-motion="archive"]:not(.motion-visible) {
  translate: 0 -34px;
  scale: 0.82;
}

body.motion-system-ready [data-motion="loadout"]:not(.motion-visible) {
  translate: 0 30px;
  scale: 0.95;
}

body.motion-system-ready [data-motion].motion-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

body.motion-debug [data-motion] {
  outline: 3px dashed var(--orange);
  outline-offset: 4px;
}

body.motion-debug [data-motion].motion-visible {
  outline-color: var(--blue);
}

.project-proof-card[data-motion]:hover,
.project-proof-card[data-motion]:focus-visible {
  transform: translate(-2px, -7px) rotate(-0.45deg);
  border-color: var(--yellow);
  box-shadow: 9px 11px 0 var(--orange);
}

.project-proof-card[data-motion]:hover .project-proof-cover img,
.project-proof-card[data-motion]:focus-visible .project-proof-cover img {
  transform: scale(1.05);
}

.project-proof-card[data-motion]:hover .project-proof-copy::after,
.project-proof-card[data-motion]:focus-visible .project-proof-copy::after {
  opacity: 1;
  transform: translateY(0);
}

.client-token:hover .client-logo-frame[data-motion],
.client-token:focus-visible .client-logo-frame[data-motion] {
  translate: 0 -5px;
  rotate: -2deg;
}

.lab-card[data-motion]:hover,
.lab-card[data-motion]:focus-visible {
  transform: translateY(-6px) rotate(0.35deg);
  outline: 0;
  animation: none;
  box-shadow: inset 0 0 0 3px var(--blue);
}

.lab-card-blue[data-motion]:hover,
.lab-card-blue[data-motion]:focus-visible {
  box-shadow: inset 0 0 0 3px var(--yellow);
}

.fm-col li::before {
  transform: scaleX(0);
  transition-duration: var(--fm-load-duration);
}

.fm-board.stats-loaded .fm-col li::before {
  transform: scaleX(var(--stat-scale, 0));
}

body.motion-debug .fm-board {
  outline: 3px dashed var(--orange);
  outline-offset: 6px;
}

body.motion-debug .fm-col li::before {
  transform: scaleX(0);
  transition: transform var(--fm-load-duration) cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--stat-delay, 0ms);
}

body.motion-debug .fm-board.stats-loaded .fm-col li::before {
  transform: scaleX(var(--stat-scale, 0));
  transition: transform var(--fm-load-duration) cubic-bezier(0.2, 0.75, 0.25, 1);
  transition-delay: var(--stat-delay, 0ms);
}


/* ---- imlec sistemi v2: durum gorselleri + etiket ailesi ---- */

:root {
  --cursor-label-bg: var(--blue);
  --cursor-label-ink: var(--white);
  --cursor-label-shadow: var(--orange);
}

.magic-cursor-label {
  position: absolute;
  left: 24px;
  top: 30px;
  display: block;
  padding: 3px 8px 4px;
  color: var(--cursor-label-ink);
  background: var(--cursor-label-bg);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--cursor-label-shadow);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 140ms steps(2, end), transform 140ms steps(2, end);
  pointer-events: none;
}

.magic-cursor-label:empty { visibility: hidden; }

.magic-cursor[data-mode="go"] .magic-cursor-label,
.magic-cursor[data-mode="select"] .magic-cursor-label,
.magic-cursor[data-mode="view-case"] .magic-cursor-label,
.magic-cursor[data-mode="send"] .magic-cursor-label,
.magic-cursor[data-mode="open"] .magic-cursor-label,
.magic-cursor[data-mode="drag"] .magic-cursor-label,
.magic-cursor[data-mode="grabbing"] .magic-cursor-label {
  opacity: 1;
  transform: translateY(0);
}

/* durum renkleri: her zeminde okunur (koyu kontur + kontrast dolgu) */
.magic-cursor[data-mode="select"] .magic-cursor-label { --cursor-label-bg: var(--orange); --cursor-label-shadow: var(--blue); }
.magic-cursor[data-mode="view-case"] .magic-cursor-label { --cursor-label-bg: var(--ink); --cursor-label-shadow: var(--yellow); }
.magic-cursor[data-mode="send"] .magic-cursor-label { --cursor-label-bg: var(--orange); --cursor-label-shadow: var(--ink); }
.magic-cursor[data-mode="open"] .magic-cursor-label { --cursor-label-bg: var(--ink); --cursor-label-shadow: var(--orange); }
.magic-cursor[data-mode="drag"] .magic-cursor-label,
.magic-cursor[data-mode="grabbing"] .magic-cursor-label { --cursor-label-bg: var(--yellow); --cursor-label-ink: var(--ink); --cursor-label-shadow: var(--blue); }

/* ok tepkileri: kisa, keskin */
.magic-cursor[data-mode="go"] .magic-cursor-arrow { transform: rotate(-8deg) scale(1.06); }
.magic-cursor[data-mode="select"] .magic-cursor-arrow,
.magic-cursor[data-mode="send"] .magic-cursor-arrow { transform: rotate(-12deg) scale(1.12); }
.magic-cursor[data-mode="view-case"] .magic-cursor-arrow,
.magic-cursor[data-mode="open"] .magic-cursor-arrow { transform: scale(1.08); }

/* engelli durum: soluk + gri */
.magic-cursor[data-mode="blocked"] .magic-cursor-arrow {
  opacity: 0.45;
  filter: grayscale(1);
}

/* metin alanlari: ozel imlec gizli, native text imleci */
.magic-cursor[data-mode="text"] { opacity: 0; }

body.cursor-ready input,
body.cursor-ready textarea,
body.cursor-ready select,
body.cursor-ready [contenteditable="true"] {
  cursor: text !important;
}

/* dokunmatik/tablet: native imlec (JS zaten ozel imleci kaldiriyor) */
@media (hover: none), (pointer: coarse) {
  .magic-cursor { display: none !important; }

  body.cursor-ready,
  body.cursor-ready * { cursor: auto !important; }
}

/* ---- performans: will-change yalnizca animasyon oncesi ---- */

body.motion-system-ready [data-motion].motion-visible {
  will-change: auto;
}

@media (max-width: 760px) {
  .hero-chaos { display: none; }

  body.motion-system-ready {
    --motion-duration: 500ms;
  }
}

/* ---- boot ekrani v2: mehmagic OS acilisi ---- */

.loader-lines {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.05em;
  text-align: left;
  color: var(--ink);
}

.loader-lines li {
  opacity: 0;
  transform: translateY(4px);
  animation: boot-line-in 180ms steps(2, end) both;
}

.loader-lines li::before {
  content: "> ";
  color: var(--orange);
  font-weight: 700;
}

.loader-lines li:nth-child(1) { animation-delay: 150ms; }
.loader-lines li:nth-child(2) { animation-delay: 650ms; }
.loader-lines li:nth-child(3) { animation-delay: 1150ms; }
.loader-lines li:nth-child(4) { animation-delay: 1600ms; }

.loader-lines li:nth-child(3)::after {
  content: " ✓";
  color: var(--blue);
  font-weight: 700;
}

@keyframes boot-line-in {
  to { opacity: 1; transform: translateY(0); }
}

.site-loader .loader-track span {
  animation: boot-fill 2050ms steps(14, end) 150ms both;
}

@keyframes boot-fill {
  from { transform: scaleX(0.04); }
  to { transform: scaleX(1); }
}

.loader-ready {
  justify-self: center;
  padding: 4px 12px 5px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: scale(1.25);
  animation: ready-stamp 200ms steps(3, end) 2050ms both, kicker-blink 700ms steps(2, end) 2250ms infinite;
}

@keyframes ready-stamp {
  to { opacity: 1; transform: scale(1); }
}

.site-loader.is-hiding .loader-panel {
  transform: translateY(-14px) scale(0.96);
  transition: transform 300ms steps(4, end);
}

@media (max-width: 760px) {
  .loader-lines { font-size: 12px; }
  .loader-panel { width: min(92vw, 400px); }
}

/* Production loader: one clear visual beat, then get out of the way. */
.site-loader {
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(49, 0, 255, 0.12) 1px, transparent 1px),
    var(--yellow);
  background-size: 22px 22px;
}

.site-loader .loader-panel {
  width: min(86vw, 390px);
  gap: 18px;
  padding: 22px 24px 20px;
  border: 6px solid var(--blue);
  background: var(--bone);
  box-shadow: 8px 8px 0 var(--orange);
  transform: rotate(-1deg);
}

.site-loader .loader-topline { align-items: flex-start; }

.site-loader .loader-kicker,
.site-loader .loader-code {
  padding: 5px 7px;
  border-width: 3px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.03em;
  box-shadow: none;
}

.site-loader .loader-kicker { color: var(--yellow); background: var(--blue); }
.site-loader .loader-code { color: var(--blue); border-color: var(--blue); background: var(--yellow); }

.site-loader .loader-logo { width: min(185px, 58vw); margin-inline: auto; }

.loader-progress {
  height: 15px;
  overflow: hidden;
  border: 3px solid var(--blue);
  background: var(--white);
}

.loader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--orange);
  animation: production-loader-fill 1520ms steps(12, end) 80ms forwards;
}

.loader-status {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: right;
}

.site-loader .loader-lines,
.site-loader .loader-track,
.site-loader .loader-ready { display: none; }

@keyframes production-loader-fill { to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .site-loader .loader-panel { width: min(88vw, 360px); padding: 20px; }
}

/* ---- renk: koyu elektrik mavi (#1800a8) destek rolu ----
   yalnizca mavi-mavi ayrismasi gereken yerlerde; ana mavi degismedi */

/* CTA hover: mavi zemine koyu mavi cerceve - kenar erimesin */
.hero-primary:hover,
.hero-secondary:hover {
  border-color: var(--deep-blue);
}

/* filtreler: aktif durum hover'la ayni gorunuyordu - aktif artik ana mavi zemin */
.case-filter button.is-active {
  color: var(--white);
  background: var(--blue);
  box-shadow: 9px 9px 0 var(--orange);
}


/* ---- mehmagic mini nav: kose karakter menusu ---- */

.mehmagic-nav {
  position: fixed;
  right: clamp(14px, 2.4vw, 30px);
  bottom: clamp(14px, 2.4vw, 30px);
  z-index: 80;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 200ms steps(3, end), transform 200ms steps(3, end);
  pointer-events: none;
}

.mehmagic-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mehmagic-nav-head {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 6px;
  cursor: none;
  background: var(--white);
  border: 3px solid var(--deep-blue);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 140ms steps(2, end), box-shadow 140ms steps(2, end);
}

.mehmagic-nav-head img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mehmagic-nav-head:hover {
  transform: translate(-2px, -2px) rotate(-4deg);
  box-shadow: 6px 6px 0 var(--ink);
}

.mehmagic-nav.is-open .mehmagic-nav-head {
  border-color: var(--orange);
}

/* menu: kafanin ustune sola dogru capraz merdiven */
.mehmagic-nav-menu {
  position: absolute;
  right: 8px;
  bottom: 74px;
  display: grid;
  gap: 7px;
  justify-items: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mehmagic-nav-menu li:nth-child(1) { transform: translateX(-52px); }
.mehmagic-nav-menu li:nth-child(2) { transform: translateX(-39px); }
.mehmagic-nav-menu li:nth-child(3) { transform: translateX(-26px); }
.mehmagic-nav-menu li:nth-child(4) { transform: translateX(-13px); }

.mehmagic-nav-menu a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 6px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 150ms steps(2, end), transform 150ms steps(2, end), background 120ms steps(2, end);
  transition-delay: calc(var(--i, 0) * 40ms);
  pointer-events: none;
}

.mehmagic-nav-menu li:nth-child(1) a { --i: 4; }
.mehmagic-nav-menu li:nth-child(2) a { --i: 3; }
.mehmagic-nav-menu li:nth-child(3) a { --i: 2; }
.mehmagic-nav-menu li:nth-child(4) a { --i: 1; }
.mehmagic-nav-menu li:nth-child(5) a { --i: 0; }

.mehmagic-nav.is-open .mehmagic-nav-menu a {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mehmagic-nav-menu a i {
  font-style: normal;
  font-size: 10px;
  color: var(--orange);
}

.mehmagic-nav-menu a:hover {
  background: var(--yellow);
}

.mehmagic-nav-menu a.is-active {
  color: var(--white);
  background: var(--deep-blue);
}

.mehmagic-nav-menu a.is-active i { color: var(--yellow); }

@media (max-width: 760px) {
  .mehmagic-nav-head { width: 54px; height: 54px; }

  /* mobil: capraz kaydirma yok, duz dikey liste */
  .mehmagic-nav-menu li { transform: none !important; }
}

/* ---- mini nav v2: menu hep acik, kucuk + capraz, hover'da buyur ---- */

.mehmagic-nav.is-visible .mehmagic-nav-menu a {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mehmagic-nav-menu a {
  padding: 3px 8px 4px;
  font-size: 10px;
  gap: 5px;
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 130ms steps(2, end), background 120ms steps(2, end), box-shadow 130ms steps(2, end);
  transform-origin: right center;
}

.mehmagic-nav-menu a i { font-size: 9px; }

.mehmagic-nav-menu li:nth-child(1) { transform: translateX(-48px) rotate(-6deg); }
.mehmagic-nav-menu li:nth-child(2) { transform: translateX(-34px) rotate(-4deg); }
.mehmagic-nav-menu li:nth-child(3) { transform: translateX(-20px) rotate(-2.5deg); }
.mehmagic-nav-menu li:nth-child(4) { transform: translateX(-8px) rotate(-1deg); }

.mehmagic-nav.is-visible .mehmagic-nav-menu a:hover,
.mehmagic-nav.is-visible .mehmagic-nav-menu a:focus-visible {
  transform: scale(1.22);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
}

@media (max-width: 760px) {
  .mehmagic-nav-menu li { transform: none !important; }
}

/* ---- native SVG cursor system ---- */

:root {
  --cursor-default: url("./assets/cursors/cursor.svg?v=pack9") 4 2, auto;
  --cursor-click: url("./assets/cursors/clickable.svg?v=pack9") 3 3, pointer;
  --cursor-grab: url("./assets/cursors/grab.svg?v=pack7") 20 20, grab;
  --cursor-grabbing: url("./assets/cursors/grab.svg?v=pack7") 20 20, grabbing;
  --cursor-scroll: url("./assets/cursors/scroll.svg?v=pack2") 16 16, all-scroll;
}

body {
  cursor: var(--cursor-default);
}

a,
button,
[role="button"],
label,
summary,
.project-proof-card,
.case-filter button,
.mehmagic-nav-menu a,
.footer-socials a {
  cursor: var(--cursor-click) !important;
}

.client-stage.is-physics-wall,
.client-stage.is-physics-wall .client-token {
  cursor: var(--cursor-grab) !important;
}

.client-stage.is-physics-wall.is-grabbing,
.client-stage.is-physics-wall.is-grabbing .client-token {
  cursor: var(--cursor-grabbing) !important;
}

.mehvision-model,
.footer-action [data-mehvision-model] {
  cursor: var(--cursor-grab) !important;
}

.mehvision-model.is-grabbing,
.footer-action [data-mehvision-model].is-grabbing {
  cursor: var(--cursor-grabbing) !important;
}

input,
textarea,
[contenteditable="true"] {
  cursor: text !important;
}

@media (hover: none), (pointer: coarse) {
  body,
  a,
  button,
  [role="button"],
  .project-proof-card,
  .client-stage.is-physics-wall,
  .client-stage.is-physics-wall .client-token {
    cursor: auto !important;
  }
}

/* agirlik-merkezi cursor: fareyi ucundan takip eder, govdesi harekete gore yaslanir */
@media (hover: hover) and (pointer: fine) {
  html.has-weighted-cursor,
  html.has-weighted-cursor body,
  html.has-weighted-cursor a,
  html.has-weighted-cursor button,
  html.has-weighted-cursor [role="button"],
  html.has-weighted-cursor label,
  html.has-weighted-cursor summary,
  html.has-weighted-cursor .project-proof-card,
  html.has-weighted-cursor .case-filter button,
  html.has-weighted-cursor .mehmagic-nav-menu a,
  html.has-weighted-cursor .footer-socials a,
  html.has-weighted-cursor .client-stage.is-physics-wall,
  html.has-weighted-cursor .client-stage.is-physics-wall .client-token,
  html.has-weighted-cursor .mehvision-model,
  html.has-weighted-cursor .footer-action [data-mehvision-model] {
    cursor: none !important;
  }
}

.weighted-cursor {
  position: fixed;
  z-index: 2147483647;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  transform-origin: 50% 2%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 140ms steps(2, end);
  will-change: transform;
}

.weighted-cursor.is-active {
  opacity: 1;
}

.weighted-cursor.is-hidden-native {
  opacity: 0;
}

.weighted-cursor img {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(3px 3px 0 var(--orange));
}

/* loadout: slot aralarindaki zemin koyu elektrik mavi */
.lab-grid {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
}

/* logo duvarı: fizik görünürken kurulur; bekleme durumu aynı yükseklikte ve gizli tutulur */
.client-stage[data-layout="logo-archive"] {
  display: block;
  height: clamp(340px, 28vw, 480px);
  min-height: 340px;
}

@media (max-width: 900px) {
  .client-stage[data-layout="logo-archive"] {
    height: clamp(440px, 72vh, 620px);
    min-height: 440px;
  }
}

.client-stage[data-layout="logo-archive"] .client-token {
  opacity: 0;
  pointer-events: none;
}

/* fizik duvarında giriş efekti düşüşün kendisi; token-pop fade devre dışı */
.client-stage.is-physics-wall .client-token .client-logo-frame,
.client-stage.is-physics-wall.is-archive-visible .client-token .client-logo-frame {
  animation: none;
}

/* ---- level select kart paketi ---- */

/* case numarasi: filtre gizledikce numara kendini yeniden sayar */
.project-proof-grid {
  counter-reset: case-slot;
}

.project-proof-card {
  counter-increment: case-slot;
}

.project-proof-cover::before {
  content: "CASE " counter(case-slot, decimal-leading-zero);
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  padding: 4px 7px 5px;
  color: var(--ink);
  background: var(--bone);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.project-proof-card:hover .project-proof-cover::before,
.project-proof-card:focus-visible .project-proof-cover::before {
  background: var(--yellow);
}

/* kategori rozeti: data-case-type'tan, hep gorunur */
.project-proof-card[data-case-type]::after {
  content: attr(data-case-type);
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: auto;
  left: auto;
  z-index: 4;
  width: auto;
  aspect-ratio: auto;
  padding: 4px 7px 5px;
  color: var(--bone);
  background: var(--ink);
  border: 2px solid var(--bone);
  box-shadow: none;
  mix-blend-mode: normal;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 1;
  transform: none;
  transition: none;
  pointer-events: none;
}

.project-proof-card[data-case-type="sosyal"]::after { content: "sosyal medya"; }
html[lang="en"] .project-proof-card[data-case-type="kimlik"]::after { content: "identity"; }
html[lang="en"] .project-proof-card[data-case-type="futbol"]::after { content: "football"; }
html[lang="en"] .project-proof-card[data-case-type="sosyal"]::after { content: "social media"; }
html[lang="en"] .project-proof-card[data-case-type="oyun"]::after { content: "game"; }

.project-proof-card:hover[data-case-type]::after,
.project-proof-card:focus-visible[data-case-type]::after {
  border-color: var(--yellow);
  color: var(--yellow);
  opacity: 1;
  transform: none;
}

/* aksiyon cipi: SEC yerine INCELE / VIEW CASE */
.project-proof-copy::after {
  content: "İNCELE →";
  position: absolute;
  right: clamp(12px, 1.45vw, 20px);
  bottom: clamp(12px, 1.45vw, 20px);
  justify-self: auto;
  margin: 0;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
}

html[lang="en"] .project-proof-copy::after {
  content: "VIEW CASE →";
}

.project-proof-card:hover .project-proof-copy::after,
.project-proof-card:focus-visible .project-proof-copy::after {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 760px) {
  .project-proof-cover::before,
  .project-proof-card[data-case-type]::after {
    font-size: 9px;
    padding: 3px 6px 4px;
  }
}

/* dokunmatikte kategori rozeti statik bilgi oldugu icin gorunur kalir */
@media (hover: none) {
  .project-proof-card[data-case-type]::after {
    display: block;
  }
}

/* ---- home profile: start sayfasi hero alti ---- */
.home-profile.profile {
  gap: clamp(22px, 3vw, 42px);
  padding-top: 0;
  padding-bottom: clamp(42px, 5vw, 72px);
  border-top: 0;
}

.home-profile .profile-hero {
  min-height: auto;
}

.home-profile .fm-board {
  margin-top: clamp(4px, 1vw, 14px);
}

/* ---- home profile polish: daha sıkı masaustu, kaydirilabilir mobil FM ---- */

.profile-photo figcaption:empty {
  display: none;
}

@media (min-width: 981px) {
  .home-profile.profile {
    gap: 28px;
    padding-top: 0;
    padding-bottom: clamp(40px, 4vw, 58px);
  }

  .home-profile .profile-hero {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    gap: clamp(34px, 4vw, 58px);
  }

  .home-profile .profile-intro {
    gap: 14px;
  }

  .home-profile .profile-intro h1 {
    max-width: 820px;
    font-size: clamp(54px, 5.4vw, 78px);
  }

  .home-profile .profile-photo {
    justify-self: end;
    width: 100%;
    max-width: 320px;
  }

  .home-profile .fm-board {
    gap: 16px;
    padding: 22px 24px 24px;
  }

  .home-profile .fm-board-head {
    gap: 5px;
  }

  .home-profile .fm-board-head h2 {
    font-size: clamp(28px, 2.5vw, 36px);
  }

  .home-profile .fm-cols {
    gap: 16px;
  }

  .home-profile .fm-col h3 {
    margin-bottom: 6px;
  }

  .home-profile .fm-col ul {
    gap: 3px;
  }

  .home-profile .fm-col li {
    padding: 3px 7px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .home-profile.profile {
    gap: 24px;
    padding: 0 18px 46px;
  }

  .home-profile .profile-hero {
    gap: 26px;
  }

  .home-profile .profile-intro {
    gap: 11px;
  }

  .home-profile .profile-intro h1 {
    font-size: clamp(42px, 12vw, 54px);
    line-height: 0.9;
  }

  .home-profile .profile-lede {
    font-size: 15px;
    line-height: 1.45;
  }

  .home-profile .profile-photo {
    width: min(82vw, 286px);
  }

  .fm-board {
    gap: 18px;
  }

  .fm-cols {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc(100% - 26px);
    gap: 12px;
    padding: 0 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--yellow) var(--deep-blue);
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .fm-cols::-webkit-scrollbar {
    height: 7px;
  }

  .fm-cols::-webkit-scrollbar-track {
    background: var(--deep-blue);
  }

  .fm-cols::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border: 2px solid var(--deep-blue);
  }

  .fm-col {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .mehmagic-nav {
    right: 12px;
    bottom: 12px;
  }

  .mehmagic-nav-menu {
    right: 4px;
    bottom: 62px;
    gap: 6px;
  }

  .mehmagic-nav.is-visible .mehmagic-nav-menu a {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    pointer-events: none;
  }

  .mehmagic-nav.is-visible.is-open .mehmagic-nav-menu a {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

/* ---- floating menu: içerigi kapatmaz, niyetle acilir ---- */

.mehmagic-nav.is-visible:not(.is-open) .mehmagic-nav-menu a {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
}

.mehmagic-nav.is-visible.is-open .mehmagic-nav-menu a {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .mehmagic-nav.is-visible:not(.is-open):hover .mehmagic-nav-menu a {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

.fm-cols:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

/* ---- hero taban bandi: tek parca, olculen ve kesintisiz loop ---- */

.hero {
  --hero-ticker-height: clamp(46px, 4vw, 58px);
  --hero-ticker-tail: 21px;
  padding-bottom: calc(clamp(28px, 4vw, 56px) + var(--hero-ticker-height) + var(--hero-ticker-tail));
  border-bottom: 0;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  height: var(--hero-ticker-tail);
  background:
    linear-gradient(var(--blue), var(--blue)) top / 100% 7px no-repeat,
    repeating-conic-gradient(var(--yellow) 0 25%, var(--ink) 25% 50%) bottom / 28px 28px repeat;
  opacity: 1;
  pointer-events: none;
}

.hero-capability-ticker {
  position: absolute;
  right: 0;
  bottom: var(--hero-ticker-tail);
  left: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  min-height: var(--hero-ticker-height);
  padding: 12px 0;
  background: var(--ink);
  border-top: 5px solid var(--blue);
  border-bottom: 5px solid var(--blue);
}

.hero-capability-ticker .ticker-track span,
.ticker-end .ticker-track span {
  gap: clamp(13px, 1.7vw, 24px);
  padding-right: clamp(13px, 1.7vw, 24px);
}

.hero-capability-ticker .ticker-track span i,
.ticker-end .ticker-track span i {
  color: var(--yellow);
  font-size: clamp(16px, 1.8vw, 26px);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-capability-ticker .ticker-track span img,
.ticker-end .ticker-track span img {
  width: clamp(18px, 1.7vw, 25px);
}

.ticker-mid {
  display: none;
}

.ticker-end {
  padding: 12px 0;
  background: var(--ink);
  border-top: 5px solid var(--blue);
  border-bottom: 5px solid var(--blue);
}

@media (max-width: 820px) {
  .hero {
    --hero-ticker-height: 42px;
    padding-bottom: calc(36px + var(--hero-ticker-height) + var(--hero-ticker-tail));
  }

  .hero-capability-ticker {
    padding: 12px 0;
  }

  .hero-capability-ticker .ticker-track span,
  .ticker-end .ticker-track span {
    gap: 12px;
    padding-right: 12px;
  }

  .hero-capability-ticker .ticker-track span i,
  .ticker-end .ticker-track span i {
    font-size: 14px;
  }

  .hero-capability-ticker .ticker-track span img,
  .ticker-end .ticker-track span img {
    width: 16px;
  }
}



/* Header contact: one navigation row, one shared mail composer. */
@media (min-width: 1051px) {
  .nav-shell {
    grid-template-columns: 156px minmax(0, 1fr) 224px;
  }
}

@media (min-width: 900px) and (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 132px minmax(0, 1fr) 176px;
  }
}

.nav-contact-link {
  color: var(--orange);
}

@media (max-width: 820px) {
  .nav-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-links {
    grid-column: 1 / -1;
  }
}

body.mail-lock {
  overflow: hidden;
}

.mail-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(18px, 5vw, 54px);
  color: var(--ink);
  background: transparent;
  border: 0;
  overflow: auto;
}

.mail-dialog[open] {
  display: grid;
  place-items: center;
}

.mail-dialog::backdrop {
  background: rgba(17, 17, 42, 0.78);
  backdrop-filter: blur(3px);
}

.mail-dialog-panel {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(680px, 100%);
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(49, 0, 255, 0.07) 1px, transparent 1px),
    var(--bone);
  background-size: 18px 18px;
  border: 5px solid var(--blue);
  box-shadow: 10px 10px 0 var(--orange), 16px 16px 0 var(--ink);
  animation: mail-dialog-in 240ms steps(4, end) both;
}

.mail-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 5px;
  color: var(--white);
  background: var(--orange);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
  font: 900 29px / 1 var(--font-body);
  cursor: pointer;
}

.mail-dialog-kicker {
  justify-self: start;
  max-width: calc(100% - 56px);
  padding: 7px 11px 8px;
  color: var(--yellow);
  background: var(--blue);
  border: 3px solid var(--orange);
  font: 400 13px / 1 var(--font-mono);
  letter-spacing: 0;
}

.mail-dialog h2 {
  max-width: 590px;
  margin: 4px 0 0;
  color: var(--blue);
  font: 400 clamp(36px, 6vw, 62px) / 0.88 var(--font-display);
  letter-spacing: 0;
  text-wrap: balance;
}

.mail-dialog-panel > p {
  max-width: 520px;
  margin: 0;
  font: 700 17px / 1.35 var(--font-body);
}

.mail-dialog-form {
  display: grid;
  gap: 13px;
  margin-top: 6px;
}

.mail-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.mail-field > span {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px 5px;
  color: var(--white);
  background: var(--ink);
  font: 900 13px / 1 var(--font-body);
  text-transform: uppercase;
}

.mail-field input,
.mail-field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 0;
  outline: 0;
  font: 600 16px / 1.35 var(--font-body);
  letter-spacing: 0;
}

.mail-field textarea {
  min-height: 126px;
  resize: vertical;
}

.mail-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.mail-field input:focus,
.mail-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
}

.mail-dialog-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 10px;
  margin-top: 4px;
}

.mail-dialog-actions button {
  min-width: 0;
  min-height: 48px;
  padding: 9px 12px 11px;
  border: 4px solid var(--ink);
  border-radius: 0;
  font: 400 clamp(16px, 2.3vw, 22px) / 0.9 var(--font-action);
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 140ms steps(3, end), box-shadow 140ms steps(3, end);
}

.mail-copy-button {
  color: var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--orange);
}

.mail-submit-button {
  color: var(--yellow);
  background: var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
}

.mail-submit-button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
  box-shadow: 3px 3px 0 var(--orange);
}

.mail-dialog-actions button:hover,
.mail-dialog-actions button:focus-visible,
.mail-dialog-close:hover,
.mail-dialog-close:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--orange);
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.mail-dialog-status {
  min-height: 18px;
  color: var(--blue);
  font: 800 13px / 1.2 var(--font-body);
}

@keyframes mail-dialog-in {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-1.5deg) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .mail-dialog {
    place-items: end center;
    padding: 12px;
  }

  .mail-dialog-panel {
    gap: 11px;
    padding: 22px 18px 24px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .mail-dialog h2 {
    padding-right: 34px;
    font-size: clamp(34px, 11vw, 46px);
  }

  .mail-dialog-panel > p {
    font-size: 15px;
  }

  .mail-dialog-actions {
    grid-template-columns: 1fr;
  }

  .mail-dialog-actions button {
    width: 100%;
  }
}



/* ---- About scroll scrub: video solda, profil metni sağda ---- */

html,
body {
  overflow-x: clip;
}

.about-scrub {
  position: relative;
  width: 100vw;
  min-height: 175svh;
  margin-left: calc(50% - 50vw);
}

.about-scrub-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  background: var(--deep-blue);
}

.about-scrub-copy {
  position: absolute;
  top: clamp(108px, 13vh, 152px);
  right: calc(var(--edge) + clamp(24px, 4vw, 64px));
  z-index: 2;
  align-content: center;
  justify-items: start;
  width: min(46vw, 640px);
  max-width: calc(100vw - (var(--edge) * 2));
  color: var(--white);
  text-align: left;
  text-shadow: 3px 3px 0 var(--deep-blue);
}

.about-scrub-copy h1 {
  max-width: 640px;
  font-size: clamp(52px, 5.6vw, 86px);
  color: var(--white);
  text-align: left;
}

.about-scrub-copy .profile-lede {
  justify-self: stretch;
  width: 100%;
  max-width: 600px;
  color: var(--white);
  text-align: left;
}

.about-scrub-copy .profile-lede::after {
  margin-left: 0;
}

.about-scrub-copy .profile-actions {
  justify-content: flex-start;
}

.about-scrub-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--deep-blue);
  border: 0;
  box-shadow: none;
}

.about-scrub-visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--deep-blue);
}

@media (max-width: 900px) {
  .about-scrub {
    min-height: 170svh;
  }

  .about-scrub-stage {
    top: 0;
    min-height: 100svh;
    height: 100svh;
  }

  .about-scrub-visual {
    border: 0;
    box-shadow: none;
  }

  .about-scrub-copy {
    top: clamp(92px, 12vh, 118px);
    right: clamp(18px, 5vw, 40px);
    gap: 10px;
    width: min(68vw, 560px);
    max-width: calc(100vw - 36px);
  }

  .about-scrub-copy h1 {
    font-size: clamp(40px, 8.5vw, 62px);
    line-height: 0.92;
  }

  .about-scrub-copy .profile-lede {
    font-size: 15px !important;
    line-height: 1.4;
  }
}

@media (max-width: 560px) {
  .about-scrub {
    min-height: 165svh;
  }

  .about-scrub-stage {
    top: 0;
    min-height: 100svh;
    height: 100svh;
  }

  .about-scrub-copy {
    top: 112px;
    right: 18px;
    width: calc(100vw - 36px);
  }

  .about-scrub-copy h1 {
    font-size: clamp(38px, 11.5vw, 50px);
  }

  .about-scrub-copy .profile-actions {
    margin-top: 2px;
  }
}

/* ---- hero: central Mehmagic brand stage ---- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-items: center;
  align-items: center;
  align-content: center;
  gap: clamp(8px, 1.4vh, 15px);
  min-height: calc(100svh - 72px);
  padding: clamp(18px, 3vh, 34px) var(--edge)
    calc(clamp(20px, 3vh, 34px) + var(--hero-ticker-height) + var(--hero-ticker-tail));
}

.hero-copy {
  display: contents;
}

.hero-copy::before {
  display: none;
}

.hero-wordmark {
  position: absolute;
  top: -19%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 245%;
  max-width: none;
  margin: 0;
  color: var(--blue);
  font-size: clamp(80px, 8.2vw, 150px);
  line-height: 0.72;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero-greeting-line {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  text-shadow: 0.045em 0.06em 0 var(--orange);
}

.hero-title-star {
  flex: 0 0 auto;
  width: 0.42em;
  height: auto;
  margin-top: 0.28em;
  filter: none;
}

.hero-title-star-left {
  margin-right: 0.16em;
  transform: rotate(-14deg);
}

.hero-title-star-right {
  margin-left: 0.16em;
  transform: rotate(14deg);
}

.hero-greeting-line > span {
  display: inline-block;
  transform-origin: center bottom;
}

.hero-greeting-line > span:nth-of-type(1) { transform: translateY(0.24em) rotate(-8deg); }
.hero-greeting-line > span:nth-of-type(2) { transform: translateY(0.2em) rotate(-7deg); }
.hero-greeting-line > span:nth-of-type(3) { transform: translateY(0.16em) rotate(-6deg); }
.hero-greeting-line > span:nth-of-type(4) { transform: translateY(0.13em) rotate(-4deg); }
.hero-greeting-line > span:nth-of-type(5) { transform: translateY(0.1em) rotate(-3deg); }
.hero-greeting-line > span:nth-of-type(6) { transform: translateY(0.07em) rotate(-2deg); }
.hero-greeting-line > span:nth-of-type(7) { transform: translateY(0.04em) rotate(-1deg); }
.hero-greeting-line > span:nth-of-type(8) { transform: translateY(0.02em); }
.hero-greeting-line > span:nth-of-type(9) { transform: translateY(0.02em); }
.hero-greeting-line > span:nth-of-type(10) { transform: translateY(0.04em) rotate(1deg); }
.hero-greeting-line > span:nth-of-type(11) { transform: translateY(0.06em) rotate(1deg); }
.hero-greeting-line > span:nth-of-type(12) { transform: translateY(0.09em) rotate(2deg); }
.hero-greeting-line > span:nth-of-type(13) { transform: translateY(0.12em) rotate(3deg); }
.hero-greeting-line > span:nth-of-type(14) { transform: translateY(0.16em) rotate(5deg); }
.hero-greeting-line > span:nth-of-type(15) { transform: translateY(0.2em) rotate(7deg); }
.hero-greeting-line > span:nth-of-type(16) { transform: translateY(0.24em) rotate(8deg); }

.hero-greeting-line .word-gap {
  width: 0.22em;
}

.hero .hero-wordmark::before {
  content: none !important;
  display: none !important;
}

.hero-brand-arc {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  perspective: 1200px;
}

.hero-brand-arc > span {
  display: inline-block;
  margin: 0 0.008em;
  transform-origin: center bottom;
}

.hero-brand-arc > span > i {
  display: block;
  font-style: normal;
  text-shadow: 0.035em 0.045em 0 var(--deep-blue);
  transform-origin: center bottom;
}

.hero-brand-arc > span:nth-child(1) > i { transform: translateY(0.13em) rotate(-5deg); }
.hero-brand-arc > span:nth-child(2) > i { transform: translateY(0.07em) rotate(-3deg); }
.hero-brand-arc > span:nth-child(3) > i { transform: translateY(0.025em) rotate(-1deg); }
.hero-brand-arc > span:nth-child(4) > i { transform: translateY(0) rotate(0); }
.hero-brand-arc > span:nth-child(5) > i { transform: translateY(0.005em) rotate(1deg); }
.hero-brand-arc > span:nth-child(6) > i { transform: translateY(0.035em) rotate(2deg); }
.hero-brand-arc > span:nth-child(7) > i { transform: translateY(0.08em) rotate(4deg); }
.hero-brand-arc > span:nth-child(8) > i { transform: translateY(0.14em) rotate(6deg); }

body.boot-complete .hero-brand-arc > span:nth-child(1) { animation-delay: 140ms; }
body.boot-complete .hero-brand-arc > span:nth-child(2) { animation-delay: 180ms; }
body.boot-complete .hero-brand-arc > span:nth-child(3) { animation-delay: 220ms; }
body.boot-complete .hero-brand-arc > span:nth-child(4) { animation-delay: 260ms; }
body.boot-complete .hero-brand-arc > span:nth-child(5) { animation-delay: 300ms; }
body.boot-complete .hero-brand-arc > span:nth-child(6) { animation-delay: 340ms; }
body.boot-complete .hero-brand-arc > span:nth-child(7) { animation-delay: 380ms; }
body.boot-complete .hero-brand-arc > span:nth-child(8) { animation-delay: 420ms; }

.hero-visual {
  grid-row: 1;
  z-index: 3;
  justify-self: center;
  align-self: end;
  width: min(38vw, 500px);
  min-width: 330px;
  min-height: clamp(350px, 50vh, 500px);
  margin: clamp(52px, 8vh, 92px) auto 0;
}

.hero-lede {
  grid-row: 2;
  z-index: 4;
  width: min(100%, 670px);
  max-width: 670px;
  margin: -4px auto 0;
  padding: 0 12px;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.28;
  text-align: center;
  text-wrap: balance;
}

.hero-cta-row {
  grid-row: 2;
  z-index: 4;
  justify-content: center;
  width: min(100%, 660px);
  max-width: 660px;
  margin: 6px auto 0;
}

.hero-primary,
.hero-secondary {
  min-height: 52px;
  padding: 9px 18px 12px;
  font-size: clamp(20px, 2vw, 28px);
}

@media (max-width: 820px) {
  .hero {
    grid-template-rows: auto auto;
    gap: 9px;
    min-height: calc(100svh - 148px);
    padding: 16px 14px calc(18px + var(--hero-ticker-height) + var(--hero-ticker-tail));
  }

  .hero-wordmark {
    top: -4%;
    width: 100vw;
    font-size: clamp(34px, 8.3vw, 56px);
  }

  .hero-visual {
    width: min(78vw, 420px);
    min-width: 0;
    min-height: clamp(300px, 46vh, 420px);
    margin-top: clamp(46px, 8vh, 74px);
  }

  .hero-lede {
    max-width: 42ch;
    padding: 0 8px;
    font-size: 15px;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: min(100%, 520px);
  }

  .hero-primary,
  .hero-secondary {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 8px 8px 11px;
    font-size: clamp(16px, 4.5vw, 22px);
  }
}

@media (max-width: 480px) {
  .hero {
    grid-template-rows: auto auto;
    min-height: calc(100svh - 112px);
  }

  .hero-wordmark {
    top: -3%;
    width: 100vw;
    font-size: clamp(28px, 7.8vw, 32px);
  }

  .hero-visual {
    width: min(84vw, 360px);
    min-height: clamp(280px, 41vh, 350px);
    margin-top: 44px;
  }

  .hero-lede {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.3;
  }

  .hero-cta-row {
    width: 100%;
  }

  .hero-primary,
  .hero-secondary {
    font-size: clamp(15px, 4.4vw, 19px);
  }
}



/* ---- hero palette cleanup: one subject, one accent ---- */

.hero .hero-chaos {
  display: none;
}

.hero-brand-arc > span > i {
  text-shadow: 0.045em 0.055em 0 var(--deep-blue);
}

.hero .pixel-card {
  width: min(82%, 430px);
  background: var(--bone);
  border: 5px solid var(--deep-blue);
  box-shadow: 9px 9px 0 var(--orange);
  transform: rotate(-2deg);
}

.hero .hero-head {
  width: min(84%, 500px);
  filter: drop-shadow(8px 9px 0 var(--orange));
}

.hero .focus-frame {
  display: block;
  width: min(82%, 410px);
  opacity: 0.58;
}

.hero .focus-frame::before,
.hero .focus-frame::after {
  width: 68px;
  height: 68px;
}

.hero .focus-frame::before {
  border-top-width: 6px;
  border-left-width: 6px;
}

.hero .focus-frame::after {
  border-right-width: 6px;
  border-bottom-width: 6px;
}

.hero .burst {
  display: block;
  top: 17%;
  right: 4%;
  width: clamp(62px, 5.8vw, 88px);
  opacity: 0.9;
}

.hero .hero-callout {
  left: 3%;
  bottom: 7%;
  display: grid;
  gap: 2px;
  min-width: 126px;
  padding: 7px 10px 9px;
  color: var(--blue);
  background: var(--bone);
  border: 4px solid var(--blue);
  box-shadow: 4px 4px 0 var(--deep-blue);
}

.hero .hero-callout span {
  color: var(--blue);
  font-size: 10px;
}

.hero .hero-callout strong {
  color: var(--blue);
  font-size: 34px;
}

.hero .hero-meter {
  right: 2%;
  bottom: 8%;
  display: block;
  width: min(27%, 142px);
  height: 24px;
  padding: 4px;
  border: 4px solid var(--blue);
  box-shadow: 4px 4px 0 var(--deep-blue);
}

.hero .hero-meter span {
  background: repeating-linear-gradient(90deg, var(--orange) 0 9px, var(--yellow) 9px 15px);
}

.hero .hero-primary,
.hero .hero-secondary {
  clip-path: none;
  border: 5px solid var(--blue);
  box-shadow: 6px 6px 0 var(--deep-blue);
}

.hero .hero-primary {
  color: var(--bone);
  background: var(--orange);
  border-color: var(--deep-blue);
  box-shadow: 6px 6px 0 var(--blue);
}

.hero .hero-secondary {
  color: var(--blue);
  background: var(--bone);
}

.hero .hero-secondary:hover,
.hero .hero-secondary:focus-visible {
  color: var(--bone);
  background: var(--deep-blue);
  border-color: var(--blue);
  box-shadow: 8px 8px 0 var(--blue);
  transform: translate(-2px, -2px);
}

.hero .hero-primary:hover,
.hero .hero-primary:focus-visible {
  color: var(--bone);
  background: var(--orange);
  border-color: var(--deep-blue);
  box-shadow: 8px 8px 0 var(--blue);
  transform: translate(-2px, -2px);
}

.hero-side-label {
  position: absolute;
  top: 50%;
  z-index: 2;
  padding: 9px 14px 11px;
  color: var(--deep-blue);
  background: var(--bone);
  border: 4px solid var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
  font-family: var(--pixel);
  font-size: clamp(13px, 1vw, 17px);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-side-label-left {
  left: clamp(-84px, -4vw, -44px);
  transform: translateY(-50%) rotate(-90deg);
}

.hero-side-label-right {
  right: clamp(-98px, -5vw, -54px);
  transform: translateY(-50%) rotate(90deg);
}

@media (max-width: 1100px) {
  .hero-side-label {
    display: none;
  }
}

/* Hero is the first screen: show it immediately, keep only idle motion. */
.hero [data-reveal],
.hero [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero .hero-visual[data-reveal],
.hero .hero-visual[data-reveal].is-visible {
  transform: translate(calc(var(--hero-mx) * 0.08), calc(var(--hero-my) * 0.08));
}

.hero .hero-brand-arc > span,
.hero .hero-cta-row .hero-primary,
.hero .hero-cta-row .hero-secondary,
.hero .hero-visual {
  opacity: 1;
}

body.boot-complete .hero .hero-brand-arc > span {
  animation: none;
}

body.boot-complete .hero .hero-visual {
  animation: visual-sail 9.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

body.boot-complete .hero .hero-primary {
  animation: cta-float-primary 6.8s ease-in-out infinite;
}

body.boot-complete .hero .hero-secondary {
  animation: cta-float-secondary 7.2s ease-in-out -1.6s infinite;
}

/* Project cards no longer carry category badges; the filter bar owns that job. */
.dossier .project-proof-card[data-case-type]::after {
  content: none !important;
}

@media (max-width: 480px) {
  .hero .focus-frame {
    width: 80%;
  }

  .hero .burst {
    top: 19%;
    right: 2%;
    width: 58px;
  }

  .hero .hero-callout {
    left: 0;
    bottom: 5%;
    min-width: 104px;
    padding: 6px 8px 8px;
  }

  .hero .hero-callout strong {
    font-size: 28px;
  }

  .hero .hero-meter {
    right: 0;
    bottom: 6%;
    width: 112px;
    height: 21px;
  }
}

/* ---- hero split stage: greeting left, character right ---- */

.hero {
  grid-template-columns: minmax(300px, 0.86fr) minmax(430px, 1.14fr);
  grid-template-rows: minmax(0, 1fr);
  justify-items: stretch;
  gap: clamp(26px, 4vw, 74px);
  padding-inline: clamp(34px, 6vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 4;
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  justify-self: end;
  width: min(100%, 580px);
  min-width: 0;
}

.hero-wordmark {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: auto;
  max-width: 100%;
  margin: 0;
  color: var(--blue);
  font-size: clamp(88px, 9vw, 154px);
  line-height: 0.76;
  text-align: left;
  white-space: nowrap;
  transform: none;
}

.hero-hello {
  display: inline-flex;
  align-items: flex-start;
  text-shadow: 0.055em 0.065em 0 var(--deep-blue);
  transform-origin: 42% 80%;
}

.hero-hello > span {
  --x: 0em;
  --y: 0em;
  --r: 0deg;
  --s: 1;
  --lift: 0.025em;
  --twist: 0deg;
  display: inline-block;
  transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s));
  transform-origin: 50% 100%;
}

.hero-hello > span:nth-child(1) {
  --y: 0.08em;
  --r: -1deg;
  --s: 1.15;
  --lift: 0.035em;
  --twist: 1deg;
  margin-right: 0.025em;
}

.hero-hello > span:nth-child(2) {
  --x: 0em;
  --y: 0.18em;
  --r: 2deg;
  --s: 0.9;
  --lift: 0.055em;
  --twist: -1deg;
  margin-right: -0.035em;
}

.hero-hello > span:nth-child(3) {
  --x: -0.01em;
  --y: 0.055em;
  --r: -2deg;
  --s: 1.09;
  --lift: 0.025em;
  --twist: 1deg;
  margin-right: -0.045em;
}

.hero-hello > span:nth-child(4) {
  --x: -0.02em;
  --y: 0.105em;
  --r: 1deg;
  --s: 0.98;
  --lift: 0.045em;
  --twist: -1deg;
  margin-right: -0.04em;
}

.hero-hello > span:nth-child(5) {
  --x: -0.03em;
  --y: 0.17em;
  --r: -1deg;
  --s: 0.92;
  --lift: 0.04em;
  --twist: 1deg;
  margin-right: 0;
}

.hero-hello > span:nth-child(6) {
  --x: -0.04em;
  --y: 0.025em;
  --r: 3deg;
  --s: 1.14;
  --lift: 0.065em;
  --twist: -2deg;
}

.hero-signature {
  display: block;
  align-self: flex-end;
  margin-top: 0.08em;
  margin-right: 0.08em;
  padding: 0.19em 0.34em 0.25em;
  color: var(--bone);
  background: var(--orange);
  border: 0.06em solid var(--orange);
  box-shadow: 0.11em 0.11em 0 var(--blue);
  font-size: 0.34em;
  line-height: 0.82;
  transform: rotate(-2deg);
  transform-origin: 55% 50%;
}

.hero-cta-row {
  position: relative;
  grid-row: auto;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 580px;
  margin: clamp(22px, 3vh, 34px) 0 0;
}

.hero-cta-row .hero-primary,
.hero-cta-row .hero-secondary {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding-inline: 8px;
  font-size: clamp(16px, 1.4vw, 20px);
}

.hero-visual {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  width: min(45vw, 580px);
  min-width: 390px;
  min-height: clamp(430px, 58vh, 590px);
  margin: 0;
}

@keyframes hero-hello-idle {
  0%, 100% {
    transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)) scale(var(--s));
  }
  50% {
    transform: translate3d(var(--x), calc(var(--y) - var(--lift)), 0) rotate(calc(var(--r) + var(--twist))) scale(var(--s));
  }
}

@keyframes hero-signature-idle {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(6px, 5px, 0) rotate(-0.5deg); }
}

body.boot-complete .hero-hello {
  animation: none;
}

body.boot-complete .hero-hello > span {
  animation: hero-hello-idle 5.4s ease-in-out calc(var(--letter) * -0.31s) infinite;
}

body.boot-complete .hero-signature {
  animation: hero-signature-idle 5.8s ease-in-out -1.2s infinite;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    gap: 10px;
    padding-inline: 18px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-self: center;
    width: min(100%, 560px);
  }

  .hero-wordmark {
    align-items: center;
    font-size: clamp(64px, 15vw, 94px);
    text-align: center;
  }

  .hero-svg-wordmark {
    width: min(86vw, 520px);
  }

  .hero-intro {
    max-width: 42ch;
    margin-top: 18px;
    font-size: clamp(15px, 3.8vw, 18px);
    text-align: center;
  }

  .hero-signature {
    align-self: center;
    margin-right: -0.8em;
  }

  .hero-cta-row {
    max-width: 520px;
    margin-top: 24px;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(72vw, 450px);
    min-width: 0;
    min-height: clamp(330px, 45vh, 430px);
    margin: -8px auto 0;
  }
}

@media (max-width: 480px) {
  .hero {
    gap: 4px;
    padding-inline: 13px;
  }

  .hero-wordmark {
    font-size: clamp(58px, 17vw, 70px);
  }

  .hero-svg-wordmark {
    width: min(92vw, 390px);
  }

  .hero-intro {
    max-width: 34ch;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.32;
  }

  .hero-signature {
    margin-right: -0.35em;
    font-size: 0.31em;
  }

  .hero-cta-row {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-cta-row .hero-primary,
  .hero-cta-row .hero-secondary {
    min-height: 46px;
    padding-inline: 7px;
    font-size: clamp(14px, 4.2vw, 18px);
  }

  .hero-visual {
    width: min(82vw, 350px);
    min-height: clamp(285px, 39vh, 340px);
    margin-top: -2px;
  }
}



/* ---- hero title artwork: exact supplied EN/TR assets ---- */

.hero .hero-svg-wordmark {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  width: min(48vw, 720px);
  max-width: none;
  margin: 0;
  font-size: 0;
  line-height: 1;
  white-space: normal;
  transform: translateX(-46px);
}

.hero .hero-title-svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero .hero-title-svg-tr,
html[lang="tr"] .hero .hero-title-svg-en {
  display: none;
}

html[lang="tr"] .hero .hero-title-svg-tr {
  display: block;
}

main#content .hero .hero-copy .hero-intro {
  order: 2;
  align-self: auto;
  width: min(44vw, 740px);
  max-width: none;
  margin: -84px 0 0;
  color: #070baa;
  font-family: var(--font-body);
  font-size: clamp(22px, 1.65vw, 27px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0;
  text-align: left;
  text-shadow: none;
  text-wrap: balance;
  transform: none;
  overflow-wrap: anywhere;
}

main#content .hero .hero-copy .hero-intro strong {
  color: inherit;
  font-weight: 800;
}

/* TR başlık artwork'ünün oranı EN'den farklı, boşluk ayrı ayarlanır */
html[lang="tr"] main#content .hero .hero-copy .hero-intro {
  margin-top: -59px;
}

/* ---- Mehmagic system graphics: small, functional UI pieces ---- */

.system-label,
.status-chip,
.sticker-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 7px 12px 6px;
  color: var(--white);
  background: var(--deep-blue);
  border: 4px solid var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
  font-family: var(--font-body);
  font-size: clamp(10px, 0.8vw, 13px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.status-chip {
  color: var(--ink);
  background: var(--yellow);
  border-width: 3px;
  box-shadow: 4px 4px 0 var(--ink);
}

.sticker-note {
  color: var(--ink);
  background: var(--bone);
  transform: rotate(-3deg);
}

.pixel-frame {
  border: 6px solid var(--blue);
  box-shadow: 9px 9px 0 var(--orange);
}

.focus-brackets {
  position: relative;
}

.focus-brackets::before,
.focus-brackets::after {
  content: "";
  position: absolute;
  z-index: 7;
  width: 38px;
  height: 38px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms steps(2, end), transform 160ms steps(3, end);
}

.focus-brackets::before {
  top: -10px;
  left: -10px;
  border-top: 6px solid var(--orange);
  border-left: 6px solid var(--orange);
  transform: translate(8px, 8px);
}

.focus-brackets::after {
  right: -10px;
  bottom: -10px;
  border-right: 6px solid var(--blue);
  border-bottom: 6px solid var(--blue);
  transform: translate(-8px, -8px);
}

.magic-meter {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  width: min(240px, 100%);
  padding: 4px;
  background: var(--ink);
  border: 3px solid var(--blue);
}

.magic-meter > i {
  min-height: 10px;
  background: var(--yellow);
}

.magic-meter > i:nth-child(3n) {
  background: var(--orange);
}

.star-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(380px, 100%);
  color: var(--orange);
}

.star-divider::before,
.star-divider::after {
  content: "";
  height: 5px;
  flex: 1;
  background: var(--blue);
}

.star-divider > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.profile-intro > .system-label,
.dossier-head > .system-label,
.mehmagic-band-copy > .system-label {
  margin-bottom: 12px;
  transform: rotate(-1deg);
}

.project-proof-card:hover,
.project-proof-card:focus-visible {
  --card-shift: -4px;
  filter: none;
  box-shadow: 12px 12px 0 var(--orange);
}

.project-proof-card:hover .project-proof-cover img,
.project-proof-card:focus-visible .project-proof-cover img {
  transform: scale(1.035);
  filter: none;
}

/* Existing hero decoration gets one calmer rhythm and one border weight. */
.hero-callout,
.hero-meter {
  border-width: 5px;
  box-shadow: 6px 6px 0 var(--orange);
}

.hero-chaos span {
  animation-duration: 8s;
}

.hero-chaos span:nth-child(n + 7) {
  opacity: 0.28;
}

/* Mehvision footer CTA */
.site-footer {
  overflow: hidden;
}

.site-footer .footer-action {
  position: relative;
  isolation: isolate;
  min-height: clamp(500px, 42vw, 690px);
  padding: clamp(230px, 20vw, 330px) var(--edge) clamp(54px, 7vw, 96px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-content: end;
  align-items: end;
  gap: clamp(18px, 3vw, 52px);
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.08) 1px, transparent 1px),
    var(--yellow);
  background-size: 24px 24px, 24px 24px, auto;
}

.mehvision-glasses {
  position: absolute;
  z-index: 4;
  top: clamp(32px, 4vw, 68px);
  left: clamp(-150px, -4vw, -40px);
  width: min(68vw, 1080px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-115%) rotate(8deg) skewX(-2deg);
  transform-origin: 48% 45%;
  transition: transform 220ms steps(3, end);
}

.footer-action.is-visible .mehvision-glasses {
  animation: mehvision-drop 820ms cubic-bezier(0.2, 0.78, 0.28, 1.22) 80ms both;
}

.mehvision-glasses img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.mehvision-glasses:hover {
  transform: rotate(5deg) skewX(-1deg) translateY(-5px);
}

.mehvision-glasses:focus-visible {
  outline: 6px solid var(--ink);
  outline-offset: 10px;
}

.mehvision-copy {
  z-index: 2;
  grid-column: 2;
  max-width: 700px;
  padding: clamp(20px, 2.4vw, 34px);
  background: var(--bone);
  border: 6px solid var(--blue);
  box-shadow: 10px 10px 0 var(--orange);
}

.mehvision-copy .system-label {
  margin-bottom: 18px;
}

.footer-action .mehvision-copy h2 {
  margin: 0;
  max-width: 9ch;
  color: var(--blue);
  font-size: clamp(50px, 5vw, 94px);
  line-height: 0.88;
  letter-spacing: 0;
  text-wrap: balance;
}

.mehvision-second {
  display: block;
  max-width: 18ch;
  margin-top: 14px;
  color: var(--orange);
  font-family: var(--font-display);
  font-size: clamp(25px, 2.5vw, 46px);
  line-height: 0.95;
}

.mehvision-copy > p {
  max-width: 48ch;
  margin: 20px 0 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 1.25vw, 22px);
  font-weight: 600;
  line-height: 1.35;
}

.mehvision-stars {
  position: absolute;
  inset: -40px;
  pointer-events: none;
}

.mehvision-stars i {
  position: absolute;
  width: 30px;
  aspect-ratio: 1;
  background: url("./assets/brand/star.png") center / contain no-repeat;
  opacity: 0;
}

.mehvision-stars i:nth-child(1) { top: 2%; right: 8%; }
.mehvision-stars i:nth-child(2) { right: -2%; bottom: 22%; width: 46px; }
.mehvision-stars i:nth-child(3) { left: 18%; bottom: -3%; width: 24px; }

.site-footer .footer-contact {
  z-index: 5;
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-footer .footer-mail {
  min-width: min(100%, 260px);
  text-align: center;
}

.has-mehvision:not(.is-mehvision) .mehvision-second,
.has-mehvision:not(.is-mehvision) .site-footer .footer-mail {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}

.has-mehvision:not(.is-mehvision) .mehvision-second {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
}

.mehvision-second,
.site-footer .footer-mail {
  transition: opacity 160ms steps(3, end), transform 180ms steps(3, end), visibility 180ms steps(1, end), max-height 180ms steps(3, end), margin 180ms steps(3, end);
}

.mehvision-second {
  max-height: 2.2em;
}

body.is-mehvision main {
  filter: saturate(1.045);
}

body.is-mehvision .site-footer .footer-action {
  background-size: 16px 16px, 16px 16px, auto;
}

body.is-mehvision .mehvision-copy.focus-brackets::before,
body.is-mehvision .mehvision-copy.focus-brackets::after {
  opacity: 1;
  transform: translate(0, 0);
}

body.is-mehvision .mehvision-stars i {
  animation: mehvision-star-pop 420ms steps(4, end) both;
}

body.is-mehvision .mehvision-stars i:nth-child(2) { animation-delay: 80ms; }
body.is-mehvision .mehvision-stars i:nth-child(3) { animation-delay: 150ms; }

@keyframes mehvision-drop {
  0% { transform: translateY(-115%) rotate(-8deg) skewX(-5deg); }
  72% { transform: translateY(5%) rotate(9deg) skewX(-2deg); }
  86% { transform: translateY(-2%) rotate(7deg) skewX(-2deg); }
  100% { transform: translateY(0) rotate(8deg) skewX(-2deg); }
}

@keyframes mehvision-star-pop {
  0% { opacity: 0; transform: scale(0.3) rotate(-25deg); }
  70% { opacity: 1; transform: scale(1.25) rotate(8deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@media (max-width: 900px) {
  .site-footer .footer-action {
    min-height: auto;
    padding-top: clamp(260px, 52vw, 420px);
    grid-template-columns: 1fr;
  }

  .mehvision-glasses {
    top: 14px;
    left: 50%;
    width: min(112vw, 760px);
    transform: translate(-50%, -115%) rotate(7deg) skewX(-2deg);
  }

  .footer-action.is-visible .mehvision-glasses {
    animation-name: mehvision-drop-mobile;
  }

  .mehvision-copy,
  .site-footer .footer-contact {
    grid-column: 1;
  }

  .site-footer .footer-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-action .mehvision-copy h2 {
    max-width: 10ch;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-action {
    padding: 210px 16px 44px;
  }

  .mehvision-glasses {
    top: 10px;
    width: 118vw;
  }

  .mehvision-copy {
    padding: 18px;
    border-width: 5px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .footer-action .mehvision-copy h2 {
    font-size: clamp(44px, 15vw, 66px);
  }

  .mehvision-copy > p {
    font-size: 16px;
  }
}

@keyframes mehvision-drop-mobile {
  0% { transform: translate(-50%, -115%) rotate(-7deg) skewX(-4deg); }
  74% { transform: translate(-50%, 4%) rotate(8deg) skewX(-2deg); }
  88% { transform: translate(-50%, -2%) rotate(6deg) skewX(-2deg); }
  100% { transform: translate(-50%, 0) rotate(7deg) skewX(-2deg); }
}



.hero .hero-visual {
  margin-left: clamp(96px, 11vw, 220px);
}

main#content .hero .hero-copy {
  width: min(100%, 660px);
}

.hero .hero-cta-row {
  order: 3;
  margin-top: clamp(18px, 2.4vh, 26px);
}

.hero .hero-svg-wordmark {
  order: 1;
}

@media (max-width: 900px) {
  .hero .hero-svg-wordmark {
    width: min(86vw, 520px);
    max-width: 100%;
    transform: none;
  }

  main#content .hero .hero-copy .hero-intro {
    align-self: center;
    width: auto;
    max-width: 38ch;
    margin: -30px auto 0;
    font-size: clamp(18px, 3.8vw, 21px);
    text-align: center;
  }

  .hero .hero-visual {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mehvision 3D authoritative layout override. */
.site-footer .footer-action[data-mehvision-stage] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-items: center;
  align-content: start;
  min-height: clamp(760px, 62vw, 940px);
  padding: clamp(42px, 4vw, 68px) var(--edge) clamp(126px, 10vw, 170px);
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  width: min(76vw, 980px);
  height: clamp(300px, 34vw, 500px);
  margin: 0 auto clamp(-38px, -2.4vw, -18px);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  contain: layout paint style;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model.is-grabbing {
  cursor: grabbing;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model:focus-visible {
  outline: 5px solid var(--blue);
  outline-offset: 4px;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 260ms ease-out;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-model.is-ready canvas {
  opacity: 1;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-copy {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  transform: none;
  text-align: center;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
  display: flex;
  max-width: none;
  margin: 0;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  color: var(--blue);
  font-size: clamp(62px, 7.4vw, 132px);
  line-height: 0.88;
  white-space: nowrap;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 > span {
  display: inline-block;
  width: auto;
  max-width: none;
  white-space: nowrap;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 > span:last-child::after {
  width: clamp(72px, 7vw, 118px);
  margin-right: auto;
  margin-left: auto;
}

.site-footer .footer-action[data-mehvision-stage] .mehvision-second {
  margin: clamp(34px, 3vw, 52px) auto 0;
  text-align: center;
}

.site-footer .footer-action[data-mehvision-stage] .footer-contact {
  right: var(--edge);
  bottom: clamp(38px, 4vw, 64px);
}

@media (max-width: 900px) {
  .site-footer .footer-action[data-mehvision-stage] {
    min-height: 700px;
    padding: 30px 22px 184px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-model {
    width: min(96vw, 720px);
    height: clamp(250px, 52vw, 390px);
    margin-bottom: -20px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    max-width: none;
    gap: 0.16em;
    font-size: clamp(38px, 9.5vw, 76px);
  }

  .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    right: 22px;
    bottom: 42px;
    width: calc(100% - 44px);
    align-items: center;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-action[data-mehvision-stage] {
    min-height: 620px;
    padding: 24px 16px 176px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-model {
    width: calc(100vw - 16px);
    height: clamp(220px, 65vw, 300px);
    margin-bottom: -14px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    gap: 0.14em;
    font-size: clamp(27px, 9.4vw, 46px);
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 > span:last-child::after {
    width: 62px;
    height: 5px;
    margin-top: 10px;
  }

  .site-footer .footer-action[data-mehvision-stage] .mehvision-second {
    max-width: 18ch;
    margin-top: 26px;
    font-size: clamp(26px, 8vw, 38px);
  }

  .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    right: 16px;
    bottom: 34px;
    width: calc(100% - 32px);
  }
}



/* ---- Mehvision final stage: open composition and physics-owned glasses ---- */
.site-footer .footer-action[data-mehvision-stage] {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  min-height: clamp(620px, 47vw, 760px);
  padding: clamp(72px, 7vw, 116px) var(--edge) clamp(104px, 9vw, 144px);
  overflow: hidden;
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(49, 0, 255, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 0, 255, 0.065) 1px, transparent 1px);
  background-size: 28px 28px;
}

.footer-action[data-mehvision-stage] .mehvision-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  align-self: center;
  width: min(100%, 820px);
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: translateX(clamp(18px, 3vw, 56px));
}

.footer-action[data-mehvision-stage] .mehvision-copy .system-label {
  display: none;
}

.footer-action[data-mehvision-stage] .mehvision-copy h2 {
  max-width: 10ch;
  color: var(--blue);
  font-size: clamp(72px, 7vw, 132px);
  line-height: 0.86;
}

.footer-action[data-mehvision-stage] .mehvision-copy h2 > span {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}

.footer-action[data-mehvision-stage] .mehvision-copy h2 > span:last-child::after {
  content: "";
  display: block;
  width: clamp(72px, 7vw, 118px);
  height: 6px;
  margin: clamp(12px, 1.2vw, 20px) 0 0 0.08em;
  background: var(--orange);
}

.footer-action[data-mehvision-stage] .mehvision-second {
  max-width: 24ch;
  margin-top: clamp(56px, 6vw, 104px);
  color: var(--orange);
  font-size: clamp(32px, 3.2vw, 62px);
  line-height: 0.95;
}

.footer-action[data-mehvision-stage] .mehvision-copy > p {
  display: none;
}

body.has-mehvision:not(.is-mehvision) .footer-action[data-mehvision-stage] .mehvision-second,
body.has-mehvision:not(.is-mehvision) .site-footer .footer-action[data-mehvision-stage] .footer-mail {
  max-height: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.footer-action[data-mehvision-stage] .mehvision-glasses {
  position: absolute;
  z-index: 4;
  top: clamp(46px, 6vw, 92px);
  right: clamp(-42px, -1.5vw, -16px);
  left: auto;
  width: min(51vw, 860px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: rotate(8deg);
  user-select: none;
  -webkit-user-drag: none;
}

.footer-action[data-mehvision-stage].is-visible .mehvision-glasses {
  animation: none;
}

.footer-action[data-mehvision-stage].is-mehvision-physics .mehvision-glasses {
  top: 0;
  right: auto;
  left: 0;
  height: auto;
  transition: none;
  will-change: transform;
  pointer-events: none;
  cursor: default;
}

.footer-action[data-mehvision-stage].is-glasses-grabbing .mehvision-glasses {
  cursor: default;
}

/* Small boxed system kickers are intentionally removed site-wide. */
.system-label,
.section-kicker {
  display: none !important;
}

.client-arena-copy > p:not(.section-kicker):not(.client-instruction)::after,
.dossier-lede::after,
.profile-lede::after,
.fm-board-head > p:not(.section-kicker)::after,
.mehmagic-game-head > p:not(.section-kicker)::after,
.section-head-side::after,
.footer-action p:not(.section-kicker)::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.site-footer .footer-action[data-mehvision-stage] .footer-contact {
  position: absolute;
  z-index: 6;
  right: var(--edge);
  bottom: clamp(92px, 8vw, 132px);
  display: flex;
  width: min(430px, 42vw);
  height: auto;
  align-items: flex-end;
  flex-direction: column-reverse;
  justify-content: flex-start;
  gap: 14px;
}

.site-footer .footer-action[data-mehvision-stage] .footer-socials {
  justify-content: flex-end;
}

.site-footer .footer-action[data-mehvision-stage] .footer-mail {
  min-width: min(100%, 320px);
  color: var(--ink);
  background: var(--white);
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--blue);
  transform: rotate(-4deg);
}

.site-footer .footer-action[data-mehvision-stage] .footer-mail:hover,
.site-footer .footer-action[data-mehvision-stage] .footer-mail:focus-visible {
  color: var(--white);
  background: var(--orange);
  box-shadow: 5px 5px 0 var(--blue);
  transform: rotate(-2deg) translateY(-3px);
}

@media (max-width: 900px) {
  .site-footer .footer-action[data-mehvision-stage] {
    grid-template-columns: 1fr;
    min-height: 780px;
    padding: 270px 22px 170px;
    align-items: start;
  }

  .footer-action[data-mehvision-stage] .mehvision-copy {
    grid-column: 1;
    transform: translateX(8px);
  }

  .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    max-width: 9ch;
    font-size: clamp(58px, 16vw, 86px);
  }

  .footer-action[data-mehvision-stage] .mehvision-copy > p {
    max-width: 34ch;
    font-size: 17px;
  }

  .footer-action[data-mehvision-stage] .mehvision-glasses {
    top: 22px;
    right: -7vw;
    width: min(100vw, 520px);
    transform: rotate(7deg);
  }

  .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    right: 22px;
    bottom: 76px;
    width: calc(100% - 44px);
    align-items: flex-end;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-action[data-mehvision-stage] {
    min-height: 740px;
    padding: 225px 16px 164px;
    background-size: 22px 22px;
  }

  .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    font-size: clamp(52px, 16.5vw, 68px);
  }

  .footer-action[data-mehvision-stage] .mehvision-copy {
    transform: none;
  }

  .footer-action[data-mehvision-stage] .mehvision-second {
    font-size: clamp(28px, 9vw, 40px);
  }

  .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    right: 16px;
    bottom: 64px;
    width: calc(100% - 32px);
  }
}



@media (max-width: 480px) {
  .hero .hero-svg-wordmark {
    width: min(92vw, 390px);
  }

  main#content .hero .hero-copy .hero-intro {
    max-width: 32ch;
    margin-top: -24px;
    font-size: 17px;
    line-height: 1.3;
  }
}

/* Active 3D CTA rules. This block intentionally follows the retired 2D stage. */
html body .site-footer .footer-action[data-mehvision-stage] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-content: start;
  gap: 0;
  min-height: clamp(650px, calc(100svh - 60px), 900px);
  padding: clamp(14px, 1.5vw, 24px) var(--edge) 24px;
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-model {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  width: min(76vw, 980px);
  height: clamp(300px, 34vw, 500px);
  margin: 0 auto clamp(-76px, -5vw, -56px);
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-model:focus-visible {
  outline: 0;
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-model:focus-visible canvas {
  filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.72));
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-model canvas {
  position: relative;
  z-index: 2;
  animation: mehvision-float 5.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes mehvision-float {
  0%,
  100% {
    transform: translateY(-18px);
  }

  50% {
    transform: translateY(0);
  }
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 1280px);
  margin: 0 auto;
  transform: none;
  text-align: center;
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
  display: flex;
  max-width: none;
  margin: 0;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  font-size: clamp(62px, 7.4vw, 132px);
  line-height: 0.88;
  white-space: nowrap;
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 > span {
  display: inline-block;
  width: auto;
  max-width: none;
  white-space: nowrap;
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-second {
  width: max-content;
  max-width: none;
  margin: clamp(34px, 3vw, 52px) auto 0;
  text-align: center;
  white-space: nowrap;
}

html body .site-footer .footer-action[data-mehvision-stage] .footer-contact {
  position: static;
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  width: max-content;
  margin: clamp(28px, 2.6vw, 40px) auto 0;
  align-items: center;
  transform: none;
  animation: none !important;
}

html body .site-footer .footer-action[data-mehvision-stage] .footer-socials {
  order: 1;
  justify-content: center;
  gap: 13px;
}

html body .site-footer .footer-action[data-mehvision-stage] .footer-socials a {
  width: 58px;
  height: 58px;
}

html body .site-footer .footer-action[data-mehvision-stage] .footer-socials svg {
  width: 26px;
  height: 26px;
}

html body .site-footer .footer-action[data-mehvision-stage] .footer-socials .si-text {
  font-size: 23px;
}

html body .site-footer .footer-action[data-mehvision-stage] .footer-email-compact {
  order: 2;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 14px auto 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  clip-path: none;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transform: none;
  translate: none;
  transition: color 120ms ease-out;
}

html body .site-footer .footer-action[data-mehvision-stage] .footer-email-compact:hover,
html body .site-footer .footer-action[data-mehvision-stage] .footer-email-compact:focus-visible {
  color: var(--blue);
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
  translate: none;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy,
html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy > p {
  text-align: center;
}

html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 > span:last-child::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 900px) {
  html body .site-footer .footer-action[data-mehvision-stage] {
    min-height: 700px;
    padding: 16px 22px 28px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .mehvision-model {
    width: min(96vw, 720px);
    height: clamp(250px, 52vw, 390px);
    margin-bottom: -38px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    gap: 0.16em;
    font-size: clamp(38px, 9.5vw, 76px);
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    position: static;
    width: max-content;
    align-items: center;
  }
}

@media (max-width: 520px) {
  html body .site-footer .footer-action[data-mehvision-stage] {
    min-height: 620px;
    padding: 12px 16px 28px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .mehvision-model {
    width: calc(100vw - 16px);
    height: clamp(220px, 65vw, 300px);
    margin-bottom: -26px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    gap: 0.14em;
    font-size: clamp(27px, 9.4vw, 46px);
  }

  html body .site-footer .footer-action[data-mehvision-stage] .mehvision-second {
    width: max-content;
    max-width: none;
    margin: 26px auto 0;
    font-size: clamp(18px, 5.4vw, 28px);
    white-space: nowrap;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    position: static;
    width: max-content;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-socials a {
    width: 52px;
    height: 52px;
  }
}
/* Motion package owns these transforms once progressive enhancement is ready. */
.motion-ui-ready .project-proof-card[data-motion-enhanced="card"] {
  will-change: transform;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.motion-ui-ready .project-proof-card[data-motion-enhanced="card"]:hover,
.motion-ui-ready .project-proof-card[data-motion-enhanced="card"]:focus-visible {
  transform: none;
  box-shadow: 9px 10px 0 var(--ink);
  border-color: var(--yellow);
}

.motion-ui-ready .project-proof-card[data-motion-enhanced="card"] .project-proof-cover img,
.motion-ui-ready .project-proof-card[data-motion-enhanced="card"]:hover .project-proof-cover img {
  transform: none;
  transition: none;
  will-change: transform;
}

.motion-ui-ready [data-motion-enhanced="modal"] .behance-modal-panel,
.motion-ui-ready [data-motion-enhanced="dialog"] .mail-dialog-panel {
  animation: none;
  transform-origin: center;
}

.motion-ui-ready [data-motion-enhanced="modal"] .behance-deck-card {
  animation: none;
  will-change: transform, opacity;
}

.motion-ui-ready [data-motion-enhanced="press"] {
  will-change: transform;
}



/* Final project-card guard: later legacy layers must not distort or crush the
   action chip. Keep it flat, legible and clear of the description. */
.project-proof-card,
.project-proof-copy {
  transform-style: flat;
  backface-visibility: hidden;
}

.project-proof-copy::after {
  z-index: 7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 5px 9px 6px;
  color: var(--ink);
  background: var(--bone);
  border: 2px solid var(--blue);
  box-shadow: 3px 3px 0 var(--orange);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-rendering: geometricPrecision;
  transform: translate3d(8px, 0, 1px);
  backface-visibility: hidden;
}

.project-proof-copy small {
  padding-right: clamp(96px, 8vw, 124px);
}

.project-proof-card:hover .project-proof-copy::after,
.project-proof-card:focus-visible .project-proof-copy::after {
  transform: translate3d(0, 0, 1px);
}

@media (max-width: 760px), (hover: none) {
  .project-proof-copy small {
    padding-right: 0;
  }
}

/* Compact Behance handoff: one selected cover, one clear destination. */
.behance-modal {
  padding: 20px;
}

.behance-modal-backdrop {
  background: rgba(17, 17, 42, 0.54);
  backdrop-filter: none;
}

.behance-modal-panel {
  grid-template-columns: 152px minmax(0, 1fr);
  grid-template-areas:
    "cover title"
    "cover message"
    "cover subtitle"
    "progress progress";
  column-gap: 18px;
  row-gap: 5px;
  width: min(540px, calc(100vw - 40px));
  padding: 14px;
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.055) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.055) 0 1px, transparent 1px),
    var(--bone);
  background-size: 16px 16px, 16px 16px, auto;
  border: 4px solid var(--blue);
  box-shadow: 7px 7px 0 var(--orange);
  transform: none;
}

.behance-cover-deck {
  grid-area: cover;
  display: block;
  width: 152px;
  height: 104px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 3px solid var(--ink);
  perspective: none;
}

.behance-cover-deck::before {
  content: none;
}

.behance-deck-card,
.behance-deck-card.is-active,
.behance-deck-card.is-peek,
.behance-deck-card:hover {
  position: absolute;
  inset: 0;
  display: grid;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  color: var(--yellow);
  background: var(--ink);
  border: 0;
  box-shadow: none;
  font-size: 14px;
  transform: none;
  cursor: progress;
}

.behance-cover-deck:has(.behance-deck-card:hover) .behance-deck-card:not(:hover):not(.is-peek) {
  transform: none;
}

.behance-deck-card img {
  object-fit: cover;
  filter: none;
}

.behance-modal-title {
  grid-area: title;
  align-self: end;
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.behance-modal-message {
  grid-area: message;
  align-self: center;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 0.95;
}

.behance-modal-message::after {
  content: "  ↗";
  color: var(--blue);
}

.behance-modal-subtitle {
  grid-area: subtitle;
  align-self: start;
  font-size: 12px;
  line-height: 1.25;
}

.behance-modal-progress {
  grid-area: progress;
  position: relative;
  height: 12px;
  margin-top: 8px;
  overflow: hidden;
  background: rgba(17, 17, 42, 0.12);
  border: 2px solid var(--ink);
  animation: none;
  transform: none;
}

.behance-modal-progress::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--blue) 0 18px,
    var(--yellow) 18px 22px
  );
  transform: scaleX(0);
  transform-origin: left center;
  animation: behance-handoff-fill var(--behance-redirect-duration, 820ms) steps(10, end) both;
}

.behance-modal-progress::after {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: -7px;
  width: 5px;
  background: var(--orange);
  box-shadow: 3px 0 0 var(--bone);
  animation: behance-handoff-scan var(--behance-redirect-duration, 820ms) steps(10, end) both;
}

@keyframes behance-handoff-fill {
  to {
    transform: scaleX(1);
  }
}

@keyframes behance-handoff-scan {
  to {
    left: calc(100% - 7px);
  }
}

@media (max-width: 560px) {
  .behance-modal {
    place-items: center;
    padding: 14px;
  }

  .behance-modal-panel {
    grid-template-columns: 104px minmax(0, 1fr);
    width: min(100%, 420px);
    column-gap: 12px;
    padding: 11px;
    border-width: 3px;
    box-shadow: 5px 5px 0 var(--orange);
  }

  .behance-cover-deck {
    width: 104px;
    height: 78px;
  }

  .behance-modal-message {
    font-size: clamp(18px, 5.6vw, 24px);
  }

  .behance-modal-subtitle {
    font-size: 11px;
  }
}



/* Main-page discovery index: quick for clients, deeper for curious visitors. */
.home-dossier .project-proof-copy {
  display: grid;
  align-content: end;
  gap: 4px;
  min-height: 118px;
}

.home-dossier .project-proof-type {
  display: block;
  max-width: calc(100% - 100px);
  overflow: hidden;
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-dossier .project-proof-copy strong {
  line-height: 0.95;
}

.home-dossier .project-proof-copy small {
  display: -webkit-box;
  max-width: 100%;
  min-height: 2.4em;
  padding-right: 92px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.world-index {
  padding: clamp(54px, 6vw, 92px) clamp(16px, 3.5vw, 60px);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(49, 0, 255, 0.06) 0 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 0, 255, 0.06) 0 1px, transparent 1px),
    var(--bone);
  background-size: 24px 24px, 24px 24px, auto;
  border-block: 6px solid var(--blue);
}

.world-index-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: clamp(24px, 5vw, 90px);
  max-width: 1500px;
  margin: 0 auto clamp(28px, 4vw, 54px);
}

.world-index-code {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 7px 10px 6px;
  overflow: hidden;
  color: var(--yellow);
  background: var(--ink);
  border-left: 5px solid var(--orange);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-index-head h2 {
  max-width: 760px;
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 92px);
  line-height: 0.84;
  letter-spacing: 0;
}

.world-index-head > p {
  max-width: 620px;
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.42;
}

.world-index-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  max-width: 1500px;
  margin: 0 auto;
}

.world-module {
  min-width: 0;
  padding: clamp(20px, 2.6vw, 34px);
  background: var(--white);
  border: 4px solid var(--blue);
  box-shadow: 7px 7px 0 var(--orange);
}

.world-module-sources {
  grid-column: span 5;
  background: var(--yellow);
}

.world-module-notes {
  grid-column: span 7;
}

.world-module-log {
  grid-column: span 7;
  color: var(--bone);
  background: var(--ink);
  border-color: var(--orange);
  box-shadow: 7px 7px 0 var(--blue);
}

.world-module-marks {
  grid-column: span 5;
  background: var(--bone);
}

.world-module-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  margin-bottom: 10px;
}

.world-module-head > span {
  flex: 0 0 auto;
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.world-module-head h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 46px);
  line-height: 0.88;
  letter-spacing: 0;
}

.world-module-log .world-module-head h3 {
  color: var(--yellow);
}

.world-module > p {
  max-width: 620px;
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.38;
}

.source-file-list {
  display: grid;
  gap: 8px;
}

.source-file-link {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--bone);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--blue);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 150ms ease;
}

.source-file-link span {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-file-link small {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-file-link b {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.source-file-link:hover,
.source-file-link:focus-visible {
  color: var(--white);
  background: var(--blue);
  box-shadow: 6px 6px 0 var(--orange);
  outline: 0;
  transform: translate(-2px, -2px);
}

.source-file-link:hover b,
.source-file-link:focus-visible b {
  color: var(--yellow);
}

.field-note-list {
  border-top: 3px solid var(--ink);
}

.field-note-list details {
  border-bottom: 3px solid var(--ink);
}

.field-note-list summary {
  position: relative;
  padding: 14px 42px 13px 2px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.field-note-list summary::-webkit-details-marker {
  display: none;
}

.field-note-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--yellow);
  background: var(--blue);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.field-note-list details[open] summary::after {
  content: "×";
  color: var(--white);
  background: var(--orange);
}

.field-note-list summary:hover,
.field-note-list summary:focus-visible {
  color: var(--blue);
  outline: 0;
}

.field-note-list details p {
  max-width: 680px;
  margin: 0;
  padding: 0 42px 15px 2px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.build-log-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid rgba(240, 237, 223, 0.35);
}

.build-log-list li {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 2px solid rgba(240, 237, 223, 0.35);
}

.build-log-list time {
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 0.95;
}

.build-log-list li > span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.mark-archive-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mark-archive-list figure {
  display: grid;
  grid-template-rows: minmax(94px, 1fr) auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mark-archive-list img {
  align-self: center;
  justify-self: center;
  width: 72%;
  height: 72px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.58;
  transition: filter 150ms ease, opacity 150ms ease, transform 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mark-archive-list figcaption {
  padding: 7px 8px;
  overflow: hidden;
  color: var(--bone);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.mark-archive-list figure:hover,
.mark-archive-list figure:focus-visible {
  border-color: var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
  outline: 0;
  transform: translate(-2px, -2px);
}

.mark-archive-list figure:hover img,
.mark-archive-list figure:focus-visible img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 980px) {
  .world-index-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .world-index-head > p {
    max-width: 760px;
  }

  .world-module-sources,
  .world-module-notes,
  .world-module-log,
  .world-module-marks {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .home-dossier .project-proof-copy {
    min-height: 112px;
  }

  .home-dossier .project-proof-type {
    max-width: 100%;
  }

  .home-dossier .project-proof-copy small {
    min-height: 0;
    padding-right: 0;
  }

  .world-index {
    padding-inline: 12px;
  }

  .world-index-head h2 {
    font-size: clamp(42px, 14vw, 68px);
  }

  .world-index-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .world-module-sources,
  .world-module-notes,
  .world-module-log,
  .world-module-marks {
    grid-column: 1;
  }

  .world-module {
    padding: 20px 16px;
    border-width: 3px;
    box-shadow: 5px 5px 0 var(--orange);
  }

  .world-module-log {
    box-shadow: 5px 5px 0 var(--blue);
  }

  .source-file-link {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .source-file-link small {
    grid-column: 1;
    grid-row: 2;
  }

  .source-file-link b {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}



/* ---- Hero poster stage ---- */

.hero.hero-poster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
  justify-items: stretch;
  min-height: calc(100svh - 72px);
  padding: clamp(14px, 2vh, 24px) clamp(14px, 2.2vw, 40px)
    calc(var(--hero-ticker-height) + var(--hero-ticker-tail) + clamp(12px, 2vh, 22px));
}

.hero-poster .hero-poster-stage {
  position: relative;
  z-index: 2;
  width: min(100%, 1760px);
  height: 100%;
  min-height: min(760px, calc(100svh - 126px));
  margin: 0 auto;
  isolation: isolate;
  transform: translateY(-18px);
}

.hero-poster .hero-poster-title {
  position: absolute;
  z-index: 1;
  top: clamp(18px, 2.6vh, 34px);
  left: 50%;
  width: 100%;
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(132px, 18vw, 330px);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: 0;
  text-align: center;
  text-transform: lowercase;
  white-space: nowrap;
  text-shadow: none;
  transform: translate(calc(-50% + var(--hero-mx) * -0.46), calc(var(--hero-my) * -0.7)) skewX(calc(var(--hero-tilt) * -1));
  transform-origin: center;
  transition: transform 280ms cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.hero-poster .hero-poster-title span {
  display: inline-block;
  margin-inline: -0.012em;
  transform-origin: center bottom;
}

.hero-poster .hero-poster-title span:nth-child(1) { transform: translateY(0.20em) rotate(-8deg); }
.hero-poster .hero-poster-title span:nth-child(2) { transform: translateY(0.13em) rotate(-6deg); }
.hero-poster .hero-poster-title span:nth-child(3) { transform: translateY(0.065em) rotate(-3deg); }
.hero-poster .hero-poster-title span:nth-child(4) { transform: translateY(0.018em) rotate(-1deg); }
.hero-poster .hero-poster-title span:nth-child(5) { transform: translateY(0.018em) rotate(1deg); }
.hero-poster .hero-poster-title span:nth-child(6) { transform: translateY(0.065em) rotate(3deg); }
.hero-poster .hero-poster-title span:nth-child(7) { transform: translateY(0.13em) rotate(6deg); }
.hero-poster .hero-poster-title span:nth-child(8) { transform: translateY(0.20em) rotate(8deg); }

.hero-poster .hero-visual {
  position: absolute;
  z-index: 3;
  top: 52%;
  left: 50%;
  grid-column: auto;
  grid-row: auto;
  width: min(34vw, 470px);
  min-width: 310px;
  min-height: min(46vh, 460px);
  margin: 0;
  transform: translate(-50%, -50%);
  animation: hero-poster-float 7.8s var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)) infinite;
}

.hero-poster .hero-visual[data-reveal],
.hero-poster .hero-visual[data-reveal].is-visible {
  transform: translate(-50%, -50%);
}

.hero-poster .pixel-card {
  overflow: visible;
  width: min(82%, 470px);
  border-color: var(--deep-blue);
  box-shadow: 12px 12px 0 var(--deep-blue);
  transform: rotate(-5deg);
  animation: hero-card-angle-slow 12.8s var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)) infinite;
}

.hero-poster .pixel-card .burst {
  position: absolute;
  z-index: 1;
  top: -12%;
  right: -12%;
  display: block;
  width: clamp(76px, 7vw, 118px);
  height: auto;
  aspect-ratio: 1;
  opacity: 1;
  background: none;
  transform-origin: 50% 50%;
  animation: hero-corner-star-turn 6.8s linear infinite;
}

.hero-poster .hero-head {
  width: min(83%, 510px);
}

.hero-poster .focus-frame {
  width: min(84%, 450px);
  transform: translate(calc(var(--hero-mx) * 0.28), calc(var(--hero-my) * 0.28)) rotate(7deg);
  animation: hero-frame-angle-quick 4.6s var(--ease-in-out, cubic-bezier(0.77, 0, 0.175, 1)) infinite;
}

.hero-poster .hero-callout {
  left: 2%;
  bottom: 9%;
  min-width: 138px;
  padding: 8px 11px 10px;
  transform: translate(calc(var(--hero-mx) * 0.42), calc(var(--hero-my) * 0.42)) rotate(-4deg);
  transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-poster .hero-callout span {
  font-size: 9px;
  letter-spacing: 0.04em;
}

.hero-poster .hero-callout strong {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 0.85;
  text-transform: uppercase;
}

.hero-poster .hero-meter {
  right: 0;
  bottom: 10%;
  width: min(28%, 154px);
  transform: translate(calc(var(--hero-mx) * 0.32), calc(var(--hero-my) * 0.32)) rotate(3deg);
  transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-poster .hero-meter span {
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-meter-reload 2.4s steps(12, end) infinite;
}

.hero-poster .hero-mode-display {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(12px, 1.8vh, 24px);
  width: min(96%, 1380px);
  height: clamp(116px, 14vw, 240px);
  transform: translate(calc(-50% + var(--hero-mx) * 0.38), calc(var(--hero-my) * 0.55)) skewX(calc(var(--hero-tilt) * 0.85));
  transition: transform 260ms cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.hero-poster .hero-mode-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(116px, 15vw, 270px);
  line-height: 0.72;
  letter-spacing: 0;
  text-transform: lowercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition:
    opacity 180ms steps(3, end),
    transform 240ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.hero-poster .hero-mode-word.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-poster .hero-mode-switch {
  position: absolute;
  z-index: 6;
  top: 61%;
  display: grid;
  gap: 32px;
  width: clamp(132px, 11vw, 190px);
  transform: translateY(-50%);
}

.hero-poster .hero-mode-switch-left {
  left: clamp(64px, 15vw, 250px);
}

.hero-poster .hero-mode-switch-right {
  right: clamp(64px, 15vw, 250px);
}

.hero-poster .hero-mode-switch.hero-mode-switch-left {
  transform: translate(calc(var(--hero-mx) * -0.16), calc(-50% + var(--hero-my) * -0.16));
  transition: transform 260ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-poster .hero-mode-switch.hero-mode-switch-right {
  transform: translate(calc(var(--hero-mx) * 0.16), calc(-50% + var(--hero-my) * 0.16));
  transition: transform 260ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-poster .hero-mode-switch button,
.hero-poster .hero-mode-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 10px 10px;
  color: var(--blue);
  background: var(--bone);
  border: 4px solid var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.25vw, 22px);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transform: rotate(-2deg);
  transition:
    color 140ms steps(2, end),
    background-color 140ms steps(2, end),
    transform 160ms steps(2, end),
    box-shadow 160ms steps(2, end);
}

.hero-poster .hero-mode-switch > :nth-child(2) {
  transform: rotate(2deg);
}

.hero-poster .hero-mode-switch button:focus-visible,
.hero-poster .hero-mode-switch a:focus-visible {
  outline: 4px solid var(--orange);
  outline-offset: 4px;
}

.hero-poster .hero-copy {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .hero-poster .hero-mode-switch button:hover,
  .hero-poster .hero-mode-switch a:hover {
    color: var(--bone);
    background: var(--deep-blue);
    box-shadow: 7px 7px 0 var(--orange);
    transform: translate(-2px, -2px) rotate(0);
  }
}

@keyframes hero-poster-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 9px)); }
}

@keyframes hero-card-angle-slow {
  0%, 100% { transform: translate(calc(var(--hero-mx) * 0.42 - 5px), calc(var(--hero-my) * 0.42)) rotate(-6deg); }
  32% { transform: translate(calc(var(--hero-mx) * 0.42 - 2px), calc(var(--hero-my) * 0.42 + 3px)) rotate(-2deg); }
  68% { transform: translate(calc(var(--hero-mx) * 0.42 - 7px), calc(var(--hero-my) * 0.42 - 2px)) rotate(-7.5deg); }
}

@keyframes hero-card-angle-fast {
  0%, 100% { transform: translate(calc(var(--hero-mx) * -0.36 + 14px), calc(var(--hero-my) * -0.36 + 12px)) rotate(-6deg); }
  50% { transform: translate(calc(var(--hero-mx) * -0.36 + 14px), calc(var(--hero-my) * -0.36 + 12px)) rotate(11deg); }
}

@keyframes hero-frame-angle-quick {
  0%, 100% {
    transform: translate(calc(var(--hero-mx) * 0.16), calc(var(--hero-my) * 0.16)) rotate(7deg);
  }
  46% {
    transform: translate(calc(var(--hero-mx) * 0.16), calc(var(--hero-my) * 0.16)) rotate(3deg);
  }
  72% {
    transform: translate(calc(var(--hero-mx) * 0.16), calc(var(--hero-my) * 0.16)) rotate(9deg);
  }
}

@keyframes hero-corner-star-turn {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes hero-meter-reload {
  0%, 7% { transform: scaleX(0); }
  88%, 96% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

@media (max-width: 900px) {
  .hero.hero-poster {
    min-height: calc(100svh - 112px);
    padding-inline: 10px;
  }

  .hero-poster .hero-poster-stage {
    min-height: min(700px, calc(100svh - 150px));
    transform: translateY(-11px);
  }

  .hero-poster .hero-poster-title {
    top: 5%;
    font-size: clamp(68px, 19vw, 150px);
  }

  .hero-poster .hero-visual {
    top: 49%;
    width: min(59vw, 385px);
    min-width: 0;
    min-height: min(39vh, 385px);
  }

  .hero-poster .hero-mode-display {
    bottom: 12%;
    height: clamp(74px, 17vw, 132px);
  }

  .hero-poster .hero-mode-word {
    font-size: clamp(68px, 18vw, 138px);
  }

  .hero-poster .hero-mode-switch {
    top: auto;
    bottom: 0.5%;
    display: flex;
    gap: 10px;
    width: calc(50% - 12px);
    transform: none;
  }

  .hero-poster .hero-mode-switch-left {
    left: 4px;
  }

  .hero-poster .hero-mode-switch-right {
    right: 4px;
  }

  .hero-poster .hero-mode-switch button,
  .hero-poster .hero-mode-switch a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding-inline: 5px;
    font-size: clamp(12px, 3.2vw, 17px);
  }
}

@media (max-width: 480px) {
  .hero-poster .hero-poster-stage {
    min-height: calc(100svh - 160px);
  }

  .hero-poster .hero-poster-title {
    top: 8%;
    font-size: clamp(58px, 18vw, 84px);
  }

  .hero-poster .hero-visual {
    top: 46%;
    width: min(72vw, 305px);
    min-height: min(35vh, 305px);
  }

  .hero-poster .pixel-card .burst {
    top: -11%;
    right: -10%;
    width: 64px;
  }

  .hero-poster .hero-callout {
    left: -1%;
    bottom: 7%;
    min-width: 102px;
  }

  .hero-poster .hero-callout strong {
    font-size: 22px;
  }

  .hero-poster .hero-meter {
    right: -1%;
    bottom: 8%;
    width: 106px;
  }

  .hero-poster .hero-mode-display {
    bottom: 14%;
  }

  .hero-poster .hero-mode-word {
    font-size: clamp(56px, 17vw, 80px);
  }
}




/* ---- persona 5 esintili: hover'da devam eden agresif skew salinimi (site geneli) ---- */
@media (hover: hover) and (pointer: fine) {
  @keyframes wobble-skew-cta {
    0%, 100% { transform: translateY(-4px) rotate(-1deg) scale(1.03) skewX(0deg); }
    50% { transform: translateY(-4px) rotate(-1deg) scale(1.03) skewX(-7deg); }
  }

  .hero-primary:hover,
  .hero-secondary:hover {
    animation: wobble-skew-cta 700ms ease-in-out infinite;
  }

  @keyframes wobble-skew-mode-switch {
    0%, 100% { transform: skewX(0deg) translateY(0); }
    50% { transform: skewX(-8deg) translateY(-3px); }
  }

  .hero-poster .hero-mode-switch button:hover,
  .hero-poster .hero-mode-switch a:hover {
    animation: wobble-skew-mode-switch 700ms ease-in-out infinite;
  }

  @keyframes wobble-skew-filter {
    0%, 100% { transform: translateY(-3px) skewX(0deg); }
    50% { transform: translateY(-3px) skewX(-7deg); }
  }

  .case-filter button:hover {
    animation: wobble-skew-filter 700ms ease-in-out infinite;
  }

  @keyframes wobble-skew-lab {
    0%, 100% { transform: translateY(-6px) rotate(0.35deg) skewX(0deg); }
    50% { transform: translateY(-6px) rotate(0.35deg) skewX(-6deg); }
  }

  .lab-card:hover {
    animation: wobble-skew-lab 700ms ease-in-out infinite;
  }

  @keyframes wobble-skew-proof {
    0%, 100% { transform: translate(-2px, -7px) rotate(-0.45deg) skewX(0deg); }
    50% { transform: translate(-2px, -7px) rotate(-0.45deg) skewX(-6deg); }
  }

  .project-proof-card:hover {
    animation: wobble-skew-proof 700ms ease-in-out infinite;
  }

  @keyframes wobble-skew-inline {
    0%, 100% { transform: skewX(0deg); }
    50% { transform: skewX(-10deg); }
  }

  .mehmagic-nav-menu a:hover i,
  .mehmagic-nav-menu a:hover span,
  .nav-links a:hover,
  .nav-contact-link:hover,
  .dossier-more:hover,
  .sfx-toggle:hover,
  .language-switch button:hover {
    display: inline-block;
    animation: wobble-skew-inline 700ms ease-in-out infinite;
  }

  .footer-socials a:hover {
    animation: wobble-skew-inline 700ms ease-in-out infinite;
  }
}

/* hero mod anahtari: sag taraf soldakinin ayna acisinda dursun */
.hero-poster .hero-mode-switch-right button[type="button"] {
  transform: rotate(2deg);
}

.hero-poster .hero-mode-switch-right a[href] {
  transform: rotate(-2deg);
}

.hero-poster [data-cv-trigger] {
  gap: 6px;
}

.hero-poster [data-cv-trigger] svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---- proje kartları: sadeleştirme, sadece başlık + kısa açıklama, rozet/etiket yok ---- */

.project-proof-cover::before,
.project-proof-card[data-case-type]::after,
.project-proof-copy::after {
  content: none;
  display: none;
}

.project-proof-type {
  display: none;
}

.project-proof-copy {
  padding: clamp(16px, 2vw, 24px);
  gap: 8px;
}

.project-proof-card strong {
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.02;
}

.project-proof-card small {
  font-size: 13px;
  line-height: 1.42;
  opacity: 0.92;
}

.project-proof-card,
.project-proof-primary {
  position: relative;
  z-index: 1;
  /* Pre-promote to its own layer so the first hover doesn't have to build one
     on the fly - without this, some engines (notably Safari) can render the
     very first transform change as a snap/pop instead of an animated tween. */
  will-change: transform;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms steps(2, end), z-index 0ms 160ms;
}

.project-proof-card:hover,
.project-proof-card:focus-visible {
  z-index: 6;
  transform: translate(-3px, -6px) scale(1.07) rotate(-1.3deg);
  border-color: var(--yellow);
  box-shadow: 10px 12px 0 var(--orange);
  filter: none;
  transition: transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 160ms steps(2, end), z-index 0ms;
}

@media (hover: none) {
  .project-proof-cover::before,
  .project-proof-card[data-case-type]::after {
    display: none;
  }
}

/* ---- okunurluk: satır sonunda tek kelime kalmasın (orphan/widow engelleme) ---- */
p,
small,
.project-proof-card small,
.client-info-copy,
.dossier-lede,
.hero-intro,
.mehmagic-band-copy p,
.client-arena-copy p,
.client-instruction {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

/* ---- behance projeleri: kategori filtresi kaldırıldı, hepsi tek grid'de, kapaklar küçültüldü ---- */
.project-proof-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 8px;
}

.project-proof-card,
.project-proof-primary {
  min-height: 230px;
  aspect-ratio: auto;
  grid-column: auto;
  grid-row: auto;
}

.home-dossier .project-proof-card,
.home-dossier .project-proof-primary {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.project-proof-copy {
  padding: clamp(10px, 1.3vw, 14px);
  gap: 5px;
}

.project-proof-card strong {
  font-size: clamp(15px, 1.3vw, 18px);
}

.project-proof-card small {
  display: block;
  max-width: 100%;
  overflow: visible;
  font-size: 11px;
  line-height: 1.32;
  text-overflow: clip;
  white-space: normal;
}

@media (max-width: 980px) {
  .project-proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .project-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---- rumitech: yalnizca mobil, pc'de gizli ---- */
.project-proof-card--mobile-only {
  display: none;
}

@media (max-width: 620px) {
  .project-proof-card--mobile-only {
    display: grid;
  }
}

/* ---- ana nav (start/projects/contact): orijinal deep-blue renk ---- */
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-current {
  color: var(--deep-blue);
}

/* ---- site geneli tuşlar: herodaki mode-switch diliyle birleştirildi ---- */
.cv-download-trigger,
.is-mail,
.dossier-more,
.mehmagic-band-link,
.profile-actions .cv-download-trigger,
.profile-actions .is-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 16px 10px;
  color: var(--blue);
  background: var(--bone);
  border: 4px solid var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.15vw, 19px);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: none;
  cursor: pointer;
  transform: rotate(-1.4deg);
  transition:
    color 140ms steps(2, end),
    background-color 140ms steps(2, end),
    transform 160ms steps(2, end),
    box-shadow 160ms steps(2, end);
}

.cv-download-trigger,
.is-mail,
.dossier-more,
.mehmagic-band-link,
.profile-actions .cv-download-trigger,
.profile-actions .is-mail {
  transform: rotate(0deg);
}

.cv-download-trigger,
.is-mail,
.profile-actions .cv-download-trigger,
.profile-actions .is-mail {
  box-shadow: 5px 5px 0 var(--orange);
}

.dossier-more,
.mehmagic-band-link {
  overflow: visible;
}

.cv-download-trigger:focus-visible,
.is-mail:focus-visible,
.dossier-more:focus-visible,
.mehmagic-band-link:focus-visible,
.profile-actions .cv-download-trigger:focus-visible,
.profile-actions .is-mail:focus-visible {
  outline: 4px solid var(--orange);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .cv-download-trigger:hover,
  .is-mail:hover,
  .dossier-more:hover,
  .mehmagic-band-link:hover,
  .profile-actions .cv-download-trigger:hover,
  .profile-actions .is-mail:hover {
    color: var(--bone);
    background: var(--deep-blue);
    box-shadow: 7px 7px 0 var(--orange);
    transform: translate(-2px, -2px) rotate(0);
  }

  @keyframes wobble-skew-site-button {
    0%, 100% { transform: translate(-2px, -2px) skewX(0deg); }
    50% { transform: translate(-2px, -2px) skewX(-8deg); }
  }

  .cv-download-trigger:hover,
  .is-mail:hover,
  .dossier-more:hover,
  .mehmagic-band-link:hover,
  .profile-actions .cv-download-trigger:hover,
  .profile-actions .is-mail:hover {
    animation: wobble-skew-site-button 700ms ease-in-out infinite;
  }

  .dossier-more:hover {
    color: var(--deep-blue);
    background: var(--yellow);
    border-color: var(--deep-blue);
    box-shadow: 7px 7px 0 var(--orange);
  }
}

.nav-links a {
  color: var(--orange);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-current {
  color: var(--deep-blue);
}

/* ---- FM stat bar: spring dolum + pop efekti ---- */

.fm-col li::before {
  transition: none;
}

.fm-board.stats-loaded .fm-col li::before {
  animation: fm-bar-fill var(--fm-load-duration, 1200ms) cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--stat-delay, 0ms);
}

@keyframes fm-bar-fill {
  0% {
    transform: scaleX(0);
  }

  72% {
    transform: scaleX(calc(var(--stat-scale, 0) * 1.08));
  }

  100% {
    transform: scaleX(var(--stat-scale, 0));
  }
}

.fm-col li.is-stat-popped strong {
  animation: fm-stat-pop 360ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fm-stat-pop {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.24);
    color: var(--orange);
  }

  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-board.stats-loaded .fm-col li::before {
    animation: none;
    transform: scaleX(var(--stat-scale, 0));
  }

  .fm-col li.is-stat-popped strong {
    animation: none;
  }
}

/* Projects archive heading: keep the Behance instruction on one clear line. */
body[data-page="projects"] .dossier-head {
  max-width: min(1380px, 100%);
}

body[data-page="projects"] .dossier-head h1 {
  width: max-content;
  max-width: 100%;
  text-wrap: nowrap;
}

body[data-page="projects"] .dossier-head h1 > span:last-child {
  white-space: nowrap;
}

body[data-page="projects"] .project-proof-copy small {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: normal;
}

body[data-page="projects"] .project-proof-cover {
  display: grid;
  place-items: center;
}

body[data-page="projects"] .project-proof-cover img {
  object-position: 50% 50% !important;
  transform-origin: 50% 50% !important;
}

body[data-page="projects"] .project-proof-card,
body[data-page="projects"] .project-proof-primary,
.home-dossier .project-proof-card,
.home-dossier .project-proof-primary {
  --project-hover-angle: -1.8deg;
  z-index: 1;
  transform-origin: 50% 58%;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 120ms steps(2, end),
    z-index 0ms;
}

body[data-page="projects"] .project-proof-card,
body[data-page="projects"] .project-proof-primary {
  min-height: 0;
  aspect-ratio: 404 / 316;
}

body[data-page="projects"] .project-proof-card:nth-child(even),
.home-dossier .project-proof-card:nth-child(even) {
  --project-hover-angle: 1.8deg;
}

body[data-page="projects"] .project-proof-card:nth-child(3n),
.home-dossier .project-proof-card:nth-child(3n) {
  --project-hover-angle: -2.4deg;
}

@media (hover: hover) and (pointer: fine) {
  body[data-page="projects"] .project-proof-card:hover,
  body[data-page="projects"] .project-proof-card:focus-visible,
  .home-dossier .project-proof-card:hover,
  .home-dossier .project-proof-card:focus-visible {
    z-index: 20;
    transform: translate3d(0, -12px, 0) rotate(var(--project-hover-angle)) scale(1.065) !important;
    border-color: var(--yellow);
    box-shadow: 11px 13px 0 var(--orange);
  }
}

body[data-page="projects"] .project-proof-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  body[data-page="projects"] .dossier-head h1 {
    width: 100%;
    text-wrap: balance;
  }

  body[data-page="projects"] .dossier-head h1 > span:last-child {
    white-space: normal;
  }

  body[data-page="projects"] .project-proof-copy small {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

/* ---- oyuncu profili: portre + kimlik + scout notu + traits ---- */

.fm-board-top {
  display: grid;
  grid-template-columns: auto auto minmax(210px, auto) minmax(360px, 1fr);
  grid-template-areas: "portrait identity rating head";
  gap: 8px clamp(22px, 2.8vw, 42px);
  align-items: center;
  padding-bottom: clamp(10px, 1vw, 16px);
}

.fm-board-head {
  grid-area: head;
  width: min(100%, 630px);
  align-self: center;
  justify-self: end;
}

.fm-board-portrait {
  grid-area: portrait;
  width: clamp(84px, 9vw, 128px);
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
  transform: rotate(-1.6deg);
}

.fm-board-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-board-identity {
  grid-area: identity;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px 14px;
  border: 3px solid var(--blue);
  background: rgba(240, 237, 223, 0.04);
  justify-self: start;
}

.fm-board-identity div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  justify-content: flex-start;
}

.fm-board-identity dt {
  margin: 0;
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fm-known-alt {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.9em;
}

.fm-board-identity dd {
  margin: 0;
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

.fm-scout-note {
  margin: 0;
  padding: 12px 16px;
  border-left: 4px solid var(--orange);
  background: rgba(240, 237, 223, 0.05);
  color: var(--bone);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.5;
}

.fm-traits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.fm-traits-col h3 {
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--blue);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fm-traits-good h3 {
  color: #2ee083;
  border-bottom-color: #2ee083;
}

.fm-traits-growth h3 {
  color: #f2cf49;
  border-bottom-color: #f2cf49;
}

.fm-traits-col ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fm-traits-col li {
  position: relative;
  padding-left: 20px;
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12.5px, 1.1vw, 14px);
  line-height: 1.4;
}

.fm-traits-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.fm-traits-good li::before {
  content: "+";
  color: #2ee083;
}

.fm-traits-growth li::before {
  content: "\2013";
  color: #f2cf49;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .fm-board-top {
    grid-template-columns: auto auto minmax(210px, 1fr);
    grid-template-areas:
      "portrait identity rating"
      "head     head     head";
  }

  .fm-board-head {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 860px) {
  .fm-board-top {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "portrait identity"
      "rating   rating"
      "head     head";
    row-gap: 12px;
  }

  .fm-board-head {
    width: 100%;
    justify-self: stretch;
  }

  .fm-traits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fm-board-top {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "identity"
      "rating"
      "head";
    justify-items: start;
  }

  .fm-board-portrait {
    width: 76px;
  }

  .fm-board-identity {
    justify-self: stretch;
  }
}

/* ---- oyuncu profili: yildiz reytingi (current / potential ability) ---- */

.fm-rating {
  grid-area: rating;
  display: grid;
  gap: 5px;
  justify-self: stretch;
}

.fm-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 10px;
}

.fm-rating-label {
  min-width: 108px;
  color: var(--bone);
  opacity: 0.8;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fm-stars {
  display: inline-flex;
  gap: 3px;
}

.fm-star {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  font-size: 16px;
  line-height: 1;
}

.fm-star-glyph {
  position: absolute;
  inset: 0;
  line-height: 1;
}

.fm-star-base {
  color: rgba(240, 237, 223, 0.16);
}

.fm-star-fill {
  width: var(--star-fill, 0%);
  overflow: hidden;
  white-space: nowrap;
  color: var(--yellow);
}

.fm-star--ceiling .fm-star-ceiling-glow {
  clip-path: inset(0 0 0 50%);
  color: var(--white);
}

/* ---- Mehmagic evolution: compact straight timeline ---- */
.mehmagic-band {
  display: block;
  padding-block: clamp(28px, 4vw, 52px);
}

.mehmagic-band::after {
  content: none;
  display: none;
}

.mehmagic-band .mehmagic-frame {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  width: min(100%, 1320px);
  margin-inline: auto;
}

.evo-road-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 1.6vw, 22px);
  width: 100%;
}

.evo-heading-star {
  flex: 0 0 auto;
  width: clamp(44px, 5vw, 72px);
  height: auto;
  animation:
    spin-pop 4s steps(8, end) infinite,
    burst-drift-big 12.6s ease-in-out infinite;
}

.evo-road-title {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 68px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: left;
}

.dossier-head h1 > span {
  display: block;
}

.mehmagic-band .evo-road-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  align-items: center;
  gap: clamp(18px, 3vw, 54px);
  width: 100%;
  min-height: 0;
  aspect-ratio: auto;
  padding: 14px clamp(8px, 2vw, 24px) 8px;
  overflow: visible;
}

.evo-road-line {
  position: absolute;
  left: 7%;
  right: 7%;
  top: 50%;
  height: 18px;
  translate: 0 -50%;
  background: var(--ink);
}

.evo-road-line::after {
  content: "";
  position: absolute;
  inset: 7px 12px auto;
  border-top: 4px dashed var(--yellow);
}

.mehmagic-band .evo-stop,
.mehmagic-band .evo-road.is-visible .evo-stop,
.mehmagic-band [data-reveal].is-visible .evo-stop {
  position: relative;
  left: auto;
  top: auto;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  animation: none;
  text-align: center;
}

.mehmagic-band .evo-stop img,
.mehmagic-band .evo-stop.is-v4 img {
  display: block;
  width: clamp(92px, 9vw, 132px);
  height: clamp(92px, 9vw, 132px);
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  object-fit: contain;
  animation: none;
}

.mehmagic-band .evo-stop figcaption {
  display: block;
  margin: 0;
  padding: 3px 7px;
  background: var(--bone);
}

.mehmagic-band .evo-stop figcaption strong {
  color: var(--deep-blue);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 760px) {
  .mehmagic-band .mehmagic-frame {
    gap: 18px;
  }

  .evo-road-title {
    font-size: clamp(30px, 10vw, 46px);
  }

  .evo-road-heading {
    gap: 10px;
  }

  .evo-heading-star {
    width: 42px;
  }

  .mehmagic-band .evo-road {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .mehmagic-band .evo-road-stage {
    grid-template-columns: repeat(4, 126px);
    width: max-content;
    min-width: 100%;
    gap: 18px;
    padding-inline: 18px;
  }

  .mehmagic-band .evo-road-stage::before {
    content: none;
  }

  .evo-road-line {
    left: 38px;
    right: 38px;
  }

  .mehmagic-band .evo-stop {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    width: 126px;
    text-align: center;
  }

  .mehmagic-band .evo-stop img,
  .mehmagic-band .evo-stop.is-v4 img {
    width: 94px;
    height: 94px;
  }

  .mehmagic-band .evo-stop figcaption {
    justify-items: center;
  }
}

/* Project card typography: final shared rhythm for home and project archive. */
.project-proof-copy,
.home-dossier .project-proof-copy,
body[data-page="projects"] .project-proof-copy {
  gap: clamp(8px, 0.75vw, 12px);
  padding: clamp(15px, 1.45vw, 21px);
}

.project-proof-card strong,
.home-dossier .project-proof-card strong,
body[data-page="projects"] .project-proof-card strong {
  display: block;
  max-width: 100%;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.1;
  overflow-wrap: break-word;
}

.project-proof-card small,
.home-dossier .project-proof-card small,
body[data-page="projects"] .project-proof-card small {
  display: block;
  max-width: 100%;
  min-height: 0;
  padding-right: 0;
  overflow: visible;
  font-size: clamp(12px, 0.82vw, 14px);
  line-height: 1.52;
  text-overflow: clip;
  white-space: normal;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

@media (max-width: 760px) {
  .project-proof-copy,
  .home-dossier .project-proof-copy,
  body[data-page="projects"] .project-proof-copy {
    gap: 7px;
    padding: 13px;
  }

  .project-proof-card strong,
  .home-dossier .project-proof-card strong,
  body[data-page="projects"] .project-proof-card strong {
    font-size: clamp(17px, 4.8vw, 21px);
  }

  .project-proof-card small,
  .home-dossier .project-proof-card small,
  body[data-page="projects"] .project-proof-card small {
    font-size: 12px;
    line-height: 1.48;
  }
}

/* Final placement guard for the Behance badge beside the archive heading. */
body[data-page="projects"] .dossier-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(28px, 5vw, 84px);
}

body[data-page="projects"] .dossier-head .behance-badge {
  justify-self: end;
}

@media (max-width: 760px) {
  body[data-page="projects"] .dossier-head {
    grid-template-columns: minmax(0, 1fr) clamp(68px, 20vw, 86px);
    column-gap: 18px;
  }
}

/* FM bars use a real fill layer so the visual load stays in sync with count-up. */
.fm-col li::before {
  content: none;
  display: none;
}

.fm-col li > .fm-stat-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--fm-stat-fill);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: none;
  will-change: transform;
}

.fm-col li > :not(.fm-stat-fill) {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .fm-col li > .fm-stat-fill {
    transition: none;
  }
}

/* CTA is present immediately; only the 3D glasses keep their ambient motion. */
.site-footer .footer-action[data-mehvision-stage],
.site-footer .footer-action[data-mehvision-stage] .mehvision-copy,
.site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2,
.site-footer .footer-action[data-mehvision-stage] .mehvision-copy > p,
.site-footer .footer-action[data-mehvision-stage] .footer-contact {
  opacity: 1;
  translate: none;
  scale: 1;
  animation: none !important;
  transition: none;
}

/* Evolution motion is driven directly in script to avoid legacy CSS overrides. */
.mehmagic-band .evo-road-stage .evo-road-line {
  transform-origin: left center;
  will-change: transform;
}

.mehmagic-band .evo-road-stage .evo-stop {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .mehmagic-band .evo-road-stage .evo-road-line,
  .mehmagic-band .evo-road-stage .evo-stop {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Compact project-card type: one-line titles and tighter supporting copy. */
body[data-page="projects"] .project-proof-card {
  container-type: inline-size;
}

body[data-page="projects"] .project-proof-copy {
  gap: clamp(2px, 0.35vw, 4px);
  padding: clamp(9px, 0.85vw, 13px);
}

body[data-page="projects"] .project-proof-card strong {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  font-size: clamp(10px, 5.3cqi, 17px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: nowrap;
  white-space: nowrap;
}

body[data-page="projects"] .project-proof-card small {
  display: block;
  max-width: 100%;
  margin: 0;
  font-size: clamp(9px, 3.6cqi, 11px);
  line-height: 1.2;
}

@media (max-width: 620px) {
  body[data-page="projects"] .project-proof-copy {
    gap: 2px;
    padding: 8px;
  }

  body[data-page="projects"] .project-proof-card strong {
    font-size: clamp(9px, 5.4cqi, 13px);
  }

  body[data-page="projects"] .project-proof-card small {
    font-size: clamp(8px, 3.8cqi, 10px);
    line-height: 1.16;
  }
}

/* Final Behance position guard. */
body[data-page="projects"] .dossier-head {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  padding-right: 70px;
}

body[data-page="projects"] .dossier-head .behance-badge {
  position: absolute;
  inset: 50% 0 auto auto;
  justify-self: auto;
  box-sizing: border-box;
  width: 54px;
  max-width: 54px;
  margin: 0;
  transform: translateY(-50%) rotate(2deg);
  animation-name: behance-edge-wobble;
}

@media (max-width: 620px) {
  body[data-page="projects"] .dossier-head {
    display: block;
    grid-template-columns: none;
    padding-right: 58px;
  }

  body[data-page="projects"] .dossier-head .behance-badge {
    width: 46px;
    max-width: 46px;
  }
}

/* Final quiet Behance badge. */
body[data-page="projects"] .dossier-head {
  padding-right: 60px;
}

body[data-page="projects"] .dossier-head .behance-badge {
  position: absolute;
  inset: 50% 0 auto auto;
  display: block;
  width: 48px;
  max-width: 48px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: #0057ff;
  border: 3px solid var(--bone);
  outline: 0;
  box-shadow: 4px 4px 0 var(--orange);
  transform: translateY(-50%);
  animation: none;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out, border-color 140ms ease-out;
}

body[data-page="projects"] .dossier-head .behance-badge::after {
  content: none;
  display: none;
}

body[data-page="projects"] .dossier-head .behance-badge:hover {
  background: #0057ff;
  border-color: var(--white);
  outline: 0;
  box-shadow: 5px 6px 0 var(--orange);
  transform: translateY(calc(-50% - 2px));
}

body[data-page="projects"] .dossier-head .behance-badge:focus-visible {
  background: #0057ff;
  border-color: var(--white);
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  box-shadow: none;
  transform: translateY(-50%);
}

@media (max-width: 620px) {
  body[data-page="projects"] .dossier-head {
    padding-right: 52px;
  }

  body[data-page="projects"] .dossier-head .behance-badge {
    width: 42px;
    max-width: 42px;
  }
}

/* Evolution final layer. */
.mehmagic-band {
  box-sizing: border-box;
  width: 100%;
  padding-inline: clamp(18px, 4vw, 64px);
}

.mehmagic-band .mehmagic-frame,
.mehmagic-band .evo-road,
.mehmagic-band .evo-road-stage {
  box-sizing: border-box;
  width: 100%;
  margin-inline: auto;
}

.mehmagic-band .mehmagic-frame {
  max-width: 1320px;
}

.mehmagic-band .evo-road-stage {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 30px);
  padding-inline: clamp(8px, 1.25vw, 18px);
}

.mehmagic-band .evo-road-stage .evo-road-line {
  top: 50%;
  translate: 0 -50%;
  transform: scaleX(1);
  transform-origin: left center;
  opacity: 1;
}

.mehmagic-band .evo-road-stage .evo-road-line::after {
  inset: auto 12px;
  top: 50%;
  height: 0;
  border-top: 4px dashed var(--yellow);
  transform: translateY(-50%);
}

.mehmagic-band .evo-road-stage.is-awaiting .evo-road-line {
  transform: scaleX(0);
}

.mehmagic-band .evo-road-stage.is-awaiting .evo-stop {
  opacity: 0;
  transform: translateY(18px) scale(0.82);
}

.mehmagic-band .evo-road-stage.is-playing .evo-road-line {
  animation: evo-road-build 1.8s cubic-bezier(0.22, 0.78, 0.24, 1) forwards;
}

.mehmagic-band .evo-road-stage.is-playing .evo-stop {
  animation: evo-stop-land 460ms cubic-bezier(0.2, 0.82, 0.28, 1) forwards;
}

.mehmagic-band .evo-road-stage.is-playing .evo-stop.is-v1 { animation-delay: 120ms; }
.mehmagic-band .evo-road-stage.is-playing .evo-stop.is-v2 { animation-delay: 560ms; }
.mehmagic-band .evo-road-stage.is-playing .evo-stop.is-v3 { animation-delay: 1000ms; }
.mehmagic-band .evo-road-stage.is-playing .evo-stop.is-v4 { animation-delay: 1440ms; }

.mehmagic-band .evo-road-stage.is-complete .evo-road-line {
  transform: scaleX(1);
}

.mehmagic-band .evo-road-stage.is-complete .evo-stop {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .mehmagic-band .evo-road-stage .evo-road-line,
  .mehmagic-band .evo-road-stage .evo-stop {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 760px) {
  .mehmagic-band {
    padding-inline: 14px;
  }

  .mehmagic-band .evo-road-stage {
    grid-template-columns: repeat(4, 126px);
    width: max-content;
    min-width: 100%;
    gap: 18px;
    padding-inline: 18px;
  }
}

/* Behance badge sizing: larger sticker, smaller centered mark with safe space. */
body[data-page="projects"] .dossier-head {
  padding-right: 88px;
}

body[data-page="projects"] .dossier-head .behance-badge {
  display: grid;
  place-items: center;
  width: 72px;
  max-width: 72px;
  rotate: -4deg;
  animation: behance-sticker-sway 2.8s ease-in-out infinite;
}

body[data-page="projects"] .dossier-head .behance-badge img {
  display: block;
  width: 68%;
  height: 68%;
  object-fit: contain;
}

@keyframes behance-sticker-sway {
  0%, 100% { rotate: -4deg; }
  42% { rotate: 3deg; }
  68% { rotate: 1deg; }
}

@media (max-width: 620px) {
  body[data-page="projects"] .dossier-head {
    padding-right: 74px;
  }

  body[data-page="projects"] .dossier-head .behance-badge {
    width: 60px;
    max-width: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="projects"] .dossier-head .behance-badge {
    rotate: -3deg;
    animation: none;
  }
}

/* Mobile density pass: retain the poster language without forcing desktop scale into 375px. */
@media (max-width: 620px) {
  .hero.hero-poster {
    min-height: 570px;
    padding: 8px 8px calc(var(--hero-ticker-height) + var(--hero-ticker-tail) + 8px);
  }

  .hero-poster .hero-poster-stage {
    min-height: 490px;
    height: 490px;
    transform: translateY(-4px);
  }

  .hero-poster .hero-poster-title {
    top: 8%;
    font-size: clamp(58px, 17.5vw, 70px);
  }

  .hero-poster .hero-visual {
    top: 40%;
    width: min(56vw, 222px);
    min-height: 218px;
  }

  .hero-poster .pixel-card .burst {
    width: 52px;
  }

  .hero-poster .hero-callout {
    min-width: 88px;
    padding: 6px 8px 7px;
  }

  .hero-poster .hero-callout span {
    font-size: 7px;
  }

  .hero-poster .hero-callout strong {
    font-size: 18px;
  }

  .hero-poster .hero-meter {
    width: 88px;
  }

  .hero-poster .hero-mode-display {
    bottom: 27%;
    height: 54px;
  }

  .hero-poster .hero-mode-word {
    font-size: clamp(50px, 15vw, 63px);
  }

  .hero-poster .hero-mode-switch {
    gap: 8px;
    width: 82%;
  }

  .hero-poster .hero-mode-switch-left {
    left: 9%;
    bottom: 11%;
  }

  .hero-poster .hero-mode-switch-right {
    right: 9%;
    bottom: 0;
  }

  .hero-poster .hero-mode-switch button,
  .hero-poster .hero-mode-switch a {
    min-height: 34px;
    padding: 6px 3px 7px;
    border-width: 3px;
    box-shadow: 3px 3px 0 var(--orange);
    font-size: clamp(9px, 2.7vw, 12px);
  }

  body[data-page="projects"] .client-arena {
    gap: 12px;
    padding: 24px 16px 32px;
  }

  body[data-page="projects"] .client-arena-copy h2 {
    max-width: 10ch;
    font-size: clamp(28px, 8.8vw, 36px);
    line-height: 0.92;
  }

  body[data-page="projects"] .client-arena-copy p:not(.section-kicker) {
    max-width: 32ch;
    font-size: 14px;
    line-height: 1.45;
  }

  body[data-page="projects"] .client-instruction {
    padding: 7px 9px 8px;
    font-size: 9px;
    line-height: 1.2;
  }

  body[data-page="projects"] .client-stage[data-layout="logo-archive"],
  body[data-page="projects"] .client-stage.is-physics-wall {
    height: 540px;
    min-height: 540px;
    padding: 8px;
  }

  .about-scrub {
    display: none;
  }

  .mehmagic-band {
    padding: 24px 10px 28px;
  }

  .mehmagic-band .mehmagic-frame {
    gap: 14px;
  }

  .evo-road-heading {
    gap: 7px;
  }

  .evo-heading-star {
    width: 34px;
  }

  .evo-road-title {
    font-size: clamp(27px, 8vw, 34px);
    line-height: 0.9;
  }

  .mehmagic-band .evo-road {
    width: 100%;
    overflow: hidden;
  }

  .mehmagic-band .evo-road-stage {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 4px;
    padding: 8px 2px 4px;
  }

  .mehmagic-band .evo-stop {
    width: auto;
    min-width: 0;
  }

  .mehmagic-band .evo-stop img,
  .mehmagic-band .evo-stop.is-v4 img {
    width: clamp(64px, 19vw, 76px);
    height: clamp(64px, 19vw, 76px);
  }

  .mehmagic-band .evo-stop figcaption {
    padding: 2px 3px;
  }

  .mehmagic-band .evo-stop figcaption strong {
    font-size: 10px;
    white-space: nowrap;
  }

  .mehmagic-band .evo-road-stage .evo-road-line {
    left: 9%;
    right: 9%;
    height: 12px;
  }

  .mehmagic-band .evo-road-stage .evo-road-line::after {
    border-top-width: 3px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] {
    min-height: 330px;
    padding: 0 12px 8px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .mehvision-model {
    width: min(92vw, 430px);
    height: 182px;
    margin: -12px auto -24px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .mehvision-copy h2 {
    gap: 0.12em;
    font-size: clamp(24px, 8.1vw, 34px);
    line-height: 0.92;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .mehvision-second {
    margin-top: 14px;
    font-size: clamp(14px, 4.2vw, 18px);
    line-height: 1.05;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-contact {
    margin-top: 16px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-socials {
    gap: 9px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-socials a {
    width: 44px;
    height: 44px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-socials svg {
    width: 20px;
    height: 20px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-socials .si-text {
    font-size: 18px;
  }

  html body .site-footer .footer-action[data-mehvision-stage] .footer-email-compact {
    margin-top: 11px;
    font-size: 13px;
  }

  .site-footer .footer-meta {
    position: relative;
    justify-content: flex-start;
    min-height: 48px;
    padding: 14px 58px 16px 12px;
    text-align: left;
  }

  .site-footer .footer-meta > span {
    display: block;
    width: 100%;
    text-align: left;
  }

  .site-footer .footer-meta > a {
    position: absolute;
    right: 12px;
  }
}
