﻿:root {
  --bg: #161616;
  --fg: #f2f1ec;
  --muted: #c9c8c2;
  --dim: #7a7975;
  --accent: #ff4500;
  --line: #101020;
  --black: #000;
  --white: #fff;
  --transparent: transparent;
  --current-color: currentColor;
  --text-soft: #bfbfbd;
  --text-menu: #e2e2e2;
  --surface-900: #151515;
  --surface-850: #1b1b1b;
  --surface-800: #232323;
  --surface-750: #242424;
  --surface-control: #434343;
  --shadow-strong: rgba(0, 0, 0, 0.48);
  --shadow-soft: rgba(0, 0, 0, 0.24);
  --overlay-faint: rgba(0, 0, 0, 0.25);
  --overlay-medium: rgba(0, 0, 0, 0.4);
  --overlay-backdrop: rgba(0, 0, 0, 0.86);
  --glass-bg: rgba(11, 11, 11, 0.12);
  --glass-dark: rgba(11, 11, 11, 0.72);
  --control-bg: rgba(20, 20, 20, 0.92);
  --control-bg-solid: rgba(20, 20, 20, 1);
  --fg-alpha-04: rgba(242, 241, 236, 0.04);
  --fg-alpha-14: rgba(242, 241, 236, 0.14);
  --fg-alpha-28: rgba(242, 241, 236, 0.28);
  --white-alpha-0: rgba(255, 255, 255, 0);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

::selection {
  background: var(--accent);
  color: var(--black);
}

html.has-custom-cursor *,
html.has-custom-cursor *::before,
html.has-custom-cursor *::after {
  cursor: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
}

.home-page::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
  height: 16.55vw;
  pointer-events: none;
  background: url("assets/hero-grid.svg?v=20260502-2") center top / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, var(--black) 0%, var(--black) 58%, var(--transparent) 100%);
  mask-image: linear-gradient(to bottom, var(--black) 0%, var(--black) 58%, var(--transparent) 100%);
  z-index: 1;
}

.home-page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: auto;
  height: 50vh;
  pointer-events: none;
  background: url("assets/hero-bg-glow.png") center top / 100% 100% no-repeat;
  z-index: 0;
}

.home-page .page {
  position: relative;
  z-index: 2;
}

html.is-first-screen-loading .page,
html.is-first-screen-loading .side-menu,
html.is-first-screen-loading .cursor-dot {
  opacity: 0;
  visibility: hidden;
}

html.is-first-screen-loading *,
html.is-first-screen-loading *::before,
html.is-first-screen-loading *::after {
  animation-play-state: paused !important;
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 32px;
  height: 34px;
  color: var(--fg);
  pointer-events: none;
  z-index: 2147483647;
  opacity: 0;
  transform: translate(-100px, -100px);
  transition: background-color 120ms ease, color 120ms ease, opacity 120ms ease;
  mix-blend-mode: normal;
  filter: drop-shadow(0 2px 3px var(--shadow-strong)) drop-shadow(0 6px 10px var(--shadow-soft));
  will-change: transform;
}

.cursor-dot::before {
  content: "";
  position: absolute;
  inset: 5.57% 18.76% 17.45% 3.62%;
  background: var(--current-color);
  -webkit-mask: url("assets/cursor-main.svg") 0 0 / 100% 100% no-repeat;
  mask: url("assets/cursor-main.svg") 0 0 / 100% 100% no-repeat;
  transition: opacity 120ms ease;
}

.cursor-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/cursor-active.svg") 0 0 / 100% 100% no-repeat;
  opacity: 0;
  transition: opacity 120ms ease;
}

.cursor-dot.is-zoom-out::after {
  background-image: url("assets/cursor-default.svg");
}

.cursor-dot.is-zoom-in::before,
.cursor-dot.is-zoom-out::before { opacity: 0; }

.cursor-dot.is-zoom-in::after,
.cursor-dot.is-zoom-out::after { opacity: 1; }

.cursor-dot.is-visible { opacity: 1; }
.cursor-dot.is-active { color: var(--accent); }

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: background-color 120ms ease, color 120ms ease;
}

a:hover {
  background: var(--accent);
  color: var(--black);
  text-decoration-color: var(--transparent);
}

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

