:root {
      --bg: #e4e4e4;
      --text: #0d0d0d;
      --muted: #767676;
      --border: #999999;
      --preview-border: #b7b7b7;
      --preview-bg: #d8d8d8;
      --modal-bg: #0d0d0d;
      --modal-text: #c4c4c4;
      --modal-muted: #b5b5b5;
      --modal-cta: #e8e8e8;
      --modal-sub: #8a8a8a;
      --font-family: "Archivo", Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    html {
      overflow-x: clip;
    }

    html,
    body {
      margin: 0;
      min-height: 100%;
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-family);
    }

    .page {
      min-height: 100vh;
      min-height: 100dvh;
      padding: max(24px, env(safe-area-inset-top, 0px)) max(22px, env(safe-area-inset-right, 0px))
        max(22px, env(safe-area-inset-bottom, 0px)) max(22px, env(safe-area-inset-left, 0px));
      display: flex;
      flex-direction: column;
      gap: 28px;
      --scroll-y: 0px;
    }

    .hero {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: start;
      gap: 20px;
      transform: translateY(calc(var(--scroll-y) * 0.04));
      will-change: transform;
    }

    .title,
    .name {
      margin: 0;
      font-size: clamp(42px, 7.5vw, 74px);
      line-height: 0.93;
      letter-spacing: -0.02em;
      font-weight: 900;
      text-transform: uppercase;
    }

    .name {
      text-align: right;
    }

    .title-left {
      max-width: 280px;
    }

    .title-right {
      max-width: 760px;
      margin-left: auto;
    }

    .meta-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 10px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-weight: 600;
    }

    .meta-row .left {
      opacity: 0.9;
    }

    .meta-nav {
      display: inline-flex;
      align-items: center;
      gap: clamp(12px, 2vw, 28px);
    }

    .info-btn,
    .menu-toggle {
      background: transparent;
      border: 0;
      color: var(--text);
      font: inherit;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      cursor: pointer;
      padding: 0;
      font-weight: 600;
      font-size: inherit;
    }

    .info-btn {
      color: var(--muted);
    }

    .info-btn.is-active {
      color: var(--text);
    }

    .meta-links {
      display: inline-flex;
      align-items: center;
      gap: clamp(12px, 2vw, 28px);
      max-width: 0;
      opacity: 0;
      overflow: hidden;
      pointer-events: none;
      transition: max-width 0.35s ease, opacity 0.25s ease;
    }

    .meta-links a {
      color: var(--text);
      text-decoration: none;
      font-weight: 900;
      white-space: nowrap;
    }

    .meta-links a:hover {
      opacity: 0.7;
    }

    .menu-open .meta-links {
      max-width: 280px;
      opacity: 1;
      pointer-events: auto;
    }

    .menu-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 24px;
      min-height: 24px;
    }

    .burger-lines {
      width: 18px;
      display: inline-flex;
      flex-direction: column;
      gap: 5px;
    }

    .burger-lines span {
      height: 2px;
      background: var(--text);
      width: 100%;
      display: block;
    }

    .spacer {
      min-height: clamp(200px, 32vh, 310px);
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-weight: 600;
      color: var(--text);
    }

    .info-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: max(20px, env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px))
        max(20px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
      background: rgba(0, 0, 0, 0.35);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    .info-modal.is-open {
      opacity: 1;
      visibility: visible;
    }

    .info-modal__inner {
      width: min(92vw, 1180px);
      min-height: min(78vh, 720px);
      background: var(--modal-bg);
      color: var(--modal-muted);
      padding: clamp(28px, 4vw, 48px);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 40px;
      transform: translateY(12px);
      transition: transform 0.28s ease;
    }

    .info-modal.is-open .info-modal__inner {
      transform: translateY(0);
    }

    .info-modal__bio {
      margin: 0;
      font-size: clamp(22px, 3.2vw, 38px);
      line-height: 1.12;
      letter-spacing: -0.01em;
      font-weight: 900;
      text-transform: uppercase;
      color: var(--modal-text);
      max-width: 52em;
    }

    .info-modal__footer {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .info-modal__cta {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .info-modal__touch {
      color: var(--modal-cta);
      text-decoration: none;
      font-size: clamp(14px, 1.6vw, 18px);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }

    .info-modal__touch:hover {
      opacity: 0.75;
    }

    .info-modal__sub {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-weight: 600;
      color: var(--modal-sub);
    }

    .info-modal__close {
      background: transparent;
      border: 0;
      color: var(--modal-text);
      font: inherit;
      font-size: clamp(28px, 4vw, 48px);
      font-weight: 900;
      text-transform: uppercase;
      letter-spacing: -0.01em;
      cursor: pointer;
      padding: 0;
      line-height: 1;
    }

    .info-modal__close:hover {
      color: #fff;
    }

    body.modal-open {
      overflow: hidden;
    }

    .work-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: min(10vw, 96px);
      align-items: start;
      justify-items: stretch;
      margin-top: 12px;
      position: relative;
      width: 100%;
    }

    .categories-column {
      justify-self: start;
    }

    .artists-column {
      justify-self: end;
      width: 100%;
      max-width: min(52vw, 28rem);
    }

    .artists-column .projects {
      margin-left: auto;
    }

    .column-label {
      display: block;
      margin-bottom: 14px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-weight: 700;
    }

    ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .projects li,
    .categories li {
      text-transform: uppercase;
      font-weight: 900;
      letter-spacing: -0.01em;
      font-size: clamp(28px, 3.95vw, 42px);
      line-height: 1.08;
      color: var(--muted);
      transition: color 0.15s ease;
      white-space: normal;
      max-width: min(52vw, 28rem);
      overflow-wrap: break-word;
      hyphens: auto;
      padding: 6px 0;
    }

    .projects li {
      cursor: pointer;
    }

    .projects li.active {
      color: var(--text);
    }

    .animate-on-scroll {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .animate-on-scroll.in-view {
      opacity: 1;
      transform: translateY(0);
    }

    .categories {
      text-align: left;
    }

    .categories li {
      font-size: clamp(28px, 3.4vw, 42px);
      line-height: 1.08;
      cursor: pointer;
    }

    .categories li.active {
      color: var(--text);
    }

    .projects li:hover,
    .categories li:hover {
      color: var(--text);
    }

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

    .spacer a:hover {
      opacity: 0.7;
    }

    .footer {
      margin-top: 36px;
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-weight: 700;
    }

    .preview-panel {
      position: absolute;
      top: 0;
      width: min(29vw, 305px);
      aspect-ratio: 4 / 5;
      border: 1px solid var(--preview-border);
      background: var(--preview-bg);
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transform: translateY(14px);
      transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease, left 0.2s ease, right 0.2s ease,
        top 0.18s ease;
      pointer-events: none;
      left: 38px;
      right: auto;
    }

    /* Right column (Artist) hover â†’ image on the left */
    .preview-panel.preview-side-left {
      left: 38px;
      right: auto;
    }

    /* Left column (Exhibitions) hover â†’ image on the right */
    .preview-panel.preview-side-right {
      left: auto;
      right: 38px;
    }

    .preview-panel.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .preview-panel img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .preview-caption {
      position: absolute;
      left: 8px;
      bottom: 8px;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      font-weight: 700;
      color: #f7f7f7;
      text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
    }

    @media (max-width: 1024px) {
      .projects li,
      .categories li {
        font-size: clamp(22px, 4vw, 32px);
      }

      .spacer {
        min-height: 130px;
      }

      .work-grid {
        gap: min(6.5vw, 56px);
      }

      .preview-panel.preview-side-left {
        left: 0;
        right: auto;
      }

      .preview-panel.preview-side-right {
        left: auto;
        right: 0;
      }

      .preview-panel {
        width: min(240px, 36vw);
      }
    }

    @media (max-width: 900px) {
      .hero {
        grid-template-columns: 1fr;
        gap: 14px;
        transform: none;
      }

      .name {
        text-align: left;
      }

      .title-left,
      .title-right {
        max-width: none;
      }

      .title,
      .name {
        font-size: clamp(36px, 10vw, 64px);
      }

      .work-grid {
        grid-template-columns: 1fr;
        gap: 28px;
      }

      .categories-column {
        order: 1;
      }

      .preview-panel {
        order: 2;
      }

      .artists-column {
        order: 3;
        justify-self: start;
        max-width: 100%;
      }

      .artists-column .projects {
        margin-left: 0;
      }

      .categories {
        text-align: left;
      }

      .spacer {
        min-height: 120px;
      }

      .preview-panel {
        position: relative;
        top: 0 !important;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        margin-top: 4px;
        margin-bottom: 4px;
      }

      .preview-panel:not(.show) {
        display: none;
      }

      .preview-panel.show {
        display: block;
      }

      .preview-panel.preview-side-right.show {
        margin-left: auto;
        margin-right: 0;
      }

      .preview-panel.preview-side-left.show {
        margin-left: 0;
        margin-right: auto;
      }

      .projects li,
      .categories li {
        max-width: 100%;
        padding: 9px 0;
      }

      .info-btn,
      .menu-toggle {
        min-height: 44px;
        padding: 6px 0;
      }

      .meta-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
      }

      .info-modal__inner {
        min-height: min(82vh, 640px);
      }

      .info-modal__footer {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    @media (max-width: 740px) {
      .spacer {
        min-height: 100px;
      }

      .page {
        padding: max(20px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px))
          max(18px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
        gap: 24px;
      }

      .meta-row {
        font-size: 10px;
        gap: 8px;
        flex-wrap: wrap;
      }

      .column-label {
        font-size: 10px;
      }

      .footer {
        margin-top: 28px;
        padding-bottom: env(safe-area-inset-bottom, 0px);
      }
    }

    @media (max-width: 480px) {
      .title,
      .name {
        font-size: clamp(32px, 11vw, 52px);
      }

      .projects li,
      .categories li {
        font-size: clamp(18px, 5.2vw, 26px);
      }
    }
    .site-logo {
      display: block;
      max-height: 56px;
      width: auto;
      margin-bottom: 18px;
    }

    .hero.has-logo {
      grid-template-columns: 1fr;
    }
