﻿:root {
      --bg: #050b14;
      --bg-soft: #0a1422;
      --surface: rgba(10, 18, 32, 0.56);
      --surface-strong: rgba(9, 16, 28, 0.8);
      --surface-border: rgba(255, 255, 255, 0.1);
      --text-main: #f3f7fb;
      --text-soft: rgba(243, 247, 251, 0.72);
      --text-muted: rgba(243, 247, 251, 0.48);
      --accent: #9ad6ff;
      --accent-2: #8ef1d1;
      --accent-3: #96a8ff;
      --shadow-xl: 0 30px 90px rgba(0, 0, 0, 0.45);
      --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.28);
      --radius-xl: 30px;
      --radius-lg: 24px;
      --radius-md: 18px;
      --container: min(1400px, calc(100vw - 32px));
      --title-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
      --body-font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
      --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;
      min-height: 100dvh;
      overflow-x: hidden;
      font-family: var(--body-font);
      color: var(--text-main);
      background:
        radial-gradient(circle at 12% 16%, rgba(146, 194, 255, 0.18), transparent 20%),
        radial-gradient(circle at 85% 14%, rgba(103, 124, 255, 0.16), transparent 25%),
        radial-gradient(circle at 76% 76%, rgba(120, 227, 197, 0.12), transparent 24%),
        linear-gradient(135deg, #030812 0%, #06101c 44%, #0c1624 100%);
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.08;
      z-index: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
      background-size: 120px 120px;
      mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
    }

    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      opacity: 0.06;
      z-index: 0;
      background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.45) 0.7px, transparent 0.9px);
      background-size: 6px 6px;
      mix-blend-mode: soft-light;
    }

    .page-shell {
      position: relative;
      isolation: isolate;
      overflow: clip;
    }

    .ambient-blob {
      position: fixed;
      width: 32vw;
      height: 32vw;
      min-width: 280px;
      min-height: 280px;
      max-width: 520px;
      max-height: 520px;
      border-radius: 50%;
      filter: blur(80px);
      opacity: 0.22;
      pointer-events: none;
      z-index: 0;
    }

    .ambient-blob--one {
      top: -8vh;
      left: -8vw;
      background: radial-gradient(circle, rgba(126, 180, 255, 0.88), transparent 65%);
    }

    .ambient-blob--two {
      top: 18vh;
      right: -8vw;
      background: radial-gradient(circle, rgba(132, 126, 255, 0.72), transparent 65%);
    }

    .ambient-blob--three {
      bottom: -10vh;
      left: 35vw;
      background: radial-gradient(circle, rgba(105, 224, 192, 0.72), transparent 65%);
    }

    .site-cursor {
      position: fixed;
      top: 0;
      left: 0;
      width: 16px;
      height: 16px;
      border: 1px solid rgba(255, 255, 255, 0.44);
      border-radius: 50%;
      pointer-events: none;
      z-index: 100;
      transform: translate(-50%, -50%);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      background: rgba(255, 255, 255, 0.08);
      mix-blend-mode: screen;
    }

    .site-cursor__dot {
      position: absolute;
      inset: 50% auto auto 50%;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.9);
      transform: translate(-50%, -50%);
    }

    .hero {
      position: relative;
      width: var(--container);
      margin: 0 auto;
      min-height: 100vh;
      min-height: 100dvh;
      padding: 28px 0 48px;
      display: grid;
      align-items: center;
      z-index: 1;
    }

    .hero__frame {
      position: relative;
      overflow: hidden;
      padding: clamp(24px, 4vw, 40px);
      border-radius: 36px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
        rgba(7, 14, 24, 0.34);
      box-shadow:
        var(--shadow-xl),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
    }

    .hero__frame::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.1), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%);
    }

    .hero__topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: clamp(28px, 5vw, 54px);
      flex-wrap: wrap;
    }

    .hero__badge {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-height: 40px;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      font-size: 0.76rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.82);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .hero__badge::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--accent-2));
      box-shadow: 0 0 18px rgba(154, 214, 255, 0.5);
    }

    .hero__mini-panel {
      display: flex;
      align-items: center;
      gap: 14px;
      min-height: 40px;
      padding: 8px 16px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text-muted);
      font-size: 0.82rem;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .hero__grid {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.78fr);
      gap: clamp(24px, 4vw, 40px);
      align-items: end;
    }

    .hero__content {
      max-width: 820px;
    }

    .hero__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
      color: var(--accent);
      font-size: 0.8rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .hero__eyebrow::before {
      content: "";
      width: 38px;
      height: 1px;
      background: currentColor;
      opacity: 0.9;
    }

    .hero__title {
      margin: 0 0 18px;
      max-width: 10ch;
      font-family: var(--title-font);
      font-size: clamp(3rem, 8vw, 7rem);
      font-weight: 600;
      line-height: 0.92;
      letter-spacing: -0.05em;
      text-wrap: balance;
    }

    .hero__title em {
      font-style: italic;
      color: rgba(255, 255, 255, 0.92);
    }

    .hero__text {
      margin: 0;
      max-width: 54ch;
      color: var(--text-soft);
      font-size: clamp(1.02rem, 1.85vw, 1.16rem);
      line-height: 1.7;
      text-wrap: pretty;
    }

    .hero__actions {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .button {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 52px;
      padding: 14px 22px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      font: inherit;
      font-weight: 700;
      color: var(--text-main);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.06);
      box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      text-decoration: none;
      cursor: pointer;
      transition:
        transform 320ms var(--ease-smooth),
        background 320ms var(--ease-smooth),
        border-color 320ms var(--ease-smooth);
      will-change: transform;
    }

    .button:hover,
    .button:focus-visible {
      transform: translateY(-2px);
      outline: none;
    }

    .button--primary {
      color: #07111f;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(178, 227, 255, 0.94));
      border-color: rgba(255, 255, 255, 0.45);
      box-shadow:
        0 18px 42px rgba(130, 193, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
    }

    .button--ghost {
      color: rgba(255, 255, 255, 0.88);
    }

    .hero__aside {
      justify-self: end;
      width: min(100%, 360px);
    }

    .hero-card {
      position: relative;
      overflow: hidden;
      padding: 20px;
      border-radius: 26px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(8, 15, 25, 0.54);
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: var(--shadow-md);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
    }

    .hero-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 36%);
      pointer-events: none;
    }

    .hero-card__label {
      display: inline-flex;
      margin-bottom: 18px;
      color: var(--text-muted);
      font-size: 0.76rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .hero-card__visual {
      position: relative;
      overflow: hidden;
      height: 320px;
      border-radius: 22px;
      margin-bottom: 18px;
      background: rgba(255, 255, 255, 0.04);
    }

    .hero-card__visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.08);
      filter: saturate(1.08) contrast(1.04);
    }

    .hero-card__meta {
      display: grid;
      gap: 12px;
    }

    .hero-card__meta strong {
      font-size: 1.12rem;
      font-weight: 700;
    }

    .hero-card__meta span {
      color: var(--text-soft);
      line-height: 1.6;
      font-size: 0.95rem;
    }

    .gallery-section {
      position: relative;
      width: var(--container);
      margin: 0 auto;
      padding: 32px 0 80px;
      z-index: 1;
    }

    .gallery-header {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 24px;
      align-items: end;
      margin-bottom: 28px;
    }

    .gallery-header__copy {
      max-width: 720px;
    }

    .gallery-header__title {
      margin: 0 0 12px;
      font-family: var(--title-font);
      font-size: clamp(2rem, 4.6vw, 4.4rem);
      line-height: 0.98;
      letter-spacing: -0.04em;
      font-weight: 600;
    }

    .gallery-header__text {
      margin: 0;
      color: var(--text-soft);
      line-height: 1.7;
      max-width: 48ch;
    }

    .filter-pills {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
    }

    .filter-pill {
      position: relative;
      overflow: hidden;
      min-height: 46px;
      padding: 12px 18px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.05);
      color: rgba(255, 255, 255, 0.84);
      font: inherit;
      font-size: 0.92rem;
      font-weight: 700;
      cursor: pointer;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition:
        transform 320ms var(--ease-smooth),
        border-color 320ms var(--ease-smooth),
        color 320ms var(--ease-smooth);
      will-change: transform;
    }

    .filter-pill::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 58%);
      opacity: 0;
      transition: opacity 320ms ease;
      pointer-events: none;
    }

    .filter-pill:hover,
    .filter-pill:focus-visible {
      transform: translateY(-2px);
      outline: none;
    }

    .filter-pill.is-active {
      color: #07111f;
      border-color: rgba(255, 255, 255, 0.45);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(178, 227, 255, 0.94));
      box-shadow:
        0 18px 40px rgba(127, 193, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .filter-pill.is-active::before {
      opacity: 1;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: 18px;
      align-items: start;
    }

    .gallery-card {
      position: relative;
      display: flex;
      min-height: 260px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 26px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(8, 14, 24, 0.6);
      box-shadow: var(--shadow-md);
      cursor: pointer;
      isolation: isolate;
      will-change: transform;
      transform-style: preserve-3d;
    }

    .gallery-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent 40%);
      pointer-events: none;
      z-index: 1;
    }

    .gallery-card__media {
      position: absolute;
      inset: 0;
      overflow: hidden;
      z-index: 0;
    }

    .gallery-card__media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.08);
      filter: saturate(1.04) contrast(1.02);
      will-change: transform;
    }

    .gallery-card__media::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(8, 12, 20, 0.08), rgba(8, 12, 20, 0.12) 35%, rgba(8, 12, 20, 0.84) 100%),
        radial-gradient(circle at top right, rgba(154, 214, 255, 0.12), transparent 24%);
      z-index: 1;
    }

    .gallery-card__clip {
      position: absolute;
      inset: 0;
      clip-path: inset(0 0 0 0 round 26px);
    }

    .gallery-card__body {
      position: relative;
      z-index: 2;
      align-self: end;
      width: 100%;
      padding: 18px;
      display: grid;
      gap: 10px;
    }

    .gallery-card__category {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: rgba(255, 255, 255, 0.78);
      font-size: 0.74rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

    .gallery-card__category::before {
      content: "";
      width: 28px;
      height: 1px;
      background: currentColor;
      opacity: 0.7;
    }

    .gallery-card__title {
      margin: 0;
      font-family: var(--title-font);
      font-size: clamp(1.2rem, 2vw, 2rem);
      line-height: 1;
      letter-spacing: -0.03em;
      font-weight: 600;
      text-wrap: balance;
    }

    .gallery-card__description {
      margin: 0;
      max-width: 36ch;
      color: var(--text-soft);
      line-height: 1.55;
      font-size: 0.95rem;
      transform: translateY(8px);
      opacity: 0;
    }

    .gallery-card__meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .gallery-card__index {
      color: rgba(255, 255, 255, 0.52);
      font-size: 0.9rem;
      letter-spacing: 0.08em;
    }

    .gallery-card__hint {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: rgba(255, 255, 255, 0.86);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transform: translateY(14px);
      opacity: 0;
    }

    .gallery-card:hover .gallery-card__description,
    .gallery-card:focus-visible .gallery-card__description,
    .gallery-card:hover .gallery-card__hint,
    .gallery-card:focus-visible .gallery-card__hint {
      opacity: 1;
      transform: translateY(0);
      transition:
        opacity 320ms ease,
        transform 320ms var(--ease-smooth);
    }

    .gallery-card--tall {
      grid-column: span 4;
      min-height: 520px;
    }

    .gallery-card--wide {
      grid-column: span 8;
      min-height: 420px;
    }

    .gallery-card--medium {
      grid-column: span 4;
      min-height: 360px;
    }

    .gallery-card.is-hidden {
      pointer-events: none;
    }

    .lightbox {
      position: fixed;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 18px;
      z-index: 60;
      visibility: hidden;
      pointer-events: none;
    }

    .lightbox.is-open {
      visibility: visible;
      pointer-events: auto;
    }

    .lightbox__backdrop {
      position: absolute;
      inset: 0;
      background: rgba(5, 10, 18, 0.7);
      backdrop-filter: blur(22px);
      -webkit-backdrop-filter: blur(22px);
    }

    .lightbox__panel {
      position: relative;
      z-index: 1;
      width: min(1220px, 100%);
      max-height: calc(100dvh - 36px);
      overflow: hidden;
      border-radius: 30px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(8, 14, 24, 0.88);
      box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
      transform-origin: center center;
    }

    .lightbox__topbar {
      position: absolute;
      top: 16px;
      left: 16px;
      right: 16px;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      pointer-events: none;
    }

    .lightbox__pill,
    .lightbox__close,
    .lightbox__nav {
      pointer-events: auto;
    }

    .lightbox__pill {
      display: inline-flex;
      align-items: center;
      min-height: 40px;
      padding: 8px 14px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      color: rgba(255, 255, 255, 0.9);
      font-size: 0.86rem;
      letter-spacing: 0.08em;
    }

    .lightbox__actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .lightbox__close,
    .lightbox__nav {
      display: inline-grid;
      place-items: center;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.06);
      color: var(--text-main);
      font: inherit;
      cursor: pointer;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition:
        transform 320ms var(--ease-smooth),
        border-color 320ms ease;
    }

    .lightbox__close:hover,
    .lightbox__close:focus-visible,
    .lightbox__nav:hover,
    .lightbox__nav:focus-visible {
      transform: translateY(-2px);
      border-color: rgba(255, 255, 255, 0.22);
      outline: none;
    }

    .lightbox__body {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.68fr);
      min-height: min(760px, calc(100dvh - 36px));
    }

    .lightbox__visual {
      position: relative;
      overflow: hidden;
      min-height: 420px;
      background: rgba(255, 255, 255, 0.03);
    }

    .lightbox__image-wrap {
      position: absolute;
      inset: 0;
      padding: 70px 22px 22px;
    }

    .lightbox__image-shell {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      border-radius: 24px;
      clip-path: inset(0 0 0 0 round 24px);
    }

    .lightbox__image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.02);
      filter: saturate(1.05) contrast(1.03);
      will-change: transform;
    }

    .lightbox__image-shell::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 22%),
        linear-gradient(0deg, rgba(8, 12, 20, 0.14), transparent 34%);
      pointer-events: none;
    }

    .lightbox__content {
      position: relative;
      padding: 82px 28px 28px;
      display: grid;
      align-content: space-between;
      gap: 24px;
      border-left: 1px solid rgba(255, 255, 255, 0.08);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        rgba(8, 14, 24, 0.72);
    }

    .lightbox__category {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      color: var(--accent);
      font-size: 0.82rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .lightbox__category::before {
      content: "";
      width: 34px;
      height: 1px;
      background: currentColor;
      opacity: 0.82;
    }

    .lightbox__title {
      margin: 16px 0 14px;
      font-family: var(--title-font);
      font-size: clamp(2rem, 4vw, 4rem);
      line-height: 0.96;
      letter-spacing: -0.04em;
      font-weight: 600;
      text-wrap: balance;
    }

    .lightbox__description {
      margin: 0;
      color: var(--text-soft);
      line-height: 1.75;
      max-width: 36ch;
      font-size: 1rem;
    }

    .lightbox__stats {
      display: grid;
      gap: 14px;
      padding: 18px;
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .lightbox__stats-title {
      color: rgba(255, 255, 255, 0.76);
      font-size: 0.8rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
    }

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

    .lightbox__stats-item {
      display: grid;
      gap: 6px;
      color: var(--text-soft);
      font-size: 0.92rem;
    }

    .lightbox__stats-item strong {
      color: var(--text-main);
      font-size: 1rem;
    }

    .lightbox__footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: auto;
    }

    .lightbox__progress {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-height: 44px;
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.05);
      color: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .lightbox__progress-track {
      width: 90px;
      height: 3px;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.12);
    }

    .lightbox__progress-bar {
      width: 100%;
      height: 100%;
      transform-origin: left center;
      transform: scaleX(0.08);
      background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(154, 214, 255, 1), rgba(142, 241, 209, 0.96));
      box-shadow: 0 0 14px rgba(154, 214, 255, 0.4);
    }

    .lightbox__hidden-clone {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 59;
      visibility: hidden;
    }

    .lightbox__hidden-clone img {
      position: absolute;
      object-fit: cover;
      border-radius: 24px;
      will-change: transform, width, height, top, left, border-radius;
    }

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

    [data-magnetic] {
      will-change: transform;
    }

    [data-cursor="active"] {
      cursor: none;
    }

    @media (max-width: 1120px) {
      .hero__grid,
      .lightbox__body,
      .gallery-header {
        grid-template-columns: 1fr;
      }

      .hero__aside {
        justify-self: stretch;
        width: 100%;
      }

      .gallery-header {
        align-items: start;
      }

      .filter-pills {
        justify-content: flex-start;
      }

      .lightbox__content {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
      }
    }

    @media (max-width: 900px) {
      .gallery-card--wide,
      .gallery-card--medium,
      .gallery-card--tall {
        grid-column: span 6;
      }

      .hero {
        min-height: auto;
        padding-top: 18px;
      }

      .hero__frame {
        border-radius: 28px;
      }

      .hero-card__visual {
        height: 260px;
      }
    }

    @media (max-width: 680px) {
      :root {
        --container: min(1400px, calc(100vw - 16px));
      }

      .site-cursor {
        display: none;
      }

      .hero {
        padding-bottom: 26px;
      }

      .hero__frame,
      .gallery-card,
      .lightbox__panel {
        border-radius: 24px;
      }

      .gallery-card--wide,
      .gallery-card--medium,
      .gallery-card--tall {
        grid-column: span 12;
      }

      .gallery-grid {
        gap: 14px;
      }

      .gallery-card {
        min-height: 320px;
      }

      .gallery-card__body {
        padding: 16px;
      }

      .gallery-card__description {
        opacity: 1;
        transform: translateY(0);
      }

      .gallery-card__hint {
        opacity: 1;
        transform: translateY(0);
      }

      .lightbox {
        padding: 10px;
      }

      .lightbox__topbar {
        top: 12px;
        left: 12px;
        right: 12px;
      }

      .lightbox__image-wrap {
        padding: 64px 12px 12px;
      }

      .lightbox__content {
        padding: 24px 18px 18px;
      }

      .lightbox__footer {
        flex-direction: column;
        align-items: stretch;
      }

      .lightbox__progress {
        justify-content: space-between;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      html {
        scroll-behavior: auto;
      }

      *,
      *::before,
      *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }

