/* Shared editorial structure; each project keeps its own art direction. */
.sf-page,
.ss-page {
  min-height: 100vh;
}

.sf-page {
  background: #f3efe5;
  color: #073764;
}

.ss-page {
  background: #090f0c;
  color: #eef1ea;
}

.sf-page .wrap,
.ss-page .wrap {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.sf-page > .inner-header,
.ss-page > .inner-header {
  box-sizing: border-box;
  width: min(1280px, calc(100% - 64px));
  min-height: 92px;
  margin: 0 auto;
  padding: 18px clamp(20px, 3vw, 42px);
  background: #fff;
  color: #073764;
}

.sf-page .header nav a,
.ss-page .header nav a {
  color: #073764;
}

.sf-page .header nav .nav-contact,
.ss-page .header nav .nav-contact {
  color: #fff;
}

.sf-page h1,
.sf-page h2,
.sf-page h3,
.ss-page h1,
.ss-page h2,
.ss-page h3 {
  letter-spacing: -.045em;
}

.sf-page a:focus-visible,
.sf-page button:focus-visible,
.sf-page summary:focus-visible,
.ss-page a:focus-visible,
.ss-page button:focus-visible,
.ss-page summary:focus-visible {
  outline: 3px solid #c79535;
  outline-offset: 5px;
}

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

/* The two openings share a copy-and-art grid, with separate visual settings. */
.sf-page .sf-hero {
  padding: 32px 0 28px;
  background: #f3efe5;
  color: #073764;
}

.sf-page .sf-kicker,
.ss-page .ss-hero-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #c9b98e;
}

.sf-page .sf-kicker .eyebrow,
.ss-page .ss-hero-label .eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sf-page .sf-kicker > span,
.ss-page .ss-hero-label > span {
  font-size: 12px;
}

.sf-page .sf-kicker > span {
  color: #52614e;
}

.sf-page .sf-opening.editorial-opening {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(42px, 6vw, 78px) 0;
}

.sf-page .editorial-opening-copy h1 {
  max-width: 580px;
  margin: 0 0 25px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .99;
}

.sf-page .editorial-opening-copy h1 span {
  color: #92702c;
}

.sf-page .editorial-opening-copy > p {
  max-width: 440px;
  margin: 0 0 22px;
  color: #40594f;
  font-size: 17px;
  line-height: 1.65;
}

.sf-page .editorial-opening-copy > a {
  color: #073764;
  font-size: 13px;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.sf-page .sf-opening .sf-hero-exhibit.editorial-opening-art {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.sf-page .editorial-opening-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
}

.sf-page .editorial-opening-art figcaption {
  margin-top: 14px;
  color: #52614e;
  font-size: 11px;
  line-height: 1.5;
}

.sf-page .sf-credits.editorial-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 22px 0 18px;
  border-top: 1px solid #c9b98e;
  color: #173b59;
}

.sf-page .editorial-meta dt {
  margin-bottom: 7px;
  color: #69735f;
  font-size: 11px;
}

.sf-page .editorial-meta dd {
  margin: 0;
  font-size: 13px;
}

