/* begin basic styles */
html {
    font-size: 100%;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
    height: 100%;
}

body {
    margin: 20px auto;
    padding: 10px 20px;
    height: 100%;
    max-width: 1070px;
    background-color: #f7f7f3;
    color: #3b3b3b;
    line-height: 1.35;
    margin: 40px 8% 40px 8%;
}

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

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

.thumbimg {
    width: auto;
}

.spacedimage {
    margin: 80px 0 0px 0;
}

.spacedgalleryimage {
    margin: 40px 0 0px 0;
}
     
footer{
    float: right;
}

      h1 {
        font-family: "Times New Roman", Times, serif;
          font-weight: normal;
        margin-bottom: 48px;
      }

      h2 {
        font-family: "Times New Roman", Times, serif;
        font-weight: normal;
        font-size: 1.85em;
        line-height: 1.25em;
      }

      h2:hover {
        color: #fc86aa;
      }

      h3 {
        font-family: "Times New Roman", Times, serif;
        font-weight: normal;
        font-size: 1.85em;
        color: #3b3b3b;
      }

      h3:hover {
        color: #0057cf;
      }

      h3 .time {
        margin-left: 25px;
        font-size: 1.85em;
        display: block;
        color: inherit;
      }


      p {
        margin: 0.7em 0;
        font-size: 14px;
        letter-spacing: 0.05px;
        color: #3b3b3b;
      }

      a {
        color: #fc86aa;
        text-decoration: none;
        padding-bottom: 0.4em;
        background-image: linear-gradient(
          to bottom,
          #fc86aa 100%,
          #fc86aa 100%
        );
        background-repeat: repeat-x;
        background-size: 1px 0.09em;
        background-position: 0 1.1em;
      }

      a::selection {
        color: #fdfdfd;
        background-color: #fc86aa;
      }

#homelink {
    color: #3b3b3b;
}

     #homelink:hover {
     color: #fc86aa;
}

     #homelink::selection {
        color: #fdfdfd;
        background-color: #fc86aa;
}

      ul {
        padding-left: 0;
        margin-left: 25px;
      }

      ul.no-list-style li {
        list-style: none;
      }

      details .content > ul.wavy-list {
        margin-left: 19px;
      }

      li {
        font-size: 1.75em;
        list-style: circle;
        padding-bottom: 3px;
      }

      li:last-child {
        padding-bottom: 0;
      }

      summary {
        list-style: none;
        margin-bottom: 0px;
        cursor: pointer;
      }

      details {
        margin-bottom: 0px;
      }

      details .content {
        padding-top: 10px;
        margin-bottom: 30px;
      }


      details .content > ul {
        margin-top: 0;
        margin-left: 50px;
      }

      details[open] {
        margin-bottom: 30px;
      }

      details[open] > summary:before {
        content: "v";
         
      }

      details details {
        margin-left: 20px;
      }

      summary:focus {
        outline: none;
      }

      summary::-webkit-details-marker {
        display: none;
      }

      summary:before {
        color: #3b3b3b;
        content: ">";
        font-family: monospace  ;
        font-size: 1.4em;
        vertical-align: 2px;
      }

      .content summary:before {
        color: #3b3b3b;
      }

      summary > h2,
      summary > h3 {
        display: inline;
        margin-left: 10px;
        margin-top: 0;
        margin-bottom: 0;
      }

/* begin grid gallery styles */
.gallery-page {
    padding: 1rem 0rem 10rem 0rem;
}

.gallery-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    grid-gap: 0.5rem;
}

.gallery-span {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
    grid-gap: 0.5rem;
    grid-auto-flow: dense;
}

