﻿    :root {
      --bg: #f3f3f3;
      --surface: #ffffff;
      --surface-strong: #f2f2f2;
      --text: #161616;
      --text-muted: #616161;
      --tag-bg: #ecf4f6;
      --tag-text: #6d7d8c;
      --accent-orange: #ff6a00;
      --accent: #1f1f1f;
      --border: rgba(22, 22, 22, 0.1);
      --shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
      --header-bg: rgba(243, 243, 243, 0.72);
      --skeleton-base: #ebebeb;
      --skeleton-shine: #f5f5f5;
      --font-display: "DX Rigraf", system-ui, sans-serif;
      --font-serif: "DX Rigraf", system-ui, sans-serif;
      --font-serif-weight: 500;
      --font-body-weight: 500;
    }

    @font-face {
      font-family: "DX Rigraf";
      src: url("fonts/dx-rigraf/DXRigraf-Variable.otf") format("opentype");
      font-weight: 100 900;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Coolvetica";
      src: url("fonts/coolvetica/coolvetica rg.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Coolvetica Crammed";
      src: url("fonts/coolvetica/coolvetica crammed rg.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Coolvetica Condensed";
      src: url("fonts/coolvetica/coolvetica condensed rg.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @font-face {
      font-family: "Coolvetica Compressed";
      src: url("fonts/coolvetica/coolvetica compressed rg.ttf") format("truetype");
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }

    @keyframes media-skeleton-shimmer {
      0% {
        background-position: 120% 0;
      }
      100% {
        background-position: -120% 0;
      }
    }

    .media-skeleton {
      background: linear-gradient(
        105deg,
        var(--skeleton-base) 0%,
        var(--skeleton-shine) 42%,
        var(--skeleton-base) 84%
      );
      background-size: 220% 100%;
      animation: media-skeleton-shimmer 1.35s ease-in-out infinite;
    }

    @media (prefers-reduced-motion: reduce) {
      .media-skeleton {
        animation: none;
        background: var(--surface-strong);
      }
    }

    * {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: auto;
    }

    ::selection {
      background: #ff6a00;
      color: #ffffff;
    }

    ::-moz-selection {
      background: #ff6a00;
      color: #ffffff;
    }

    body {
      font-family:
        var(--font-serif),
        "Noto Color Emoji",
        "Apple Color Emoji",
        "Segoe UI Emoji",
        sans-serif;
      font-weight: var(--font-serif-weight);
      background: var(--bg);
      color: var(--text);
      line-height: 1.55;
      transition: background 0.35s ease, color 0.35s ease;
      min-height: 100vh;
    }

    .custom-cursor {
      display: none;
      position: fixed;
      left: 0;
      top: 0;
      width: 30px;
      height: 30px;
      margin: 0;
      border-radius: 50%;
      pointer-events: none;
      z-index: 10001;
      transform: translate(-50%, -50%);
      border: 1px solid rgba(255, 255, 255, 0.55);
      background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.08) 45%,
        rgba(255, 255, 255, 0.02) 100%
      );
      backdrop-filter: blur(6px) saturate(1.2);
      -webkit-backdrop-filter: blur(6px) saturate(1.2);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06),
        0 4px 20px rgba(0, 0, 0, 0.12);
      transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.12s ease;
    }

    .custom-cursor.is-hover {
      width: 40px;
      height: 40px;
      border-color: rgba(255, 255, 255, 0.75);
    }

    .custom-cursor.is-pressed {
      transform: translate(-50%, -50%) scale(0.88);
    }

    @media (pointer: fine) and (min-width: 769px) {
      html.use-glass-cursor,
      html.use-glass-cursor * {
        cursor: none !important;
      }

      html.use-glass-cursor .custom-cursor {
        display: block;
      }
    }

    .site-header {
      display: none !important;
      position: fixed;
      left: 50%;
      bottom: 0.85rem;
      width: min(1120px, calc(100vw - 2rem));
      transform: translateX(-50%) translateY(calc(100% + 1.25rem));
      z-index: 2000;
      border: none;
      border-radius: 18px;
      background: var(--header-bg);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: 0 10px 30px rgba(18, 18, 18, 0.12);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transition:
        background 0.35s ease,
        border-color 0.35s ease,
        opacity 0.3s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.3s ease;
    }

    .site-header.is-visible {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }

    @media (prefers-reduced-motion: reduce) {
      .site-header {
        transform: translateX(-50%);
        transition: opacity 0.2s ease, visibility 0.2s ease, background 0.35s ease;
      }

      .site-header.is-visible {
        transform: translateX(-50%);
      }
    }

    .header-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0.72rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand {
      margin: 0;
      font-size: clamp(1.5rem, 4vw, 2rem);
      font-weight: 800;
      letter-spacing: 0.02em;
      line-height: 0;
      color: var(--text);
    }

    .brand__logo {
      display: block;
      width: clamp(112px, 18vw, 180px);
      height: auto;
    }

    .header-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0.65rem;
      flex-wrap: nowrap;
      flex-shrink: 0;
    }

    main {
      display: flex;
      flex-direction: column;
      gap: 2.4rem;
      max-width: 1120px;
      margin: 0 auto;
      padding: 40px 20px calc(40px + 5.25rem);
    }

    .hero {
      padding: 6.8rem 0 4.5rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      justify-content: flex-start;
      text-align: left;
    }

    @keyframes hero-photo-pendulum-damp {
      0% {
        transform: rotate(0deg);
      }
      8% {
        transform: rotate(-5.8deg);
      }
      16% {
        transform: rotate(4.4deg);
      }
      24% {
        transform: rotate(-2.9deg);
      }
      32% {
        transform: rotate(1.75deg);
      }
      40% {
        transform: rotate(-1deg);
      }
      48% {
        transform: rotate(0.52deg);
      }
      56% {
        transform: rotate(-0.26deg);
      }
      64% {
        transform: rotate(0.12deg);
      }
      72% {
        transform: rotate(-0.05deg);
      }
      82% {
        transform: rotate(0.02deg);
      }
      100% {
        transform: rotate(0deg);
      }
    }

    .hero-photo-wrap {
      position: relative;
      width: 118px;
      height: 168px;
      aspect-ratio: 59 / 84;
      border-radius: 18px;
      box-shadow: var(--shadow);
      flex-shrink: 0;
      margin: 0 0 1rem;
      align-self: flex-start;
      overflow: visible;
      background: transparent;
    }

    .hero-photo-wrap > .media-skeleton {
      position: absolute;
      inset: 0;
      z-index: 1;
      border-radius: inherit;
    }

    .hero-photo-wrap picture {
      position: relative;
      z-index: 2;
      display: block;
      width: 100%;
      height: 100%;
    }

    .hero-photo-wrap .hero-photo {
      position: relative;
      z-index: 2;
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 18px;
      object-fit: cover;
      object-position: center top;
      margin: 0;
      border: none;
      box-shadow: none;
      opacity: 0;
      transition: opacity 0.4s ease;
      transform-origin: 50% 100%;
    }

    .hero-photo-wrap.is-loaded .hero-photo {
      opacity: 1;
    }

    .hero-photo-wrap.is-loaded > .media-skeleton {
      opacity: 0;
      visibility: hidden;
      transition:
        opacity 0.35s ease,
        visibility 0s linear 0.35s;
    }

    .hero-photo.hero-photo--pendulum {
      animation: hero-photo-pendulum-damp 2s linear forwards;
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-photo.hero-photo--pendulum {
        animation: none;
      }
    }

    .hero-photo-effect-burst {
      position: fixed;
      left: 0;
      top: 0;
      z-index: 10000;
      max-width: min(220px, 42vw);
      pointer-events: none;
      transform: translate(-50%, -50%);
    }

    .hero-photo-effect-burst img {
      display: block;
      width: 100%;
      height: auto;
    }

    .hero-lead {
      max-width: 780px;
      margin: 0;
      padding-top: 1rem;
      font-family: var(--font-serif);
      font-size: 1rem;
      font-weight: var(--font-serif-weight);
      line-height: 1.28625;
      color: var(--text-muted);
      letter-spacing: 0;
    }

    .hero-title {
      max-width: 780px;
      margin: 0;
      padding: 0;
      font-family: var(--font-display);
      font-size: clamp(1.75rem, 4.2vw, 2.4375rem);
      font-weight: 700;
      font-variation-settings: "wght" 700, "wdth" 115;
      font-style: normal;
      line-height: 1.09;
      letter-spacing: 0.025em;
      color: var(--text);
      text-wrap: pretty;
    }

    .hero-title span {
      display: block;
      white-space: nowrap;
      max-width: fit-content;
    }

    .hero-links {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.85rem;
      width: 100%;
      margin-top: 0.35rem;
      padding-top: 0.3rem;
    }

    .hero-links__left,
    .hero-links__right {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
    }

    .hero-links__left {
      gap: 0.65rem;
    }

    .hero-links__right {
      gap: 0.4rem;
      justify-content: flex-end;
    }

    .hero-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      padding: 0.52rem 1rem;
      border-radius: 999px;
      border: 1px solid transparent;
      background: var(--surface);
      color: var(--text-muted);
      text-decoration: none;
      font-family: var(--font-display);
      font-size: 0.9375rem;
      font-weight: 700;
      font-variation-settings: "wght" 700;
      line-height: 1.45;
      letter-spacing: 0.02em;
      transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
    }

    .hero-link svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
      flex: none;
    }

    .hero-link__icon-wrap {
      background: none;
    }

    .hero-link__label {
      display: inline-block;
      transform: translateY(1px);
    }

    .hero-link:hover {
      color: var(--text);
      border-color: var(--text-muted);
      transform: translateY(-1px);
    }

    .hero-link--dribbble,
    .hero-link--linkedin,
    .hero-link--telegram,
    .hero-link--habr-career,
    .hero-link--max {
      transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.2s ease;
    }

    .hero-link--dribbble .hero-link__icon-wrap,
    .hero-link--linkedin .hero-link__icon-wrap,
    .hero-link--telegram .hero-link__icon-wrap,
    .hero-link--habr-career .hero-link__icon-wrap,
    .hero-link--max .hero-link__icon-wrap {
      position: relative;
      width: 22px;
      height: 22px;
      flex: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-link--dribbble .hero-link__icon-wrap::before,
    .hero-link--dribbble .hero-link__icon-wrap::after,
    .hero-link--linkedin .hero-link__icon-wrap::before,
    .hero-link--linkedin .hero-link__icon-wrap::after,
    .hero-link--telegram .hero-link__icon-wrap::before,
    .hero-link--telegram .hero-link__icon-wrap::after,
    .hero-link--habr-career .hero-link__icon-wrap::before,
    .hero-link--habr-career .hero-link__icon-wrap::after,
    .hero-link--max .hero-link__icon-wrap::before,
    .hero-link--max .hero-link__icon-wrap::after {
      content: "";
      position: absolute;
      inset: 0;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      transition: opacity 0.2s ease;
    }

    .hero-link--dribbble .hero-link__icon-wrap::before,
    .hero-link--linkedin .hero-link__icon-wrap::before,
    .hero-link--telegram .hero-link__icon-wrap::before,
    .hero-link--habr-career .hero-link__icon-wrap::before,
    .hero-link--max .hero-link__icon-wrap::before {
      background-image: var(--icon-default);
      opacity: 1;
    }

    .hero-link--dribbble .hero-link__icon-wrap::after,
    .hero-link--linkedin .hero-link__icon-wrap::after,
    .hero-link--telegram .hero-link__icon-wrap::after,
    .hero-link--habr-career .hero-link__icon-wrap::after,
    .hero-link--max .hero-link__icon-wrap::after {
      background-image: var(--icon-hover);
      opacity: 0;
    }

    .hero-link--dribbble:hover .hero-link__icon-wrap::before,
    .hero-link--linkedin:hover .hero-link__icon-wrap::before,
    .hero-link--telegram:hover .hero-link__icon-wrap::before,
    .hero-link--habr-career:hover .hero-link__icon-wrap::before,
    .hero-link--max:hover .hero-link__icon-wrap::before {
      opacity: 0;
    }

    .hero-link--dribbble:hover .hero-link__icon-wrap::after,
    .hero-link--linkedin:hover .hero-link__icon-wrap::after,
    .hero-link--telegram:hover .hero-link__icon-wrap::after,
    .hero-link--habr-career:hover .hero-link__icon-wrap::after,
    .hero-link--max:hover .hero-link__icon-wrap::after {
      opacity: 1;
    }

    .hero-link--dribbble .hero-link__icon-wrap svg,
    .hero-link--linkedin .hero-link__icon-wrap svg,
    .hero-link--telegram .hero-link__icon-wrap svg,
    .hero-link--habr-career .hero-link__icon-wrap svg,
    .hero-link--max .hero-link__icon-wrap svg {
      width: 100%;
      height: 100%;
    }

    .hero-link--dribbble:hover {
      color: #bd569f;
      border-color: transparent;
      background-color: transparent;
      transform: translateY(-1px);
    }

    .hero-link--dribbble {
      --icon-default: url("images/icons/dribbble.svg");
      --icon-hover: url("images/icons/dribbble-hover.svg");
    }

    .hero-link--linkedin:hover {
      color: #0a66c2;
      border-color: transparent;
      background-color: transparent;
      transform: translateY(-1px);
    }

    .hero-link--linkedin {
      --icon-default: url("images/icons/linkedin.svg");
      --icon-hover: url("images/icons/linkedin-hover.svg");
    }

    .hero-link--telegram:hover {
      color: #2da2e0;
      border-color: transparent;
      background-color: var(--surface);
      transform: translateY(-1px);
    }

    .hero-link--telegram {
      --icon-default: url("images/icons/telegram.svg");
      --icon-hover: url("images/icons/telegram-hover.svg");
    }

    .hero-link--habr-career:hover {
      color: #6274bc;
      border-color: transparent;
      background-color: transparent;
      transform: translateY(-1px);
    }

    .hero-link--dribbble,
    .hero-link--linkedin,
    .hero-link--habr-career {
      background: transparent;
      border-color: transparent;
      padding: 0.52rem 0.95rem;
    }

    .hero-link--habr-career {
      --icon-default: url("images/icons/habr-career.svg");
      --icon-hover: url("images/icons/habr-career-hover.svg");
    }

    .hero-link--max:hover {
      color: #2a37bc;
      border-color: transparent;
      background-color: var(--surface);
      transform: translateY(-1px);
    }

    .hero-link--max {
      --icon-default: url("images/icons/max.svg");
      --icon-hover: url("images/icons/max-hover.svg");
    }

    .hero-link-cv {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      padding: 0.52rem 1.15rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 106, 0, 0.45);
      background: var(--accent-orange);
      color: #ffffff;
      text-decoration: none;
      font-family: var(--font-display);
      font-size: 0.9375rem;
      font-weight: 700;
      font-variation-settings: "wght" 700;
      line-height: 1.45;
      letter-spacing: 0.02em;
      transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .hero-link-cv:hover {
      background: #e85f00;
      border-color: #e85f00;
      color: #ffffff;
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(255, 106, 0, 0.28);
    }

    .hero-link-cv__icon {
      width: 16px;
      height: 16px;
      flex: none;
      display: inline-block;
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      background-image: url("images/icons/cv-download.svg");
    }

    .projects {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      column-gap: 1.2rem;
      row-gap: 2.4rem;
      margin: 0;
      perspective: 1200px;
      padding-bottom: 2rem;
      transition: filter 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
    }

    .project-card-wrap {
      display: flex;
      flex-direction: column;
      min-width: 0;
      perspective: 1200px;
    }

    .project-card {
      --tilt-rx: 0deg;
      --tilt-ry: 0deg;
      --tilt-mx: 0;
      --tilt-my: 0;
      --tilt-mx-pct: 50%;
      --tilt-my-pct: 50%;
      --tilt-scale: 1;
      --tilt-glare: 0;
      position: relative;
      border: none;
      background: var(--surface);
      border-radius: 18px;
      padding: 0;
      width: 100%;
      aspect-ratio: 548 / 359;
      display: flex;
      flex-direction: column;
      transform-style: preserve-3d;
      transform: rotateX(var(--tilt-rx)) rotateY(var(--tilt-ry)) scale(var(--tilt-scale));
      transition: box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
      box-shadow: none;
      cursor: pointer;
      overflow: hidden;
      will-change: transform;
    }

    .project-card--tilt {
      overflow: visible;
    }

    .project-card--tilt.is-tilt-active,
    .project-card--tilt:hover {
      box-shadow:
        0 22px 44px rgba(18, 18, 18, 0.14),
        0 8px 18px rgba(18, 18, 18, 0.08);
    }

    .project-card:hover {
      box-shadow: none;
    }

    .preview {
      position: relative;
      flex: 1 1 auto;
      align-self: stretch;
      min-height: 0;
      height: 100%;
      border-radius: inherit;
      overflow: hidden;
      background-color: #ffffff;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      z-index: 0;
      transform-style: preserve-3d;
    }

    .project-card--tilt .preview {
      overflow: visible;
    }

    .project-card--tilt .preview__cover,
    .project-card--tilt .preview__skeleton {
      transform:
        translateZ(28px)
        translateX(calc(var(--tilt-mx) * 8px))
        translateY(calc(var(--tilt-my) * 8px));
      will-change: transform;
    }

    .preview__stage {
      position: absolute;
      inset: 0;
      z-index: 0;
      transform-style: preserve-3d;
    }

    .preview__layer {
      position: absolute;
      display: block;
      width: auto;
      height: auto;
      max-width: 96%;
      max-height: 92%;
      object-fit: contain;
      pointer-events: none;
      transform: rotate(var(--layer-rotate, 0deg));
      transform-style: preserve-3d;
    }

    .preview__layer--fit {
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 72%;
      height: 78%;
      max-width: 72%;
      max-height: 78%;
      margin: auto;
      object-fit: contain;
      object-position: center;
    }

    .project-card--tilt .preview__layer,
    .project-card--tilt .preview__layer--fit {
      transform:
        translateZ(calc(8px + var(--layer-depth, 1) * 12px))
        translateX(calc(var(--tilt-mx) * var(--layer-depth, 1) * 4px))
        translateY(calc(var(--tilt-my) * var(--layer-depth, 1) * 4px))
        rotate(var(--layer-rotate, 0deg));
      will-change: transform;
    }

    .preview--layered .project-card__badges {
      z-index: 20;
    }

    .preview__cover {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      pointer-events: none;
    }

    .preview__skeleton {
      position: absolute;
      inset: 0;
      z-index: 1;
      border-radius: inherit;
      pointer-events: none;
      opacity: 1;
      transition: opacity 0.35s ease;
    }

    .preview.preview--ready .preview__skeleton {
      opacity: 0;
      visibility: hidden;
      transition:
        opacity 0.35s ease,
        visibility 0s linear 0.35s;
    }

    .project-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: none;
      pointer-events: none;
      z-index: 1;
    }

    .preview::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      border-radius: inherit;
      background: none;
      pointer-events: none;
      z-index: 1;
    }

    .project-card--tilt .preview::after {
      z-index: 3;
      opacity: var(--tilt-glare);
      mix-blend-mode: soft-light;
      background: radial-gradient(
        circle at var(--tilt-mx-pct) var(--tilt-my-pct),
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.14) 32%,
        transparent 62%
      );
      transition: opacity 0.2s ease;
    }

    .project-card__badges {
      position: absolute;
      left: 0.64rem;
      right: 0.66rem;
      bottom: 0.66rem;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      align-items: center;
      pointer-events: none;
      transform-style: preserve-3d;
    }

    .project-card--tilt .project-card__badges {
      transform:
        translateZ(48px)
        translateX(calc(var(--tilt-mx) * 14px))
        translateY(calc(var(--tilt-my) * 14px));
      will-change: transform;
    }

    .project-card__badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.28125rem 0.55rem 0.25rem;
      border-radius: 999px;
      font-family: var(--font-display);
      font-size: 0.71875rem;
      font-weight: 400;
      line-height: 1;
      letter-spacing: 0.0071875rem;
      color: var(--tag-text);
      background: var(--tag-bg);
      border: none;
      box-shadow: none;
    }

    .card-info {
      position: relative;
      z-index: 2;
      background: transparent;
      border: none;
      padding: 0;
      margin: 0.75rem 0 0;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
    }

    .card-info h3 {
      margin: 0;
      font-family: var(--font-display);
      font-size: 1.5rem;
      font-weight: 700;
      font-variation-settings: "wght" 700;
      line-height: 1.42;
      letter-spacing: 0.05em;
      color: var(--text);
      transition: color 0.2s ease;
    }

    .project-card-wrap:hover .card-info h3 {
      color: var(--accent-orange);
    }

    .card-info p {
      margin: 0;
      font-family: var(--font-serif);
      font-size: 0.9625rem;
      font-weight: var(--font-serif-weight);
      line-height: 1.546;
      color: var(--text);
      transition: opacity 0.35s ease;
    }

    @media (prefers-reduced-motion: reduce) {
      .project-card--tilt {
        overflow: hidden;
      }

      .project-card--tilt,
      .project-card--tilt .preview__cover,
      .project-card--tilt .preview__skeleton,
      .project-card--tilt .preview__layer,
      .project-card--tilt .project-card__badges {
        transform: none !important;
        will-change: auto;
      }

      .project-card--tilt .preview::after {
        display: none;
      }
    }

    .project-card-wrap__link {
      display: contents;
      color: inherit;
      text-decoration: none;
    }

    .project-card-wrap__link:focus-visible .project-card {
      outline: 2px solid #fb6800;
      outline-offset: 4px;
    }

    .project-card-wrap--linked .project-card {
      cursor: pointer;
    }

    body.case-page {
      min-height: 100vh;
      background: var(--bg);
      font-family:
        var(--font-serif),
        "Noto Color Emoji",
        "Apple Color Emoji",
        "Segoe UI Emoji",
        sans-serif;
      font-weight: var(--font-serif-weight);
    }

    body.case-page :is(
      .case-header__title,
      .case-section__title,
      .case-section__callout-label
    ) {
      font-family: var(--font-display);
      font-weight: 400;
    }

    body.case-page :is(
      .case-header__lead,
      .case-section__text,
      .case-section__callout-text,
      .case-video__placeholder-label
    ) {
      font-family: var(--font-serif);
      font-weight: var(--font-serif-weight);
    }

    body.case-page :is(
      .case-back,
      .case-nav__link,
      .case-rebrand-tabs__tab,
      .case-video__mute-btn
    ) {
      font-family: var(--font-display);
      font-weight: 400;
    }

    html:has(body.case-page) {
      scroll-behavior: smooth;
    }

    .case-layout {
      --case-content-max: 42.5rem;
      --case-nav-width: 16rem;
      --case-nav-gap: 5rem;
      --case-layout-max: calc(var(--case-content-max) + var(--case-nav-gap) + var(--case-nav-width));
      --case-text: #161616;
      --case-text-muted: #616161;
      --case-gap-sm: 0.5rem;
      --case-gap-md: 1rem;
      --case-gap-lg: 1.5rem;
      --case-gap-xl: 3rem;
      position: relative;
      width: min(var(--case-layout-max), 100%);
      margin: 0 auto;
      padding: 2rem 1.25rem 3rem;
      padding-right: calc(var(--case-nav-width) + var(--case-nav-gap));
    }

    .case {
      max-width: var(--case-content-max);
      margin: 0;
      padding: 0;
    }

    .case-section {
      scroll-margin-top: 1.5rem;
    }

    .case-section + .case-section {
      margin-top: var(--case-gap-xl);
    }

    .case-section__title {
      margin: 0 0 var(--case-gap-md);
      font-size: 1.25rem;
      line-height: 1.4;
      letter-spacing: 0.02em;
      color: var(--case-text);
    }

    .case-section__text {
      margin: 0;
      max-width: none;
      color: var(--case-text-muted);
      font-size: 1rem;
      line-height: 1.5;
    }

    .case-section__callout {
      margin: 0;
      max-width: none;
      padding: 1rem 1.15rem;
      border-radius: 12px;
      background: var(--surface-strong);
      border: 1px solid var(--border);
      border-left: 3px solid var(--accent);
    }

    .case-section__callout-label {
      margin: 0 0 var(--case-gap-sm);
      font-size: 1rem;
      line-height: 1.4;
      letter-spacing: 0.02em;
      color: var(--case-text);
    }

    .case-section__callout-text {
      margin: 0;
      font-size: 1rem;
      line-height: 1.5;
      color: var(--case-text);
    }

    .case-section__text + .case-section__text {
      margin-top: var(--case-gap-md);
    }

    .case-section__title + .case-section__callout {
      margin-top: 0;
    }

    .case-section__callout + .case-section__text {
      margin-top: var(--case-gap-lg);
    }

    .case-section__text + .case-rebrand-tabs,
    .case-rebrand-tabs + .case-section__text,
    .case-section__text + .case-rebrand-stack {
      margin-top: var(--case-gap-lg);
    }

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

    .case-rebrand-tabs {
      width: 100%;
    }

    .case-rebrand-tabs__bar {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 0.25rem;
      padding: 0.2rem;
      margin: 0 0 var(--case-gap-md);
      border-radius: 10px;
      background: var(--surface-strong);
    }

    .case-rebrand-tabs__tab {
      margin: 0;
      padding: 0.45rem 1.1rem;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      line-height: 1.4;
      letter-spacing: 0.02em;
      color: var(--case-text-muted);
      background: transparent;
      box-shadow: none;
      cursor: pointer;
      transition: color 0.18s ease, background 0.18s ease;
    }

    .case-rebrand-tabs__tab:hover {
      color: var(--case-text);
    }

    .case-rebrand-tabs__tab:focus-visible {
      outline: 2px solid #fb6800;
      outline-offset: 2px;
    }

    .case-rebrand-tabs__tab.is-active,
    .case-rebrand-tabs__tab[aria-selected="true"] {
      color: #fb6800;
      background: var(--surface);
    }

    .case-rebrand-tabs__panels {
      position: relative;
      width: 100%;
    }

    .case-rebrand-tabs__panel {
      margin: 0;
    }

    .case-rebrand-tabs__panel[hidden] {
      display: none;
    }

    .case-rebrand-tabs__figure {
      margin: 0;
      border-radius: 1.125rem;
      overflow: hidden;
      background: var(--skeleton-base);
    }

    .case-rebrand-tabs__img {
      display: block;
      width: 100%;
      height: auto;
      vertical-align: middle;
    }

    .case-rebrand-stack {
      width: 100%;
      margin-top: var(--case-gap-lg);
    }

    .case-rebrand-stack__viewport {
      position: relative;
      width: 100%;
      margin: 0;
    }

    .case-rebrand-stack .stack-container {
      perspective-origin: 0% 50%;
    }

    .case-rebrand-stack .card-rotate,
    .case-rebrand-stack .card-rotate-back,
    .case-rebrand-stack .card-rotate-disabled {
      left: 0;
    }

    .case-rebrand-stack .card {
      transform-origin: 0% 90%;
      border-radius: 1.125rem;
    }

    @media (prefers-reduced-motion: reduce) {
      .case-rebrand-stack .card {
        transition: transform 0.15s ease !important;
      }

      .card-rotate {
        transition: transform 0.15s ease !important;
      }
    }

    .case-nav {
      position: fixed;
      top: 2rem;
      right: max(1.25rem, calc((100vw - var(--case-layout-max)) / 2 + 1.25rem));
      z-index: 3;
      width: var(--case-nav-width);
      padding: 0;
    }

    .case-nav__list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .case-nav__link {
      position: relative;
      display: block;
      padding: 0.28rem 0.35rem 0.28rem 1.1rem;
      border-radius: 8px;
      color: var(--case-text-muted);
      font-size: 1rem;
      line-height: 1.35;
      letter-spacing: 0.02em;
      text-decoration: none;
      white-space: nowrap;
      transition: color 0.2s ease;
    }

    .case-nav__link::before {
      content: "\2014";
      position: absolute;
      left: 0;
      color: currentColor;
      opacity: 0.45;
    }

    .case-nav__link:hover::before,
    .case-nav__link.is-active::before {
      opacity: 1;
    }

    .case-nav__link:hover,
    .case-nav__link.is-active {
      color: #fb6800;
    }

    .case-nav__link.is-active {
      font-weight: 400;
    }

    .case-nav__link:focus-visible {
      outline: 2px solid #fb6800;
      outline-offset: 2px;
    }

    @media (max-width: 960px) {
      .case-layout {
        padding-right: 1.25rem;
      }

      .case-nav {
        position: sticky;
        top: 0.75rem;
        right: auto;
        width: 100%;
        max-width: var(--case-content-max);
        margin: 0 0 1.5rem;
        padding-left: 0;
      }

      .case-nav__link {
        white-space: normal;
      }
    }

    .case-back {
      position: fixed;
      top: 2rem;
      left: 1.25rem;
      z-index: 10;
      display: inline-flex;
      align-items: center;
      margin: 0;
      padding: 0.55rem 1.05rem 0.55rem 0.9rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.72);
      background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(255, 255, 255, 0.48) 48%,
        rgba(255, 255, 255, 0.38) 100%
      );
      backdrop-filter: blur(7px) saturate(1.2);
      -webkit-backdrop-filter: blur(7px) saturate(1.2);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(22, 22, 22, 0.05),
        0 4px 18px rgba(22, 22, 22, 0.07);
      color: var(--text);
      font-size: 0.875rem;
      letter-spacing: 0.02em;
      text-decoration: none;
      transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
    }

    .case-back:hover {
      color: #e85f00;
      border-color: rgba(255, 255, 255, 0.92);
      background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.62) 48%,
        rgba(255, 255, 255, 0.5) 100%
      );
      box-shadow:
        inset 0 1px 0 #ffffff,
        inset 0 -1px 0 rgba(22, 22, 22, 0.06),
        0 6px 22px rgba(22, 22, 22, 0.1);
      transform: translateY(-1px);
    }

    .case-back:active {
      transform: translateY(0);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        inset 0 -1px 0 rgba(22, 22, 22, 0.05),
        0 2px 10px rgba(22, 22, 22, 0.06);
    }

    .case-back:focus-visible {
      outline: 2px solid #fb6800;
      outline-offset: 2px;
    }

    .case-header + .case-video {
      margin-top: var(--case-gap-lg);
    }

    .case-badges {
      display: flex;
      flex-wrap: wrap;
      gap: var(--case-gap-sm);
      margin: var(--case-gap-md) 0 0;
      padding: 0;
      list-style: none;
    }

    .case-badge {
      display: inline-flex;
      align-items: center;
      padding: 0.38rem 0.75rem;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.72);
      background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.78) 0%,
        rgba(255, 255, 255, 0.48) 48%,
        rgba(255, 255, 255, 0.38) 100%
      );
      backdrop-filter: blur(7px) saturate(1.2);
      -webkit-backdrop-filter: blur(7px) saturate(1.2);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(22, 22, 22, 0.05),
        0 2px 10px rgba(22, 22, 22, 0.06);
      color: var(--text);
      font-size: 0.75rem;
      font-weight: 600;
      line-height: 1;
      letter-spacing: 0.01em;
    }

    .case-header__title {
      margin: 0;
      max-width: none;
      font-size: clamp(1.5rem, 3.2vw, 2rem);
      line-height: 1.3;
      letter-spacing: 0.025em;
      color: var(--case-text);
    }

    .case-header__lead {
      margin: var(--case-gap-lg) 0 0;
      max-width: none;
      color: var(--case-text-muted);
      font-size: 1rem;
      line-height: 1.5;
    }

    .case-header__meta {
      margin: var(--case-gap-md) 0 0;
      max-width: none;
    }

    .case-header__link {
      color: #0a66c2;
      text-decoration: none;
      border-bottom: 1px solid #0a66c2;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    .case-header__link:hover {
      color: #004182;
      border-bottom-color: #004182;
    }

    .case-gallery {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-top: var(--case-gap-md);
    }

    .case-gallery-text {
      margin: 0.85rem 0 0;
      max-width: none;
      color: var(--case-text-muted);
      font-size: 1rem;
      line-height: 1.5;
    }

    .case-gallery-text:first-child {
      margin-top: 0;
    }

    .case-gallery-text--heading {
      margin: 1.15rem 0 0.45rem;
      max-width: none;
      color: var(--case-text);
      font-size: 1rem;
      font-weight: 700;
      line-height: 1.4;
    }

    .case-gallery-text--heading:first-child {
      margin-top: 0;
    }

    .case-gallery-block {
      width: 100%;
      min-width: 0;
    }

    .case-gallery-block--pair {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0;
    }

    .case-gallery-item {
      position: relative;
      overflow: hidden;
      min-height: 120px;
      background: #ffffff;
    }

    .case-gallery-item__skeleton {
      position: absolute;
      inset: 0;
      z-index: 1;
      min-height: 160px;
      pointer-events: none;
      opacity: 1;
      transition: opacity 0.35s ease;
    }

    .case-gallery-item.case-gallery-item--ready .case-gallery-item__skeleton {
      opacity: 0;
      visibility: hidden;
      transition:
        opacity 0.35s ease,
        visibility 0s linear 0.35s;
    }

    .case-gallery-item img {
      position: relative;
      z-index: 2;
      width: 100%;
      height: auto;
      display: block;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .case-gallery-item.case-gallery-item--ready img {
      opacity: 1;
    }

    .case-video {
      position: relative;
      width: 100%;
      margin-top: 0;
      border-radius: 18px;
      overflow: hidden;
      background: var(--surface);
      border: none;
    }

    .case-video__placeholder {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: clamp(200px, 52vw, 480px);
      padding: 1.5rem;
      text-align: center;
    }

    .case-video__placeholder-label {
      max-width: 32ch;
      color: var(--text-muted);
      font-size: 0.9rem;
      font-weight: 500;
      line-height: 1.5;
    }

    .case-video__placeholder-label code {
      display: inline-block;
      margin-top: 0.35rem;
      font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
      font-size: 0.78rem;
      color: var(--text);
      word-break: break-all;
    }

    .case-video__stage {
      position: relative;
    }

    .case-video__stage[hidden] {
      display: none !important;
    }

    .case-video__player {
      display: block;
      width: 100%;
      height: auto;
      background: #ffffff;
      cursor: pointer;
    }

    .case-video__playback-hint {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.28s ease;
    }

    .case-video__playback-hint.is-visible {
      opacity: 1;
    }

    .case-video__playback-hint-glass {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 4.25rem;
      height: 4.25rem;
      border-radius: 50%;
      border: none;
      background: rgba(22, 22, 22, 0.52);
      backdrop-filter: blur(12px) saturate(1.2);
      -webkit-backdrop-filter: blur(12px) saturate(1.2);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 6px 22px rgba(22, 22, 22, 0.28);
      color: rgba(255, 255, 255, 0.98);
    }

    .case-video__playback-icon {
      display: block;
      flex: none;
      filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
    }

    .case-video__playback-hint[data-mode="play"] .case-video__playback-icon--pause {
      display: none;
    }

    .case-video__playback-hint[data-mode="pause"] .case-video__playback-icon--play {
      display: none;
    }

    .case-video__playback-hint[hidden] {
      display: none !important;
    }

    .case-video__controls {
      position: absolute;
      right: 0.75rem;
      top: 50%;
      z-index: 4;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      gap: 0.45rem;
      padding: 0.5rem 0.4rem;
      border-radius: 999px;
      border: none;
      background: rgba(22, 22, 22, 0.52);
      backdrop-filter: blur(12px) saturate(1.2);
      -webkit-backdrop-filter: blur(12px) saturate(1.2);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 6px 22px rgba(22, 22, 22, 0.28);
      transform: translateY(-50%);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.28s ease;
    }

    .case-video:hover .case-video__controls,
    .case-video__stage:hover .case-video__controls,
    .case-video__stage:focus-within .case-video__controls {
      opacity: 1;
      pointer-events: auto;
    }

    @media (hover: none) {
      .case-video__controls {
        opacity: 1;
        pointer-events: auto;
      }
    }

    .case-video__volume-slider {
      -webkit-appearance: none;
      appearance: none;
      width: 4px;
      height: 5.5rem;
      margin: 0;
      padding: 0;
      border: none;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
      cursor: pointer;
      writing-mode: vertical-lr;
      direction: rtl;
    }

    .case-video__volume-slider::-webkit-slider-runnable-track {
      width: 4px;
      height: 5.5rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
    }

    .case-video__volume-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 14px;
      height: 14px;
      margin-left: -5px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    }

    .case-video__volume-slider::-moz-range-track {
      width: 4px;
      height: 5.5rem;
      border: none;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.22);
    }

    .case-video__volume-slider::-moz-range-thumb {
      width: 14px;
      height: 14px;
      border: none;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    }

    .case-video__mute-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.65rem;
      height: 2.65rem;
      padding: 0;
      border: none;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.16);
      color: rgba(255, 255, 255, 0.98);
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    }

    .case-video__icon {
      display: block;
      flex: none;
      filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
    }

    .case-video__cross,
    .case-video__wave {
      opacity: 0;
      visibility: hidden;
    }

    .case-video__mute-btn[data-audio-state="muted"] .case-video__cross {
      opacity: 1;
      visibility: visible;
    }

    .case-video__mute-btn[data-audio-state="1"] .case-video__wave--1,
    .case-video__mute-btn[data-audio-state="2"] .case-video__wave--1,
    .case-video__mute-btn[data-audio-state="2"] .case-video__wave--2,
    .case-video__mute-btn[data-audio-state="3"] .case-video__wave--1,
    .case-video__mute-btn[data-audio-state="3"] .case-video__wave--2,
    .case-video__mute-btn[data-audio-state="3"] .case-video__wave--3 {
      opacity: 1;
      visibility: visible;
    }

    .case-video__mute-btn:hover {
      background: rgba(255, 255, 255, 0.28);
      color: #ffffff;
    }

    .case-video__mute-btn:active {
      transform: scale(0.94);
    }

    .case-video__mute-btn:focus-visible {
      outline: 2px solid #fb6800;
      outline-offset: 2px;
    }

    .case-video__stage:fullscreen,
    .case-video__stage:-webkit-full-screen {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      border-radius: 0;
      background: #000000;
    }

    .case-video__stage:fullscreen .case-video__player,
    .case-video__stage:-webkit-full-screen .case-video__player {
      width: 100%;
      height: 100%;
      max-height: 100vh;
      object-fit: contain;
    }

    .case-video__stage:fullscreen .case-video__controls,
    .case-video__stage:-webkit-full-screen .case-video__controls {
      opacity: 1;
      pointer-events: auto;
    }

    @media (pointer: fine) and (min-width: 769px) {
      html.use-glass-cursor .case-video__stage:fullscreen,
      html.use-glass-cursor .case-video__stage:fullscreen *,
      html.use-glass-cursor .case-video__stage:-webkit-full-screen,
      html.use-glass-cursor .case-video__stage:-webkit-full-screen * {
        cursor: auto !important;
      }

      html.use-glass-cursor .case-video__stage:fullscreen .case-video__player,
      html.use-glass-cursor .case-video__stage:-webkit-full-screen .case-video__player,
      html.use-glass-cursor .case-video__stage:fullscreen .case-video__mute-btn,
      html.use-glass-cursor .case-video__stage:-webkit-full-screen .case-video__mute-btn {
        cursor: pointer !important;
      }
    }

    .case-video__placeholder[hidden] {
      display: none !important;
    }

    @media (max-width: 991px) {
      .case-gallery-block--pair {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .header-inner {
        padding: 0.4rem 0.95rem;
        flex-wrap: wrap;
        row-gap: 0.5rem;
      }

      .site-header {
        width: calc(100vw - 1rem);
        bottom: 0.5rem;
        border-radius: 14px;
      }

      .header-actions {
        gap: 0.4rem;
        flex: 1 1 auto;
        justify-content: flex-end;
        min-width: 0;
      }

      .site-header .hero-link,
      .site-header .hero-link-cv {
        padding: 0.45rem 0.75rem;
        font-size: 0.875rem;
      }

      main {
        padding-bottom: calc(40px + 4.75rem);
      }

      .hero {
        padding-top: clamp(3rem, 12vw, 6.8rem);
        padding-bottom: 3rem;
      }

      .hero-title {
        font-size: clamp(1.125rem, 2.75vw + 0.75rem, 1.6875rem);
      }

      .hero-title span {
        white-space: normal;
        max-width: 100%;
      }

      .hero-lead {
        font-size: clamp(0.8125rem, 2.2vw + 0.7rem, 1rem);
      }

      .hero-links {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.45rem;
        width: 100%;
        align-self: stretch;
        container-type: inline-size;
        margin-top: 0.3rem;
        padding-top: 0.25rem;
      }

      .hero-links__right {
        display: none;
      }

      .hero-links__left {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: stretch;
        align-items: stretch;
        width: 100%;
        gap: 0.45rem;
      }

      .hero-links__left .hero-link,
      .hero-links__left .hero-link-cv {
        display: flex;
        justify-self: stretch;
        min-width: 0;
        max-width: none;
        width: 100%;
        box-sizing: border-box;
        white-space: nowrap;
        justify-content: center;
        overflow: hidden;
        font-size: clamp(0.8125rem, 2.6vw, 0.9375rem);
        padding-inline: clamp(0.5rem, 2vw, 0.95rem);
      }

      .hero-links__left .hero-link__label {
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        flex-shrink: 1;
      }

      @container (max-width: 32rem) {
        .hero-links__left {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .hero-links__left .hero-link-cv {
          grid-column: 1 / -1;
        }
      }

      .btn-cv {
        min-height: 40px;
        padding-inline: 0.9rem;
        font-size: 0.9375rem;
      }

      .projects {
        grid-template-columns: 1fr;
        row-gap: clamp(1.5rem, 5vw, 2.4rem);
      }

      .project-card {
        border-radius: clamp(0.75rem, 3.2vw, 1.125rem);
      }

      .project-card__badge {
        font-size: clamp(0.625rem, 1.8vw + 0.45rem, 0.71875rem);
        padding: clamp(0.2rem, 1vw, 0.28125rem) clamp(0.4rem, 2vw, 0.55rem)
          clamp(0.175rem, 0.9vw, 0.25rem);
      }

      .card-info h3 {
        font-size: clamp(1.0625rem, 3.2vw + 0.75rem, 1.5rem);
      }

      .card-info p {
        font-size: clamp(0.8125rem, 2.4vw + 0.55rem, 0.9625rem);
      }
    }