.page {
  width: min(720px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 80px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 160px;
}

.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero {
  padding-top: 16px;
}

.hero-heading,
.hero-title,
.hero-dragger,
.hero-year,
.hero-pointer {
  position: relative;
  z-index: 2;
}

.about {
  position: relative;
  z-index: 1;
}

.hero-heading {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  opacity: 0;
  transform: translateY(8px);
  animation: hero-title-in 240ms ease-out forwards;
}

.hero-title {
  overflow: hidden;
  width: max-content;
  max-width: 0;
  color: var(--white);
  font-size: 57px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 6px;
  white-space: nowrap;
  animation: hero-title-type 1300ms steps(14, end) 240ms forwards;
}

.hero-caret {
  width: 3px;
  height: 74px;
  flex: 0 0 auto;
  background: var(--white);
  animation: hero-caret-blink 900ms steps(1, end) 1540ms infinite;
}

.hero-dragger {
  --hero-pointer-scale: 1;
  position: absolute;
  left: 63px;
  top: 80px;
  width: 224px;
  height: 94px;
  pointer-events: none;
  opacity: 0;
  transform: translate(0, 0) scale(var(--hero-pointer-scale, 1));
  transform-origin: top left;
  animation: hero-dragger-move 10000ms cubic-bezier(0.76, 0, 0.24, 1) 1850ms forwards;
}

.hero-year {
  position: absolute;
  left: 0;
  top: -40px;
  width: max-content;
  transform: rotate(0deg) scale(1);
  z-index: 2;
  transform-origin: center;
}

.hero-year-label {
  position: absolute;
  left: 0;
  top: 0;
  width: 36.06px;
  height: 8.03px;
  max-width: none;
}

.hero-year-tag {
  position: absolute;
  left: 0;
  top: 17px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 55px;
  padding: 8px;
  border-radius: 8px;
  background: var(--surface-control);
  color: var(--white);
  font-size: 16px;
  line-height: 21px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  animation: hero-year-show 160ms linear 1900ms forwards;
}

.hero-year-selection {
  position: absolute;
  left: -4px;
  top: 13px;
  width: 63px;
  height: 45px;
  max-width: none;
  pointer-events: none;
  z-index: 3;
}

.hero-ready-to-dev {
  position: absolute;
  left: 42px;
  top: -5px;
  width: 16px;
  height: 16px;
  max-width: none;
  pointer-events: none;
}

.hero-year-text {
  display: block;
  width: 0;
  overflow: hidden;
  animation: hero-year-type 1600ms steps(4, end) 2400ms forwards;
}

.hero-pointer {
  position: absolute;
  left: 43px;
  top: 2px;
  width: 181px;
  height: 70px;
  pointer-events: none;
  opacity: 1;
  transform: none;
  transform-origin: top left;
}

.hero-pointer-shape {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 32px;
  height: 34px;
}

.hero-pointer-shape img {
  position: absolute;
  inset: 5.57% 18.76% 17.45% 3.62%;
  width: auto;
  height: auto;
  max-width: none;
}

.hero-avatar-badge {
  position: absolute;
  left: 26px;
  top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px 4px 4px;
  border-radius: 23px;
  background: var(--accent);
  color: var(--black);
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

.hero-avatar {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 29px;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
}

.about {
  display: flex;
  flex-direction: column;
  gap: 40px;
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(14px);
  animation: hero-about-in 560ms ease-out forwards;
}

.text-highlight {
  background: var(--white);
  color: var(--black);
}

.section h2,
.publications-copy,
.publication-link,
.experience > li,
.project-copy h3,
.project-copy p,
.case-text,
.meta,
.footer {
  opacity: 0;
  transform: translateY(14px);
  animation: text-block-in 560ms ease-out forwards;
}

.section h2 { animation-delay: 120ms; }
.publications-copy { animation-delay: 180ms; }
.publication-link:nth-child(1) { animation-delay: 230ms; }
.publication-link:nth-child(2) { animation-delay: 280ms; }
.publication-link:nth-child(3) { animation-delay: 330ms; }
.experience > li:nth-child(1) { animation-delay: 180ms; }
.experience > li:nth-child(2) { animation-delay: 230ms; }
.experience > li:nth-child(3) { animation-delay: 280ms; }
.experience > li:nth-child(4) { animation-delay: 330ms; }
.experience > li:nth-child(5) { animation-delay: 380ms; }
.experience > li:nth-child(6) { animation-delay: 430ms; }
.experience > li:nth-child(7) { animation-delay: 480ms; }
.project-copy h3 { animation-delay: 180ms; }
.project-copy p { animation-delay: 260ms; }
.case-text { animation-delay: 300ms; }
.meta { animation-delay: 340ms; }
.footer { animation-delay: 420ms; }

@keyframes hero-title-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-title-type {
  to { max-width: 720px; }
}

@keyframes hero-caret-blink {
  0%,
  46% {
    opacity: 1;
  }

  47%,
  100% {
    opacity: 0;
  }
}

@keyframes hero-year-type {
  to { width: 4ch; }
}

@keyframes hero-year-show {
  to { opacity: 1; }
}

@keyframes hero-dragger-move {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(var(--hero-pointer-scale));
  }

  5% {
    opacity: 1;
    transform: translate(0, 0) scale(var(--hero-pointer-scale));
  }

  28% {
    opacity: 1;
    transform: translate(0, 0) scale(var(--hero-pointer-scale));
  }

  46% {
    opacity: 1;
    transform: translate(410px, -18px) scale(var(--hero-pointer-scale));
  }

  62% {
    opacity: 1;
    transform: translate(-28px, 34px) scale(var(--hero-pointer-scale));
  }

  80% {
    opacity: 1;
    transform: translate(414px, 24px) scale(var(--hero-pointer-scale));
  }

  92% {
    opacity: 1;
    transform: translate(552px, -6px) scale(var(--hero-pointer-scale));
  }

  100% {
    opacity: 1;
    transform: translate(530px, -22px) scale(var(--hero-pointer-scale));
  }
}

@keyframes hero-about-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes text-block-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-heading,
  .hero-caret,
  .hero-dragger,
  .hero-year,
  .about,
  .section h2,
  .publications-copy,
  .publication-link,
  .experience li,
  .project-copy h3,
  .project-copy p,
  .case-text,
  .case-caption,
  .about-intro-row,
  .contact-item,
  .footer-note,
  .meta,
  .footer {
    opacity: 1;
    max-width: none;
    transform: none;
    animation: none;
  }

  .hero-pointer {
    opacity: 1;
    animation: none;
  }

  .hero-title {
    max-width: none;
  }

  .hero-year-tag {
    opacity: 1;
    animation: none;
  }

  .hero-year-text {
    width: 4ch;
    animation: none;
  }
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section h2 {
  width: 100%;
  align-self: center;
  color: var(--dim);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.publications-section {
  gap: 32px;
}

.publications-copy {
  color: var(--fg);
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.publication-link {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  color: inherit;
  text-decoration: none;
}

.publication-link:hover {
  background: var(--transparent);
  color: inherit;
}

.publication-link span {
  padding-top: 3px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  text-transform: uppercase;
}

.publication-link p {
  color: var(--fg);
  font-size: 17px;
  line-height: 26px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: background-color 120ms ease, color 120ms ease, text-decoration-color 120ms ease;
}

.publication-link:hover p {
  background: var(--accent);
  color: var(--black);
  text-decoration-color: var(--transparent);
}

.experience {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.3;
}

.experience li::before {
  content: "·";
  margin-right: 0;
  font-weight: 400;
}

.experience b {
  font-weight: 700;
}

.experience span {
  color: var(--dim);
  font-weight: 400;
}

.experience-section {
  position: relative;
}

.experience-layout {
  position: relative;
  width: 100%;
}

.experience {
  gap: 40px;
  line-height: 26px;
  font-weight: 300;
}

.experience li {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.experience li::before {
  content: none;
}

.experience p {
  margin: 0;
  color: var(--text-soft);
}

.experience .experience-role {
  color: var(--fg);
}

.experience-aside {
  position: absolute;
  right: calc(100% + 41px);
  top: -60px;
  width: 270px;
  height: 1275px;
  pointer-events: none;
}

.experience-date,
.timeline-logo,
.timeline-line,
.timeline-dot,
.timeline-devim-logo {
  position: absolute;
}

.experience-date {
  left: 0;
  width: 226px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
  text-align: right;
  white-space: nowrap;
}

.date-2023 { top: 60px; }
.date-2022 { top: 298px; }
.date-2020 { top: 726px; }
.date-2019 { top: 852px; }
.date-2017 { top: 1004px; }
.date-2014 { top: 1130px; }
.date-2009 { top: 1256px; }

.logo-t1 {
  left: 139px;
  top: 102px;
  width: 87px;
  height: 54px;
}

.logo-union {
  left: 96px;
  top: 340px;
  width: 130px;
  height: 57px;
}

.logo-monopoly {
  left: 0;
  top: 768px;
  width: 226px;
  height: 56px;
}

.logo-151eye {
  left: 126px;
  top: 894px;
  width: 100px;
  height: 57px;
}

.timeline-devim-logo {
  left: 161px;
  top: 1046px;
  width: 65px;
  height: 58px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 24px;
  background: var(--surface-800);
}

.timeline-devim-logo img {
  width: 33px;
  height: 26px;
}

.timeline-line {
  left: 263px;
  width: 2px;
  background: var(--white);
}

.line-1 {
  top: 60px;
  height: 246px;
  background: linear-gradient(to top, var(--white), var(--white-alpha-0));
}

.line-2 {
  top: 316px;
  height: 418px;
}

.line-3 {
  top: 744px;
  height: 116px;
}

.line-4 {
  top: 870px;
  height: 141px;
}

.line-5 {
  top: 1022px;
  height: 116px;
}

.line-6 {
  top: 1148px;
  height: 116px;
}

.timeline-dot {
  left: 258px;
  width: 12px;
  height: 12px;
}

.dot-1 { top: 305px; }
.dot-2 { top: 733px; }
.dot-3 { top: 859px; }
.dot-4 { top: 1011px; }
.dot-5 { top: 1137px; }
.dot-6 { top: 1263px; }

.experience-section {
  gap: 56px;
}

.experience-section > h2 {
  color: var(--dim);
}

.experience {
  gap: 40px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.experience > li {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.experience > li::before {
  content: none;
}

.experience p:not(:last-child) {
  margin-bottom: 8px;
}

.experience ul {
  margin: 0;
  padding-left: 22px;
  color: var(--text-soft);
  list-style: disc;
}

.experience ul li {
  display: list-item;
  margin: 0;
  padding: 0;
  color: var(--text-soft);
}

.experience-aside {
  right: calc(100% + 40px);
  top: -60px;
  width: 280px;
  height: 1078px;
}

.logo-t1 {
  left: 155px;
  top: 49px;
  width: 79px;
  height: 46px;
}

.logo-union {
  left: 112px;
  top: 295px;
  width: 122px;
  height: 49px;
}

.logo-monopoly {
  left: 8px;
  top: 516px;
  width: 226px;
  height: 56px;
}

.logo-151eye {
  left: 134px;
  top: 659px;
  width: 100px;
  height: 57px;
}

.logo-devim {
  left: 169px;
  top: 803px;
  width: 65px;
  height: 58px;
}

.timeline-track {
  position: absolute;
  left: 263px;
  top: 0;
  width: 2px;
  height: 1072px;
  overflow: hidden;
  background: var(--transparent);
}

.timeline-track::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--white-alpha-0), var(--white) 72px, var(--white) 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.experience-aside .timeline-logo,
.experience-aside .timeline-dot {
  opacity: 0;
  transition: opacity 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.experience-aside .timeline-logo {
  transform: translateX(-16px);
}

.experience-aside .timeline-dot {
  transform: scale(0.4);
}

.experience-aside.is-revealed .timeline-track::before {
  transform: scaleY(1);
}

.experience-aside.is-revealed .timeline-logo,
.experience-aside.is-revealed .timeline-dot {
  opacity: 1;
  transform: none;
}

.experience-aside .logo-t1,
.experience-aside .dot-1 { transition-delay: 0ms; }
.experience-aside .logo-union,
.experience-aside .dot-2 { transition-delay: 0ms; }
.experience-aside .logo-monopoly,
.experience-aside .dot-3 { transition-delay: 0ms; }
.experience-aside .logo-151eye,
.experience-aside .dot-4 { transition-delay: 0ms; }
.experience-aside .logo-devim,
.experience-aside .dot-5 { transition-delay: 0ms; }
.experience-aside .dot-6 { transition-delay: 0ms; }
.experience-aside .dot-7 { transition-delay: 0ms; }

.dot-1 { top: 66px; }
.dot-2 { top: 314px; }
.dot-3 { top: 538px; }
.dot-4 { top: 682px; }
.dot-5 { top: 826px; }
.dot-6 { top: 947px; }
.dot-7 { top: 1066px; }

.project {
  position: relative;
  align-items: center;
  gap: 32px;
}

.project > h2,
.project-copy {
  width: 720px;
  max-width: 100%;
  align-self: center;
}

.project-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-copy h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
}

.project-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 31px;
  font-weight: 400;
}

.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--dim);
  font-size: 11px;
  line-height: 16.5px;
  text-transform: uppercase;
  letter-spacing: 0.66px;
  font-weight: 400;
}

.meta a,
.meta b {
  color: var(--accent);
  font-weight: 500;
}

.media,
.media-grid {
  width: 100vw;
  max-width: none;
  align-self: center;
}

.media img,
.media-grid img,
.image-frame {
  border-radius: 8px;
}

.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-900);
}

