/* Homies Digital corporate pages: shared extension using the approved site tokens. */
.section__k {
  margin: 0 0 .65rem;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.section__k--inverse { color: var(--night-soft); }

/* The nested title group keeps the pattern strip aligned beside the services heading. */
.services__title { grid-column: 1; }
.services__head .services__title .h2 { grid-column: auto; }
.peak__head .section__k { position: relative; }

/* The three-part project route reads as a repeatable checklist, not three paragraphs. */
.stop__details { display: grid; gap: .9rem; margin: .9rem 0 0; }
/* Label column sized to the longest label ("You provide", ~4.5rem) plus air; labels sit on the text's first baseline. */
.stop__details > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .65rem; align-items: baseline; }
.stop__details dt { color: var(--ink); font-size: .8125rem; font-weight: 500; line-height: 1.5; }
.stop__details dd { margin: 0; color: var(--ink-soft); font-size: .9375rem; line-height: 1.55; text-wrap: pretty; }

.after-write { max-width: 54rem; margin: clamp(2rem, 5vw, 4rem) auto 0; padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--rule); color: var(--ink); }
.after-write h3 { margin: 0 0 .8rem; color: var(--ink); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; line-height: 1.2; }
.after-write ol { margin: 0; padding-left: 1.35rem; display: grid; gap: .55rem; }
.after-write li, .after-write > p:last-child { color: var(--ink-soft); font-size: .9375rem; line-height: 1.6; }
.after-write > p:last-child { margin: .9rem 0 0; }

/* Page-level footer: four functional groups first, entity line last. */
.site-footer { padding: clamp(2.75rem, 5vw, 4.5rem) 0 1.25rem; background: var(--paper-2); border-top: 1px solid var(--rule); }
.site-footer__top { display: grid; gap: 2.5rem; }
.site-footer__brand { align-self: start; width: fit-content; color: var(--ink); font-size: 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.75rem); }
.site-footer__col h2 { margin: 0 0 .8rem; color: var(--ink-soft); font-size: .75rem; font-weight: 500; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.site-footer__col ul { list-style: none; display: grid; gap: .3rem; margin: 0; padding: 0; }
.bar__nav li a[aria-current="page"] { color: var(--ink); background: var(--paper-2); }
.site-footer__col li, .site-footer__col p { margin: 0; font-size: .9375rem; line-height: 1.55; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 2rem; text-decoration-thickness: .06em; text-underline-offset: .2em; }
.site-footer__col a:hover { text-decoration-thickness: .12em; }
.site-footer__contact { max-width: 24rem; }
.site-footer__contact p + p { margin-top: .7rem; color: var(--ink-soft); font-size: .875rem; }
/* A link inside a sentence stays inline: the 2rem tap box is for list links and would stretch the first line. */
.site-footer__contact p + p a { display: inline; min-height: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 2.25rem; padding-top: 1rem; border-top: 1px solid var(--rule-strong); }
.site-footer__bottom p { margin: 0; color: var(--ink-soft); font-size: .8125rem; line-height: 1.5; }
.ssm-number { white-space: nowrap; }

/* Compact editorial pages share the site's shell, type and warm paper field. */
.legal-hero { position: relative; padding: calc(var(--bar-top) + var(--bar-h) + clamp(3rem, 8vw, 6.25rem)) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); overflow: clip; }
.legal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(48rem 25rem at 94% 5%, rgb(208 216 206 / .42), transparent 70%), radial-gradient(36rem 24rem at 0% 0%, rgb(208 216 206 / .2), transparent 70%); }
.legal-hero .wrap, .legal-content { max-width: calc(54rem + 2 * var(--gutter)); }
.legal-title { max-width: 48rem; margin: 0; color: var(--ink); font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.legal-lede { max-width: 45rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.55; }
.legal-content { padding-top: clamp(2.75rem, 6vw, 4.75rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.legal-content section + section { margin-top: clamp(2rem, 4vw, 3rem); }
.legal-content h2 { margin: 0 0 .7rem; color: var(--ink); font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.legal-content h3 { margin: 1.3rem 0 .4rem; color: var(--ink); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }
.legal-content p, .legal-content li { max-width: 68ch; color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.legal-content p { margin: .65rem 0 0; }
.legal-content ul, .legal-content ol { margin: .7rem 0 0; padding-left: 1.35rem; }
.legal-content li + li { margin-top: .45rem; }
.legal-content a { text-decoration-thickness: .06em; text-underline-offset: .2em; }
.legal-content a:hover { text-decoration-thickness: .12em; }
.legal-updated { margin: 0 0 2.5rem !important; color: var(--ink-soft); font-size: .875rem !important; }
.legal-callout { margin-top: 1.25rem; padding: 1rem 1.15rem; border-left: 3px solid var(--ink); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--paper-2); }
.legal-callout p:first-child { margin-top: 0; }
.notfound { min-height: min(72vh, 44rem); display: grid; align-content: center; padding-top: calc(var(--bar-top) + var(--bar-h) + 3rem); padding-bottom: 4rem; }
.notfound .pill { margin-top: 1.35rem; width: fit-content; }

@media (min-width: 60rem) and (max-width: 68rem) {
  .bar__inner { gap: .35rem; padding-left: .75rem; }
  .bar__nav, .bar.is-open .bar__nav { gap: .2rem; }
  .bar__nav ul { gap: 0; margin-right: .6rem; } /* links 12px apart, CTA ~19px away: reads as its own group */
  .bar__nav li a { padding-inline: .38rem; font-size: .84rem; }
  .bar__cta { gap: .3rem; padding-left: .65rem; font-size: .84rem; }
  .bar__cta .pill__chip { width: 1.75rem; height: 1.75rem; }
}
@media (max-width: 59.99rem) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; }
}
@media (max-width: 39.99rem) {
  .stop__details { gap: .75rem; }
  .stop__details > div { grid-template-columns: 5.25rem minmax(0, 1fr); gap: .5rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__top { gap: 1.75rem; }
  .site-footer__bottom { display: grid; }
}
