.home-page {
  background: var(--color-frost-white);
}

.home-page a:not(.button) {
  font-weight: 700;
  text-decoration-thickness: 1px;
}

.home-page a:not(.button):hover,
.home-page a:not(.button):focus-visible {
  text-decoration-thickness: 2px;
}

.home-hero {
  padding-block: var(--space-7) var(--space-8);
}

.home-hero__figure {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: var(--border-dark);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  aspect-ratio: 16 / 7;
  background: var(--color-steel-blue);
}

.home-hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__figure figcaption {
  position: absolute;
  right: var(--space-3);
  bottom: var(--space-3);
  max-width: min(22rem, calc(100% - 2rem));
  margin: 0;
  padding: var(--space-2) var(--space-3);
  background: rgb(21 26 33 / 88%);
  color: var(--color-frost-white);
  font-size: var(--text-xs);
  line-height: 1.333;
}

.home-hero__beamline {
  position: absolute;
  top: 48%;
  left: 12%;
  width: 76%;
  height: 1px;
  background: rgb(240 244 248 / 78%);
  box-shadow: 0 0 0 1px rgb(21 26 33 / 28%);
  transform-origin: left center;
  animation: home-beamline 150ms ease-out both;
}

@keyframes home-beamline {
  from { opacity: 0; transform: scaleX(.4); }
  to { opacity: 1; transform: scaleX(1); }
}

.home-hero__sheet {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(16rem, 5fr);
  gap: var(--space-6);
  width: 100%;
  border: var(--border-dark);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: var(--space-6);
  background: var(--color-graphite);
}

.home-hero__intro,
.home-hero__meta {
  min-width: 0;
}

.home-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.home-hero__intro h1,
.home-hero__intro p,
.home-hero__meta p {
  margin: 0;
}

.home-hero__intro p {
  max-width: 58ch;
  color: var(--color-muted-steel);
}

.home-hero__actions {
  width: 100%;
  margin-top: var(--space-2);
}

.home-hero__meta {
  align-self: stretch;
  border-left: 1px solid rgb(240 244 248 / 12%);
  padding-left: var(--space-5);
  color: var(--color-muted-steel);
}

.home-hero__meta .label {
  margin-bottom: var(--space-3);
}

.home-hero__meta p {
  max-width: 34ch;
  font-size: var(--text-sm);
}

.home-symptoms__header,
.home-observations__header,
.home-services__header,
.home-process__header,
.home-faq__header {
  min-width: 0;
}

.home-symptoms__header {
  max-width: 55ch;
  margin-bottom: var(--space-6);
}

.home-symptoms__header .eyebrow,
.home-observations__header .eyebrow,
.home-services__header .eyebrow,
.home-process__header .eyebrow,
.home-preparation__content > .eyebrow,
.home-faq__header .eyebrow,
.home-final__copy .eyebrow {
  margin-bottom: var(--space-3);
}

.home-symptoms__header p {
  max-width: 55ch;
}

.home-symptoms__grid,
.home-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
}

.home-symptom-card,
.home-service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.home-symptom-card > *,
.home-service-card > * {
  min-width: 0;
  margin: 0;
}

.home-symptom-card p,
.home-service-card p {
  max-width: 38ch;
}

.home-symptom-card__footer {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: var(--border);
}

.home-observations {
  padding-block: var(--space-9);
  background: #e6ebf0;
}

.home-observations__header {
  max-width: 60ch;
  margin-bottom: var(--space-6);
}

.home-observations__header p {
  max-width: 60ch;
}

.home-observations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
}

.home-observation-card {
  min-width: 0;
  margin: 0;
  border: var(--border);
  border-radius: var(--radius-md);
  background: var(--color-frost-white);
}

.home-observation-card__image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: var(--border);
  aspect-ratio: 4 / 3;
}

.home-observation-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-observation-card__tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: rgb(21 26 33 / 90%);
  color: var(--color-frost-white);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.333;
  text-transform: uppercase;
}

.home-observation-card figcaption {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
}

.home-observation-card figcaption > * {
  min-width: 0;
  margin: 0;
}

.home-observation-card figcaption p {
  max-width: 48ch;
}

.home-assessment__panel {
  width: min(100%, 62.5rem);
  margin: 0;
}

.home-assessment__header {
  max-width: 58ch;
}

.home-assessment__items {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-5);
}

.home-assessment__item {
  min-width: 0;
  border-top: var(--border);
  padding-top: var(--space-5);
}

.home-assessment__item h3,
.home-assessment__item p {
  max-width: 62ch;
}

.home-assessment__item ul {
  max-width: 62ch;
  margin-bottom: 0;
}

.home-services__header {
  max-width: 58ch;
  margin-bottom: var(--space-6);
}

.home-services__header p {
  max-width: 58ch;
  color: var(--color-muted-steel);
}

.home-service-card {
  border-color: rgb(240 244 248 / 12%);
}

.home-service-card .label,
.home-service-card .status {
  color: var(--color-muted-steel);
}

.home-services__link {
  display: inline-block;
  margin-top: var(--space-6);
  color: var(--color-frost-white);
}

.home-process {
  border-top: 1px solid rgb(240 244 248 / 12%);
}

.home-process__header {
  margin-bottom: var(--space-7);
}

.home-process__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  width: 100%;
}

