@font-face {
  font-family: "Cardenio Modern";
  src: url("fonts/CardenioModern-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cardenio Modern";
  src: url("fonts/CardenioModern-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --page-bg: #efb9a4;
  --card-bg: #f8e8d8;
  --card-border: rgba(80, 80, 72, 0.14);
  --text-color: #34283d;
  --heading-color: #4e2f6b;
  --icon: #222222;
  --sand: #e4ac7c;
  --mint: #71dfd1;
  --mint-deep: #5a3977;
  --shadow: rgba(89, 64, 48, 0.18);
  --focus: #0d5d99;
  --profile-bg-url: url("cloud-divider-copy.png");
  --profile-bg-size: 52rem auto;
  --profile-bg-position: center center;
  --profile-overlay: rgba(248, 232, 216, 0.92);
  --body-copy: rgba(52, 40, 61, 0.96);
  --body-copy-soft: rgba(52, 40, 61, 0.82);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  color: var(--text-color);
  font-family: "Cardenio Modern", "Arial Narrow", Arial, sans-serif;
  background: var(--page-bg);
}

.sponsor-page-body {
  --card-bg: #f7e2d1;
  --profile-bg-url: url("sponsor-photos/img-9053.jpg");
  --profile-bg-size: cover;
  --profile-bg-position: center center;
  --profile-overlay: rgba(247, 226, 209, 0.91);
}

.vendor-page-body {
  --card-bg: #f8e8d8;
  --profile-bg-url: url("vendor-photos/handrawn-logo-copy.png");
  --profile-bg-size: 34rem auto;
  --profile-bg-position: center 115%;
  --profile-overlay: rgba(248, 232, 216, 0.94);
}

.sponsor-page-body .artist-card__body {
  background-image:
    linear-gradient(var(--profile-overlay), var(--profile-overlay)),
    url("sponsor-photos/img-9053.jpg");
  background-size: auto, cover;
  background-position: center bottom, center bottom;
}

.vendor-page-body .artist-hero {
  background-size: auto, min(68rem, 92%) auto;
  background-position: center, center 1.2rem;
}

.vendor-page-body .artist-hero--detail {
  background-image: none;
}

.vendor-page-body .artist-hero__copy {
  background-image:
    linear-gradient(rgba(244, 237, 227, 0.9), rgba(244, 237, 227, 0.9)),
    url("vendor-photos/handrawn-logo-copy.png");
  background-repeat: no-repeat;
  background-size: auto, 112% auto;
  background-position: center bottom, center calc(100% + 4.5rem);
}

.vendor-page-body .artist-hero--detail .artist-hero__copy {
  background-image: none;
}

.vendor-page-body .artist-card__body {
  background-color: var(--card-bg);
  background-image:
    linear-gradient(var(--profile-overlay), var(--profile-overlay)),
    url("vendor-photos/grass-one-dirt.png");
  background-repeat: no-repeat;
  background-size: auto, 165% auto;
  background-position: center bottom, center calc(100% + 0.8rem);
}

/* Vendor media uses a dedicated, edge-to-edge photo panel. */
.vendor-page-body .artist-card__image-link {
  overflow: hidden;
  background: var(--vendor-media-bg, transparent);
}

.vendor-page-body .artist-image {
  width: 100%;
  height: clamp(14rem, 20vw, 18rem);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

/* Individual vendor assets marked as logos keep their complete artwork visible. */
.vendor-page-body .artist-image--contain {
  object-fit: contain;
  background: var(--vendor-media-bg, var(--card-bg));
}

/* Match each contained asset's native field color to remove the visible frame edge. */
.vendor-page-body #allie-moves-shapes { --vendor-media-bg: #57240f; }
.vendor-page-body #balance-bonsai { --vendor-media-bg: #fbecef; }
.vendor-page-body #ennies { --vendor-media-bg: #cfcdbE; }
.vendor-page-body #grant-thomas-comics-and-prints,
.vendor-page-body #lucania-arts,
.vendor-page-body #me-creative,
.vendor-page-body #pretzle-records { --vendor-media-bg: #000000; }
.vendor-page-body #hunchville-service-merchandise,
.vendor-page-body #horizon-climbing,
.vendor-page-body #midwestcapades { --vendor-media-bg: #ffffff; }
.vendor-page-body #parcadia { --vendor-media-bg: #000000; }
.vendor-page-body #parcadia .artist-image {
  object-fit: contain;
  object-position: center;
  transform: none;
}
.vendor-page-body #champaign-urbana-puppet-people { --vendor-media-bg: #27c7b4; }
.vendor-page-body #hunchville-service-merchandise .artist-image {
  object-fit: contain;
  object-position: center;
  transform: translateY(16%) scale(1.7);
}
.vendor-page-body #nova { --vendor-media-bg: #0b0b47; }
.vendor-page-body #recuerditos { --vendor-media-bg: #b88071; }
.vendor-page-body #sharp-arts-carvings { --vendor-media-bg: #d1cfce; }

body::before {
  content: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.artist-page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 78rem);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.artist-page-shell--list {
  padding-bottom: 4rem;
}

.artist-page-shell--list .artist-hero {
  gap: 0.8rem;
  padding: clamp(1rem, 2vw, 1.4rem);
  background-size: auto, cover;
  background-position: center, center;
}

.artist-page-shell--list .artist-hero__title {
  max-width: none;
  font-size: clamp(1.7rem, 3.1vw, 3.2rem);
  line-height: 1;
  white-space: nowrap;
}

.artist-page-shell--list .artist-hero__lede {
  max-width: 52rem;
}

.sponsor-page-body .artist-page-shell--list .artist-grid {
  grid-template-columns: repeat(auto-fit, minmax(15.75rem, 1fr));
  gap: 1.15rem;
}

.sponsor-page-body .artist-page-shell--list .artist-card__body {
  padding: 0.95rem 1rem 1rem;
}

.sponsor-page-body .artist-page-shell--list .artist-card--short .artist-card__body {
  min-height: 11.75rem;
}

.sponsor-page-body .artist-page-shell--list .artist-card--medium .artist-card__body {
  min-height: 15.75rem;
}

.sponsor-page-body .artist-page-shell--list .artist-card--long .artist-card__body {
  min-height: 19.75rem;
}

.sponsor-page-body .artist-page-shell--list .artist-hero__lede {
  max-width: 58rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.25;
}

.artist-page-shell--list .artist-nav {
  margin-top: 0;
}

.artist-page-shell--list .artist-hero::before,
.artist-card__body::before,
.artist-hero__copy::before {
  content: none;
}

.artist-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--card-border);
  border-radius: 0.55rem;
  background-color: var(--card-bg);
  background-image:
    linear-gradient(var(--profile-overlay), var(--profile-overlay)),
    var(--profile-bg-url);
  background-size: auto, var(--profile-bg-size);
  background-position: center, var(--profile-bg-position);
  background-repeat: no-repeat;
  box-shadow: 0 1.2rem 2.4rem var(--shadow);
}

.artist-hero::after {
  content: "";
  position: absolute;
  right: -3.5rem;
  top: -3.5rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: rgba(113, 223, 209, 0.2);
  filter: blur(2px);
  opacity: 0.45;
}

.artist-hero--detail {
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
}

.artist-hero__copy,
.artist-hero__media {
  position: relative;
  z-index: 1;
}

.artist-hero__media {
  background: #f7ecde;
  padding: 0.3rem;
  border-radius: 0.4rem;
}

.artist-page-shell--list .artist-hero > *,
.artist-card__body > *,
.artist-hero__copy > * {
  position: relative;
  z-index: 1;
}

.artist-hero__eyebrow,
.artist-card__eyebrow {
  margin: 0 0 0.55rem;
  color: var(--mint-deep);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artist-hero__title,
.artist-card__title {
  margin: 0;
  color: var(--heading-color);
  line-height: 0.92;
  text-transform: uppercase;
}

.artist-hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 0.05em;
}

.artist-card__title {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  letter-spacing: 0.045em;
}

.artist-hero__lede,
.artist-detail__bio,
.artist-card__bio,
.artist-detail__members,
.artist-card__members {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
}

.artist-hero__lede {
  max-width: 42rem;
}

.artist-detail__members,
.artist-card__members {
  color: var(--body-copy-soft);
}

.artist-detail__bio,
.artist-card__bio {
  color: var(--body-copy);
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.artist-card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  border: 1px solid var(--card-border);
  border-radius: 0.55rem;
  overflow: hidden;
  background-color: var(--card-bg);
  box-shadow: 0 1rem 2rem rgba(89, 64, 48, 0.14);
}

.artist-card__image-link {
  display: block;
  background: #f7ecde;
}

.artist-card__image-link:hover .artist-image,
.artist-card__image-link:focus-visible .artist-image {
  transform: scale(1.025);
}

.artist-card__image-link:focus-visible,
.artist-link:focus-visible,
.artist-nav__link:focus-visible,
.artist-card__title a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.artist-card__body {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 100%;
  padding: 1.1rem 1.15rem 1.2rem;
  background-color: var(--card-bg);
  background-image:
    linear-gradient(var(--profile-overlay), var(--profile-overlay)),
    var(--profile-bg-url);
  background-size: auto, var(--profile-bg-size);
  background-position: center bottom, center calc(100% + 2rem);
  background-repeat: no-repeat;
}

.artist-card--short .artist-card__body {
  min-height: 8.5rem;
}

.artist-card--medium .artist-card__body {
  min-height: 12rem;
}

.artist-card--long .artist-card__body {
  min-height: 16rem;
}

.artist-card__title a {
  text-decoration: none;
}

