/**
 * TOAF Homepage — Page Styles
 *
 * @package    BDS Child Theme
 * @author     Umami Studio <hi@umami.studio>
 * @link       https://umami.studio/
 */

/* ================================================================
   Custom Properties
   ================================================================ */

:root {
  --toaf-primary: #333399;
  --toaf-accent: #e22255;
  --toaf-black: #000000;
  --toaf-white: #ffffff;
  --toaf-light-gray: #f7f7f7;
  --toaf-card-bg: #e6e6e6;
  --toaf-max-width: 1280px;
  --toaf-section-py: 120px;
  --toaf-section-px: 80px;
  --toaf-gap-xl: 120px;
  --toaf-gap-lg: 80px;
  --toaf-gap-md: 32px;
  --toaf-gap-sm: 16px;
  --toaf-gap-xs: 8px;
  --toaf-button-radius: 9999px;
}

/* ================================================================
       GSAP Animation Initial States
       ================================================================ */

.page-homepage .site-content [data-animate-header] .overline,
.page-homepage .site-content [data-animate-header] .heading .word,
.page-homepage .site-content [data-animate-header] .body,
.page-homepage .site-content [data-animate-header] .links {
  opacity: 0;
}

.page-homepage .site-content [data-animate-block] {
  opacity: 0;
}

/* Custom-animated element initial states (children of containers
       that no longer use data-animate-block) */

.page-homepage .site-content .wh-card,
.page-homepage .site-content .ipf-details__title,
.page-homepage .site-content .ipf-details__date,
.page-homepage .site-content .ipf-details__header .links,
.page-homepage .site-content .ipf-schedule__row,
.page-homepage .site-content .ipf-schedule__note,
.page-homepage .site-content .of-content .overline,
.page-homepage .site-content .of-content .of-heading .word,
.page-homepage .site-content .of-content .of-body,
.page-homepage .site-content .of-content .links,
.page-homepage .site-content .da-card,
.page-homepage .site-content .fp-header .overline,
.page-homepage .site-content .fp-program-name,
.page-homepage .site-content .fp-divider,
.page-homepage .site-content .fp-body-area,
.page-homepage .site-content .fp-right,
.page-homepage .site-content .cc-card__logo,
.page-homepage .site-content .cc-card__heading .word,
.page-homepage .site-content .cc-card__desc,
.page-homepage .site-content .cc-card__actions,
.page-homepage .site-content .cc-card__right,
.page-homepage .site-content .ao-card,
.page-homepage .site-content .cc-intro__heading .word,
.page-homepage .site-content .cc-intro__desc,
.page-homepage .site-content .cc-intro .button,
.page-homepage .site-content .cc-collection-card {
  opacity: 0;
}

/* Image Reveal Animation */