.image-frame > img {
  display: block;
  width: 100%;
  height: auto;
}

.media > .image-frame,
.media-grid > .image-frame {
  width: 100%;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--surface-900);
  opacity: 0;
}

.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    var(--fg-alpha-04) 25%,
    var(--fg-alpha-14) 37%,
    var(--fg-alpha-04) 63%
  );
  background-size: 400% 100%;
  opacity: 0;
}

.image-loading-frame::before,
.image-loading-frame::after {
  opacity: 1;
}

.image-loading-frame::after {
  animation: image-skeleton-shine 1400ms ease infinite;
}

.image-loaded-frame {
  background: var(--transparent);
}

.image-loading {
  opacity: 0;
}

.image-loaded {
  opacity: 1;
  transition: opacity 180ms ease;
}

@keyframes image-skeleton-shine {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0 50%;
  }
}

.dion-copy h3,
.internship-copy h3 {
  font-size: 17px;
  line-height: 26px;
  font-weight: 500;
}

.dion-copy p,
.internship-copy p,
.case-text {
  color: var(--muted);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
}

.project-side-meta {
  --project-side-meta-fixed-top: 70px;
  position: absolute;
  left: calc(-167px - 24px);
  top: 46px;
  align-self: flex-start;
  width: 167px;
  margin: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: var(--dim);
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 400;
  letter-spacing: 0.66px;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-side-meta.is-fixed {
  position: fixed;
  left: calc(50% - 551px);
  top: var(--project-side-meta-fixed-top);
}

.project-side-meta a,
.project-side-meta b {
  color: var(--accent);
  font-weight: 500;
}

.project-side-meta a {
  text-decoration: underline;
}

.project-side-meta a:hover {
  background: var(--accent);
  color: var(--black);
  text-decoration-color: var(--transparent);
}

.internship-gallery {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.internship-gallery img,
.internship-gallery .image-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dion-cards {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 352px);
  gap: 16px;
}

.dion-cards img {
  width: 352px;
  height: 352px;
  object-fit: cover;
}

.dion-platforms {
  width: 720px;
  max-width: 100%;
}

.dion-platforms img {
  width: 100%;
  height: 31px;
  object-fit: cover;
}

.dion-split {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.case-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-text p {
  margin: 0;
}

.case-text strong {
  color: var(--fg);
  font-weight: 300;
}

.case-workflow strong {
  font-weight: 500;
}

.case-workflow ul {
  margin: 0;
  padding-left: 25px;
}

.case-workflow li {
  padding-left: 1px;
}

.dion-workfiles {
  width: 100%;
  height: 414px;
  overflow: hidden;
  border-radius: 8px;
}

.dion-workfiles .image-frame {
  height: 100%;
}

.dion-workfiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dion-conference {
  width: 720px;
  max-width: 100%;
}

.dion-conference img {
  width: 100%;
  height: auto;
}

.case-process {
  width: 720px;
  max-width: 100%;
}

.case-copy h3 {
  font-size: 17px;
  line-height: 26px;
  font-weight: 500;
}

.case-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
}

.union-main-case,
.union-copywriting,
.union-snackbar {
  width: 720px;
  max-width: 100%;
}

.union-gallery {
  position: relative;
  aspect-ratio: 1920 / 1257;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.union-main-case img,
.union-copywriting img,
.union-snackbar img {
  width: 100%;
  height: auto;
}

.union-gallery .image-frame,
.union-gallery img {
  width: 100%;
  height: 100%;
}

.union-gallery .image-frame {
  background: var(--white);
}

.union-gallery img {
  object-fit: cover;
}

.union-gallery-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--control-bg);
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background-color 120ms ease;
}