.artist-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.22s ease;
}

/* Keep the card height proportional to the amount of artist information shown. */
.artist-card--short .artist-image {
  aspect-ratio: 16 / 10;
}

.artist-card--medium .artist-image {
  aspect-ratio: 4 / 3;
}

.artist-image--contain {
  object-fit: contain;
  background: var(--card-bg);
}

.artist-image--downtown-urbana {
  width: min(90%, 16rem);
  margin: 0 auto;
  background: transparent;
}

.sponsor-page-body #downtown-urbana .artist-card__image-link {
  background: var(--card-bg);
}

.artist-hero__media .artist-image--downtown-urbana {
  width: 78%;
}

.artist-image--right {
  object-position: right center;
}

.artist-image--placeholder {
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(22, 138, 119, 0.92), rgba(228, 172, 124, 0.9));
}

.artist-image--placeholder span {
  font-size: clamp(2.3rem, 7vw, 4rem);
  letter-spacing: 0.14em;
}

.artist-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.artist-links--detail {
  margin-top: 0.2rem;
}

.artist-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.4rem;
  color: #101010;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.artist-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.65rem 1.2rem var(--shadow);
}

.artist-link--mint {
  background: var(--mint);
}

.artist-link--sand {
  background: var(--sand);
}

.artist-link__icon {
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
}

.artist-link__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--icon);
}

.artist-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.artist-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.5rem 1rem;
  border-radius: 0.4rem;
  background: var(--sand);
  color: #101010;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.artist-nav__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.65rem 1.2rem var(--shadow);
}

@media (max-width: 860px) {
  .artist-hero--detail {
    grid-template-columns: 1fr;
  }

  .artist-hero__media {
    order: -1;
  }
}

@media (max-width: 640px) {
  .artist-page-shell {
    padding: 1rem 1rem 2rem;
  }

  .artist-hero {
    padding: 1.1rem;
    border-radius: 0.5rem;
  }

  .artist-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .artist-hero__title {
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  .artist-card__title {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .artist-hero__lede,
  .artist-detail__bio,
  .artist-card__bio,
  .artist-detail__members,
  .artist-card__members {
    font-size: 1.03rem;
  }

  .sponsor-page-body .artist-page-shell--list .artist-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .sponsor-page-body .artist-page-shell--list .artist-hero__lede {
    font-size: 1.08rem;
  }
}

.vendor-page-body .artist-hero,
.vendor-page-body .artist-card__body {
  overflow: hidden;
}

.vendor-page-body .artist-page-shell--list .artist-hero {
  background-image:
    linear-gradient(rgba(244, 237, 227, 0.72), rgba(244, 237, 227, 0.72)),
    url("vendor-photos/grass-one-dirt.png");
  background-repeat: no-repeat;
  background-size: auto, cover;
  background-position: center, center 69%;
}

.vendor-page-body .artist-page-shell--list .artist-grid {
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.15rem;
}

.vendor-page-body .artist-page-shell--list .artist-card__body {
  padding: 0.95rem 1rem 1rem;
}

.vendor-page-body .artist-page-shell--list .artist-card--short .artist-card__body {
  min-height: 11.75rem;
}

.vendor-page-body .artist-page-shell--list .artist-card--medium .artist-card__body {
  min-height: 15.75rem;
}

.vendor-page-body .artist-page-shell--list .artist-hero::before,
.vendor-page-body .artist-card__body::before {
  content: "";
  position: absolute;
  background-image: url("vendor-photos/handrawn-logo-copy.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.vendor-page-body .artist-page-shell--list .artist-hero::before {
  right: calc(50% - 7.5rem);
  bottom: 0.45rem;
  width: min(15rem, 29%);
  height: 6.8rem;
  opacity: 1;
}

.vendor-page-body .artist-card__body::before {
  left: 50%;
  bottom: -1.8rem;
  width: 118%;
  height: 7.5rem;
  opacity: 0.24;
  transform: translateX(-50%);
}

.vendor-page-body .artist-page-shell--list .artist-card__body::before {
  content: none;
}

.vendor-page-body .artist-page-shell--list .artist-card__eyebrow {
  display: none;
}

@media (max-width: 860px) {
  .vendor-page-body .artist-page-shell--list .artist-hero::before {
    right: 0.75rem;
    bottom: 0.35rem;
    width: min(12rem, 42%);
    height: 6.1rem;
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .vendor-page-body .artist-page-shell--list .artist-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .vendor-page-body .artist-page-shell--list .artist-hero::before {
    right: 0.45rem;
    bottom: 0.25rem;
    width: min(9.5rem, 40%);
    height: 5rem;
    opacity: 1;
    transform: none;
  }

  .vendor-page-body .artist-card__body::before {
    bottom: -1.1rem;
    width: 112%;
    height: 6rem;
    opacity: 0.2;
  }
}