.page-homepage .img-reveal {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.page-homepage .img-reveal img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-homepage .ao-card--overlay .img-reveal.ao-card__bg-wrap {
  position: absolute;
  inset: 0;
}

.page-homepage .site-content .wh-card__image .img-reveal {
  position: absolute;
  inset: 0;
}

.page-homepage .site-content .cc-card__logo.img-reveal {
  height: auto;
}

.page-homepage .site-content .cc-card__logo.img-reveal img {
  height: auto;
}

.page-homepage .site-content .cc-collection-card__avatar-wrap.img-reveal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================================
       Global Layout
       ================================================================ */

.page-homepage .site-content * {
  text-box: trim-both cap alphabetic;
}

.page-homepage .site-content section {
  position: relative;
  width: 100%;
  padding: var(--toaf-section-py) var(--toaf-section-px);
  overflow: hidden;
  display: flex;
}

.page-homepage .site-content .wrap {
  max-width: var(--toaf-max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: var(--toaf-gap-lg);
}

.page-homepage .site-content .column {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.page-homepage .site-content .section-header {
  display: flex;
  flex-direction: column;
  gap: var(--toaf-gap-md);
}

.page-homepage .site-content .section-content {
  display: flex;
  width: 100%;
}

/* ================================================================
       Typography
       ================================================================ */

.page-homepage .site-content .section-header .overline {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.page-homepage .site-content .section-header .heading {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 0;
}

.page-homepage .site-content .section-header .body {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}

/* ================================================================
       Buttons
       ================================================================ */

.page-homepage .site-content .links {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.page-homepage .site-content .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--toaf-button-radius);
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease;
}

.page-homepage .site-content .button--secondary {
  background-color: var(--toaf-black);
  color: var(--toaf-white);
}

.page-homepage .site-content .button--ghost {
  background-color: transparent;
  color: var(--toaf-accent);
  padding: 0;
}

.page-homepage .site-content .button--ghost:hover {
  background-color: transparent !important;
  color: var(--toaf-accent) !important;
}

.page-homepage .site-content .button--light {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--toaf-black);
}

.page-homepage .site-content .button--white {
  background-color: var(--toaf-white);
  color: var(--toaf-black);
}

/* ================================================================
       Overline with diamond icon
       ================================================================ */

.page-homepage .site-content .overline--icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 1.4;
}

.page-homepage .site-content .overline--white {
  color: var(--toaf-white);
}

.page-homepage .site-content .overline__diamond {
  width: 16px;
  height: 14px;
  flex-shrink: 0;
  margin-right: -2px;
}

/* ================================================================
       Hero Section
       ================================================================ */

.page-homepage .site-content .hero-section {
  height: 900px;
  padding: 64px var(--toaf-section-px);
  background-color: var(--toaf-primary);
  position: relative;
  overflow: hidden;
  align-items: flex-start;
}

.page-homepage .site-content .hero-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-homepage .site-content .hero-section__bg img,
.page-homepage .site-content .hero-section__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-homepage .site-content .hero-section__bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

.page-homepage .site-content .hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  pointer-events: none;
}

.page-homepage .site-content .hero-section .wrap {
  position: relative;
  z-index: 2;
}

.page-homepage .site-content .hero-section .column {
  justify-content: center;
  gap: var(--toaf-gap-md);
}

.page-homepage .site-content .hero-section .section-header {
  max-width: 560px;
}

.page-homepage .site-content .hero-section .overline {
  color: var(--toaf-white);
}

.page-homepage .site-content .hero-section .heading {
  color: var(--toaf-white);
}

.page-homepage .site-content .hero-section .button--secondary {
  background-color: hsl(0 0% 100% / 90%);
  color: var(--toaf-black);
}

.page-homepage .site-content .hero-section .button--secondary:hover {
  background-color: var(--toaf-white) !important;
  color: var(--toaf-black) !important;
}

/* ================================================================
       Responsive
       ================================================================ */

@media screen and (max-width: 1024px) {
  :root {
    --toaf-section-py: 80px;
    --toaf-section-px: 48px;
    --toaf-gap-xl: 80px;
    --toaf-gap-lg: 48px;
  }

  .page-homepage .site-content .hero-section {
    height: 600px;
  }

  .page-homepage .site-content .section-header .heading {
    font-size: 36px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --toaf-section-py: 64px;
    --toaf-section-px: 24px;
    --toaf-gap-xl: 64px;
    --toaf-gap-lg: 32px;
    --toaf-gap-md: 24px;
  }

  .page-homepage .site-content .hero-section {
    height: 480px;
    padding: 48px var(--toaf-section-px);
  }

  .page-homepage .site-content .section-header .heading {
    font-size: 32px;
  }

  .page-homepage .site-content .section-header .body {
    font-size: 18px;
  }

  .page-homepage .site-content .links {
    flex-wrap: wrap;
  }

  .page-homepage .site-content .button {
    font-size: 14px;
  }

  .page-homepage .site-content .button:not(.button--ghost) {
    padding: 12px 20px;
  }
}

/* ================================================================
       What's Happening Now Section
       ================================================================ */

.page-homepage .site-content .whats-happening-section {
  background-color: var(--toaf-white);
}

.page-homepage .site-content .whats-happening-section .column {
  gap: var(--toaf-gap-lg);
}

.page-homepage .site-content .whats-happening-section .section-header {
  text-align: center;
  align-items: center;
}