.ss-page .ss-hero {
  padding: 30px 0 42px;
  background: radial-gradient(ellipse at 78% 68%, #173b29 0, transparent 48%), #090f0c;
  color: #eef1ea;
}

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

.ss-page .ss-hero-label > span {
  color: #b4c4b8;
}

.ss-page .ss-hero-grid {
  display: grid;
  grid-template-columns: minmax(285px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(34px, 6vw, 84px);
  padding: clamp(42px, 6vw, 74px) 0 38px;
}

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

.ss-page .ss-hero-foot h1 {
  max-width: 540px;
  margin: 0 0 24px;
  font-size: clamp(46px, 5.5vw, 76px);
  line-height: .99;
}

.ss-page .ss-hero-foot > div p {
  max-width: 440px;
  margin: 0 0 18px;
  color: #c3d0c6;
  font-size: 16px;
}

.ss-page .ss-hero-foot > div a {
  font-size: 13px;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.ss-page .ss-credit {
  display: block;
  margin-top: 28px;
  color: #9eb3a4;
  font-size: 12px;
  line-height: 1.7;
  text-align: left;
}

.ss-page .ss-hero .ss-hero-exhibit.editorial-opening-art {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  border: 1px solid #35513f;
  background: #070c09;
  box-sizing: border-box;
}

.ss-page .editorial-opening-art img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ss-page .ss-hero-exhibit figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 13px 16px;
  border-top: 1px solid #304539;
  background: #101b14;
  color: #bac9bf;
  font-size: 10px;
  line-height: 1.5;
}

/* Shared chapter navigation and section rhythm. */
.sf-page .sf-chapters,
.ss-page .ss-chapters {
  display: flex;
  gap: clamp(22px, 3vw, 38px);
  overflow-x: auto;
  padding: 13px 0;
  border-block: 1px solid;
  font-size: 12px;
  white-space: nowrap;
  scrollbar-width: thin;
}

.sf-page .sf-chapters {
  border-color: #c9b98e;
  background: transparent;
  color: #173b59;
}

.ss-page .ss-chapters {
  border-color: #304539;
  background: transparent;
  color: #e3e9e1;
}

.sf-page .sf-chapters a,
.ss-page .ss-chapters a {
  padding: 9px 0;
  text-decoration: none;
}

.sf-page .sf-chapters a:hover,
.ss-page .ss-chapters a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.sf-page .sf-section,
.sf-page .sf-finale {
  padding-block: clamp(58px, 7vw, 100px);
  scroll-margin-top: 28px;
}

.sf-page .sf-section,
.sf-page .sf-finale {
  background: #f3efe5;
  color: #173b59;
}

.sf-page .sf-cream {
  background: #f8f5ed;
}

.sf-page .sf-packaging {
  background: #e9e2d5;
  color: #173b59;
}

.sf-page .sf-intro h2 {
  color: #073764;
}

.sf-page .sf-intro > p:last-child,
.sf-page .sf-copy,
.sf-page .sf-finale-copy p {
  color: #40594f;
}

.sf-page .sf-identity-study {
  max-width: 1120px;
  margin-top: clamp(30px, 5vw, 58px);
}

.sf-page .sf-identity-study > a {
  display: block;
  background: transparent;
  box-shadow: none;
}

.sf-page .sf-identity-study img,
.sf-page .sf-finale-grid img,
.sf-page .sf-details img {
  display: block;
  width: 100%;
  height: auto;
}

.sf-page .sf-details {
  gap: clamp(16px, 3vw, 28px);
}

.sf-page .sf-details figure {
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid #c9b98e;
  background: transparent;
}

.sf-page .sf-details figcaption,
.sf-page .sf-caption,
.sf-page .work-proof figcaption {
  color: #52614e;
  font-size: 11px;
  line-height: 1.6;
}

.sf-page .work-proof {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sf-page .work-proof img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.sf-page .sf-context,
.sf-page .sf-menu-note,
.sf-page .sf-finale-copy {
  color: #40594f;
}

.sf-page .sf-context {
  border-color: #c9b98e;
}

.sf-page .sf-finale-grid figure {
  margin: 0;
}

.sf-page .sf-finale-copy h2 {
  color: #073764;
}

.sf-page .inner-contact {
  padding-block: clamp(62px, 8vw, 104px);
  background: #e2c64b;
  color: #172b25;
}

.sf-page .inner-contact h2,
.sf-page .inner-contact h2 span {
  color: #172b25;
}

.sf-page .inner-contact .contact-actions .button {
  background: #073764;
  color: #fff;
}

.sf-page footer.wrap {
  color: #173b59;
}

.sf-page footer.wrap .footer-services a,
.sf-page footer.wrap .privacy {
  color: #173b59;
}

/* SoldjaSoulz keeps a continuous, music-led dark field. Paper remains with archive artwork. */
.ss-page .ss-section,
.ss-page .ss-light,
.ss-page .ss-related,
.ss-page .ss-ending {
  padding-block: clamp(62px, 7vw, 96px);
  background: #0d1510;
  color: #eef1ea;
  scroll-margin-top: 28px;
}

.ss-page .ss-related {
  background: #111c15;
}

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

.ss-page .ss-light .ss-intro > p:last-child {
  color: #bdcbbf;
}

.ss-page .ss-page figcaption,
.ss-page figcaption {
  color: #b6c5ba;
}

.ss-page .ss-light figcaption {
  color: #b6c5ba;
}

.ss-page .ss-letter {
  max-width: 940px;
  margin: 42px auto 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid #36493b;
  background: #f4f1e8;
  box-sizing: border-box;
}

.ss-page .ss-letter img {
  display: block;
  width: min(760px, 100%);
  height: auto;
  margin-inline: auto;
}

.ss-page .ss-letter figcaption {
  padding-top: 14px;
  border-top: 1px solid #d5d2c8;
  color: #425347;
}

.ss-page .ss-routes {
  gap: clamp(30px, 4vw, 52px);
}

.ss-page .ss-route .ss-art {
  min-height: 0;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid #33483a;
  background: #f4f1e8;
  box-shadow: none;
}

.ss-page .ss-route .ss-art img {
  display: block;
  width: 100%;
  height: auto;
}

.ss-page .ss-route .ss-art:hover {
  transform: translateY(-3px);
}

.ss-page .ss-route h3,
.ss-page .ss-ending h2 {
  color: #eef1ea;
}

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

.ss-page .ss-resolved {
  width: min(100%, 1000px);
  margin: clamp(36px, 5vw, 56px) auto 32px;
}

.ss-page .ss-resolved img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #36493b;
  background: #f4f1e8;
  box-sizing: border-box;
}

.ss-page .ss-details {
  gap: 18px;
}

.ss-page .ss-details figure {
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid #36493b;
  background: #f4f1e8;
}

.ss-page .ss-details figcaption {
  color: #425347;
}

.ss-page .ss-film video {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 386;
  background: #050806;
  object-fit: contain;
}

.ss-page .ss-film-controls {
  border-color: #34483a;
}

.ss-page .ss-film button {
  border: 1px solid #b5d99d;
  background: #b5d99d;
  color: #102016;
  border-radius: 999px;
}

.ss-page .testimonial-section {
  padding-block: clamp(62px, 7vw, 92px);
  background: #101a13;
  color: #eef1ea;
}

.ss-page .testimonial-card {
  border: 1px solid #34483a;
  background: #0d1510;
  box-shadow: none;
}

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

.ss-page .testimonial-intro p,
.ss-page .testimonial-card figcaption {
  color: #b7c6ba;
}

.ss-page .ss-progression figure {
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid #36493b;
  background: #f4f1e8;
}

.ss-page .ss-progression figcaption {
  color: #425347;
}

.ss-page .ss-ending-foot a,
.ss-page .ss-section a,
.ss-page .testimonial-section a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.ss-page .inner-contact {
  padding-block: clamp(62px, 8vw, 104px);
  border-top: 1px solid #39503e;
  background: #14251a;
  color: #eef1ea;
}

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

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

.ss-page .inner-contact .contact-actions .button {
  background: #b5d99d;
  color: #102016;
}

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

@media (max-width: 760px) {
  .sf-page .wrap,
  .ss-page .wrap,
  .sf-page > .inner-header,
  .ss-page > .inner-header {
    width: min(100% - 36px, 1280px);
  }

  .sf-page > .inner-header,
  .ss-page > .inner-header {
    padding-inline: 10px;
  }

  .sf-page .sf-kicker,
  .ss-page .ss-hero-label {
    align-items: flex-start;
    gap: 14px;
  }

  .sf-page .sf-kicker > span,
  .ss-page .ss-hero-label > span {
    max-width: 44%;
    text-align: right;
  }

  .sf-page .sf-opening.editorial-opening,
  .ss-page .ss-hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 36px;
  }

  .sf-page .editorial-opening-copy h1 {
    max-width: 600px;
    font-size: clamp(44px, 11vw, 62px);
  }

  .sf-page .editorial-opening-copy > p {
    font-size: 16px;
  }

  .sf-page .sf-opening .sf-hero-exhibit.editorial-opening-art {
    grid-row: auto;
  }

  .sf-page .editorial-opening-art img {
    max-height: none;
  }

  .sf-page .sf-credits.editorial-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sf-page .sf-credits > div {
    display: grid;
    grid-template-columns: minmax(120px, .8fr) 1.2fr;
    gap: 14px;
  }

  .sf-page .sf-credits dt {
    margin: 0;
  }

  .sf-page .sf-story,
  .sf-page .sf-application,
  .sf-page .sf-menu-note,
  .sf-page .sf-finale-copy {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sf-page .sf-details,
  .sf-page .sf-finale-grid {
    grid-template-columns: 1fr;
  }

  .sf-page .sf-table-heading {
    display: block;
  }

  .sf-page .sf-table-heading > a {
    display: inline-flex;
    margin-top: 16px;
  }

  .sf-page .inner-contact h2 {
    font-size: clamp(40px, 10vw, 56px);
  }

  .ss-page .ss-hero-foot h1 {
    font-size: clamp(42px, 10vw, 62px);
  }

  .ss-page .ss-hero-exhibit figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .ss-page .ss-section,
  .ss-page .ss-light,
  .ss-page .ss-related,
  .ss-page .ss-ending {
    padding-block: 58px;
  }

  .ss-page .ss-split,
  .ss-page .ss-route,
  .ss-page .ss-route:nth-child(even),
  .ss-page .ss-devil {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .ss-page .ss-route:nth-child(even) .ss-art {
    order: 0;
  }

  .ss-page .ss-routes {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 38px;
  }

  .ss-page .ss-route .ss-art {
    width: 100%;
    min-height: 0;
    padding: 18px;
  }

  .ss-page .ss-letter {
    margin-top: 28px;
  }

  .ss-page .ss-details {
    grid-template-columns: 1fr;
  }

  .ss-page .ss-details figure:last-child {
    grid-column: auto;
  }

  .ss-page .ss-page #resolved .ss-intro,
  .ss-page #resolved .ss-intro {
    display: block;
  }

  .ss-page .ss-film-controls,
  .ss-page .ss-ending-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .ss-page .ss-progression {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ss-page .ss-progression > span {
    transform: rotate(90deg);
  }

  .ss-page .testimonial-section {
    padding-block: 58px;
  }

  .ss-page .inner-contact h2 {
    font-size: clamp(42px, 10vw, 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-page *,
  .ss-page * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* SoldjaSoulz follow-up: keep its dark art direction full-bleed and deliberate. */
.ss-page {
  background: #080b09;
  color: #eef1ea;
}

.ss-page .ss-hero {
  background: #080b09;
}

.ss-page .ss-section,
.ss-page .ss-light,
.ss-page .ss-related,
.ss-page .ss-ending,
.ss-page .testimonial-section {
  background: #0b100d;
}

.ss-page .ss-related,
.ss-page .testimonial-section {
  background: #101812;
}

/* These sections used .wrap on the section itself, which boxed the background
   into a central stripe. Expand the section while retaining a 1280px content rail. */
.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 .ss-hero-grid {
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(30px, 4vw, 64px);
}

.ss-page .ss-hero-foot h1 {
  max-width: 650px;
  font-size: clamp(46px, 3.9vw, 58px);
  line-height: 1.04;
}

.ss-page .ss-hero-foot > div a,
.ss-page .ss-section a,
.ss-page .ss-ending-foot a,
.ss-page .testimonial-section a,
.ss-page .contact-actions a {
  color: #c8e6a7;
}

/* Keep archive paper within the source artwork; remove the extra cream mats. */
.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 #34483a;
  color: #b9c9bd;
}

.ss-page .ss-resolved img {
  border: 1px solid #34483a;
  background: transparent;
}

.ss-page .testimonial-card figcaption strong,
.ss-page .testimonial-card figcaption span {
  color: #c4d2c7;
}

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

.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 .contact-bottom > p,
.ss-page .inner-contact .contact-actions > a:not(.button) {
  color: #d1ded3;
}

.ss-page .inner-contact .eyebrow {
  color: #c8e6a7;
}

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

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

@media (max-width: 760px) {
  .ss-page section.ss-section.wrap {
    padding-inline: 18px;
  }

  .ss-page .ss-hero-foot h1 {
    font-size: clamp(42px, 10vw, 58px);
  }

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