@import url("enhancements-base.css");

.artwork-caption {
  display: grid;
  gap: .28rem;
  margin-top: .8rem;
}

.artwork-title {
  display: block;
  color: var(--ink, #171413);
  font-family: var(--serif, Georgia, serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.artwork-description {
  display: block;
  max-width: 46ch;
  color: var(--muted, #64574e);
  font-family: var(--sans, system-ui, sans-serif);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform: none;
}

/* About archive artwork: preserve Luminous Threads' original scale, add breathing room only. */
.cv-archive-art {
  width: min(100%, 27rem);
  margin-top: clamp(2.4rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

/* Sculpture & Installation: secondary autobiographical work beneath the lead metadata. */
.sculpture-supporting-art {
  width: min(72%, 22rem);
  margin: clamp(1.7rem, 2.6vw, 2.3rem) 0 0;
}

.sculpture-supporting-art .art-frame {
  aspect-ratio: 3 / 4;
  box-shadow: .42rem .42rem 0 rgba(23,20,19,.18);
}

.sculpture-supporting-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ceramics & Material Studies: stable semantic layout. */
.ceramics-supporting-art {
  position: static !important;
  inset: auto !important;
  float: none !important;
  clear: both;
  width: min(84%, 24rem);
  margin: clamp(1.4rem, 2.2vw, 2rem) 0 0;
}

.ceramics-supporting-art .art-frame {
  aspect-ratio: 4 / 5;
  box-shadow: .42rem .42rem 0 rgba(23,20,19,.18);
}

.ceramics-supporting-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #e8dfd3;
}

/* Mary Neubauer lineage is real document content; suppress the legacy pseudo-content. */
.credential-strip::before,
.credential-strip::after { content: none !important; display: none !important; }

.credential-lineage {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  align-self: start;
  min-width: 0;
}

.credential-lineage img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line-strong, rgba(23,20,19,.36));
}

.credential-lineage figcaption {
  display: grid;
  gap: .25rem;
  margin-top: .8rem;
  color: var(--muted, #64574e);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(.72rem,.9vw,.84rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -.012em;
  text-transform: none;
}

.credential-lineage figcaption strong {
  color: var(--ink, #171413);
  font-size: clamp(.82rem, 1vw, .95rem);
  font-weight: 700;
  line-height: 1.42;
}

.credential-lineage figcaption span { display: block; }

/* Object & Creative Fabrication: compact supporting slideshow beside the finished work. */
.work-card:nth-child(4)::before,
.work-card:nth-child(4)::after { content: none; }

.fabrication-study-slideshow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: min(58%, 17.25rem);
  aspect-ratio: 3 / 4;
  margin-top: 0;
  border: 2px solid var(--ink, #171413);
  background: #e8dfd3;
  box-shadow: .38rem .38rem 0 rgba(23,20,19,.18);
}

.fabrication-study-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  background: #e8dfd3;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}

.fabrication-study-slideshow img.is-active { opacity: 1; }

.slideshow-control {
  position: absolute;
  z-index: 5;
  bottom: .8rem;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 2px solid var(--ink, #171413);
  border-radius: 999px;
  background: rgba(244, 234, 219, .88);
  color: var(--ink, #171413);
  box-shadow: .18rem .18rem 0 rgba(23,20,19,.28);
  font: inherit;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.slideshow-control span {
  display: block;
  margin-top: -.12rem;
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.slideshow-control-prev { left: .7rem; }
.slideshow-control-next { right: .7rem; }

.slideshow-control:hover,
.slideshow-control:focus-visible {
  background: var(--ink, #171413);
  color: var(--paper, #f4eadb);
}

.slideshow-control:active { transform: scale(.94); }

.slideshow-control:focus-visible {
  outline: 3px solid var(--solar, #f5c62d);
  outline-offset: 3px;
}

@media (min-width: 901px) {
  .work-grid > .work-card:not(.large-card):nth-child(2) {
    grid-template-columns: minmax(18rem, .82fr) minmax(0, 1.18fr);
    grid-template-rows: auto auto;
    column-gap: clamp(1.8rem, 3vw, 2.8rem);
    row-gap: 0;
    align-items: start;
  }

  .work-grid > .work-card:not(.large-card):nth-child(2) > .work-meta {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-top: .35rem;
    position: relative;
    z-index: 2;
  }

  .work-grid > .work-card:not(.large-card):nth-child(2) > .work-art {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: start;
  }

  .work-grid > .work-card:not(.large-card):nth-child(2) > .ceramics-supporting-art {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: start;
    align-self: start;
    width: min(84%, 24rem);
    margin-top: clamp(1.5rem, 2.4vw, 2.1rem);
  }

  .work-card:nth-child(4) {
    grid-template-columns: minmax(18rem, .82fr) minmax(0, 1.18fr);
    grid-template-rows: auto;
    column-gap: clamp(1.8rem, 3vw, 2.8rem);
    align-items: start;
  }

  .work-card:nth-child(4) .work-meta {
    grid-column: 1;
    grid-row: 1;
    padding-top: 0;
  }

  .work-card:nth-child(4) .work-meta p:last-child { margin-bottom: 0; }

  .fabrication-study-slideshow {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
    margin-top: 19.5rem;
  }

  .work-card:nth-child(4) .art-figure {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .work-card:nth-child(4) .art-frame {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .cv-archive-art {
    width: min(78%, 22rem);
    margin: 2rem 0 1.5rem;
  }

  .sculpture-supporting-art {
    width: min(68%, 20rem);
  }

  .ceramics-supporting-art {
    width: min(76%, 22rem);
  }

  .credential-lineage {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .work-card:nth-child(4) {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .work-card:nth-child(4) .work-meta { order: 1; padding-top: .35rem; }
  .work-card:nth-child(4) .work-meta p:last-child { margin-bottom: 0; }
  .fabrication-study-slideshow {
    order: 2;
    width: min(64%, 17rem);
    margin-top: 0;
  }
  .work-card:nth-child(4) .art-figure { order: 3; }
}

@media (max-width: 700px) {
  .credential-strip { grid-template-columns: 1fr !important; margin-top: 2rem; gap: 0 !important; }
  .credential-lineage { grid-column: 1; grid-row: auto; width: min(15rem,72vw); margin-bottom: 1.5rem; }
  .credential-lineage figcaption { width: min(32rem, calc(100vw - 2rem)); font-size: .8rem; }
  .credential-strip > div { grid-column: 1; grid-row: auto !important; border-right: 0; border-bottom: 0; }
  .credential-strip > div:last-child { border-bottom: 1px solid var(--line-strong, rgba(23,20,19,.36)); }
}

@media (max-width: 560px) {
  .sculpture-supporting-art {
    width: min(78%, 18rem);
  }

  .ceramics-supporting-art {
    width: min(82%, 19rem);
    margin-top: 1.25rem;
  }

  .fabrication-study-slideshow { width: min(72%, 16.5rem); }
  .slideshow-control {
    width: 2.35rem;
    height: 2.35rem;
    bottom: .55rem;
  }
  .slideshow-control span { font-size: 1.7rem; }
  .slideshow-control-prev { left: .45rem; }
  .slideshow-control-next { right: .45rem; }
}

/* Mobile header: keep all navigation links on one line at phone widths. */
@media (max-width: 560px) {
  .wordmark {
    font-size: 1.24rem;
    font-weight: 700;
  }

  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: clamp(.42rem, 2vw, .7rem);
    width: 100%;
    white-space: nowrap;
  }

  .site-nav a {
    font-size: clamp(.52rem, 2.3vw, .62rem);
    letter-spacing: .08em;
  }

  .cover .overline {
    white-space: nowrap;
    font-size: clamp(.58rem, 2.45vw, .66rem);
    letter-spacing: .09em;
  }

  .site-footer {
    flex-direction: column;
    gap: .65rem;
  }

  .site-footer span:last-child {
    white-space: nowrap;
    font-size: clamp(.54rem, 2.35vw, .62rem);
    letter-spacing: .085em;
  }
}

/* Artist statement: retain the compressed editorial scale while giving descenders room on phones. */
@media (max-width: 560px) {
  .statement-title h2 {
    line-height: 1.04;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fabrication-study-slideshow img,
  .slideshow-control { transition: none; }
}


/* Creative Practice — collaborative production work. */
.creative-practice-section { border-top: 2px solid var(--ink); }
.creative-practice-project {
  display: grid;
  grid-template-columns: minmax(16rem,.68fr) minmax(0,1.32fr);
  gap: clamp(2rem,5vw,5rem);
  align-items: start;
  padding-top: clamp(1.25rem,2.5vw,2rem);
  border-top: 4px solid var(--cadmium);
}
.creative-practice-copy { max-width: 34rem; }
.creative-practice-copy h3 { margin: .2rem 0 .65rem; font-size: clamp(2.5rem,5vw,5rem); line-height: .95; }
.creative-practice-kicker,.creative-practice-role {
  color: var(--cobalt);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.creative-practice-role { color: var(--ink); margin-bottom: 1.2rem; }
.creative-practice-copy > p:last-of-type { color: var(--muted); font-size: 1.02rem; line-height: 1.8; }
.creative-practice-link {
  display: inline-flex;
  margin-top: .65rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.creative-practice-link:hover,.creative-practice-link:focus-visible { background: var(--ink); color: var(--paper); }
.made-anew-slideshow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 2px solid var(--ink);
  background: #e8dfd3;
  box-shadow: .55rem .55rem 0 var(--ink);
}
.made-anew-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.made-anew-slideshow img.is-active { opacity: 1; }
@media(max-width:900px){
  .creative-practice-project { grid-template-columns: 1fr; }
  .creative-practice-copy { max-width: 44rem; }
}
@media(max-width:560px){
  .made-anew-slideshow { aspect-ratio: 3 / 4; box-shadow: .38rem .38rem 0 var(--ink); }
  .creative-practice-copy h3 { font-size: clamp(2.8rem,15vw,4.5rem); }
}
@media(prefers-reduced-motion:reduce){ .made-anew-slideshow img { transition:none; } }


/* AAEA workshop — integrated example within Teaching & Creative Leadership.
   This card deliberately spans the Practice grid; its workshop stays INSIDE it. */
.practice-grid > .practice-card:nth-child(2) {
  display: block;
}
.practice-card-teaching > p:not(.work-index) {
  max-width: 64ch;
}
.practice-card-teaching .aaea-workshop {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  scroll-margin-top: 9rem;
}
.aaea-workshop-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
  list-style: none;
  cursor: pointer;
}
.aaea-workshop-summary::-webkit-details-marker { display: none; }
.aaea-workshop-summary::marker { content: ""; }
.aaea-workshop-summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; }
.aaea-workshop-summary-copy {
  display: grid;
  justify-items: start;
  gap: .8rem;
  min-width: 0;
}
.aaea-workshop-eyebrow {
  color: var(--cobalt);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.aaea-workshop-title {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 3.45rem);
  line-height: 1.14;
  letter-spacing: -.035em;
}
.aaea-workshop-deck {
  max-width: 58ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}
.aaea-workshop-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
  margin-top: .3rem;
  padding: .65rem .85rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.aaea-workshop-toggle > span { font-size: 1.15rem; line-height: 1; font-weight: 500; }
.aaea-workshop[open] .aaea-workshop-toggle > span { transform: rotate(45deg); }
.aaea-workshop-summary:hover .aaea-workshop-toggle,
.aaea-workshop-summary:focus-visible .aaea-workshop-toggle {
  background: var(--ink);
  color: var(--paper);
}
.aaea-workshop-cover {
  width: 100%;
  max-width: 15rem;
  height: auto;
  justify-self: end;
  border: 1px solid var(--line-strong);
  background: var(--paper-warm);
  box-shadow: .35rem .35rem 0 rgba(23,20,19,.12);
}
.aaea-workshop[open] .aaea-workshop-summary { border-bottom: 1px solid var(--line-strong); }
.aaea-workshop-content { padding: clamp(1.2rem, 2.5vw, 2.2rem) 0 clamp(1.5rem, 3vw, 2.6rem); }
.aaea-workshop-intro { max-width: 69ch; margin-bottom: 1.5rem; }
.aaea-workshop-intro > p:first-child { font-size: 1rem; line-height: 1.8; }
.aaea-workshop-note { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; }
.aaea-workshop-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.5rem);
  align-items: start;
}
.aaea-workshop-gallery figure { margin: 0; min-width: 0; max-width: 26rem; }
.aaea-workshop-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  background: var(--paper-warm);
}
.aaea-workshop-gallery figcaption {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .77rem;
  line-height: 1.55;
}
.aaea-workshop-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-strong);
}
.aaea-workshop-film-copy h3 {
  margin: .35rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
}
.aaea-workshop-film-copy p:not(.aaea-workshop-eyebrow) { color: var(--muted); max-width: 46ch; line-height: 1.8; }
.aaea-workshop-film-copy a {
  display: inline-block;
  margin-top: .8rem;
  border-bottom: 1px solid currentColor;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.aaea-workshop-player {
  width: min(100%, 20rem);
  aspect-ratio: 9 / 16;
  justify-self: end;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: .4rem .4rem 0 var(--ink);
  background: var(--ink);
}
.aaea-workshop-player iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 950px) {
  .aaea-workshop-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .aaea-workshop-summary { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .aaea-workshop-cover { width: min(100%, 16rem); justify-self: start; }
  .aaea-workshop-gallery { grid-template-columns: minmax(0, 1fr); }
  .aaea-workshop-film { grid-template-columns: minmax(0, 1fr); }
  .aaea-workshop-player { justify-self: start; width: min(100%, 19rem); }
}
@media (prefers-reduced-motion: reduce) {
  .aaea-workshop-toggle > span { transition: none; }
}