.page-homepage .site-content .whats-happening-section .heading {
  font-size: 36px;
  letter-spacing: -0.045em;
}

.page-homepage .site-content .whats-happening-grid {
  display: flex;
  gap: var(--toaf-gap-md);
  width: 100%;
  justify-content: center;
}

.page-homepage .site-content .wh-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  align-self: center;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .wh-card {
    max-width: 360px;
    flex: none;
    height: auto;
  }
}

.page-homepage .site-content .wh-card__link {
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-homepage .site-content .wh-card__image {
  flex: none;
  min-height: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
}

.page-homepage .site-content .wh-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-homepage .site-content .wh-card__footer {
  background-color: var(--toaf-primary);
  color: var(--toaf-white);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.page-homepage .site-content .wh-card__title {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
}

.page-homepage .site-content .wh-card__desc {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--toaf-white);
  line-height: 1.4;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .whats-happening-grid {
    flex-direction: column;
    gap: var(--toaf-gap-xl);
  }
}

/* ================================================================
       In-Person Fair Section
       ================================================================ */

.page-homepage .site-content .in-person-fair-section {
  background-color: var(--toaf-primary);
  color: var(--toaf-white);
  padding: 0;
}

.page-homepage .site-content .ipf-grid {
  display: grid;
  grid-template-columns: 9fr 15fr;
  width: 100%;
  min-height: 700px;
}

.page-homepage .site-content .ipf-meet-artists {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: inherit;
}

.page-homepage .site-content .ipf-meet-artists .img-reveal {
  aspect-ratio: 4 / 5;
}

.page-homepage .site-content .ipf-meet-artists__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-homepage .site-content .ipf-meet-artists__overlay {
  position: absolute;
  z-index: 1;
  padding: 120px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  width: 100%;
}

.page-homepage .site-content .ipf-meet-artists__heading {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  color: var(--toaf-white);
}

.page-homepage .site-content .ipf-meet-artists__desc {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.85;
  margin: 0;
  color: var(--toaf-white);
}

.page-homepage .site-content .ipf-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
  padding: 48px;
}

