@font-face {
  font-family: "Portfolio Suisse";
  src: url("assets/suisse-intl-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Portfolio Suisse";
  src: url("assets/suisse-intl-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  font-family: "Portfolio Suisse", sans-serif;
  color: #2f2f2f;
  background: #fff;
  --unit: clamp(.65px, .069444vw, 1.15px);
  --edge: calc(40 * var(--unit));
  --top: clamp(52px, 10vh, 110px);
  --dock-bottom: clamp(20px, 4.55vh, 42px);
  --dock-unit: calc(clamp(.6px, .064vw, .92px) * .98);
  --pill-font-size: calc(20 * var(--dock-unit));
  font-optical-sizing: none;
  --split: 50.764%;
  --pink: #ff006f;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid #4593f7; outline-offset: 3px; }
img { display: block; }

body.is-loading { overflow: hidden; }
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10;
  background: #000;
}
.site-loader video { width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.site-loader video.is-playing { opacity: 1; }
.site-loader.is-finished { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .site-loader { transition: opacity .5s ease; }
  .avatar-slot:not(:hover) .avatar { animation: avatar-sway 5s ease-in-out infinite; }
}
@keyframes avatar-sway {
  0%, 100% { rotate: 0deg; }
  25% { rotate: 1.8deg; }
  75% { rotate: -1.8deg; }
}

body.is-home { overflow: hidden; overscroll-behavior: none; }

.home {
  --home-scale: clamp(.65px, .069444vw, 1px);
  --home-top: calc(var(--top) + 14px);
  --dock-clearance: calc(var(--dock-bottom) + 75px + 24px);
  --unit: min(var(--home-scale), calc((100svh - var(--top) - var(--dock-clearance)) / 650));
  display: grid;
  grid-template-columns: var(--split) minmax(0, 1fr);
  height: 100svh;
  overflow: clip;
}

.profile {
  --profile-text-size: calc(20 * var(--unit) - 2px);
  padding: var(--home-top) calc(19 * var(--unit)) 0 var(--edge);
  background: #181818;
  color: #e8e8e8;
}

.identity {
  --avatar-size: calc(215 * .95 * var(--unit));
  display: grid;
  grid-template-columns: calc(215 * var(--unit)) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  min-height: calc(217 * var(--unit));
  padding-bottom: calc(217 * var(--unit) - var(--avatar-size));
  gap: 0 calc(18 * var(--unit));
}

.avatar-slot { grid-row: span 2; align-self: start; width: var(--avatar-size); aspect-ratio: 1; }

.avatar {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(27 * var(--unit));
  background: #fff;
}

.avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 17px #ff006f66;
  pointer-events: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .avatar {
    transform: perspective(600px) rotateX(0deg) rotateY(0deg);
    transition: transform .28s ease, box-shadow .28s ease;
  }
  .avatar-slot:hover .avatar {
    transform: perspective(600px) rotateX(var(--avatar-tilt-x, 0deg)) rotateY(var(--avatar-tilt-y, 0deg)) scale(1.025);
    transition-duration: .12s;
    box-shadow: 0 10px 24px #0004;
  }
  .avatar::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--avatar-glare-x, 50%) var(--avatar-glare-y, 50%), #fff8, #ffd4ed30 33%, transparent 66%);
    opacity: 0;
    transition: opacity .24s ease;
  }
  .avatar-slot:hover .avatar::before { opacity: 1; }
}

