.art-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  min-height: 660px;
  padding-top: 100px;
  padding-bottom: 106px;
  overflow: hidden;
}

.listing-card-info .meta {
  margin: 18px 0 8px;

  color: var(--accent2);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.art-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse at 72% 42%,
      rgba(153, 110, 230, .19),
      transparent 52%
    ),
    radial-gradient(
      ellipse at 80% 70%,
      rgba(91, 156, 255, .10),
      transparent 48%
    );
}

.art-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.art-edition {
  display: block;
  margin-top: 30px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .27em;
}

.art-hero h1 {
  margin: 24px 0 30px;
  font: 400 clamp(76px, 8.7vw, 150px)/.98 var(--serif);
  letter-spacing: -.069em;
}

.art-hero h1 em,
.art-section-head h2 em,
.art-outro h2 em {
  color: var(--accent2);
  font-weight: 400;
}

.art-hero-copy > p {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.8;
}

.art-hero-actions,
.art-outro-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 33px;
}

.art-text-link {
  padding: 15px 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .03em;
}

.art-text-link:hover {
  color: var(--blue);
}


.art-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 480px;
}

.art-halo {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid rgba(190, 164, 255, .42);
  border-radius: 50%;
}

.art-halo-one {
  width: 78%;
  box-shadow:
    inset 0 0 110px rgba(166, 116, 241, .08),
    0 0 90px rgba(97, 151, 248, .15);
}

.art-halo-two {
  width: 58%;
  transform: rotate(55deg);
  border-style: dashed;
  opacity: .8;
}

.art-halo-one::before,
.art-halo-two::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -8%;
  left: -8%;
  height: 1px;
  transform: rotate(-34deg);
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue),
    transparent
  );
}

.art-hero-symbol {
  color: var(--accent2);
  font: 400 clamp(150px, 20vw, 320px)/1 Georgia, serif;
  text-shadow:
    0 0 30px rgba(193, 137, 250, .4),
    0 0 95px rgba(120, 171, 255, .27);
  transform: rotate(-12deg);
}

.art-hero-aside {
  position: absolute;
  top: 28%;
  right: 0;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .35em;
  writing-mode: vertical-rl;
}

.art-small-star {
  position: absolute;
  color: var(--blue);
}

.star-a {
  top: 9%;
  left: 18%;
  font-size: 24px;
}

.star-b {
  right: 16%;
  bottom: 11%;
  color: var(--accent2);
  font-size: 17px;
}

.art-hero-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .19em;
  text-transform: uppercase;
}


.art-gallery-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.art-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 45px;
}

.art-section-head h2 {
  max-width: 680px;
  margin: 13px 0 0;
  font: 400 clamp(43px, 5.3vw, 80px)/1.08 var(--serif);
  letter-spacing: -.065em;
}

.art-section-head p {
  max-width: 355px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}


.art-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 25px;
}

.art-card {
  grid-column: span 4;
  min-width: 0;
  margin: 0;
}

.art-card-featured {
  grid-column: span 7;
}

.art-card-portrait {
  grid-column: span 5;
}

.art-card-myth,
.art-card-sketch,
.art-card-colour {
  grid-column: span 4;
}

.art-card-experiment {
  grid-column: span 12;
}


.art-img-wrap {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 25% 15%,
      rgba(148, 118, 227, .24),
      transparent 55%
    ),
    var(--panel); 
}

.art-card-colour {
    align-self: start;
    min-height: 0;
}


.art-card-colour .art-vid-wrap {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;

    margin: 0;
    padding: 0;
    overflow: hidden;

    border-radius: 24px;
    background: #090911;
}

.art-card-colour .animated-artwork {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;

    aspect-ratio: auto !important;
    object-fit: contain;
    object-position: center;

    margin: 0;
    padding: 0;
}

.art-card-colour figcaption {
    display: block;
    width: 100%;
    margin-top: 20px;
}




.art-card:hover .art-img-wrap img {
  transform: scale(1.025);
}

.art-card-featured .art-img-wrap img {
  aspect-ratio: 1.1 / 1;
}

.art-card-portrait .art-img-wrap img {
  aspect-ratio: .78 / 1;
}

.art-card-experiment .art-img-wrap img {
  aspect-ratio: 2.3 / 1;
  object-position: center 43%;
}


.art-card figcaption {
  padding: 18px 2px 0;
}

.art-number {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.art-card h3 {
  margin: 8px 0;
  font: 400 clamp(24px, 2.5vw, 38px)/1.15 var(--serif);
  letter-spacing: -.025em;
}

.art-card figcaption p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}


.art-outro {
  padding: 95px 0 90px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(
      ellipse at 53% 0,
      rgba(129, 91, 216, .19),
      transparent 55%
    ),
    var(--panel);
  text-align: center;
}

.art-outro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.art-outro .eyebrow {
  justify-content: center;
}

.art-outro h2 {
  max-width: 950px;
  margin: 21px 0 16px;
  font: 400 clamp(46px, 6.1vw, 92px)/1.05 var(--serif);
  letter-spacing: -.06em;
}