.page-homepage .site-content .ipf-details__header {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.page-homepage .site-content .ipf-details__title {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 5.6vw;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.page-homepage .site-content .ipf-details__date {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 2.2vw;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
  opacity: 0.85;
}

.page-homepage .site-content .ipf-details .button--primary {
  padding: 1.2vw 1.8vw;
  font-size: 1.4vw;
}

.page-homepage .site-content .ipf-schedule {
  display: flex;
  flex-direction: column;
  gap: 1.3vw;
}

.page-homepage .site-content .ipf-schedule__row {
  display: flex;
  justify-content: space-between;
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 1.5vw;
}

.page-homepage .site-content .ipf-schedule__day {
  font-weight: 500;
}

.page-homepage .site-content .ipf-schedule__time {
  opacity: 0.8;
}

.page-homepage .site-content .ipf-schedule__note {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 1.5vw;
  opacity: 0.6;
}

@media screen and (max-width: 1280px) {
  .page-homepage .site-content .ipf-details .button--primary {
    padding: 14px 24px;
    font-size: 16px;
  }
}

@media screen and (max-width: 1024px) {
  .page-homepage .site-content .ipf-meet-artists__overlay {
    padding: 120px 40px 40px;
  }
  .page-homepage .site-content .ipf-grid {
    min-height: 500px;
  }

  .page-homepage .site-content .ipf-details__title {
    font-size: 6.8vw;
    line-height: 1.12;
  }

  .page-homepage .site-content .ipf-details__header {
    gap: 2.2vw;
  }

  .page-homepage .site-content .ipf-details__date {
    font-size: 2.7vw;
  }

  .page-homepage .site-content .ipf-details {
    padding: 40px;
  }

  .page-homepage .site-content .ipf-details .button--primary {
    padding: 14px 24px;
    font-size: 16px;
  }

  .page-homepage .site-content .ipf-schedule {
    gap: 1.6vw;
  }

  .page-homepage .site-content .ipf-schedule__row,
  .page-homepage .site-content .ipf-schedule__note {
    font-size: 1.8vw;
  }
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .ipf-grid {
    grid-template-columns: 1fr;
  }

  .page-homepage .site-content .ipf-details__title {
    font-size: 11vw;
  }

  .page-homepage .site-content .ipf-details__header {
    gap: 3vw;
  }

  .page-homepage .site-content .ipf-details__date {
    font-size: 4.4vw;
  }

  .page-homepage .site-content .ipf-details {
    padding: 36px;
  }

  .page-homepage .site-content .ipf-details .button--primary {
    padding: 12px 20px;
    font-size: 14px;
  }

  .page-homepage .site-content .ipf-schedule {
    gap: 2vw;
  }

  .page-homepage .site-content .ipf-schedule__row,
  .page-homepage .site-content .ipf-schedule__note {
    font-size: 2.6vw;
  }
}

@media screen and (max-width: 480px) {
  .page-homepage .site-content .ipf-details__header {
    gap: 4vw;
  }

  .page-homepage .site-content .ipf-details__title {
    font-size: 11vw;
  }

  .page-homepage .site-content .ipf-details__date {
    font-size: 4.4vw;
  }

  .page-homepage .site-content .ipf-meet-artists__overlay {
    padding: 80px 24px 32px;
  }

  .page-homepage .site-content .ipf-details {
    padding: 32px 24px;
  }

  .page-homepage .site-content .ipf-schedule {
    gap: 3.2vw;
  }

  .page-homepage .site-content .ipf-schedule__row,
  .page-homepage .site-content .ipf-schedule__note {
    font-size: 3.6vw;
  }
}

/* ================================================================
       Online Fair Section
       ================================================================ */

.page-homepage .site-content .online-fair-section {
  background-color: var(--toaf-primary);
  color: var(--toaf-white);
  padding: 0;
}

.page-homepage .site-content .of-grid {
  display: grid;
  grid-template-columns: 15fr 9fr;
  width: 100%;
  min-height: 560px;
}

.page-homepage .site-content .of-showcase {
  background-color: var(--toaf-accent);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-homepage .site-content .of-mosaic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 6%;
  padding: 8%;
}

.page-homepage .site-content .of-mosaic__frame {
  background: var(--toaf-white);
  padding: 2%;
}

.page-homepage .site-content .of-mosaic__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-homepage .site-content .of-mosaic__frame--1 {
  width: 30%;
  aspect-ratio: 3 / 4;
  top: 12%;
  left: 3%;
}

.page-homepage .site-content .of-mosaic__frame--2 {
  width: 24%;
  aspect-ratio: 1 / 1;
  top: 28%;
  left: 30%;
}

.page-homepage .site-content .of-mosaic__frame--3 {
  width: 30%;
  aspect-ratio: 2 / 3;
  top: 4%;
  left: 50%;
}

.page-homepage .site-content .of-mosaic__frame--4 {
  width: 22%;
  aspect-ratio: 4 / 3;
  top: 32%;
  right: 2%;
}

.page-homepage .site-content .of-content {
  background-color: var(--toaf-primary);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  aspect-ratio: 4/5;
}

.page-homepage .site-content .of-content__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-homepage .site-content .of-heading {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin: 0;
  color: var(--toaf-white);
}

.page-homepage .site-content .of-body {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--toaf-white);
  opacity: 0.85;
}

@media screen and (max-width: 1024px) {
  .page-homepage .site-content .of-content {
    padding: 40px;
  }

  .page-homepage .site-content .of-grid {
    min-height: 440px;
  }

  .page-homepage .site-content .of-heading {
    font-size: 28px;
  }

  .page-homepage .site-content .of-body {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .of-grid {
    grid-template-columns: 1fr;
  }

  .page-homepage .site-content .of-showcase {
    padding: 32px;
    aspect-ratio: 4/3;
  }

  .page-homepage .site-content .of-content {
    padding: 32px 24px;
    aspect-ratio: auto;
    gap: 80px;
  }
}

/* ================================================================
       Discover Art Section
       ================================================================ */

.page-homepage .site-content .discover-art-section {
  background-color: var(--toaf-white);
}

.page-homepage .site-content .discover-art-section .column {
  gap: 40px;
}

.page-homepage .site-content .discover-art__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.page-homepage .site-content .discover-art__header .heading {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 0;
}

.page-homepage .site-content .discover-art-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--toaf-gap-md);
  width: 100%;
}

