/* Homepage opening. Scoped to keep the shared page styles independent. */
.sj-home-hero {
  --hero-muted: #a9b6af;
  --hero-accent: #bce4bd;
  background: #14231f;
  color: #fbfaf8;
  padding-top: clamp(7.5rem, 11vw, 10rem);
}
.sj-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: 4rem;
}
.sj-home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--hero-accent);
  line-height: 1.6;
  font-size: .65rem;
}
.sj-home-hero__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.sj-home-hero__title {
  margin: 1.8rem 0 1.6rem;
  font-size: clamp(3.1rem, 5.45vw, 4.75rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -.06em;
}
.sj-home-hero__title > span { display: block; }
.sj-home-hero__title em {
  color: var(--hero-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.065em;
}
.sj-home-hero__description {
  max-width: 29rem;
  color: #c0cbc5;
  font-size: 1.075rem;
  line-height: 1.8;
}
.sj-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
  margin-top: 2rem;
}
.sj-home-hero__button,
.sj-home-hero__contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.3rem;
  font-size: .9rem;
}
.sj-home-hero__button {
  padding: .85rem 1.35rem;
  border-radius: 4px;
  background: var(--hero-accent);
  color: #14231f;
  font-weight: 500;
}
.sj-home-hero__contact { gap: .7rem; }
.sj-home-hero__button:hover { background: #d6f0d7; }
.sj-home-hero__contact:hover { color: var(--hero-accent); }
.sj-home-hero a:focus-visible {
  outline: 2px solid var(--hero-accent);
  outline-offset: 6px;
}
.sj-home-hero__byline {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  color: var(--hero-muted);
  margin-top: 2.5rem;
  font-size: .75rem;
  line-height: 1.6;
}
.sj-home-hero__byline > span { color: #64776b; }
.sj-home-proof {
  display: block;
  min-width: 0;
  padding: 1.2rem 0 0 2rem;
  border-left: 1px solid #3b5145;
  color: #fbfaf8;
}
.sj-home-proof__eyebrow {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  color: var(--hero-muted);
  font-size: .58rem;
  letter-spacing: .1em;
  line-height: 1.5;
}
.sj-home-proof__eyebrow > span:first-child { color: var(--hero-accent); }
.sj-home-proof h2 {
  margin-top: 1.4rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.sj-home-proof__result {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-block: .5rem 1.4rem;
}
.sj-home-proof__result strong {
  color: var(--hero-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(6.5rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.09em;
}
.sj-home-proof__result strong > span { font-size: .65em; vertical-align: .1em; }
.sj-home-proof__result p { font-size: .85rem; line-height: 1.6; color: #c0cbc5; }
.sj-home-proof__comparison { display: grid; gap: .8rem; }
.sj-home-proof__bar-row {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) 1.5rem;
  gap: .75rem;
  align-items: center;
  font-size: .65rem;
  color: var(--hero-muted);
}
.sj-home-proof__bar-row > span:last-child { text-align: right; }
.sj-home-proof__track { display: block; height: 6px; }
.sj-home-proof__track > span { display: block; height: 100%; width: var(--bar-size); background: #708a77; }
.sj-home-proof__bar-row--after { color: var(--hero-accent); }
.sj-home-proof__bar-row--after .sj-home-proof__track > span { background: var(--hero-accent); }
.sj-home-proof__description {
  max-width: 24rem;
  margin-block: 1.6rem 1.25rem;
  color: var(--hero-muted);
  font-size: .8rem;
  line-height: 1.7;
}
.sj-home-proof__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  border-top: 1px solid #3b5145;
  font-size: .8rem;
}
.sj-home-proof__link > span:last-child { font-size: 1.4rem; color: var(--hero-accent); }
.sj-home-proof:is(:hover, :focus-visible) .sj-home-proof__link { color: var(--hero-accent); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes sj-hero-enter {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes sj-hero-line-draw {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }
  .sj-home-hero__eyebrow,
  .sj-home-hero__title > span,
  .sj-home-hero__description,
  .sj-home-hero__actions,
  .sj-home-hero__byline,
  .sj-home-proof {
    animation: sj-hero-enter 850ms cubic-bezier(.22, 1, .36, 1) backwards;
  }
  .sj-home-hero__eyebrow::before {
    transform-origin: left;
    animation: sj-hero-line-draw 700ms cubic-bezier(.22, 1, .36, 1) 100ms backwards;
  }
  .sj-home-hero__title > span:first-child { animation-delay: 120ms; }
  .sj-home-hero__title > span:last-child { animation-delay: 240ms; }
  .sj-home-hero__description { animation-delay: 380ms; }
  .sj-home-hero__actions { animation-delay: 480ms; }
  .sj-home-hero__byline { animation-delay: 580ms; }
  .sj-home-proof { animation-delay: 280ms; }
  .sj-home-hero__title em { position: relative; display: inline-block; }
  .sj-home-hero__title em::after {
    content: "";
    position: absolute;
    inset: auto 0 -.08em;
    height: 1px;
    background: currentColor;
    opacity: .55;
    transform-origin: left;
    animation: sj-hero-line-draw 950ms cubic-bezier(.22, 1, .36, 1) 650ms backwards;
  }
  .sj-home-proof__track > span {
    transform-origin: left;
    animation: sj-hero-line-draw 1100ms cubic-bezier(.22, 1, .36, 1) 550ms backwards;
  }
  .sj-home-proof__bar-row--after .sj-home-proof__track > span { animation-delay: 800ms; }
  .sj-home-hero__button {
    transition: background-color 180ms, color 180ms, translate 250ms;
  }
  .sj-home-hero__button > span[aria-hidden],
  .sj-home-hero__contact > span[aria-hidden],
  .sj-home-proof__link > span:last-child {
    display: inline-block;
    transition: translate 250ms cubic-bezier(.22, 1, .36, 1);
  }
  .sj-home-hero__button:focus-visible > span[aria-hidden],
  .sj-home-hero__contact:focus-visible > span[aria-hidden],
  .sj-home-proof:focus-visible .sj-home-proof__link > span:last-child { translate: 3px -3px; }
  .sj-home-proof:focus-visible,
  .sj-home-hero__actions:focus-within { animation: none; }
  @media (hover: hover) and (pointer: fine) {
    .sj-home-hero__button:hover { translate: 0 -2px; }
    .sj-home-hero__button:hover > span[aria-hidden],
    .sj-home-hero__contact:hover > span[aria-hidden],
    .sj-home-proof:hover .sj-home-proof__link > span:last-child { translate: 3px -3px; }
  }
}
@media (max-width: 63.99rem) {
  .sj-home-hero__grid { gap: 2rem; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .sj-home-hero__title { font-size: clamp(2.7rem, 5.4vw, 3.5rem); }
  .sj-home-hero__description { font-size: 1rem; }
  .sj-home-proof { padding-left: 1.4rem; }
  .sj-home-proof__result { gap: 1rem; }
}
@media (max-width: 47.99rem) {
  .sj-home-hero { padding-top: 7rem; }
  .sj-home-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; padding-bottom: 2.5rem; }
  .sj-home-hero__title { font-size: clamp(2.75rem, 8vw, 4rem); margin-top: 1.4rem; }
  .sj-home-hero__description { max-width: 32rem; }
  .sj-home-hero__byline { margin-top: 1.75rem; }
  .sj-home-proof { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid #3b5145; }
  .sj-home-proof h2 { font-size: 1.8rem; }
  .sj-home-proof__result { margin-block: .25rem 1rem; }
}