.union-gallery-button::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid var(--transparent);
  border-bottom: 6px solid var(--transparent);
  transform: translateY(-50%);
}

.union-gallery:hover .union-gallery-button {
  opacity: 1;
  pointer-events: auto;
}

.union-gallery-button:hover {
  background: var(--control-bg-solid);
}

.union-gallery-prev {
  left: 16px;
}

.union-gallery-prev::before {
  left: 10px;
  border-right: 8px solid var(--white);
}

.union-gallery-next {
  right: 16px;
}

.union-gallery-next::before {
  right: 10px;
  border-left: 8px solid var(--white);
}

.figma-link-group {
  width: 720px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
}

.figma-link-group p {
  margin: 0;
}

.figma-button {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
  text-decoration: none;
}

.figma-button .inline-icon {
  width: 11px;
  height: 16px;
  flex: 0 0 auto;
}

.figma-button:hover {
  background: var(--accent);
  color: var(--black);
}

.union-split {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 422px 1fr;
  gap: 32px;
  align-items: start;
}

.union-branching {
  width: 422px;
  max-width: 100%;
}

.union-branching img {
  width: 100%;
  height: auto;
}

.union-interviews {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.union-interviews .media,
.union-interviews .image-frame {
  width: 100%;
  max-width: 100%;
}

.union-interviews img {
  width: 100%;
  height: auto;
}

.monopoly-case {
  width: 720px;
  max-width: 100%;
  aspect-ratio: 378 / 379;
  overflow: hidden;
  border-radius: 8px;
}

.monopoly-case .image-frame {
  width: 100%;
  height: 100%;
}

.monopoly-case img {
  width: 126.14%;
  max-width: none;
  height: 351.98%;
  object-fit: cover;
  transform: translate(-13.07%, -0.01%);
}

.devim-cards-new,
.devim-small-screens {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.devim-cards-new img,
.devim-small-screens img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.devim-small-screens {
  gap: 16px;
}

.devim-small-screens img {
  aspect-ratio: 1920 / 948;
}

.devim-layered-new {
  position: relative;
  width: 720px;
  max-width: 100%;
  height: 376.55px;
}

.devim-layered-new .image-frame {
  position: absolute;
}

.devim-layered-new .image-frame:first-child {
  left: 0;
  top: 0;
  width: 720px;
  height: 356px;
}

.devim-layered-new .image-frame:last-child {
  left: 110px;
  top: 33.55px;
  width: 610px;
  height: 343px;
  box-shadow: 0 4px 36px 8px var(--overlay-faint);
}

.devim-layered-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.devim-full-screen {
  width: 720px;
  max-width: 100%;
}

.devim-full-screen img {
  width: 100%;
  height: auto;
}

.archive-top-grid {
  width: 720px;
  max-width: 100%;
  height: 300px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.archive-top-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.archive-top-grid .image-frame {
  width: 100%;
  height: 300px;
}

.case-caption {
  width: 720px;
  max-width: 100%;
  color: var(--muted);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(14px);
  animation: text-block-in 560ms ease-out 320ms forwards;
}

.archive-bottom-grid {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.archive-bottom-grid > img,
.archive-bottom-grid > .image-frame,
.archive-escape {
  width: 100%;
  height: 548px;
}

.archive-bottom-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-escape {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.archive-escape .image-frame {
  width: 100%;
  height: 100%;
}

.archive-escape img {
  width: 100%;
  height: 255.97%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
}

.projects-section {
  gap: 56px;
}

.projects-list {
  width: 720px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 192px;
}

.project-entry {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 24px;
}

.projects-section > h2 {
  width: 100%;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: 0;
}

.project-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card h3 {
  color: var(--fg);
  font-size: 24px;
  line-height: 26px;
  font-weight: 500;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.project-card-copy,
.project-card-copy-full {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-card-copy-full {
  gap: 16px;
}

.project-preview {
  position: relative;
  overflow: hidden;
  min-width: 0;
  height: 278px;
  border-radius: 24px;
  background: var(--surface-900);
}

.project-preview > img[data-lightbox-trigger],
.project-devim-gallery img,
.project-landing-preview img {
  display: block;
  pointer-events: none;
  user-select: none;
}

.project-lightbox-preview {
  position: relative;
  cursor: zoom-in;
}

.project-lightbox-preview > .image-frame {
  overflow: hidden;
  border-radius: inherit;
}

.project-lightbox-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.project-lightbox-preview:hover::after,
.project-lightbox-preview:focus-within::after {
  opacity: 1;
}

.project-preview-internship {
  overflow: hidden;
  background: var(--surface-900);
}

.project-preview-internship .project-preview-main-frame {
  position: absolute;
  inset: 0;
  overflow: visible;
  border-radius: inherit;
}

.project-preview-internship .project-preview-main {
  position: absolute;
  left: -98px;
  top: -33.5px;
  width: 544px;
  height: 345px;
  max-width: none;
  object-fit: cover;
}

.project-preview-internship .project-preview-floating {
  position: absolute;
  left: -192px;
  top: 216px;
  z-index: 2;
  width: 336px;
  height: 102px;
  max-width: none;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 520ms ease;
  will-change: opacity;
}

.project-preview-internship .project-preview-floating img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(48px);
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.project-preview-internship .project-preview-floating.is-revealed {
  opacity: 1;
}

.project-preview-internship .project-preview-floating.is-revealed img {
  transform: translateY(0);
}

.project-preview-dion img {
  position: absolute;
  left: -57px;
  top: -6px;
  width: 405px;
  height: 366px;
  max-width: none;
  object-fit: cover;
}

.project-preview-wide {
  width: 100%;
}

.project-preview-union img,
.project-preview-union video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-preview-monopoly {
  height: 532px;
}

.project-preview-monopoly > .image-frame {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  width: 146.96%;
  transform: translateX(-50%);
}

.project-preview-monopoly > .image-frame > img[data-lightbox-trigger] {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
}

.project-devim-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-devim-preview {
  position: relative;
  width: 100%;
  height: 261px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
}

.project-devim-preview > img:first-child,
.project-devim-gallery img {
  width: 100%;
  height: 261px;
  border-radius: 24px;
  object-fit: cover;
}

.project-devim-trading-row {
  margin-top: 8px;
}

.project-preview-devim-trading img {
  position: absolute;
  left: 0;
  top: -14px;
  width: 617px;
  height: 305px;
  max-width: none;
  object-fit: cover;
}

.project-preview-151eye img {
  position: absolute;
  left: 0;
  top: -241px;
  width: 849px;
  height: 531px;
  max-width: none;
  object-fit: cover;
}

.project-actions,
.project-meta-row,
.project-meta-item,
.project-button,
.project-overlay-button {
  display: flex;
  align-items: center;
}

.project-actions {
  gap: 24px;
  flex-wrap: wrap;
}

.project-actions-stacked {
  flex-direction: column;
  align-items: flex-start;
}

.project-meta-row {
  gap: 24px;
  flex-wrap: wrap;
}

.project-meta-item {
  gap: 4px;
  color: var(--dim);
  font-size: 12px;
  line-height: 26px;
  font-weight: 300;
  white-space: nowrap;
}

.project-meta-item .inline-icon,
.project-button .inline-icon,
.project-overlay-button .inline-icon {
  width: 24px;
  height: 24px;
}

.project-button,
.project-overlay-button {
  width: max-content;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  text-decoration: none;
}

.project-overlay-actions {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
}

.project-overlay-actions .project-overlay-button {
  position: static;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.project-overlay-figma {
  width: 195px;
}

.project-button:hover,
.project-overlay-button:hover {
  background: var(--accent);
  color: var(--black);
}

.project-landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-landing-preview {
  position: relative;
  height: 548.1px;
  overflow: hidden;
  border-radius: 8px;
}

.project-landing-preview > .image-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.project-landing-preview > .image-frame > img[data-lightbox-trigger] {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.project-landing-preview:nth-child(2) > .image-frame > img[data-lightbox-trigger] {
  height: 255.97%;
  object-position: top center;
}

.project-overlay-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 160ms ease;
}

.project-lightbox-preview:hover .project-overlay-button,
.project-lightbox-preview:focus-within .project-overlay-button {
  opacity: 1;
}

.project-lightbox-preview:hover .project-overlay-actions,
.project-lightbox-preview:focus-within .project-overlay-actions {
  opacity: 1;
  pointer-events: auto;
}

.project-caption {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.about-section {
  position: relative;
  gap: 40px;
}

.about-intro-row {
  width: 720px;
  max-width: 100%;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(14px);
  animation: text-block-in 560ms ease-out 180ms forwards;
}

.about-intro-row p {
  margin: 0;
}

.about-intro-row strong {
  color: var(--fg);
  font-weight: 800;
}

.about-side-photo {
  --about-photo-spin-duration: 3.2s;
  --about-photo-scroll-scale: 1;
  position: sticky;
  top: 70px;
  align-self: flex-start;
  width: 75px;
  height: 94px;
  margin-left: calc(-75px - 24px);
  margin-bottom: -134px;
  pointer-events: none;
}

.about-side-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  animation: about-photo-rotate var(--about-photo-spin-duration) ease-in-out infinite alternate;
  transition: scale 180ms ease-out;
  scale: var(--about-photo-scroll-scale);
}

@keyframes about-photo-rotate {
  from {
    transform: rotate(-30deg);
  }

  to {
    transform: rotate(30deg);
  }
}

.about-games-block,
.about-anime-grid {
  width: 720px;
  max-width: 100%;
}

.about-games-block {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  align-items: flex-end;
}

.about-games-block .case-text {
  width: 100%;
}

.about-games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  align-items: center;
}

.about-game-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
}

.about-anime-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.about-pets-grid {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 136px);
  justify-content: space-between;
  gap: 8px;
  align-items: start;
}

.about-pet {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.about-pet-preview {
  position: relative;
  width: 136px;
  height: 136px;
  border-radius: 8px;
  overflow: hidden;
}

.about-pet img,
.about-pet .image-frame {
  width: 136px;
  height: 136px;
  object-fit: cover;
  border-radius: 0;
}

.about-pet-zoom {
  padding: 8px;
  min-height: auto;
}

.about-pet figcaption {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 1px;
  white-space: nowrap;
}

.about-anime-grid img,
.about-anime-grid .image-frame {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.contact-list {
  width: 720px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-soft);
  text-decoration: none;
  opacity: 0;
  transform: translateY(14px);
  animation: text-block-in 560ms ease-out forwards;
}

.contact-item:nth-child(1) { animation-delay: 160ms; }
.contact-item:nth-child(2) { animation-delay: 220ms; }
.contact-item:nth-child(3) { animation-delay: 280ms; }
.contact-item:nth-child(4) { animation-delay: 340ms; }
.contact-item:nth-child(5) { animation-delay: 400ms; }

.contact-item span {
  width: max-content;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: underline;
  text-transform: uppercase;
}

.contact-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
}

.contact-item:hover {
  background: var(--transparent);
  color: var(--text-soft);
}

.contact-item:hover span {
  background: var(--accent);
  color: var(--black);
  text-decoration-color: var(--transparent);
}

.footer-note {
  width: 720px;
  max-width: 100%;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(14px);
  animation: text-block-in 560ms ease-out 460ms forwards;
}

.media-grid.four {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 352px);
  gap: 16px;
  transform: none;
  margin-left: 0;
}

.media-grid.four img {
  width: 352px;
  height: 352px;
  object-fit: cover;
}

.media-xl {
  width: min(1208px, calc(100vw - 32px));
}

.media-xl img {
  width: 100%;
  height: auto;
}

.media-grid.union {
  width: min(1208px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.media-grid.union img {
  width: 100%;
  height: auto;
}

.panorama {
  width: min(1685px, calc(100vw - 32px));
}

.panorama img {
  width: 100%;
  height: auto;
}

.devim {
  position: relative;
}

.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--dim);
  font-size: 11px;
  line-height: 16.5px;
  text-transform: uppercase;
  letter-spacing: 0.66px;
}

.footer a {
  color: var(--accent);
  font-weight: 500;
}

.side-menu {
  --side-menu-sticky-top: 56px;
  position: absolute;
  left: calc(50% + 384px);
  top: var(--side-menu-top, 0);
  z-index: 30;
  width: 123px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  color: var(--fg);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  line-height: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease;
}

.side-menu.is-ready {
  opacity: 1;
  visibility: visible;
}

.side-menu.is-sticky {
  position: fixed;
  top: var(--side-menu-sticky-top);
}

.side-menu-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.side-menu-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) brightness(0.72) saturate(0.9);
  backdrop-filter: blur(14px) brightness(0.72) saturate(0.9);
  color: var(--text-menu);
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease, backdrop-filter 120ms ease;
}

.side-menu-link:hover,
.side-menu-link.is-active {
  background: var(--accent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--black);
}

.side-menu-top {
  position: fixed;
  left: calc(50% + 384px);
  bottom: 56px;
  width: fit-content;
  max-width: 123px;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) brightness(0.72) saturate(0.9);
  backdrop-filter: blur(14px) brightness(0.72) saturate(0.9);
  color: var(--white);
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, background-color 120ms ease, color 120ms ease;
}

.side-menu.has-top-link .side-menu-top {
  opacity: 1;
  pointer-events: auto;
}

.side-menu.is-hidden-by-lightbox {
  opacity: 0;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--overlay-backdrop);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-zoomed {
  display: block;
  overflow: auto;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox.has-gallery .lightbox-nav {
  display: block;
}

.lightbox img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: zoom-in;
}

.lightbox.is-zoomed img {
  max-width: none;
  max-height: none;
  object-fit: initial;
  cursor: zoom-out;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--fg-alpha-28);
  border-radius: 999px;
  background: var(--glass-dark);
  color: var(--fg);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--control-bg);
  padding: 0;
  transform: translateY(-50%);
}