.page-homepage .site-content .da-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.page-homepage .site-content .da-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-homepage .site-content .da-card__image-wrap {
  overflow: hidden;
  background-color: var(--toaf-card-bg);
}

.page-homepage .site-content .da-card__image-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-homepage .site-content .da-card__label {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 400;
}

@media screen and (max-width: 1024px) {
  .page-homepage .site-content .discover-art-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .discover-art-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-homepage .site-content .discover-art__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .page-homepage .site-content .da-card__label {
    font-size: 16px;
  }
}

/* ================================================================
       Fair Programs Section
       ================================================================ */

.page-homepage .site-content .fair-programs-section {
  background-color: var(--toaf-white);
  padding: 120px 80px;
}

.page-homepage .site-content .fair-programs-section .wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.page-homepage .site-content .fp-container {
  display: flex;
  gap: 120px;
  align-items: flex-start;
  width: 100%;
}

.page-homepage .site-content .fp-left {
  width: 440px;
  flex-shrink: 0;
}

.page-homepage .site-content .fp-header {
  display: flex;
  flex-direction: column;
  gap: var(--toaf-gap-md);
}

.page-homepage .site-content .fp-program-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--toaf-gap-md);
}

.page-homepage .site-content .fp-program-name {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--toaf-black);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.page-homepage .site-content .fp-program-name.is-active {
  opacity: 1;
}

.page-homepage .site-content .fp-program-name:hover,
.page-homepage .site-content .fp-program-name:focus {
  color: var(--toaf-black);
}

.page-homepage .site-content .fp-program-arrow {
  display: none;
  color: var(--toaf-red);
  line-height: 0;
  top: 2px;
  position: relative;
}

.page-homepage .site-content .fp-program-name.is-active .fp-program-arrow {
  display: inline-flex;
}

.page-homepage .site-content .fp-divider {
  height: 1px;
  background-color: var(--toaf-black);
}

.page-homepage .site-content .fp-body-area {
  position: relative;
}

.page-homepage .site-content .fp-body {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--toaf-black);
  display: none;
}

.page-homepage .site-content .fp-body.is-active {
  display: block;
}

.page-homepage .site-content .fp-right {
  flex: 1 0 0;
  min-width: 0;
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
}

.page-homepage .site-content .fp-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.page-homepage .site-content .fp-image.is-active {
  opacity: 1;
  pointer-events: auto;
}

.page-homepage .site-content .fp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-homepage .site-content .fp-image a {
  display: block;
  height: 100%;
}

@media screen and (max-width: 1024px) {
  .page-homepage .site-content .fair-programs-section {
    padding: 80px 40px;
  }

  .page-homepage .site-content .fp-container {
    gap: 60px;
  }

  .page-homepage .site-content .fp-left {
    width: 340px;
  }

  .page-homepage .site-content .fp-program-list {
    gap: 20px;
  }

  .page-homepage .site-content .fp-program-name {
    font-size: 28px;
  }
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .fair-programs-section {
    padding: 60px 24px;
  }

  .page-homepage .site-content .fp-container {
    flex-direction: column;
    gap: 40px;
  }

  .page-homepage .site-content .fp-left {
    width: 100%;
  }

  .page-homepage .site-content .fp-program-name {
    font-size: 24px;
  }

  .page-homepage .site-content .fp-right {
    width: 100%;
  }
}

/* ================================================================
       Collectors Collective Section
       ================================================================ */

.page-homepage .site-content .collectors-collective-section {
  background-color: var(--toaf-white);
}

.page-homepage .site-content .cc-frame {
  background-color: var(--toaf-primary);
  padding: 36px;
  width: 100%;
}