.avatar img { position: absolute; max-width: none; }
.avatar-background { width: 211.13%; height: 149.67%; left: -49.28%; top: -15.07%; transform: rotate(180deg); object-fit: cover; }
.avatar-portrait { width: 141.24%; height: 212.07%; left: -41.02%; top: -4.69%; }
.identity-title { padding-left: calc(9 * var(--unit)); padding-top: calc(4 * var(--unit)); }
.identity h1 { font-size: calc(29 * var(--unit) - 4px); font-weight: 400; line-height: 1.3; text-transform: uppercase; }
.identity h1 span { font-size: 1.15em; }
.identity-title p { margin-top: 3px; color: #b7b7b7; }
.identity-title p { font-size: var(--profile-text-size); }
.profiles { display: flex; gap: calc(13.5 * var(--unit)); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  padding: calc(10 * var(--unit)) calc(30 * var(--unit));
  color: #777;
  font-size: var(--pill-font-size);
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
}

.profiles .pill { --unit: var(--dock-unit); padding-inline: 0; }
.profiles .pill:nth-child(1) { width: calc(166.5 * var(--unit) * .98); }
.profiles .pill:nth-child(2) { width: calc(94.5 * var(--unit) * .98); }
.profiles .pill:nth-child(3) { width: calc(151.5 * var(--unit) * .98); }
.pink, .blue, .gold { color: #fff; box-shadow: inset 0 0 calc(20 * var(--unit)) #ffffffe8; }
.pink { background: var(--pink); }
.blue { background: #4593f7; }
.gold { background: #ffaa00; }
.pill:hover, .dock .pill:focus-visible { filter: brightness(1.06); }

.profile-copy, .about-copy { display: grid; gap: calc(30 * var(--unit)); }
.profile-copy { margin-top: calc(48 * var(--unit)); max-width: calc(598 * var(--unit)); }
.profile-copy h2, .about-copy h2 { margin-bottom: calc(7 * var(--unit)); font-size: calc(20.25 * var(--unit)); font-weight: 400; opacity: .76; }
.profile-copy h2 { font-size: calc(18 * var(--unit) - 2px); }
.profile-copy p { font-size: calc(var(--profile-text-size) + 2px); line-height: 1.25; }
.about-copy p { font-size: calc(22 * var(--unit)); font-weight: 500; line-height: 1.2; }

.work { min-width: 0; min-height: 0; padding-top: var(--home-top); }
.work-heading { display: none; }
.case-track {
  display: flex;
  gap: calc(22.5 * var(--unit));
  padding-inline: var(--edge);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
  --edge-fade: clamp(38px, 5vw, 82px);
  mask-image: linear-gradient(to right, #0008, #000 var(--edge-fade), #000 calc(100% - var(--edge-fade)), #0008);
}
.case-track::-webkit-scrollbar { display: none; }
.case-track:focus-visible { outline-offset: -4px; }

.case-card {
  position: relative;
  --card-scale: .97;
  flex: 0 0 calc(471.31 * var(--unit) * var(--card-scale));
  aspect-ratio: 471.31 / 650;
  overflow: hidden;
  isolation: isolate;
  border-radius: calc(36 * var(--unit));
  background: var(--card-color);
  color: var(--card-text, #fff);
}
.case-card:focus-visible { outline-offset: -5px; }
.case-card img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-card img { transition: scale .3s ease; }
.case-card:hover img { scale: 1.05; }

@media (prefers-reduced-motion: no-preference) {
  .case-track.has-card-motion .case-card {
    opacity: 0;
    transform: perspective(1100px) translate3d(18px, 0, 0) rotateY(-18deg) scale(.93);
    transform-origin: center;
    transition: opacity .65s ease, transform .8s cubic-bezier(.2, .75, .2, 1);
  }
  .case-track.has-card-motion .case-card.is-revealed {
    opacity: 1;
    transform: perspective(1100px) rotateY(var(--card-tilt, 0deg)) scale(var(--card-depth, 1));
    transition-delay: 0s, var(--card-reveal-delay, 0ms);
  }
  .case-track.has-card-motion .case-card::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 25%, #fff0 35%, #fff6 48%, #fff0 62%, transparent 75%);
    background-size: 240% 100%;
    background-position: var(--card-light, 50%) 50%;
    box-shadow: inset 0 0 0 1px #ffffff24;
    opacity: .2;
  }
  .case-track.has-card-motion .case-card.is-revealed::after {
    animation: case-light-sweep 1.15s cubic-bezier(.2, .6, .2, 1) calc(var(--card-reveal-delay, 0ms) + .1s) backwards;
  }
  .case-track.has-card-motion .case-card:active {
    transform: perspective(1100px) rotateY(0deg) scale(.96);
    transition: transform .12s ease;
  }
  .case-track.has-card-motion .case-card:focus-visible { opacity: 1; transform: none; }
}

@keyframes case-light-sweep {
  from { background-position: 140% 50%; }
  to { background-position: var(--card-light, 50%) 50%; }
}

@media (min-width: 1024px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .case-track.has-card-motion .case-card::after {
    transition: opacity .25s ease;
  }
  .case-track.has-card-motion .case-card:hover::after {
    animation: none;
    background: radial-gradient(ellipse at var(--hover-light-x, 50%) var(--hover-light-y, 50%), #ffffff70, #ffc7e330 23%, transparent 58%);
    opacity: .8;
  }
}

.case-card[data-project="digital-breakthrough"] img { top: -9.59%; height: 101.75%; object-fit: fill; }
.case-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent 13%, var(--card-color) 46%);
}
.case-card-copy { position: absolute; z-index: 2; inset: auto calc(28 * var(--unit)) calc(28 * var(--unit)) calc(31 * var(--unit)); }
.case-card h2 { font-size: calc(var(--pill-font-size) + 2px); font-weight: 400; }
.case-card p { margin-top: calc(9 * var(--unit)); min-height: 2.4em; max-inline-size: 90%; font-size: calc(20 * var(--unit)); line-height: 1.2; text-wrap: balance; opacity: .9; }
.case-card[data-project="context"] p { white-space: pre-line; text-wrap: wrap; }
.profile-copy p, .case-card p { font-weight: 400; }

@media (min-width: 1024px) {
  .case-card p { font-size: calc(19 * var(--unit)); }
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 675fr) minmax(0, 650fr);
  align-items: start;
  gap: calc(22 * var(--unit));
  min-height: 100svh;
  padding: var(--top) calc(59 * var(--unit)) 140px calc(34 * var(--unit));
}
.about-photo { position: relative; overflow: hidden; aspect-ratio: 675 / 610; border-radius: calc(33.75 * var(--unit)); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy { color: #393939; }

.dock {
  --unit: var(--dock-unit);
  position: fixed;
  z-index: 5;
  bottom: var(--dock-bottom);
  left: 50%;
  translate: -50% 0;
  display: flex;
  gap: calc(9 * var(--unit));
  padding: calc(9 * var(--unit)) calc(11.25 * var(--unit));
  border-radius: 999px;
  background: #e8e8e8cc;
  box-shadow: 0 2px 5px #0002, inset 0 0 4px #fff;
  backdrop-filter: blur(12px);
}
.dock .pill { min-width: calc(154.625 * var(--unit)); transition: background-color .18s ease, color .18s ease, filter .18s ease; }
.dock .pill[href="#cases"] { min-width: calc(123.625 * var(--unit)); }
@media (min-width: 1600px) {
  .home { --home-scale: .95px; }
  .profile { --profile-text-size: calc((20 * var(--unit) - 2px) * 1.02); padding-left: calc(var(--edge) + 30px); }
  .profile-copy { gap: calc(30 * var(--unit) + 10px); }
  .profile-copy h2 { font-size: var(--profile-text-size); }
  .case-card { --card-scale: calc(.97 * 1.02); }
}

.dock .pill:not(.pink, [aria-current]):is(:hover, :focus-visible) { background: #f2f2f2; color: #454545; }
body:has(#project:not([hidden])) .dock .pill[href="#cases"] { background-color: transparent; }
body:has(#project:not([hidden])) .dock .pill[href="#cases"]:is(:hover, :focus-visible, :active) { background-color: #fff; color: #454545; }
.dock .pill[href="#cases"][aria-current="page"],
body:has(#project:not([hidden])) .dock .pill[href="#cases"]:active { background-color: #fff; color: #333; }
.contact-status { position: fixed; z-index: 6; bottom: clamp(85px, 15vh, 125px); left: 50%; translate: -50% 0; width: max-content; max-width: 90vw; padding: 12px 18px; border-radius: 14px; background: #181818; color: white; }

.project { position: relative; container-type: inline-size; padding-bottom: 140px; }
.project-back {
  position: fixed;
  z-index: 6;
  bottom: var(--dock-bottom);
  left: var(--edge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding-inline: 13px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #111;
  font-size: 17px;
  transition: background-color .18s ease;
}
.project-back-icon { color: #888; font: 21px/1 Arial, sans-serif; }
.project-back:is(:hover, :focus-visible) { background: #e8e8e8; }
@media (max-width: 650px) {
  .project-back { bottom: calc(var(--dock-bottom) + 72px); }
}
.project-hero { width: 100%; max-height: min(68svh, max(220px, 100svh - 260px)); aspect-ratio: 1280 / 629; object-fit: cover; }
.project[data-project="context"] .project-hero {
  object-fit: contain;
  background: linear-gradient(to right, #fff 50%, #fcff00 50%);
}
.project[data-project="drophunter"] .project-hero {
  --hero-height: min(49.140625cqw, 68svh, max(220px, 100svh - 260px));
  /* Continue the checkerboard from the centered 2560 × 1258 artwork. */
  --tile-width: calc(var(--hero-height) * 128 / 1258);
  --tile-height: calc(var(--hero-height) * 101.65 / 1258);
  height: var(--hero-height);
  object-fit: contain;
  background-image: conic-gradient(#f783fb 25%, #f67cfb 0 50%, #f783fb 0 75%, #f67cfb 0);
  background-size: var(--tile-width) var(--tile-height);
  background-position: calc(50% + var(--tile-width) / 2) calc(var(--hero-height) * -17.5 / 1258);
}
.project[data-project="digital-breakthrough"] .project-hero { object-position: center bottom; }
.project[data-project="sitik"] .project-hero { object-position: center 60%; }
.project-content { max-width: 1440px; margin-inline: auto; display: grid; grid-template-columns: 18.5% minmax(0, 1fr); padding: 60px 2.35% 0 0; }
.project-menu { position: sticky; top: 25px; align-self: start; display: grid; margin-left: calc(var(--edge) - max(0px, (100cqw - 1440px) / 2)); justify-items: start; }
.project-sections { --section-gap: 50px; display: grid; gap: var(--section-gap); }
.project-section { display: grid; gap: var(--section-gap); scroll-margin-top: 30px; }
.project-notes { --notes-font-reduction: 2px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
.project-notes h3 { margin-bottom: 6px; color: #626262; font-weight: 400; font-size: calc(clamp(14px, 1.41vw, 18px) - var(--notes-font-reduction)); }
.project-notes p { font-size: calc(clamp(16px, 1.56vw, 20px) - var(--notes-font-reduction)); line-height: 1.2; }
.project-notes p { max-inline-size: 38ch; white-space: pre-line; }
.project[data-project="sitik"] #project-section-2 .project-notes { --notes-font-reduction: 4px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.56vw, 20px); }
.art { position: relative; overflow: hidden; aspect-ratio: 497 / 405; border-radius: clamp(18px, 2.34vw, 30px); }
.art-wide { grid-column: 1 / -1; aspect-ratio: 1014 / var(--art-height, 405); }
.art :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art:has(video[data-file="context-story.mp4"]) { background: #f5fe00; }
.art video[data-file="context-story.mp4"] { clip-path: inset(0 round 6.4% / 7.9%); }
.art img.art-crop { inset: auto; object-fit: fill; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.project-menu button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: #a5a5a5;
  font: inherit;
  font-size: calc(clamp(14px, 1.25vw, 18px) - 2px);
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  transition: color .24s ease-in-out;
}
.project-menu button::before {
  content: "";
  flex: 0 0 30px;
  height: 2px;
  background: #ddd;
  transition: flex-basis .24s ease-in-out, background-color .24s ease-in-out;
}
.project-menu button:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(50% + 10px);
  left: 0;
  width: 19px;
  height: 2px;
  background: #ddd;
  box-shadow: 0 10px #ddd;
  pointer-events: none;
}
.project-menu button:is(:hover, :focus-visible) { color: #555; }
.project-menu button[aria-current] { color: #111; }
.project-menu button[aria-current]::before { flex-basis: 46px; background-color: #111; }

@media (prefers-reduced-motion: reduce) {
  .dock .pill, .case-card img, .project-menu button, .project-menu button::before { transition: none; }
  .case-card:hover img { scale: none; }
}
.palette { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; font-size: clamp(15px, 2.14vw, 27.45px); }
.palette div { display: flex; align-items: center; padding: 8% 0 8% 19%; white-space: pre-line; }
.palette-iskra div { padding-left: 13%; border-radius: inherit; }

@media (max-width: 1023px) {
  :root {
    --unit: 1px;
    --edge: 24px;
    --dock-unit: 1px;
    --pill-font-size: 16px;
    --dock-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    --mobile-nav-padding: 12px;
    --mobile-nav-side-padding: 16px;
    --mobile-nav-button-height: 38px;
    --mobile-nav-action-height: 42px;
    --mobile-nav-height: calc(var(--mobile-nav-action-height) + 2 * var(--mobile-nav-padding));
    --mobile-nav-surface: #d6d6d6ed;
    --mobile-nav-shadow: 0 2px 5px #0002, inset 0 0 4px #fff;
  }

  body.is-home { overflow: auto; overscroll-behavior: auto; }
  body.is-home.is-loading { overflow: hidden; }
  .site-loader {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
  .site-loader video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home {
    --unit: 1px;
    display: block;
    height: auto;
    overflow: visible;
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }
  .profile {
    --profile-text-size: 16px;
    padding: calc(44px + env(safe-area-inset-top, 0px)) var(--edge) 84px;
  }
  .identity {
    --avatar-size: 190.08px;
    grid-template-columns: var(--avatar-size) minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 20px;
    min-height: 0;
    padding: 0;
  }
  .avatar-slot { grid-row: span 2; }
  .avatar { border-radius: 22px; }
  .identity .avatar-slot .avatar { animation: none; rotate: 0deg; transform: none; transition: none; }
  .identity-title { align-self: start; padding: 0; }
  .identity h1 { max-width: 360px; font-size: 27px; line-height: 1.2; }
  .identity-title p { margin-top: 8px; line-height: 24px; }
  .identity-title p span { display: block; white-space: nowrap; }
  .profiles { flex-wrap: wrap; gap: 8px; }
  .profiles .pill:nth-child(n) { width: auto; min-height: 46px; padding: 11px 20px; font-size: 18px; line-height: 24px; }
  .profiles [data-contact="dprofile"] { display: none; }
  .profile-copy { max-width: 620px; margin-top: 42px; gap: 34px; }
  .profile-copy h2 { margin-bottom: 8px; font-size: 16px; }
  .profile-copy p { font-size: 17px; line-height: 1.45; }
  .profile-copy br { display: none; }

  .work { padding: 40px 0 0; scroll-margin-top: 24px; }
  .work-heading { display: block; margin: 0 var(--edge) 36px; font-size: 25px; font-weight: 400; }
  .case-track {
    display: flex;
    gap: 16px;
    padding: 0 var(--edge);
    overflow-x: auto;
    mask-image: none;
  }
  .case-card { flex: 0 0 min(86vw, 440px); border-radius: 26px; }
  .case-card-copy { inset: auto 24px 24px; }
  .case-card h2 { font-size: 20px; line-height: 1.25; }
  .case-card p { margin-top: 10px; max-inline-size: 100%; font-size: 16px; line-height: 1.35; }
  .dock { width: calc(212px + 2 * var(--mobile-nav-side-padding)); max-width: calc(100% - 32px); height: var(--mobile-nav-height); align-items: center; gap: 8px; padding: var(--mobile-nav-padding) var(--mobile-nav-side-padding); background: var(--mobile-nav-surface); box-shadow: var(--mobile-nav-shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .dock .pill { height: var(--mobile-nav-button-height); min-height: var(--mobile-nav-button-height); padding: 8px 6px; font-size: 17px; line-height: 20px; }
  .dock .pill:nth-child(n) { min-width: 0; }
  .dock .pill[href="#cases"] { flex: 0 0 80px; }
  .dock .pill.pink { flex: 0 0 124px; height: var(--mobile-nav-action-height); padding-inline: 20px; }
  body:has(#project:not([hidden])) .dock .pill[href="#cases"],
  body:has(#project:not([hidden])) .dock .pill[href="#cases"]:is(:hover, :focus-visible, :active) { background-color: transparent; color: #333; }
  .contact-status { bottom: calc(var(--dock-bottom) + var(--mobile-nav-height) + 16px); font-size: 15px; }

  .about { grid-template-columns: 1fr; gap: 28px; padding: 32px var(--edge) calc(116px + env(safe-area-inset-bottom, 0px)); }
  .about-photo { max-width: 620px; border-radius: 24px; }
  .about-copy { gap: 24px; max-width: 620px; }
  .about-copy h2 { font-size: 15px; }
  .about-copy p { font-size: 18px; line-height: 1.45; }

  .project { padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px)); }
  .project-hero {
    --mobile-hero-base-height: min(49.140625cqw, 68svh, max(220px, 100svh - 260px));
    height: calc(var(--mobile-hero-base-height) + 40px);
    max-height: none;
  }
  .project[data-project] .project-hero { object-fit: fill; }
  .project[data-project="drophunter"] .project-hero {
    --hero-height: 49.140625cqw;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    padding: 0;
    object-fit: contain;
    background: none;
  }
  .project-content { display: block; padding: 0 var(--edge); }
  .project-menu {
    z-index: 3;
    top: 0;
    display: flex;
    gap: 8px;
    margin: 0 calc(-1 * var(--edge)) 28px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) var(--edge) 12px;
    background: #fffffff0;
    backdrop-filter: blur(12px);
  }
  .project-menu button { justify-content: center; flex: 1; min-height: 44px; padding: 10px 12px; border-radius: 999px; font-size: 17px; }
  .project-menu button::before, .project-menu button::after { display: none; }
  .project-menu button[aria-current] { background: #f0f0f0; }
  .project-sections { --section-gap: 42px; }
  .project-section { scroll-margin-top: calc(92px + env(safe-area-inset-top, 0px)); }
  .project-notes { gap: 34px; }
  .project-notes h3 { font-size: 14px; margin-bottom: 8px; }
  .project-notes p { max-inline-size: none; font-size: 17px; line-height: 1.45; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .art { border-radius: 18px; }
  .art { aspect-ratio: 497 / 405; }
  .art img.art-crop { object-fit: cover; }
  .art[data-file^="sitik-2-1"],
  .art[data-file^="sitik-3-1"] { display: none; }
  .art[data-file^="sitik-1-3"] img { object-position: left center; }
  .project-back { display: none; }
  .palette { font-size: clamp(11px, 2.3vw, 20px); }
  .palette div { padding-left: 10%; }
}

@media (max-width: 600px) {
  :root { --edge: 20px; }
  .identity { --avatar-size: 147.84px; gap: 24px 16px; }
  .avatar-slot { grid-row: 1; }
  .avatar { border-radius: 18px; }
  .identity h1 { font-size: clamp(18px, 5.1vw, 24px); }
  .identity-title p { font-size: 16px; }
  .profiles { grid-column: 1 / -1; }
  .profiles .pill:nth-child(n) { flex: 1; padding-inline: 12px; }
  .project-notes, .gallery { grid-template-columns: minmax(0, 1fr); }
  .case-track { gap: 10px; }
  .case-card { flex-basis: 90vw; aspect-ratio: 471.31 / 650; }
  .case-card-copy { inset: auto 22px 24px; }
  .case-card p { min-height: 0; }
  .project-hero { --mobile-hero-base-height: 49.140625cqw; }
  .palette { font-size: clamp(10px, 2.7vw, 16px); }
  .palette div { padding-left: 8%; }
}

@media (max-width: 360px) {
  :root { --mobile-nav-side-padding: 6px; }
  .identity { --avatar-size: 126.72px; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .identity h1 { font-size: 18px; }
}