.lightbox-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid var(--transparent);
  border-bottom: 6px solid var(--transparent);
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-prev::before {
  left: 10px;
  border-right: 8px solid var(--white);
}

.lightbox-next {
  right: 24px;
}

.lightbox-next::before {
  right: 10px;
  border-left: 8px solid var(--white);
}

.case-page {
  gap: 80px;
}

.internship-case-page {
  overflow-x: visible;
  padding-top: 71px;
}

.internship-case-page .intro {
  gap: 24px;
}

.internship-case-page .hero {
  padding-top: 0;
}

.hero-heading-case {
  display: block;
  width: auto;
}

.hero-heading-case .hero-title {
  overflow: visible;
  width: auto;
  white-space: normal;
  animation: none;
}

.hero-caret-inline {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--white);
  vertical-align: middle;
  margin-left: 6px;
  animation: hero-caret-blink 900ms steps(1, end) 700ms infinite;
}

.case-intro-text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  font-style: italic;
}

.case-bullet-list {
  margin: 0;
  padding-left: 33px;
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--fg);
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
}

.case-lead {
  margin: 0;
  color: var(--fg);
  font-size: 22px;
  line-height: 32px;
  font-weight: 500;
}

.case-secondary {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.case-page #goal .case-secondary {
  margin-top: 8px;
}