.page-homepage .site-content .cc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--toaf-white);
  overflow: hidden;
}

.page-homepage .site-content .cc-card__left {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.page-homepage .site-content .cc-card__logo {
  width: 260px;
  max-width: 100%;
}

.page-homepage .site-content .cc-card__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.page-homepage .site-content .cc-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-homepage .site-content .cc-card__heading {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  color: var(--toaf-black);
}

.page-homepage .site-content .cc-card__desc {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  margin: 0;
  color: var(--toaf-black);
}

.page-homepage .site-content .cc-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-homepage .site-content .cc-card__right {
  background-color: var(--toaf-primary);
  overflow: hidden;
}

.page-homepage .site-content .cc-card__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .cc-frame {
    padding: 16px;
  }

  .page-homepage .site-content .cc-card {
    grid-template-columns: 1fr;
  }

  .page-homepage .site-content .cc-card__left {
    padding: 24px;
  }

  .page-homepage .site-content .cc-card__heading,
  .page-homepage .site-content .cc-card__desc {
    font-size: 18px;
  }
}

/* ================================================================
       Artist Opportunities Section
       ================================================================ */

.page-homepage .site-content .artist-opportunities-section {
  background-color: var(--toaf-light-gray);
}

.page-homepage .site-content .artist-opportunities-section .column {
  gap: var(--toaf-gap-lg);
}

.page-homepage .site-content .ao-header {
  text-align: center;
  align-items: center;
}

.page-homepage .site-content .ao-header .heading {
  font-size: 36px;
  letter-spacing: -0.045em;
}

.page-homepage .site-content .ao-header .body {
  max-width: 690px;
  text-align: center;
}

.page-homepage .site-content .ao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--toaf-gap-md);
  width: 100%;
}

/* White card variant */
.page-homepage .site-content .ao-card--white {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--toaf-white);
  aspect-ratio: 1 / 1;
}

.page-homepage .site-content .ao-card__text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-homepage .site-content .ao-card__heading {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.045em;
  margin: 0;
}

.page-homepage .site-content .ao-card__desc {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--toaf-black);
  margin: 0;
}

.page-homepage .site-content .ao-card--white .ao-card__image {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.page-homepage .site-content .ao-card--white .ao-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* Overlay card variant */
.page-homepage .site-content .ao-card--overlay {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
}

.page-homepage .site-content .ao-card--overlay .ao-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-homepage .site-content .ao-card--overlay .ao-card__overlay-content {
  position: relative;
  z-index: 1;
  padding: 120px 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.56) 0%, transparent 100%);
  width: 100%;
  color: var(--toaf-white);
}

.page-homepage .site-content .ao-card--overlay .ao-card__heading {
  color: var(--toaf-white);
}

.page-homepage .site-content .ao-card--overlay .ao-card__desc {
  color: var(--toaf-white);
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .ao-grid {
    grid-template-columns: 1fr;
  }

  .page-homepage .site-content .ao-card--white .ao-card__image {
    aspect-ratio: 1 / 1;
    order: -1;
  }

  .page-homepage .site-content .ao-card__text {
    padding: 32px 24px;
  }

  .page-homepage .site-content .ao-card__heading {
    font-size: 24px;
  }

  .page-homepage .site-content .ao-card__desc {
    font-size: 16px;
  }

  .page-homepage .site-content .ao-card--overlay .ao-card__overlay-content {
    padding: 120px 24px 32px;
  }
}

@media screen and (max-width: 480px) {
  .page-homepage .site-content .ao-card--white {
    aspect-ratio: auto;
  }
}

/* ================================================================
       Curated Collections Section
       ================================================================ */

.page-homepage .site-content .curated-collections-section {
  background-color: var(--toaf-light-gray);
}

.page-homepage .site-content .curated-collections-section .wrap {
  display: flex;
  gap: 160px;
  align-items: flex-start;
}

.page-homepage .site-content .cc-intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: auto;
  min-width: auto;
  flex: none;
  align-items: flex-start;
}

.page-homepage .site-content .cc-intro__heading {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.045em;
  margin: 0;
}

