    :root {
      --bg: #f3f3f3;
      --accent: #DFB23D;
      --tile: 170px;
      --gap: 0px;
      --dim: .20;
      --radius: 0px;
      --shadow: 0 10px 30px rgba(0, 0, 0, .10);
      --nav-h: 145px;
      --travel: 0px;
      --duration: 26s;
    }

    * {
      box-sizing: border-box;
    }

    html,
    body {
      height: 100%;
    }

    body {
      margin: 0;
      font-family: 'Montserrat', sans-serif;
      background: var(--bg);
      color: #111;
      overflow-x: hidden;
    }

    .topbar {
      position: fixed;
      inset: 0 0 auto 0;
      min-height: var(--nav-h);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 14px 0;
      padding-top: 36px;
      z-index: 20;
      pointer-events: none;
    }

    .topbar>* {
      pointer-events: auto;
    }

    .container {
      width: 100%;
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 22px;
    }

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

    .brand {
      width: 170px;
      height: 117px;
      display: inline-flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      padding: 0;
      background: #fdfdfd;
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
      border: 1px solid rgba(0, 0, 0, .12);
      opacity: 1;
      transform: rotate(0deg);
      text-decoration: none;
      color: inherit;
    }

    .brand-images {
      display: flex;
      align-items: center;
      gap: 0;
    }

    .brand-images img {
      width: 50%;
      height: 85px;
      object-fit: cover;
      display: block;
    }

    .brand-name {
      font-size: 15px;
      font-weight: 500;
      color: #222;
      text-align: center;
      padding: 8px 12px;
      background: #fdfdfd;
      border-top: 1px solid rgba(0, 0, 0, .04);
      letter-spacing: -0.2px;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 22px;
      padding: 10px 14px;
    }

    .nav a {
      color: #111;
      text-decoration: none;
      font-weight: 500;
      letter-spacing: .3px;
      font-size: 16px;
      text-decoration-color: transparent;
      text-decoration-thickness: 2px;
      text-underline-offset: 6px;
      transition: color .2s ease, text-decoration-color .2s ease, opacity .2s ease;
    }

    .nav a:hover,
    .nav a.active,
    .nav a[aria-current="page"] {
      opacity: 1;
      text-decoration: underline;
      text-decoration-color: var(--accent);
    }

    .cta {
      margin-left: 6px;
      padding: 10px 16px;
      border-radius: 10px;
      background: #DFB23D;
      color: #111;
      text-decoration: none;
      font-weight: 800;
      box-shadow: 0 10px 26px rgba(217, 165, 49, .35);
      white-space: nowrap;
    }

    .gallery-wrap {
      height: 100vh;
      padding: 0;
      overflow: hidden;
    }

    .gallery {
      display: grid;
      gap: var(--gap);
      grid-template-columns: repeat(8, minmax(0, 1fr));
      align-content: start;
      will-change: transform;
      transform: translate3d(0, 0, 0);
      animation: drift var(--duration) linear infinite;
    }


    @keyframes drift {
      from {
        transform: translate3d(0, 0, 0);
      }

      to {
        transform: translate3d(0, calc(var(--travel) * -1), 0);
      }
    }

    .tile {
      border: 0;
      padding: 0;
      background: rgba(255, 255, 255, .75);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      cursor: pointer;
      display: block;
      aspect-ratio: 1 / 1;
      contain: content;
      content-visibility: auto;
      contain-intrinsic-size: 200px 200px;
    }

    .tile img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      opacity: var(--dim);
      transform: scale(1.08);
      transition:
        opacity .22s ease,
        transform .22s ease,
        filter .22s ease;
      will-change: transform, opacity;
    }

    .tile:hover img {
      opacity: 1;
      transform: scale(1.02);
      filter: saturate(1.06);
    }

    .tile:focus-visible {
      outline: 3px solid rgba(0, 0, 0, .55);
      outline-offset: 3px;
    }

    .footer-bar {
      position: fixed;
      inset: auto 0 12px 0;
      z-index: 20;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      padding: 10px 0;
      font-weight: 700;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

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

    .social {
      width: 36px;
      height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: rgba(0, 0, 0, .08);
      color: #333;
      text-decoration: none;
      font-weight: 800;
      letter-spacing: .2px;
    }

    .social:hover {
      background: rgba(0, 0, 0, .14);
    }

    .social svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .footer-text {
      white-space: nowrap;
      text-align: right;
      font-size: 16px;
      font-weight: 500;
    }

    .page-wrap {
      min-height: 100vh;
      padding: calc(var(--nav-h) + 24px) 24px 48px;
    }

    .page-title {
      margin: 0 0 18px;
      font-size: clamp(26px, 3.2vw, 40px);
      letter-spacing: .3px;
    }

    .grid-basic {
      display: grid;
      gap: 18px;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .card {
      background: rgba(255, 255, 255, .8);
      border-radius: 16px;
      box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
      overflow: hidden;
      text-decoration: none;
      color: #111;
      display: block;
    }

    .card-media {
      width: 100%;
      height: 200px;
      background-size: cover;
      background-position: center;
      overflow: hidden;
    }

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

    .card-body {
      padding: 14px 16px 18px;
    }

    .card-title {
      margin: 0 0 6px;
      font-size: 18px;
    }

    .card-meta {
      font-size: 14px;
      opacity: .75;
    }

    .art-grid {
      display: grid;
      gap: 12px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .detail-wrap {
      display: grid;
      gap: 20px;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    }

    .detail-media {
      background: #fff;
      border-radius: 16px;
      padding: 12px;
      box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
    }

    .detail-media img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
    }

    .detail-info {
      background: rgba(255, 255, 255, .8);
      border-radius: 16px;
      padding: 18px;
      box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
    }

    .meta-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid rgba(0, 0, 0, .08);
      padding: 10px 0;
      font-size: 14px;
    }

    .meta-row:last-child {
      border-bottom: 0;
    }

    .contact-page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: calc(var(--nav-h) + 32px) 36px 64px;
      gap: 48px;
      position: relative;
      background-image:
        linear-gradient(0deg, #FFFFFF, #FFFFFF),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
      color: #1f1f1f;
    }

    .contact-page::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("../contact-us.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0.18;
      pointer-events: none;
      z-index: 0;
    }

    .contact-container {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
      gap: 56px;
      align-items: start;
      max-width: 1280px;
      margin: 0 auto;
      width: 100%;
      position: relative;
      z-index: 1;
    }

    .contact-left {
      max-width: 480px;
    }

    .contact-title {
      margin: 0 0 12px;
      font-size: clamp(28px, 3vw, 40px);
      letter-spacing: .2px;
      font-weight: 500;
    }

    .contact-copy {
      margin: 0 0 20px;
      line-height: 1.6;
      opacity: .82;
      font-size: 16px;
    }

    .contact-list {
      display: grid;
      gap: 14px;
      margin: 22px 0 0;
    }

    .contact-item {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 15px;
      line-height: 1.5;
    }

    .contact-icon {
      width: 18px;
      height: 18px;
      border-radius: 0;
      background: transparent;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
    }

    .contact-card {
      background: rgba(255, 255, 255, .84);
      border: 1px solid rgba(217, 165, 49, .6);
      border-radius: 16px;
      padding: 20px;
      box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      position: relative;
    }

    .form-alert {
      padding: 12px 14px;
      border-radius: 12px;
      font-size: 14px;
      margin: 0 0 16px;
    }

    .form-alert-success {
      background: rgba(217, 165, 49, .18);
      border: 1px solid rgba(217, 165, 49, .45);
    }

    .form-alert-error {
      background: rgba(200, 60, 40, .08);
      border: 1px solid rgba(200, 60, 40, .35);
      color: #6a2c20;
    }

    .form-alert ul {
      margin: 0;
      padding-left: 18px;
    }

    .honeypot {
      position: absolute;
      left: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .contact-section {
      margin-bottom: 18px;
    }

    .contact-section h4 {
      margin: 0 0 10px;
      font-size: 15px;
      letter-spacing: 0;
      text-transform: none;
      font-weight: 500;
      opacity: .85;
    }

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

    .pill {
      position: relative;
      border-radius: 10px;
      border: 1px solid rgba(217, 165, 49, .5);
      padding: 10px 12px;
      background: rgba(255, 255, 255, .9);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 500;
    }

    .pill input {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    .pill span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .pill span::before {
      content: "";
      width: 12px;
      height: 12px;
      border-radius: 999px;
      border: 2px solid rgba(217, 165, 49, .8);
      display: inline-block;
      background: #fff;
    }

    .pill input:checked+span::before {
      background: var(--accent);
      box-shadow: inset 0 0 0 2px #fff;
    }

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

    .contact-grid.full {
      grid-template-columns: 1fr;
    }

    .field {
      width: 100%;
      border-radius: 10px;
      border: 1px solid rgba(217, 165, 49, .45);
      padding: 12px 14px;
      font-size: 15px;
      background: rgba(255, 255, 255, .92);
      color: #2b2b2b;
      outline: none;
    }

    .field::placeholder {
      color: #8f8f8f;
    }

    .field:focus {
      border-color: rgba(217, 165, 49, .85);
      box-shadow: 0 0 0 2px rgba(217, 165, 49, .22);
      background: #fff;
    }

    .phone-row {
      display: grid;
      grid-template-columns: 90px 1fr;
      gap: 10px;
    }

    .select-wrap {
      position: relative;
    }

    .select-wrap::after {
      content: "";
      position: absolute;
      right: 14px;
      top: 50%;
      width: 7px;
      height: 7px;
      border-right: 2px solid #8a6b20;
      border-bottom: 2px solid #8a6b20;
      transform: translateY(-60%) rotate(45deg);
      pointer-events: none;
    }

    .submit-btn {
      border: 0;
      padding: 10px 16px;
      border-radius: 8px;
      background: var(--accent);
      color: #111;
      font-weight: 600;
      cursor: pointer;
      box-shadow: none;
      border: 1px solid rgba(217, 165, 49, .85);
    }

    .about-page {
      min-height: 100vh;
      padding: calc(var(--nav-h) + 24px) 40px 64px;
      position: relative;
      background-image:
        linear-gradient(0deg, #FFFFFF, #FFFFFF),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .about-page::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("../about-us.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0.18;
      pointer-events: none;
      z-index: 0;
    }

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

    .about-hero-wrap {
      position: relative;
      max-width: 1400px;
      margin: 0 auto 32px;
    }

    .about-hero {
      width: 100%;
      height: 520px;
      position: relative;
      overflow: hidden;
      border-radius: 16px;
      box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    }

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

    .about-hero-text {
      max-width: 1400px;
      margin: 0 auto;
      padding: 28px 0 0;
    }

    .about-hero-title {
      margin: 0 0 16px;
      font-size: clamp(26px, 3.5vw, 42px);
      color: #111;
      font-weight: 700;
      letter-spacing: .3px;
    }

    .about-intro-text {
      line-height: 1.7;
      opacity: .85;
      font-size: 16px;
    }

    .about-leila-section {
      padding: 48px 0;
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
      gap: 60px;
      align-items: center;
    }

    .about-artwork {
      position: relative;
      padding: 20px;
    }

    .about-artwork img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 8px;
      box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
    }

    .about-content h2 {
      margin: 0 0 16px;
      font-size: clamp(26px, 3.2vw, 36px);
      letter-spacing: .3px;
    }

    .about-content p {
      line-height: 1.7;
      opacity: .85;
      margin-bottom: 14px;
      font-size: 16px;
    }

    .life-section {
      padding: 48px 0 20px;
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
      gap: 60px;
      align-items: start;
    }

    .life-bio {
      position: sticky;
      top: calc(var(--nav-h) + 24px);
    }

    .life-bio h2 {
      margin: 0 0 18px;
      font-size: clamp(24px, 3vw, 32px);
      letter-spacing: .3px;
    }

    .life-bio p {
      line-height: 1.7;
      opacity: .85;
      margin-bottom: 14px;
      font-size: 16px;
    }

    .timeline-modern {
      position: relative;
      padding: 20px 0;
    }

    .timeline-modern::before {
      content: "";
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 2px;
      background: rgba(0, 0, 0, .15);
      transform: translateX(-50%);
    }

    .timeline-item-modern {
      position: relative;
      margin-bottom: 60px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      padding-top: 40px;
    }

    .timeline-year-modern {
      position: absolute;
      left: 50%;
      top: 0;
      transform: translateX(-50%);
      background: #f7f3f1;
      padding: 6px 14px;
      font-weight: 800;
      font-size: 16px;
      z-index: 2;
    }

    .timeline-dot-modern {
      position: absolute;
      left: 50%;
      top: 80px;
      width: 14px;
      height: 14px;
      border-radius: 999px;
      background: var(--accent);
      transform: translateX(-50%);
      box-shadow: 0 0 0 4px #f7f3f1, 0 0 0 6px rgba(217, 165, 49, .2);
      z-index: 2;
    }

    .timeline-image-card {
      background: none;
      border-radius: 16px;
      padding: 0;
      box-shadow: none;
    }

    .timeline-image-card img {
      width: 100%;
      height: 380px;
      object-fit: cover;
      display: block;
      border-radius: 12px;
      box-shadow: 0 14px 28px rgba(0, 0, 0, .15);
    }

    .timeline-text-content {
      padding: 10px 0;
    }

    .timeline-card-title {
      font-weight: 700;
      font-size: 20px;
      margin: 0 0 8px;
    }

    .timeline-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 8px;
      background: rgba(0, 0, 0, .08);
      font-size: 12px;
      margin-bottom: 12px;
    }

    .timeline-card-body {
      line-height: 1.6;
      opacity: .85;
      font-size: 14px;
      margin: 0;
    }

    /* First item: image left, text right */
    .timeline-item-modern:nth-child(odd) .timeline-image-card {
      grid-column: 1;
      justify-self: end;
      max-width: 400px;
    }

    .timeline-item-modern:nth-child(odd) .timeline-text-content {
      grid-column: 2;
      text-align: left;
    }

    /* Second item: text left, image right */
    .timeline-item-modern:nth-child(even) .timeline-text-content {
      grid-column: 1;
      text-align: right;
      justify-self: end;
    }

    .timeline-item-modern:nth-child(even) .timeline-image-card {
      grid-column: 2;
      max-width: 400px;
    }

    .themes-page {
      min-height: 100vh;
      position: relative;
      background-image:
        linear-gradient(0deg, #FFFFFF, #FFFFFF),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
      overflow: hidden;
    }

    .themes-page::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("../theme.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0.18;
      pointer-events: none;
      z-index: 0;
    }

    .themes-wrap {
      max-width: 1400px;
      margin: 0 auto;
      width: 100%;
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 38px;
      padding: calc(var(--nav-h) + 36px) 36px 80px;
    }

    .themes-intro {
      max-width: 560px;
    }

    .themes-title {
      margin: 0 0 12px;
      font-size: clamp(28px, 3.2vw, 42px);
      letter-spacing: .4px;
      font-weight: 700;
    }

    .themes-copy {
      line-height: 1.7;
      opacity: .85;
      margin: 0;
    }

    .themes-copy-label {
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: .8px;
      margin-right: 6px;
    }

    .themes-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      width: 100%;
      align-items: start;
    }

    .theme-card {
      text-decoration: none;
      color: #111;
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: flex-start;
    }

    .theme-icon {
      width: 160px;
      max-width: 160px;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }

    .theme-icon img {
      width: 100%;
      height: 100%;
      max-width: 160px;
      object-fit: contain;
    }

    .theme-name {
      margin: 0;
      font-size: 24px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .6px;
      border-bottom: 2px solid rgb(203 164 107);
      display: inline-block;
      padding-bottom: 4px;
    }

    .theme-count {
      font-size: 18px;
      opacity: .7;
    }

    .theme-artworks-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 24px;
      width: 100%;
    }

    /* Galleries Page */
    .galleries-page {
      min-height: 100vh;
      position: relative;
      background-image:
        linear-gradient(0deg, #FFFFFF, #FFFFFF),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0) 100%);
      overflow: hidden;
    }

    .galleries-page::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("../theme.jpg");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0.18;
      pointer-events: none;
      z-index: 0;
    }

    .galleries-wrap {
      max-width: 1400px;
      margin: 0 auto;
      width: 100%;
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 38px;
      padding: calc(var(--nav-h) + 36px) 36px 80px;
    }

    .galleries-intro {
      max-width: 560px;
    }

    .galleries-title {
      margin: 0 0 12px;
      font-size: clamp(28px, 3.2vw, 42px);
      letter-spacing: .4px;
      font-weight: 700;
    }

    .galleries-copy {
      line-height: 1.7;
      opacity: .85;
      margin: 0;
    }

    .galleries-copy-label {
      text-transform: uppercase;
      font-weight: 700;
      letter-spacing: .8px;
      margin-right: 6px;
    }

    .galleries-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 32px;
      width: 100%;
    }

    .gallery-artworks-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 24px;
      width: 100%;
    }

    .modal {
      position: fixed;
      inset: 0;
      display: none;
      place-items: center;
      background: rgba(0, 0, 0, .75);
      z-index: 999;
      padding: 18px;
    }

    .modal.open {
      display: grid;
    }

    .modal-card {
      position: relative;
      width: min(1100px, 96vw);
      height: min(78vh, 820px);
      border-radius: 22px;
      overflow: hidden;
      background: #f2ede4;
      box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
      gap: 28px;
      padding: 26px;
      isolation: isolate;
    }

    .modal-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: var(--modal-bg, none);
      background-size: cover;
      background-position: center;
      opacity: .08;
      filter: blur(10px);
      transform: scale(1.06);
      pointer-events: none;
      z-index: 0;
    }

    .modal-card>* {
      position: relative;
      z-index: 1;
    }

    .modal-media {
      background: rgba(255, 255, 255, .75);
      border-radius: 18px;
      padding: 12px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 320px;
    }

    .modal-media img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      border-radius: 12px;
      background: #f7f3ea;
    }

    .modal-info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 18px;
      padding: 6px 6px 6px 0;
    }

    .modal-title {
      margin: 0;
      font-size: clamp(28px, 3.4vw, 48px);
      letter-spacing: .3px;
    }

    .modal-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      background: rgba(0, 0, 0, .08);
      font-weight: 700;
      font-size: 14px;
      letter-spacing: .2px;
    }

    .chip-status.is-available {
      background: rgba(40, 170, 90, .15);
      color: #1c6a3a;
    }

    .chip-status.is-reserved {
      background: rgba(219, 161, 57, .18);
      color: #7a5514;
    }

    .chip-status.is-sold {
      background: rgba(200, 71, 61, .18);
      color: #7a2b24;
    }

    .modal-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 8px;
    }

    .modal-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 18px;
      background: #DFB23D;
      color: #111;
      text-decoration: none;
      font-weight: 800;
      box-shadow: 0 10px 26px rgba(217, 165, 49, .35);
    }

    .modal-cta-secondary {
      background: rgba(0, 0, 0, .08);
      box-shadow: none;
    }

    .modal-cta-secondary:hover {
      background: rgba(0, 0, 0, .14);
    }

    .close-btn {
      position: absolute;
      top: 12px;
      right: 12px;
      width: 44px;
      height: 44px;
      border: 0;
      border-radius: 12px;
      background: rgba(255, 255, 255, .7);
      color: #2b2b2b;
      font-size: 22px;
      cursor: pointer;
      backdrop-filter: blur(6px);
      z-index: 2;
    }

    .close-btn:hover {
      background: rgba(255, 255, 255, .9);
    }

    @media (prefers-reduced-motion: reduce) {
      .gallery {
        animation: none !important;
      }

      .tile img {
        transition: opacity .01s linear, transform .01s linear, filter .01s linear;
      }
    }

    @media (max-width: 980px) {
      :root {
        --tile: 150px;
        --gap: 0px;
        --duration: 30s;
      }

      .gallery {
        grid-template-columns: repeat(6, minmax(0, 1fr));
      }

      .topbar {
        padding: 12px 0;
      }

      .container {
        padding: 0 16px;
      }

      .nav {
        gap: 16px;
        padding: 8px 12px;
      }

      .nav a {
        font-size: 16px;
      }

      .brand img {
        width: 48px;
        height: 48px;
      }

      .cta {
        padding: 8px 12px;
      }

      .detail-wrap {
        grid-template-columns: 1fr;
      }

      .modal-card {
        grid-template-columns: 1fr;
        height: auto;
        max-height: 86vh;
        overflow: auto;
      }

      .modal-info {
        padding: 0 4px 8px;
        align-items: flex-start;
      }

      .contact-page {
        padding: calc(var(--nav-h) + 24px) 20px 48px;
      }

      .contact-container {
        grid-template-columns: 1fr;
      }

      .about-page {
        padding: calc(var(--nav-h) + 0px) 0px 48px;
      }

      .about-hero {
        height: 380px;
      }

      .about-hero-overlay {
        padding: 20px 24px;
      }

      .about-intro,
      .about-leila-section,
      .life-section {
        padding-left: 20px;
        padding-right: 20px;
      }

      .about-leila-section {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .life-section {
        grid-template-columns: 1fr;
        gap: 32px;
      }

      .life-bio {
        position: static;
      }

      .timeline-modern::before {
        left: 20px;
      }

      .timeline-item-modern {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 50px;
        padding-top: 50px;
        /* Space for year */
      }

      .timeline-year-modern {
        left: 20px;
        transform: translateX(-50%);
      }

      .timeline-dot-modern {
        left: 20px;
        top: 60px;
        transform: translate(-50%, -50%);
      }

      .timeline-item-modern:nth-child(n) .timeline-image-card,
      .timeline-item-modern:nth-child(n) .timeline-text-content {
        grid-column: 1;
        text-align: left;
        justify-self: start;
        max-width: 100%;
      }

      .timeline-image-card img {
        height: auto;
        max-height: 250px;
      }

      .themes-page {
        padding: 0;
      }

      .themes-intro {
        max-width: 100%;
      }

      .themes-grid {
        gap: 24px;
        justify-content: center;
      }

      .theme-card {
        width: calc(33.33% - 18px);
        min-width: 120px;
      }

      .theme-icon {
        width: 100%;
        max-width: 160px;
        height: auto;
        aspect-ratio: 2/3;
      }

      .theme-name {
        font-size: 18px;
      }

      .theme-count {
        font-size: 14px;
      }

      .themes-wrap {
        padding: calc(var(--nav-h) + 24px) 20px 56px;
      }

      .theme-artworks-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 18px;
      }

      .galleries-page {
        padding: 0;
      }

      .galleries-intro {
        max-width: 100%;
      }

      .galleries-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
      }

      .gallery-artworks-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 18px;
      }

      .galleries-wrap {
        padding: calc(var(--nav-h) + 24px) 20px 56px;
      }
    }

    @media (max-width: 720px) {
      :root {
        --tile: 130px;
        --gap: 0px;
        --duration: 38s;
      }

      .gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .topbar {
        height: auto;
        padding: 12px 0;
      }

      .topbar-inner {
        flex-wrap: wrap;
        gap: 10px;
        align-items: stretch;
      }

      .brand {
        width: 140px;
        height: auto;
        max-width: 140px;
        margin: 0 auto;
      }

      .brand-images img {
        width: 50%;
        height: 60px;
      }

      .brand-name {
        font-size: 13px;
        padding: 6px 10px;
      }

      .nav {
        width: 100%;
        justify-content: center;
      }

      .nav {
        flex-wrap: wrap;
        row-gap: 8px;
      }

      .nav a {
        font-size: 15px;
      }

      .modal-card {
        padding: 18px;
        gap: 16px;
        border-radius: 16px;
      }

      .footer-bar {
        inset: auto 0 10px 0;
        padding: 8px 0;
        gap: 10px;
      }

      .social {
        width: 30px;
        height: 30px;
        font-size: 13px;
      }

      .footer-text {
        font-size: 12px;
      }

      .themes-page {
        padding: 0;
      }

      .themes-grid {
        gap: 16px;
        justify-content: space-between;
      }

      .theme-card {
        width: calc(50% - 10px);
        min-width: 100px;
        align-items: center;
        text-align: center;
      }

      .theme-icon {
        width: 100%;
        max-width: 140px;
        height: auto;
        aspect-ratio: 2/3;
      }

      .theme-name {
        font-size: 16px;
      }

      .theme-count {
        font-size: 13px;
      }

      .themes-wrap {
        padding: calc(var(--nav-h) + 20px) 16px 48px;
      }

      .theme-artworks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
      }

      .galleries-grid {
        grid-template-columns: 1fr;
        gap: 18px;
      }

      .gallery-artworks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
      }

      .galleries-wrap {
        padding: calc(var(--nav-h) + 20px) 16px 48px;
      }
    }

    @media (max-width: 520px) {
      :root {
        --tile: 118px;
        --gap: 0px;
        --duration: 44s;
      }

      .gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .nav a {
        font-size: 14px;
      }

      .cta {
        padding: 7px 10px;
      }
    }

    @media (max-width: 360px) {
      .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }