/* SoldjaSoulz: light editorial art direction, scoped to this case study only. */
.ss-page {
  color-scheme: light;
  background: #f3efe5;
  color: #073764;
}

/* Carry the warm paper surface behind the navigation so the page starts as one composition. */
.ss-page > .inner-header {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 92px;
  margin: 0;
  padding: 18px max(32px, calc((100vw - 1280px) / 2));
  background: #fffdf8;
  color: #073764;
  border-bottom: 1px solid #e0d9ca;
}

.ss-page > .inner-header nav a,
.ss-page > .inner-header nav a[aria-current="page"],
.ss-page > .inner-header .work-nav-menu > summary {
  color: #073764 !important;
}

.ss-page > .inner-header nav .nav-contact {
  color: #073764 !important;
  background: #e7bc65;
}

.ss-page > .inner-header nav .nav-contact:hover {
  background: #d9a844;
}

.ss-page .ss-hero {
  background: #f3efe5;
  color: #073764;
  padding-block: 30px 38px;
}

.ss-page .ss-hero-label {
  border-bottom-color: #cfc5ae;
}

.ss-page .ss-hero-label > span,
.ss-page .ss-credit {
  color: #5b675d;
}

.ss-page .ss-hero .ss-hero-exhibit {
  background: #fffdf8;
  border: 1px solid #b99b5d;
  box-shadow: 0 12px 30px rgba(7, 55, 100, .07);
}

.ss-page .ss-hero-exhibit img {
  background: #fffdf8;
}

.ss-page .ss-hero-exhibit figcaption {
  border-color: #d5cbb7;
  background: #f7f4ec;
  color: #526052;
}

.ss-page .ss-hero-foot {
  border-top-color: #cfc5ae;
}

.ss-page .ss-hero-foot p,
.ss-page .ss-deck,
.ss-page .ss-intro > p:last-child,
.ss-page .ss-copy,
.ss-page .ss-route p,
.ss-page .ss-ending-foot p {
  color: #475d6d;
}

.ss-page .ss-hero-foot a,
.ss-page .ss-section a,
.ss-page .ss-ending-foot a,
.ss-page .testimonial-section a {
  color: #073764;
}

.ss-page .ss-chapters {
  position: relative;
  gap: 36px;
  padding: 16px 0 13px;
  border-top: 1px solid #cfc5ae;
  border-bottom: 1px solid #cfc5ae;
  background: #f3efe5;
  color: #073764;
}

.ss-page .ss-chapters::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 9px;
  height: 3px;
  background: #27883b;
  box-shadow: 13px 0 #e5b522, 26px 0 #d53b35;
}

.ss-page .ss-chapters a {
  color: #073764;
}

/* One paper family, with quiet shifts in tone to mark the narrative sections. */
.ss-page .ss-section,
.ss-page .ss-ending {
  background: #f3efe5;
  color: #073764;
}

.ss-page .ss-light {
  background: #f8f6ef;
  color: #073764;
}

.ss-page #concepts {
  background: #eeeade;
}

.ss-page .ss-related,
.ss-page .testimonial-section {
  background: #e8eee6;
  color: #073764;
}

.ss-page section.ss-section.wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(32px, calc((100vw - 1280px) / 2));
  box-sizing: border-box;
}

.ss-page h1,
.ss-page h2,
.ss-page h3,
.ss-page .ss-section h2,
.ss-page .testimonial-section h2 {
  color: #073764;
}

.ss-page .ss-section .eyebrow,
.ss-page .testimonial-section .eyebrow,
.ss-page .ss-hero-label .eyebrow {
  color: #3e654c;
}

.ss-page em {
  color: #527a5a;
}

/* Artwork retains its supplied pixels; captions and hairlines do the framing. */
.ss-page .ss-letter,
.ss-page .ss-route .ss-art,
.ss-page .ss-details figure,
.ss-page .ss-progression figure {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ss-page .ss-letter figcaption,
.ss-page .ss-details figcaption,
.ss-page .ss-progression figcaption {
  margin-top: 12px;
  padding: 12px 0 0;
  border-top: 1px solid #d3c9b5;
  color: #526475;
}

.ss-page .ss-route .ss-art {
  outline: 1px solid #d2c8b4;
  outline-offset: 0;
}

.ss-page .ss-route .ss-art:hover {
  outline-color: #718b64;
}

.ss-page .ss-resolved img {
  border: 1px solid #c9bda5;
  background: #fffdf8;
}

.ss-page .ss-overview {
  border-color: #cfc5ae;
}

.ss-page .ss-overview summary {
  color: #073764;
}

.ss-page .ss-film video {
  border: 1px solid #b99b5d;
  background: #080e0b;
}

.ss-page .ss-film-controls {
  border-color: #cfc5ae;
  color: #475d6d;
}

.ss-page .ss-film-controls button {
  border-radius: 999px;
  background: #e7bc65;
  color: #073764;
}

.ss-page .ss-film figcaption,
.ss-page .ss-related .ss-intro > p:last-child,
.ss-page .testimonial-intro p,
.ss-page .testimonial-card figcaption,
.ss-page .testimonial-card blockquote p {
  color: #475d6d;
}

.ss-page .ss-related-art img {
  border: 1px solid #c6cbbd;
  padding: 0;
  background: transparent;
}

.ss-page .testimonial-card {
  background: transparent;
  border: 1px solid #c9d2c5;
  box-shadow: none;
}

.ss-page .testimonial-card blockquote p {
  color: #073764;
}

.ss-page .testimonial-card figcaption strong {
  color: #073764;
}

.ss-page .inner-contact {
  background: #e8eee6;
  color: #073764;
  border-top: 3px solid #d0a03c;
}

.ss-page .inner-contact h2,
.ss-page .inner-contact h2 span {
  color: #073764;
}

.ss-page .inner-contact h2 span {
  -webkit-text-stroke-color: #073764;
}

.ss-page .inner-contact > .wrap {
  width: min(1280px, calc(100% - 64px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ss-page .inner-contact .eyebrow,
.ss-page .inner-contact .contact-bottom > p,
.ss-page .inner-contact .contact-actions > a:not(.button) {
  color: #284c67;
}

.ss-page .inner-contact .contact-actions .button {
  background: #073764;
  color: #fffdf8;
}

.ss-page footer.wrap {
  color: #475d6d;
}

.ss-page footer .byhorn-footer-brand strong {
  color: #073764;
}

.ss-page footer .byhorn-footer-brand small {
  color: #8f5c00;
}

.ss-page footer .footer-services a,
.ss-page footer .privacy,
.ss-page footer .privacy a {
  color: #475d6d;
}

.ss-page a:focus-visible,
.ss-page button:focus-visible,
.ss-page summary:focus-visible {
  outline-color: #347346;
}

@media (max-width: 760px) {
  .ss-page > .inner-header {
    width: 100%;
    min-height: 0;
    padding: 18px;
  }

  .ss-page section.ss-section.wrap {
    padding-inline: 18px;
  }

  .ss-page .ss-chapters {
    padding-inline: 18px;
    gap: 24px;
  }

  .ss-page .ss-hero {
    padding-block: 24px 30px;
  }

  .ss-page .inner-contact > .wrap {
    width: calc(100% - 36px);
  }
}

/* Contrast and testimonial refinements based on the mobile review. */
.ss-page .ss-route h3,
.ss-page .ss-ending h2 {
  color: #073764;
}

.ss-page .testimonial-feature {
  align-items: center;
}

.ss-page .testimonial-card {
  padding: clamp(22px, 2.6vw, 34px);
  border: 0;
  border-left: 3px solid #d0a03c;
  border-radius: 2px;
  background: #f8f6ef;
}

.ss-page .testimonial-card blockquote {
  margin-bottom: 20px;
}

.ss-page .testimonial-card blockquote p {
  color: #073764;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  letter-spacing: 0;
}

.ss-page .testimonial-card figcaption {
  gap: 6px;
  margin-top: 0;
  padding-top: 16px;
  border-top: 1px solid #d3c9b5;
  color: #526475;
}

.ss-page .testimonial-card figcaption strong {
  color: #073764;
  font-size: 16px;
}

.ss-page .testimonial-card figcaption span,
.ss-page .testimonial-card figcaption time {
  color: #526475;
  font-size: 14px;
}

.ss-page .testimonial-card .review-source-links {
  margin-top: 14px;
}

@media (max-width: 760px) {
  .ss-page .testimonial-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .ss-page .testimonial-card {
    padding: 22px 20px;
  }
}

/* The light-page palette needs to beat the older dark editorial selectors. */
.ss-page .ss-hero-foot > div p {
  color: #475d6d;
}

.ss-page .ss-hero-foot > div a {
  color: #073764;
}

@media (max-width: 760px) {
  /* Give the hero art the full phone width. The extra class specificity
     keeps older editorial grid rules from returning the tiny side thumbnail. */
  .ss-page .ss-hero-grid.editorial-opening {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0 16px;
  }

  .ss-page .ss-hero-foot.editorial-opening-copy {
    display: contents;
    padding: 0;
    border: 0;
  }

  .ss-page .ss-hero-foot h1 {
    grid-row: 1;
    max-width: none;
    margin: 0;
    font-size: clamp(36px, 9.2vw, 42px);
    line-height: 1.04;
  }

  .ss-page .ss-hero .ss-hero-exhibit.editorial-opening-art {
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .ss-page .ss-hero-exhibit figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 11px 13px;
    font-size: 10px;
  }

  .ss-page .ss-hero-foot > div {
    grid-row: 3;
  }

  .ss-page .ss-hero-foot > div p {
    max-width: 48ch;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.65;
  }

  .ss-page .ss-hero-foot > div a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
  }

  .ss-page .ss-credit {
    grid-row: 4;
    display: block;
    padding-top: 11px;
    border-top: 1px solid #d3c9b5;
    color: #526475;
    text-align: left;
  }
}

/* Keep all editorial copy legible on the light paper surfaces. */
.ss-page .ss-hero-foot > div p,
.ss-page .ss-intro > p:last-child,
.ss-page .ss-copy p,
.ss-page .ss-route p,
.ss-page .ss-ending-foot p,
.ss-page .testimonial-intro p,
.ss-page .testimonial-card figcaption span,
.ss-page .testimonial-card figcaption time {
  color: #354e60;
}

.ss-page .ss-route h3,
.ss-page .ss-ending h2,
.ss-page .testimonial-section h2 {
  color: #073764;
}

.ss-page .testimonial-card figcaption strong {
  color: #073764;
}