.page-homepage .site-content .cc-intro__desc {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--toaf-black);
  margin: 0;
  max-width: 410px;
}

.page-homepage .site-content .cc-cards {
  display: flex;
  gap: 96px;
  flex: 1 1 0;
  align-items: flex-start;
}

.page-homepage .site-content .cc-collection-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1 1 0;
  gap: 24px;
}

.page-homepage .site-content .cc-collection-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-homepage .site-content .cc-collection-card__curator {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0;
}

.page-homepage .site-content .cc-collection-card__avatar {
  object-fit: cover;
  border-radius: 50%;
}

.page-homepage .site-content .cc-collection-card__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

.page-homepage .site-content .cc-collection-card__title {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.page-homepage .site-content .cc-collection-card__name {
  font-family: "Atlas Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--toaf-accent);
}

.page-homepage .site-content .cc-collection-card__image {
  overflow: hidden;
}

.page-homepage .site-content .cc-collection-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 1440px) {
  .page-homepage .site-content .curated-collections-section .wrap {
    flex-direction: column;
    align-items: center;
    gap: var(--toaf-gap-lg);
  }

  .page-homepage .site-content .cc-intro {
    width: 100%;
    min-width: auto;
    text-align: center;
    align-items: center;
  }

  .page-homepage .site-content .cc-intro__desc {
    max-width: 480px;
  }

  .page-homepage .site-content .cc-cards {
    gap: 52px;
  }
}

@media screen and (max-width: 768px) {
  .page-homepage .site-content .cc-cards {
    gap: 36px;
  }

  .page-homepage .site-content .cc-collection-card__avatar-wrap.img-reveal {
    width: 32px;
    height: 32px;
  }

  .page-homepage .site-content .cc-collection-card__title {
    font-size: 18px;
  }

  .page-homepage .site-content .cc-collection-card__name {
    font-size: 14px;
  }

  .page-homepage .site-content .cc-collection-card__curator {
    gap: 8px;
  }

  .page-homepage .site-content .cc-collection-card__meta {
    margin-top: 4px;
  }
}

/* ================================================================
      Reduced Motion: disable all GSAP-driven animations
      ================================================================ */

@media (prefers-reduced-motion: reduce) {
  .page-homepage .site-content [data-animate-header] .overline,
  .page-homepage .site-content [data-animate-header] .heading,
  .page-homepage .site-content [data-animate-header] .heading .word,
  .page-homepage .site-content [data-animate-header] .body,
  .page-homepage .site-content [data-animate-header] .links,
  .page-homepage .site-content [data-animate-block],
  .page-homepage .site-content .wh-card,
  .page-homepage .site-content .ipf-details__title,
  .page-homepage .site-content .ipf-details__date,
  .page-homepage .site-content .ipf-details__header .links,
  .page-homepage .site-content .ipf-schedule__row,
  .page-homepage .site-content .ipf-schedule__note,
  .page-homepage .site-content .of-content .overline,
  .page-homepage .site-content .of-content .of-heading,
  .page-homepage .site-content .of-content .of-heading .word,
  .page-homepage .site-content .of-content .of-body,
  .page-homepage .site-content .of-content .links,
  .page-homepage .site-content .da-card,
  .page-homepage .site-content .fp-header .overline,
  .page-homepage .site-content .fp-program-name,
  .page-homepage .site-content .fp-divider,
  .page-homepage .site-content .fp-body-area,
  .page-homepage .site-content .fp-right,
  .page-homepage .site-content .cc-card__logo,
  .page-homepage .site-content .cc-card__heading,
  .page-homepage .site-content .cc-card__heading .word,
  .page-homepage .site-content .cc-card__desc,
  .page-homepage .site-content .cc-card__actions,
  .page-homepage .site-content .cc-card__right,
  .page-homepage .site-content .ao-card,
  .page-homepage .site-content .cc-intro__heading,
  .page-homepage .site-content .cc-intro__heading .word,
  .page-homepage .site-content .cc-intro__desc,
  .page-homepage .site-content .cc-intro .button,
  .page-homepage .site-content .cc-collection-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