.case-process-content {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.case-body {
  margin: 0;
  color: var(--fg);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.case-image-block {
  position: relative;
  width: 100%;
  height: 275px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
}

.case-page .case-image-block {
  width: min(1080px, calc(100vw - 48px));
  height: auto;
  aspect-ratio: 720 / 275;
  margin-left: 50%;
  transform: translateX(-50%);
}

.case-page .internship-hero-image {
  width: 720px;
  max-width: 100%;
  aspect-ratio: 720 / 414;
  margin-left: 0;
  align-self: flex-start;
  transform: none;
}

.internship-hero-image img {
  object-position: top center;
}

.internship-case-page .case-process-content {
  align-items: center;
  gap: 64px;
}

.internship-process-card {
  position: relative;
  width: min(1080px, calc(100vw - 48px));
  height: 431px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: 32px;
  border-radius: 24px;
  background: var(--surface-800);
}

.internship-process-card .case-body {
  position: relative;
  z-index: 2;
  width: 720px;
  max-width: 100%;
  font-weight: 500;
}

.internship-process-number {
  position: absolute;
  left: clamp(24px, 10.37vw, 112px);
  top: 74px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.24);
  font-size: 208px;
  line-height: 24px;
  font-weight: 800;
  pointer-events: none;
}

.internship-process-card:first-child .internship-process-number {
  top: 62px;
}

.internship-process-media {
  position: relative;
  z-index: 2;
  width: 1080px;
  height: 275px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--white);
}

