/* Homepage introduction and service details only.
   Reuse the existing palette; leave shared styles, availability checker,
   contact form, and other pages unchanged. */
#home .home-introduction {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 2rem;
  text-align: left;
}
#home .home-identity {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 1rem;
  align-items: center;
}
#home .home-identity .hero-headshot {
  grid-row: 1 / 4;
  width: 80px;
  height: 80px;
}
#home .home-identity-name {
  color: var(--color-white);
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
}
#home .home-identity .hero-title {
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0.3rem 0;
}
#home .home-about-link {
  color: #07111f;
  background: var(--color-blue);
  border: 1px solid var(--color-blue);
  border-radius: var(--radius-card);
  padding: 0.7rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  width: fit-content;
}
#home .home-about-link:hover { background: var(--color-blue-hover); }
#home .home-about-link:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}
#home .home-identity .slogan-line {
  grid-column: 1 / -1;
  margin: 1rem 0 0;
  font-size: 0.85rem;
}
#home .home-story { min-width: 0; }
#home .home-story-heading {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--color-white);
  margin: 0 0 1.4rem;
}
#home .home-story-heading span { color: var(--color-blue); }
#home .home-story .hero-intro {
  width: 100%;
  max-width: none;
  margin: 0 0 1.2rem;
  line-height: 1.8;
}
#home .home-story .home-story-lead {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.7;
}
#home .home-story strong { color: var(--color-white); }
#home .home-story-invitation {
  border-left: 2px solid var(--color-blue);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--color-text);
}
#home .home-story .hero-actions { justify-content: center; align-items: center; }
#services > .container > .section-title { margin-bottom: 0.8rem; }
#services .home-services-intro {
  max-width: 700px;
  margin: 0 auto 1.75rem;
  color: var(--color-gray-text);
  text-align: center;
}
#services .home-services-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 850px;
  margin-inline: auto;
}
#services .home-services-tabs .service-tab {
  flex-direction: row;
  justify-content: center;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  min-height: 56px;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
  min-width: 0;
}
#services .home-services-tabs .service-tab-icon { font-size: 1.5rem; }
#services .home-services-tabs .service-tab-label { overflow-wrap: anywhere; }
#services .home-service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
  padding: 1.5rem;
  width: fit-content;
  max-width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
}
#services .home-service-detail [hidden] { display: none !important; }
#services .home-service-detail .service-panel-title {
  text-align: center;
  font-size: clamp(1.3rem, 2.8vw, 1.65rem);
  line-height: 1.3;
  margin-bottom: 1rem;
}
#services .home-service-detail .service-panel-intro {
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
  line-height: 1.8;
}
#services .home-service-detail .service-panel-bullets {
  grid-template-columns: minmax(0, 1fr);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  gap: 0.85rem;
}
#services .home-service-detail .service-panel-bullets li {
  display: block;
  text-align: center;
}
#services .home-service-detail .service-panel-bullets li::before {
  margin: 0 0.55em 0.1em 0;
}
#services .home-service-note {
  color: var(--color-gray-text);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 1.25rem;
}
#services .home-service-action { margin-top: 1.5rem; }
#services .home-service-example {
  padding: 1.5rem;
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray-mid);
  border-radius: var(--radius-card);
  align-self: start;
  width: fit-content;
  max-width: 58ch;
  margin-inline: auto;
}
#services .home-service-example blockquote {
  color: var(--color-white);
  font-size: 1.2rem;
  line-height: 1.6;
}
#services .home-service-example > p:last-child {
  border-top: 1px solid var(--color-gray-mid);
  padding-top: 1rem;
  margin-top: 1.2rem;
  color: var(--color-gray-text);
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (min-width: 760px) {
  #home .home-introduction {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
  }
  #home .home-identity {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 0.5rem;
  }
  #home .home-identity .hero-headshot { width: 170px; height: 170px; margin-bottom: 1.2rem; }
  #home .home-identity-name { font-size: 1.45rem; }
  #home .home-identity .hero-title { margin: 0.7rem 0; }
  #home .home-identity .slogan-line {
    border-top: 1px solid var(--color-gray-mid);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
  }
  #services .home-service-detail { padding: 2rem; }
}
@media (max-width: 380px) {
  #services .home-service-detail { padding: 1.1rem; }
  #services .home-services-tabs .service-tab { padding: 0.7rem; gap: 0.5rem; }
  #services .home-services-tabs .service-tab-label { font-size: 0.8rem; }
  #services .home-service-example { padding: 1rem; }
}
