/* Homepage editorial sections. Shared identity and contact styles live in site.css. */
.sj-home-section { padding-block: clamp(3.5rem, 6.5vw, 6rem); }
.sj-home-section h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; line-height: 1.12; letter-spacing: -.045em; }
.sj-home-kicker { color: #607066; font-size: .62rem; line-height: 1.6; }
.sj-home-section__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.7rem; }
.sj-home-kicker + h2 { margin-top: 1rem; }
.sj-home-text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; font-size: .85rem; color: #0f6e5c; }
.sj-home-text-link > span { display: inline-block; font-size: 1.2rem; }
.sj-home-text-link:hover { text-decoration: underline; text-underline-offset: .3em; }
#selected-work { scroll-margin-top: 5rem; }
.sj-home-project {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) 10rem 1.5rem;
  gap: 2rem;
  align-items: center;
  padding-block: 1.6rem;
  border-top: 1px solid #d7ded5;
}
.sj-home-project:last-child { border-bottom: 1px solid #d7ded5; }
.sj-home-project__image { overflow: hidden; border-radius: 3px; background: #e9eee5; }
.sj-home-project img { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; }
.sj-home-project h3 { margin-block: .65rem; font-size: 1.35rem; font-weight: 400; line-height: 1.3; letter-spacing: -.03em; }
.sj-home-project__copy > p:last-child { max-width: 33rem; font-size: .88rem; line-height: 1.75; color: #59675d; }
.sj-home-project__outcome { padding-left: 1.6rem; border-left: 1px solid #d7ded5; }
.sj-home-project__outcome strong { display: block; font-size: 2rem; font-weight: 400; color: #0f6e5c; letter-spacing: -.05em; white-space: nowrap; }
.sj-home-project__outcome > span { display: block; margin-top: .4rem; font-size: .75rem; line-height: 1.6; color: #59675d; }
.sj-home-project__arrow { font-size: 1.4rem; color: #0f6e5c; }
.sj-home-project:is(:hover, :focus-visible) h3 { color: #0f6e5c; }
.sj-home-services { background: #eef1eb; border-block: 1px solid #d7ded5; }
.sj-home-section__aside { max-width: 20rem; color: #59675d; font-size: .95rem; line-height: 1.7; }
.sj-home-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sj-home-service { display: flex; flex-direction: column; padding: 1.5rem 2rem .5rem; border-top: 1px solid #bdc9bd; }
.sj-home-service:first-child { padding-left: 0; }
.sj-home-service:last-child { padding-right: 0; }
.sj-home-service + .sj-home-service { border-left: 1px solid #bdc9bd; }
.sj-home-service h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 400; line-height: 1.25; letter-spacing: -.035em; margin-block: 1.6rem 1rem; }
.sj-home-service > p { color: #59675d; font-size: .88rem; line-height: 1.8; margin-bottom: 1.5rem; }
.sj-home-service__detail { color: #526457; font-size: .7rem; line-height: 1.8; margin-top: auto; }
.sj-home-service__link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; font-size: .8rem; color: #0f6e5c; }
.sj-home-service__link > span { font-size: 1.3rem; }
.sj-home-service:is(:hover, :focus-visible) h3 { color: #0f6e5c; }
.sj-home-services__foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid #bdc9bd; padding-top: 1.5rem; margin-top: 2.5rem; }
.sj-home-services__foot > p { max-width: 35rem; color: #59675d; font-size: .78rem; line-height: 1.7; }
.sj-home-services__foot > a { flex-shrink: 0; }
.sj-home-approach__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 5rem; }
.sj-home-approach__intro { max-width: 20rem; margin-block: 1.5rem 1rem; font-size: .95rem; line-height: 1.8; color: #59675d; }
.sj-home-steps { list-style: none; padding: 0; margin: 0; }
.sj-home-steps li { display: flex; gap: 1.7rem; padding-block: 1.65rem; border-top: 1px solid #d7ded5; }
.sj-home-steps li:last-child { padding-bottom: 0; }
.sj-home-steps li > span { padding-top: .3rem; }
.sj-home-steps h3 { font-size: 1.3rem; font-weight: 400; line-height: 1.3; letter-spacing: -.025em; }
.sj-home-steps p { margin-top: .65rem; max-width: 28rem; color: #59675d; font-size: .88rem; line-height: 1.8; }
@media (prefers-reduced-motion: no-preference) {
  .sj-home-project img { transition: transform 600ms cubic-bezier(.22, 1, .36, 1); }
  .sj-home-project__arrow,
  .sj-home-service__link > span,
  .sj-home-text-link > span { transition: translate 250ms; }
  .sj-home-project:focus-visible .sj-home-project__arrow,
  .sj-home-service:focus-visible .sj-home-service__link > span,
  .sj-home-text-link:focus-visible > span { translate: 3px -3px; }
  @media (hover: hover) and (pointer: fine) {
    .sj-home-project:hover img { transform: scale(1.045); }
    .sj-home-project:hover .sj-home-project__arrow,
    .sj-home-service:hover .sj-home-service__link > span,
    .sj-home-text-link:hover > span { translate: 3px -3px; }
  }
}
@media (max-width: 63.99rem) {
.sj-home-project { grid-template-columns: 7.5rem minmax(0, 1fr) 8rem 1rem; gap: 1.25rem; }
  .sj-home-project__outcome { padding-left: 1rem; }
  .sj-home-service { padding-inline: 1.2rem; }
  .sj-home-approach__grid { gap: 3rem; }
}
@media (max-width: 47.99rem) {
.sj-home-section__head { flex-direction: column; align-items: start; gap: 1rem; margin-bottom: 1.8rem; }
  .sj-home-project { grid-template-columns: 6rem minmax(0, 1fr) 1.5rem; gap: 1rem; }
  .sj-home-project__copy { grid-column: 1 / -1; grid-row: 2; }
  .sj-home-project__outcome { border: 0; padding-left: 0; }
  .sj-home-project__outcome strong { font-size: 1.65rem; }
  .sj-home-project h3 { font-size: 1.35rem; }
  .sj-home-services__grid,
  .sj-home-approach__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .sj-home-service { padding: 1.5rem 0 0; }
  .sj-home-service + .sj-home-service { border-left: 0; }
  .sj-home-service h3 { font-size: 1.65rem; margin-top: 1rem; }
  .sj-home-service h3 br { display: none; }
  .sj-home-service__link { margin-top: 1rem; }
  .sj-home-services__foot { flex-direction: column; align-items: start; gap: .75rem; }
  .sj-home-steps li { gap: 1.1rem; }
}