.internship-process-media-tall {
  height: 295px;
}

.internship-process-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.internship-process-media .image-frame {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.internship-process-media .image-frame > img {
  width: 100%;
  height: 100%;
}

.internship-process-card:nth-of-type(2) .internship-process-media img {
  width: 199.54%;
  margin-left: -51.76%;
}

.internship-process-card:nth-of-type(3) .internship-process-media img {
  height: 246.55%;
  margin-top: -5.92%;
}

.internship-process-card:nth-of-type(4) .internship-process-media img {
  width: 102.31%;
  height: 145.09%;
  margin-left: -5.28%;
  margin-top: -17.45%;
}

.internship-process-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--text-soft);
}

.internship-process-card.project-lightbox-preview::after {
  display: none;
}

.internship-process-card.project-lightbox-preview:hover .case-overlay,
.internship-process-card.project-lightbox-preview:focus-within .case-overlay {
  opacity: 1;
}

.internship-process-card .case-overlay {
  z-index: 3;
}

.case-image-block .image-frame {
  height: 100%;
  border-radius: 0;
}

.case-image-block .image-frame > img,
.case-image-block > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-image-block.project-lightbox-preview::after {
  display: none;
}

.case-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--overlay-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.case-image-block.project-lightbox-preview:hover .case-overlay,
.case-image-block.project-lightbox-preview:focus-within .case-overlay {
  opacity: 1;
}

.case-image-action {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  white-space: nowrap;
  pointer-events: auto;
}

.case-image-caption {
  margin: 0;
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  text-align: center;
}

.case-results {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.internship-stats {
  display: flex;
  gap: 24px;
  width: 100%;
}

.internship-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.internship-stat-value {
  margin: 0;
  color: var(--fg);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 300;
  text-transform: uppercase;
}

.internship-stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
}

.internship-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.internship-step {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.internship-step-num {
  color: var(--accent);
}

.internship-step-divider {
  width: 19px;
  height: 1px;
  background: var(--text-soft);
  border: 0;
  margin: 0;
}

.side-menu-back {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) brightness(0.72) saturate(0.9);
  backdrop-filter: blur(14px) brightness(0.72) saturate(0.9);
  color: var(--white);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  line-height: 22px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-transform: uppercase;
  transition: background-color 120ms ease, color 120ms ease;
}

.side-menu-back:hover {
  background: var(--accent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--black);
  text-decoration-color: var(--transparent);
}

.union-case-page {
  padding-top: 64px;
  padding-bottom: 0;
}

.union-intro-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.union-intro-text p {
  margin: 0;
}

.union-intro-text span {
  color: var(--fg);
}

.union-case-flow {
  gap: 40px;
}

.case-media-block {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.case-media-block figcaption {
  width: 100%;
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 24px;
  font-style: italic;
  font-weight: 300;
}

.union-wide-media,
.union-system-grid,
.union-before-after {
  width: min(1080px, calc(100vw - 48px));
  align-self: center;
}

.union-wide-media,
.union-system-grid > div,
.union-before-after {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
}

.union-wide-media img,
.union-wide-media .image-frame,
.union-system-grid img {
  width: 100%;
  height: 100%;
}

.union-wide-media img,
.union-system-grid img {
  object-fit: cover;
}

.union-ratio-candidates { aspect-ratio: 1080 / 563; }
.union-ratio-vacancy { aspect-ratio: 1080 / 585; }
.union-ratio-cjm { aspect-ratio: 1080 / 768; }

.union-ratio-vacancy img {
  object-position: top center;
}

.union-problem-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.union-problem-notes p {
  margin: 0;
}

.union-problem-notes em {
  color: var(--text-soft);
  font-style: italic;
}

.union-problem-notes strong {
  color: var(--fg);
  font-weight: 700;
}

.union-figma-callout {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.union-figma-callout p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 24px;
  font-style: italic;
  font-weight: 300;
  text-align: center;
}

.union-figma-icon {
  width: 11px !important;
  height: 16px !important;
  flex: 0 0 11px;
  object-fit: contain;
}

.union-presentation-video {
  width: min(1080px, calc(100vw - 48px));
  aspect-ratio: 1080 / 608;
  align-self: center;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface-900);
}

.union-presentation-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.union-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.union-system-grid > div {
  aspect-ratio: 1;
}

.union-system-grid > div:nth-child(1) img {
  width: 900%;
  max-width: none;
  object-position: left center;
}

.union-system-grid > div:nth-child(2) img {
  width: 740%;
  max-width: none;
  object-position: left top;
}