.home-process__timeline::before {
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: calc(100% - 1px);
  height: 1px;
  background: var(--color-line-steel);
  content: "";
}

.home-process__step {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.home-process__step > * {
  min-width: 0;
  margin: 0;
}

.home-process__number {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid var(--color-graphite);
  border-radius: 50%;
  background: var(--color-warm-amber);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1;
}

.home-process__step p {
  max-width: 36ch;
  color: var(--color-muted-steel);
}

.home-process__step a {
  color: var(--color-frost-white);
}

.home-preparation__grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(18rem, 4fr);
  gap: var(--space-6);
  width: 100%;
}

.home-preparation__content,
.home-preparation__cta {
  min-width: 0;
}

.home-preparation__content h2 {
  max-width: 58ch;
}

.home-checklist {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.home-checklist__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-4);
  min-width: 0;
  padding-top: var(--space-5);
  border-top: var(--border);
}

.home-checklist__item > * {
  min-width: 0;
}

.home-checklist__number {
  color: var(--color-warm-amber-hover);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
}

.home-checklist__item h3,
.home-checklist__item p {
  max-width: 58ch;
}

.home-preparation__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--space-4);
}

.home-preparation__cta > * {
  min-width: 0;
  margin: 0;
}

.home-preparation__cta p {
  max-width: 42ch;
  color: var(--color-muted-steel);
}

.home-preparation__cta .button {
  width: 100%;
}

.home-faq {
  background: #e6ebf0;
}

.home-faq__panel {
  width: min(100%, 56.25rem);
  margin: 0;
}

.home-faq__header {
  max-width: 62ch;
}

.home-faq__items {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
}

.home-faq__item {
  min-width: 0;
  border-top: var(--border);
}

.home-faq__item summary {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
}

.home-faq__item summary::-webkit-details-marker {
  display: none;
}

.home-faq__item summary::after {
  flex: 0 0 auto;
  color: var(--color-warm-amber-hover);
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
}

.home-faq__item[open] summary::after {
  content: "−";
}

.home-faq__answer {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 0 0 var(--space-5);
}

.home-faq__answer > * {
  min-width: 0;
  margin: 0;
}

.home-faq__answer p {
  max-width: 62ch;
}

.home-final {
  padding-top: 0;
}

.home-final__panel {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(12rem, 4fr);
  gap: var(--space-6);
  width: 100%;
  border: var(--border-dark);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  background: var(--color-graphite);
  color: var(--color-frost-white);
}

.home-final__copy,
.home-final__action {
  min-width: 0;
}

.home-final__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.home-final__copy > * {
  min-width: 0;
  margin: 0;
}

.home-final__copy p {
  max-width: 54ch;
  color: var(--color-muted-steel);
}

.home-final__action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.home-final__action .button {
  width: auto;
}

@media (max-width: 1050px) {
  .home-hero__sheet {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero__meta {
    border-top: 1px solid rgb(240 244 248 / 12%);
    border-left: 0;
    padding-top: var(--space-4);
    padding-left: 0;
  }
}

@media (max-width: 920px) {
  .home-process__timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
    padding-left: 4rem;
  }

  .home-process__timeline::before {
    top: 0;
    left: 1.5rem;
    width: 1px;
    height: calc(100% - 3rem);
  }

  .home-process__number {
    position: absolute;
    top: 0;
    left: -4rem;
  }

  .home-process__step p {
    max-width: 52ch;
  }
}

@media (max-width: 900px) {
  .home-symptoms__grid,
  .home-services__grid,
  .home-observations__grid,
  .home-preparation__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-symptom-card p,
  .home-service-card p {
    max-width: 62ch;
  }

  .home-preparation__cta {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .home-final__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-final__action {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding-block: var(--space-5) var(--space-7);
  }

  .home-hero__figure {
    aspect-ratio: 4 / 3;
  }

  .home-hero__figure figcaption {
    right: var(--space-2);
    bottom: var(--space-2);
  }

  .home-hero__sheet,
  .home-final__panel {
    gap: var(--space-5);
    padding: var(--space-4);
  }

  .home-hero__intro h1 {
    font-size: 2.125rem;
    line-height: 1.118;
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__actions .button {
    width: 100%;
  }

  .home-symptoms__header,
  .home-observations__header,
  .home-services__header {
    margin-bottom: var(--space-5);
  }

  .home-symptoms__grid,
  .home-services__grid,
  .home-observations__grid {
    gap: var(--space-4);
  }

  .home-observations {
    padding-block: var(--space-7);
  }

  .home-observation-card figcaption {
    padding: var(--space-4);
  }

  .home-assessment__panel,
  .home-faq__panel {
    width: 100%;
  }

  .home-process__header {
    margin-bottom: var(--space-6);
  }

  .home-process__timeline {
    padding-left: 3.5rem;
  }

  .home-process__timeline::before {
    left: 1.25rem;
  }

  .home-process__number {
    left: -3.5rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: var(--text-base);
  }

  .home-checklist__item {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .home-checklist__number {
    font-size: var(--text-lg);
  }

  .home-preparation__cta .button,
  .home-final__action .button {
    width: 100%;
  }

  .home-faq__item summary {
    font-size: var(--text-base);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__beamline {
    animation: none;
  }
}
