.p-home .hero-lead { text-wrap: balance; }

.p-home .apart-band {
  padding-block: clamp(3rem, 5.5vw, 5rem);
  border-block: 1px solid var(--line);
  background: white;
}
.p-home .apart-band h2 { margin-bottom: 1.75rem; }
@media (min-width: 370px) and (max-width: 599px) {
  .p-home .apart-band .diff-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
  .p-home .apart-band .diff-card { padding: .875rem; }
  .p-home .apart-band .diff-card-label { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .p-home .apart-band .diff-card h3 { margin: .75rem 0; font-size: 1.18rem; }
  .p-home .apart-band .diff-card a { gap: .25rem; }
}

.p-home :is(#signals, #company-hq) .role-grid {
  --width: 64.5rem;
  min-height: 0;
  padding-block: clamp(4rem, 7vw, 6.25rem);
}
.p-home :is(#signals, #company-hq) .role-window { width: 100%; }
.p-home .signal-kinds { margin-top: 1.75rem; }
.p-home #signals .ticks { margin-top: .875rem; gap: .625rem; }
.p-home .home-thread { display: grid; gap: .75rem; }
.p-home .home-thread li {
  width: fit-content;
  max-width: 94%;
  padding: .75rem .9rem;
  border-radius: .85rem .85rem .85rem .2rem;
  background: var(--well);
}
.p-home .home-thread .outgoing {
  justify-self: end;
  border-radius: .85rem .85rem .2rem .85rem;
  background: #e8e1f7;
}
.p-home .home-thread .event {
  margin-left: .375rem;
  padding: .125rem .75rem;
  border-left: 2px solid #a6cdbf;
  border-radius: 0;
  background: transparent;
}
.p-home .turn-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .125rem .75rem;
  font-size: .8125rem;
  color: var(--muted);
}
.p-home .turn-meta strong { color: var(--ink); font-weight: 650; }
.p-home .home-thread p { margin-top: .25rem; font-size: var(--small-body); line-height: 1.5; }

.p-home .home-privacy { background: white; border-block: 1px solid var(--line); }
.p-home .feature-intro { display: grid; align-items: start; gap: 1rem 3rem; margin-bottom: 2.25rem; }
.p-home .feature-intro h2 { text-wrap: balance; }
.p-home .feature-intro p { max-width: 38rem; color: var(--body); }
.p-home .systems-columns { display: grid; gap: 2rem; }
.p-home .systems-columns h3 { margin-bottom: 1rem; font-size: 1.4375rem; }
.p-home .system-list { border-block: 1px solid var(--line); }
.p-home .system-list li + li, .p-home .built-work details + details { border-top: 1px solid var(--line); }
.p-home .system-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .8125rem .125rem;
}
.p-home .system-list a > .icon, .p-home .built-work summary .icon { width: .95rem; color: var(--violet); }
.p-home .system-list a:hover strong, .p-home .built-work summary:hover { color: var(--violet); }
.p-home .system-list p, .p-home .built-work details p { font-size: var(--small-body); line-height: 1.5; }
.p-home .system-list p { margin-top: .125rem; }
.p-home .built-work {
  align-self: start;
  min-width: 0;
  padding: clamp(1.125rem, 2.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.125rem;
  background: white;
  box-shadow: var(--shadow);
}
.p-home .built-work summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: var(--control-size);
  padding: .625rem 0;
  font-weight: 600;
}
.p-home .built-work details[open] summary .icon { transform: rotate(180deg); }
.p-home .built-work details p { padding-bottom: .875rem; }

@media (min-width: 768px) {
  .p-home .feature-intro { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .p-home .systems-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3.5rem); }
}
@media (min-width: 980px) {
  .p-home #signals .role-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .p-home #company-hq .role-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
@media (max-width: 979px) {
  .p-home :is(#signals, #company-hq) .role-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .p-home :is(#signals, #company-hq) :is(.role-copy, .role-window) {
    width: 100%;
    max-width: 40rem;
    grid-area: auto;
    justify-self: center;
  }
}

/* Keep the floating program tiles beside the copy as the available space narrows. */
@media (min-width: 768px) and (max-width: 1399px) {
  .p-home .hero { --half-intro: min(31vw, 20rem); }
  .p-home .hero-intro { width: calc(2 * var(--half-intro)); }
  .p-home .float-tile:nth-child(-n+4) { left: auto; right: calc(50% + var(--half-intro) + .35rem); }
  .p-home .float-tile:nth-child(n+5) { right: auto; left: calc(50% + var(--half-intro) + .35rem); }
  .p-home :is(.tile-1, .tile-3) { margin-right: 2vw; }
  .p-home :is(.tile-4, .tile-7) { margin-left: 2vw; }
}

.p-home .directory-intro { margin-bottom: 2rem; }
.p-home .directory-intro > p:last-child {
  max-width: 26rem;
  margin-top: .75rem;
  color: var(--muted);
  line-height: 1.6;
}
.p-home .industry-directory { display: grid; gap: 2rem; }
.p-home .industry-group {
  --group-accent: var(--violet);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: .85rem;
  min-width: 0;
  border-top: .15rem solid var(--group-accent);
  padding-top: .85rem;
}
.p-home .industry-group:nth-child(2) { --group-accent: var(--teal); }
.p-home .industry-group:nth-child(3) { --group-accent: #485d98; }
.p-home .industry-group h3 {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.3rem;
}
.p-home .industry-group .icon { color: var(--group-accent); }
.p-home .industry-list { display: grid; gap: .65rem; }
.p-home .industry-card {
  display: grid;
  grid-template-columns: 26% minmax(0, 1fr);
  align-items: stretch;
  gap: .85rem;
  height: 100%;
  padding: .45rem;
  border-color: var(--line);
  border-radius: 1rem;
}
.p-home .card-picture {
  position: relative;
  min-height: 4.9rem;
  overflow: hidden;
  border-radius: .55rem;
  background: var(--well);
}
.p-home .card-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-home .industry-copy { align-self: center; padding: .45rem .4rem .45rem 0; }
.p-home .industry-copy h4 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .375rem;
  font: 600 1.125rem/1.15 var(--display);
  letter-spacing: -.035em;
  color: var(--ink);
}
.p-home .industry-copy h4 .icon { width: .85em; height: .85em; }
.p-home .industry-copy p { margin-top: .375rem; font-size: 1rem; line-height: 1.4; }

@media (min-width: 640px) {
  .p-home .directory-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    column-gap: 2rem;
  }
  .p-home .directory-intro .section-label { grid-column: 1 / -1; }
  .p-home .directory-intro > p:last-child { justify-self: end; margin: 0; }
  .p-home .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .p-home .wide-photo { grid-row: span 2; }
  .p-home .wide-photo .industry-card { grid-template: minmax(6.5rem, 1fr) auto / minmax(0, 1fr); gap: .4rem; }
  .p-home .wide-photo .industry-copy { padding: .35rem .6rem .65rem; }
}
@media (min-width: 1024px) {
  .p-home .directory-intro { margin-bottom: 2.75rem; }
  .p-home .industry-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
  .p-home .industry-list { grid-template-columns: minmax(0, 1fr); }
}