.union-system-grid > div:nth-child(3) img {
  width: 720%;
  max-width: none;
  object-position: 45% 14%;
}

.union-system-grid > div:nth-child(4) img {
  width: 505%;
  max-width: none;
  object-position: left top;
}

.union-before-after {
  --before-after-position: 50%;
  aspect-ratio: 1226 / 700;
  touch-action: none;
  cursor: ew-resize;
}

.union-before,
.union-after {
  position: absolute;
  max-width: none;
}

.union-before {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.union-after-mask {
  position: absolute;
  left: var(--before-after-position);
  top: 0;
  width: calc(100% - var(--before-after-position));
  height: 100%;
  overflow: hidden;
}

.union-after {
  right: 0;
  top: 0;
  width: calc(100% / (1 - var(--before-after-position-ratio, 0.5)));
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.union-before-after-handle {
  position: absolute;
  left: var(--before-after-position);
  top: 0;
  z-index: 2;
  width: 2px;
  height: 100%;
  background: var(--black);
  transform: translateX(-50%);
  pointer-events: none;
}

.union-tech-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.union-tech-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.union-tech-logos > img:nth-child(2) {
  width: 60px;
  height: 45px;
  object-fit: cover;
}

.union-vue-logo {
  display: block;
  width: 38px;
  height: 33px;
  object-fit: contain;
}

.union-results-grid .internship-stat-value span {
  color: var(--accent);
}

.internship-stat-value [data-count-percent] {
  color: var(--accent);
}

.union-note {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-850);
}

.union-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 24px;
  font-style: italic;
  font-weight: 300;
}

.union-mobile-preview {
  width: 1180px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 80px;
  overflow: visible;
}

.union-mobile-shot {
  position: relative;
  flex: 0 0 340px;
  overflow: hidden;
}

.union-mobile-shot-first {
  height: 421px;
}

.union-mobile-shot-second {
  height: 319px;
}

.union-mobile-shot-third {
  height: 395px;
}

.union-mobile-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 640ms ease, transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.union-mobile-shot-first img {
  height: 111.64%;
  width: 177.98%;
  max-width: none;
  margin-left: -39.14%;
  object-position: top center;
}

.union-mobile-shot-second img,
.union-mobile-shot-third img {
  display: block;
}

.union-mobile-preview.is-revealed img {
  opacity: 1;
  transform: translateY(0);
}

.union-mobile-preview.is-revealed .union-mobile-shot-second img {
  transition-delay: 120ms;
}

.union-mobile-preview.is-revealed .union-mobile-shot-third img {
  transition-delay: 240ms;
}

.devim-case-page {
  overflow-x: visible;
}

.devim-hero-screen {
  position: relative;
  width: min(1080px, calc(100vw - 48px));
  aspect-ratio: 1080 / 533;
  align-self: center;
  overflow: hidden;
  border-radius: 8px;
}

.devim-hero-screen img,
.devim-hotkeys-media img,
.devim-chart-media img,
.devim-process-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.devim-hero-screen-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  opacity: 1;
}

.devim-hero-screen-light {
  animation: devim-hero-crossfade 3s ease-in-out infinite;
}

@keyframes devim-hero-crossfade {
  0%,
  42% {
    opacity: 1;
  }

  50%,
  92% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.devim-process-card {
  width: 720px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow: hidden;
  padding: 0 16px 16px 0;
  border-radius: 16px;
  background: var(--surface-750);
}

.devim-process-card-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.devim-process-card-top img {
  flex: 0 0 500px;
  width: 500px;
  height: 323px;
  border-radius: 8px;
}

.devim-process-card-top p {
  width: 196px;
  margin: 0;
  padding: 24px 16px;
  color: var(--fg);
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.devim-process-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 178px;
  gap: 24px;
  align-items: start;
  padding: 0 24px;
}

.devim-process-card-grid img {
  border-radius: 8px;
}

.devim-process-card-grid img:nth-child(1),
.devim-process-card-grid img:nth-child(2) {
  aspect-ratio: 672 / 496;
}

.devim-process-card-grid img:nth-child(3) {
  width: 178px;
  height: 159px;
  object-position: top center;
}

.devim-hotkeys-media {
  width: 720px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.devim-hotkeys-media {
  aspect-ratio: 720 / 533;
}

.devim-hotkeys-media img {
  width: 150%;
  max-width: none;
  margin-left: -25%;
}

.devim-chart-row {
  width: 720px;
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.devim-chart-media {
  aspect-ratio: 1843 / 958;
  overflow: hidden;
  border-radius: 24px;
}

.devim-chart-row .case-body {
  width: auto;
}

.devim-results-grid .internship-stat-value {
  color: var(--fg);
}

.devim-animation-section {
  width: min(1080px, calc(100vw - 48px));
  align-self: center;
}

.devim-animation-media {
  overflow: hidden;
  border-radius: 8px;
}

.devim-animation-media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .project-preview-internship .project-preview-floating,
  .project-preview-internship .project-preview-floating img,
  .timeline-track::before,
  .experience-aside .timeline-logo,
  .experience-aside .timeline-dot,
  .union-mobile-preview img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .side-menu,
  .experience-aside { display: none; }

  .internship-process-card {
    height: auto;
    min-height: 431px;
  }
}

@media (max-width: 760px) {
  .internship-case-page .hero-title {
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: 3px;
  }

  .internship-case-page .case-process-content {
    gap: 40px;
  }

  .internship-process-card {
    width: calc(100vw - 32px);
    min-height: 0;
    gap: 24px;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .internship-process-card .case-body {
    font-size: 14px;
    line-height: 22px;
  }

  .internship-process-number {
    left: 20px;
    top: 64px;
    font-size: 150px;
  }

  .internship-process-card:first-child .internship-process-number {
    top: 56px;
  }

  .internship-process-media,
  .internship-process-media-tall {
    width: calc(100vw - 32px);
    height: auto;
    aspect-ratio: 1080 / 275;
  }

  .internship-process-media-tall {
    aspect-ratio: 1080 / 295;
  }

  .internship-stats {
    flex-direction: column;
  }
}