.gallery-items {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.galleryimg {
    height: 100%;
    object-fit: cover;
}

.galleryimg:hover {
    transform: scale(1.02);
    transition: 0.3s ease-in-out;
}

.w-1, .w-2, .w-3, .w-4, .w-5, .w-6 {
    grid-column: span 1;
}

.h-1, .h-2, .h-3, .h-4, .h-5, .h-6 {
    grid-row: span 1;
}

/* begin media queries for large screens */
        
    /* grid column and row spans for wider screens */
    .gallery-span {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .w-1 {
        grid-column: span 1;
    }
    .w-2 {
        grid-column: span 2;
    }
    .w-3 {
        grid-column: span 3;
    }
    .w-4 {
        grid-column: span 4;
    }
    .w-5 {
        grid-column: span 5;
    }
    .w-6 {
        grid-column: span 6;
    }
    .h-1 {
        grid-row: span 1;
    }
    .h-2 {
        grid-row: span 2;
    }
    .h-3 {
        grid-row: span 3;
    }
    .h-4 {
        grid-row: span 4;
    }
    .h-5 {
        grid-row: span 5;
    }
    .h-6 {
        grid-row: span 6;
    }


summary:focus-visible,
a:focus-visible {
    outline: 2px solid #fc86aa;
    outline-offset: 4px;
}

@media (max-width: 700px) {
    body {
        width: auto;
        max-width: none;
        margin: 24px auto;
        padding: 10px 18px;
    }

    h1 {
        font-size: clamp(1.25rem, 5.2vw, 1.8rem);
        line-height: 1.25;
        margin-bottom: 34px;
    }

    h2 {
        font-size: clamp(1.35rem, 5.8vw, 1.85rem);
    }

    li {
        font-size: clamp(1.1rem, 4.4vw, 1.45rem);
        line-height: 1.35;
    }

    details .content > ul {
        margin-left: 26px;
    }

    details details {
        margin-left: 8px;
    }

    summary {
        min-height: 44px;
        padding: 5px 0;
    }

    footer {
        float: none;
        text-align: right;
    }

    .gallery-auto-fit {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
        grid-auto-rows: auto;
    }
}

@media (hover: none), (pointer: coarse) {
    .galleryimg:hover { transform: none; transition: none; }
}

/* 2026 site-wide refinements */
html { font-size: 12px; height: auto; }
body {
  width: min(100% - 32px, 1070px);
  max-width: 1070px;
  margin: 36px auto;
  padding: 0;
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
  background: #f7f7f3;
  color: #3b3b3b;
  line-height: 1.4;
}
header, .site-navigation, main, .gallery-page, details { min-width: 0; }
header { text-align: left; }
h1 { font-size: 2.4rem; line-height: 1.22; font-weight: normal; }
h2, h3 { font-size: 2rem; }
p { font-size: 14px; }
li { font-size: 1.75rem; overflow-wrap: anywhere; }
a { color: #a02d56; background-image: linear-gradient(#a02d56,#a02d56); }
#homelink, summary:before, .content summary:before { color: #3b3b3b; }
#homelink:hover, h2:hover { color: #a02d56; }
summary:focus-visible, a:focus-visible { outline: 2px solid #a02d56; outline-offset: 3px; }
summary { padding: 4px 0; }
.site-footer { float: none; margin-top: auto; padding-top: 72px; text-align: right; width: 100%; }
.site-footer h1 { font-size: 2.4rem; margin: 0; }
/* Quotation is an ordinary h1 line: inherit all typography from h1. */
.home-title__line { display: block; }
.home-title__quote { text-transform: uppercase; }
.home-title__welcome { margin-top: 1.15em; }
.site-navigation { margin: 0 0 32px; padding: 12px 0 18px; border-bottom: 1px solid #d3d0ca; }
.site-navigation > details > summary > h2 { font-size: 1.6rem; }
.site-navigation .content > ul { margin-left: 32px; }
.site-navigation .content li { font-size: 1.45rem; }
.site-navigation .content { padding: 8px 0 10px; }
.site-navigation details[open] { margin-bottom: 12px; }
/* Entire home-page reveal, top to bottom, completes within one second. */
@keyframes wwiv-appear { from {opacity:0;} to {opacity:1;} }
.fade-line { animation: wwiv-appear .24s ease-out both; animation-delay: calc(var(--reveal,0) * .075s); }
/* Show the contents of expanded sections normally, including keyboard users. */
.galleryimg { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 600px) {
 body { width: calc(100% - 28px); margin: 20px auto; }
 h1, .site-footer h1 { font-size: 2rem; }
 h2, h3 { font-size: 1.8rem; }
 p { font-size: 14px; }
 li { font-size: 1.55rem; }
 details .content > ul { margin-left: 22px; }
 .gallery-auto-fit, .gallery-span { grid-template-columns: minmax(0,1fr); grid-auto-rows: auto; }
 .w-1,.w-2,.w-3,.w-4,.w-5,.w-6,.h-1,.h-2,.h-3,.h-4,.h-5,.h-6 { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .fade-line { animation: none; } }

/* Sequential reveal of individual lines when an expandable list is opened. */
details[open] > .content li { animation: wwiv-appear .18s ease-out both; }
details[open] > .content li:nth-child(1) { animation-delay: .02s; }
details[open] > .content li:nth-child(2) { animation-delay: .07s; }
details[open] > .content li:nth-child(3) { animation-delay: .12s; }
details[open] > .content li:nth-child(4) { animation-delay: .17s; }
details[open] > .content li:nth-child(5) { animation-delay: .22s; }
details[open] > .content li:nth-child(6) { animation-delay: .27s; }
details[open] > .content li:nth-child(7) { animation-delay: .32s; }
details[open] > .content li:nth-child(8) { animation-delay: .37s; }
@media (prefers-reduced-motion: reduce) { details[open] > .content li { animation: none; } }



/* The collapsed homepage menu should fit within a typical mobile viewport.
   Expanded details intentionally retain natural scrolling so all content stays accessible. */
@media (max-width: 700px) {
  .page-home {
    width: calc(100% - 28px);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    padding: clamp(10px, 2vh, 22px) 0;
  }
  .page-home header h1 {
    font-size: clamp(1.25rem, 3.2vw + .55rem, 1.7rem);
    line-height: 1.18;
    margin: 0 0 clamp(7px, 1.5vh, 16px);
    overflow-wrap: anywhere;
  }
  .page-home .home-title__welcome { margin-top: .65em; }
  .page-home .home-section { margin: 0; }
  /* Homepage headings keep tight, font-relative spacing on small screens.
     This intentionally overrides the older 44px mobile summary minimum. */
  .page-home .home-section > summary {
    min-height: 0;
    padding: 0.075em 0;
    margin: 0;
    line-height: 1.1;
  }
  .page-home .home-section > summary > h2 {
    display: inline;
    font-size: clamp(1.45rem, 3vw + .65rem, 1.85rem);
    line-height: 1.1;
    margin: 0 0 0 0.35em;
  }
  .page-home .site-footer {
    margin-top: auto;
    padding-top: clamp(10px, 2vh, 22px);
  }
  .page-home .site-footer h1 { font-size: 1.7rem; line-height: 1.12; }
}


/* 2026-11: Keep the collapsed homepage copyright in view, without shrinking
   the flexible quote or interfering with open <details> sections. */
.page-home {
  padding-bottom: 5rem;
}
.page-home > footer.site-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  width: min(calc(100% - 32px), 1070px);
  margin: 0;
  padding: .55rem 0 max(.65rem, env(safe-area-inset-bottom));
  background: #f7f7f3;
  text-align: right;
}
/* Once a section is opened, the footer follows the expanded content instead
   of covering items as the visitor scrolls. */
.page-home:has(.home-section[open]) > footer.site-footer {
  position: static;
  transform: none;
  width: 100%;
  margin-top: auto;
  padding-top: 2rem;
}

/* Branching pages: one return link, right-aligned at the page's end.
   No grid, float-to-left, or legacy left-justification rules. */
footer.site-footer.site-footer--branch {
  float: none;
  clear: both;
  display: block;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: right;
}
footer.site-footer.site-footer--branch > a.site-footer__return {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.25rem;
  text-align: right;
}
@media (max-width: 700px) {
  footer.site-footer.site-footer--branch { padding-top: 38px; }
  footer.site-footer.site-footer--branch > a.site-footer__return { font-size: 1.2rem; }
}
@media (max-width: 380px) {
  footer.site-footer.site-footer--branch > a.site-footer__return { font-size: 1.1rem; }
}

/* Match the return link to ordinary site anchors rather than a button. */
footer.site-footer.site-footer--branch > a.site-footer__return {
  color: #a02d56;
  text-decoration: none;
  background-image: linear-gradient(#a02d56, #a02d56);
  background-repeat: repeat-x;
  background-size: 1px .09em;
  background-position: 0 1.1em;
  padding-bottom: .4em;
}
footer.site-footer.site-footer--branch > a.site-footer__return:hover { color: #7e2145; }

@media (max-width: 700px) {
  .page-home { padding-bottom: 4rem; }
  .page-home > footer.site-footer {
    width: calc(100% - 28px);
    padding: .35rem 0 max(.55rem, env(safe-area-inset-bottom));
  }
  .page-home:has(.home-section[open]) > footer.site-footer {
    padding-top: 1.5rem;
  }
}

/* Single hover-image overlay; JavaScript exclusively controls its geometry.
   Keep it outside animated list items so no old .thumbnail rules or transforms
   can move or obscure it. The left edge is anchored at the link's rightmost point using fixed `left`. */
#wwiv-hover-overlay {
  position: fixed;
  top: 0;
  right: auto;
  bottom: auto;
  left: auto;
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  transform: none;
  object-fit: contain;
  box-sizing: border-box;
  background: #f7f7f3;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.24);
  pointer-events: none;
  z-index: 2147483647;
}


/* Work-page images: reserve space before an image enters the viewport. */
.gallery-page .work-lazy-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto 3 / 2;
  background: #eeeee9;
  object-fit: contain;
}
.gallery-page .work-lazy-image.work-image-loaded { background: transparent; }
.gallery-page .work-lazy-image.work-image-error { background: #eee4e4; }

/* Staples: a single featured image, with compact selectable thumbnails. */
.gallery-page--staples { padding-bottom: 3rem; }
.staples-viewer { max-width: 100%; margin-inline: auto; }
.staples-viewer__stage { width: 100%; background: #eeeee9; }
.staples-viewer__full { display: block; padding: 0; background: none; }
.gallery-page .staples-viewer__main-image {
  display: block;
  width: 100%;
  max-height: min(75vh, 780px);
  min-height: min(30vw, 170px);
  height: auto;
  aspect-ratio: auto 3 / 2;
  object-fit: contain;
  margin: 0 auto;
  background: #eeeee9;
}
.staples-viewer__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.6rem;
}
.staples-viewer__step {
  font: inherit;
  font-size: 1rem;
  padding: .4rem .25rem;
  color: #a02d56;
  background: none;
  border: none;
  cursor: pointer;
}
.staples-viewer__step:hover, .staples-viewer__step:focus-visible { color: #752041; text-decoration: underline; }
.staples-viewer__step:focus-visible,
.staples-viewer__thumb-button:focus-visible { outline: 2px solid #a02d56; outline-offset: 2px; }
.staples-viewer__count { font-size: 14px; white-space: nowrap; }
.staples-viewer__caption { min-height: 4.8rem; text-align: center; font-size: 15px; }
.staples-viewer__caption p { margin: .35rem 0; font-size: 14px; }
.staples-viewer__instruction { font-size: 14px; margin: .5rem 0 .75rem; }
.staples-viewer__filmstrip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(83px, 13vw, 130px);
  gap: .6rem;
  padding: .5rem .25rem 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.staples-viewer__thumb-button {
  display: block;
  border: 2px solid transparent;
  background: transparent;
  padding: 3px;
  cursor: pointer;
  scroll-snap-align: start;
}
.staples-viewer__thumb-button.is-selected { border-color: #a02d56; }
.gallery-page .staples-viewer__thumbnail {
  display: block;
  width: 100%;
  height: 88px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eeeee9;
}
@media (max-width: 700px) {
  .staples-viewer__filmstrip { grid-auto-columns: 84px; gap: .35rem; }
  .gallery-page .staples-viewer__thumbnail { height: 76px; }
  .staples-viewer__step { font-size: 14px; }
  .staples-viewer__caption { min-height: 5.5rem; }
}