.art-outro p {
  max-width: 580px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}


@media (max-width: 980px) {
  .art-hero {
    grid-template-columns: 1.15fr .85fr;
    min-height: 560px;
  }

  .art-hero h1 {
    font-size: clamp(65px, 8vw, 100px);
  }

  .art-hero-visual {
    height: 410px;
  }

  .art-gallery {
    column-gap: 18px;
  }

  .art-card-featured,
  .art-card-portrait,
  .art-card-myth,
  .art-card-sketch,
  .art-card-colour,
  .art-card-experiment {
    grid-column: span 6;
  }

  .art-card-experiment .art-img-wrap img {
    aspect-ratio: 4 / 5;
  }
}


@media (max-width: 700px) {
  .art-hero {
    display: block;
    min-height: auto;
    padding-top: 69px;
    padding-bottom: 35px;
  }

  .art-hero h1 {
    font-size: clamp(58px, 13vw, 92px);
  }

  .art-hero-visual {
    height: 250px;
    margin-top: 0;
    opacity: .82;
  }

  .art-hero-symbol {
    font-size: 175px;
  }

  .art-halo-one {
    width: 240px;
  }

  .art-halo-two {
    width: 185px;
  }

  .art-hero-bottom {
    flex-wrap: wrap;
    margin-top: 15px;
    line-height: 1.7;
  }

  .art-section-head {
    display: block;
  }

  .art-section-head h2 {
    font-size: clamp(42px, 10vw, 68px);
  }

  .art-section-head p {
    margin-top: 20px;
  }

  .art-gallery-section {
    padding-top: 70px;
    padding-bottom: 75px;
  }

  .art-gallery {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .art-card,
  .art-card-featured,
  .art-card-portrait,
  .art-card-myth,
  .art-card-sketch,
  .art-card-colour,
  .art-card-experiment {
    grid-column: 1;
  }

  .art-img-wrap img,
  .art-card-featured .art-img-wrap img,
  .art-card-portrait .art-img-wrap img,
  .art-card-experiment .art-img-wrap img {
    aspect-ratio: 4 / 4.7;
  }

  .art-outro {
    padding: 76px 0;
  }

  .art-outro h2 {
    font-size: clamp(43px, 11vw, 70px);
  }
}


@media (prefers-reduced-motion: reduce) {
  .art-card .art-img-wrap img {
    transition: none;
  }
}

.sketch-card {
    aspect-ratio: 4 / 5;
    background: #ffffff;
    overflow: hidden;
    border-radius: 24px;
}

.sketch-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.artwork-card--collage {
    background: #1b1529;
    overflow: hidden;
    border-radius: 24px;
}

.artwork-card--collage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}


figure.featured-artwork-img {
    grid-column: 3;
    grid-row: 1;

    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    align-self: start;
}

.featured-artwork-img .art-img-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 24px;
    background: #090911;
}

.featured-artwork-img .art-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    position: static;
    transform: none;
}

.featured-artwork-img figcaption {
    width: 100%;
    margin-top: 20px;
}


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

    figure.featured-artwork-img {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 650px) {
    .art-gallery {
        grid-template-columns: 1fr;
    }
}

.art-trio {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px;

    width: calc(100vw - 48px) !important;
    max-width: 1400px !important;

    align-items: start;
}

.art-trio > figure {
    display: block;
    grid-column: auto !important;
    grid-row: auto !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0;

    margin: 0 !important;
}

.art-trio > figure .art-img-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;

    overflow: hidden;
    border-radius: 24px;
    background: #1b1529;
}

/* Keep the entire artwork visible */
.art-trio > figure .art-img-wrap img {
    display: block;
    position: static !important;

    width: 100% !important;
    height: 100% !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: center;
    transform: none !important;
}


.art-trio > figure figcaption {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

.art-trio > figure .art-number {
    display: block;
    font-size: 0.85rem !important;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
    color: #91bdff;
}

.art-trio > figure figcaption h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.5rem, 2vw, 2rem) !important;
    font-weight: 500;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
    overflow-wrap: break-word;
}

.art-trio > figure figcaption p {
    font-size: 0.95rem !important;
    line-height: 1.75 !important;
    margin: 0 0 16px;
}


@media (max-width: 900px) {
    .art-trio {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .art-trio {
        grid-template-columns: 1fr !important;
    }
}


/* ==== fixing this merda bro ==== */

.art-trio > figure .art-img-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    overflow: hidden;
    border-radius: 24px;
}

.art-trio > figure .art-img-wrap img {
    display: block;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    transform: none !important;
}

.art-trio > figure figcaption {
    margin-top: 20px;
}

.art-trio > figure .art-img-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden;
    border-radius: 24px;
    background: #090911;
}

.art-trio > figure .art-img-wrap img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
}



/* =====================================
   VIDEO CARD — COLOUR EXPLORATION
   ===================================== */

.art-card-colour .art-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #090911;
    border-radius: 24px;
    overflow: hidden;
}

.art-card-colour .art-img-wrap video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


