.page-home {
  --home-hair: rgba(11, 30, 58, .12);
  --home-soft-ink: rgba(16, 24, 40, .74);
  --home-radius: 28px;
  color: var(--c-ink);
  background: var(--c-cream);
  overflow-x: hidden;
}

.page-home .mono {
  font-family: var(--font-mono);
  letter-spacing: .04em;
}

/* ---------- Hero ---------- */
.page-home .hero {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.25rem, 5vw, 4.5rem);
}

.page-home .hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.page-home .hero__kicker {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-orange-dark);
  text-transform: uppercase;
}

.page-home .hero__title {
  margin: .7rem 0 0;
  font-family: var(--font-head);
  font-size: clamp(2.05rem, 6.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 900;
  color: var(--c-deep);
}

.page-home .hero__title span {
  display: block;
  color: var(--c-orange-dark);
}

.page-home .hero__lead {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--home-soft-ink);
}

.page-home .quick-links {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.page-home .quick-links a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--home-hair);
  background: rgba(255, 255, 255, .6);
  color: var(--c-deep);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.page-home .quick-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-orange);
  flex: none;
}

.page-home .quick-links a:hover,
.page-home .quick-links a:focus-visible {
  border-color: var(--c-orange);
  color: var(--c-orange-dark);
}

.page-home .hero__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.4rem;
}

.page-home .hero__link {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 107, 44, .5);
  padding-bottom: 2px;
}

.page-home .hero__link:hover,
.page-home .hero__link:focus-visible {
  border-bottom-color: var(--c-orange);
  color: var(--c-orange-dark);
}

/* ---------- Map visual ---------- */
.page-home .map {
  position: relative;
  border-radius: var(--home-radius);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  min-height: 300px;
  background:
    radial-gradient(120% 80% at 72% 8%, rgba(45, 212, 191, .24), transparent 62%),
    radial-gradient(110% 90% at 12% 88%, rgba(255, 107, 44, .24), transparent 64%),
    var(--c-mid);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.page-home .map__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  mix-blend-mode: screen;
}

.page-home .map__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 212, 229, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 212, 229, .16) 1px, transparent 1px);
  background-size: 14% 12%;
  mask-image: radial-gradient(80% 70% at 50% 45%, #000 45%, transparent 100%);
}

.page-home .map__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 7px rgba(255, 107, 44, .16), 0 0 18px rgba(255, 107, 44, .75);
  animation: home-pulse 3.6s var(--ease) infinite;
}

.page-home .map__dot:nth-child(odd) {
  background: var(--c-teal);
  box-shadow: 0 0 0 7px rgba(45, 212, 191, .16), 0 0 18px rgba(45, 212, 191, .7);
}

.page-home .map__dot--a { left: 24%; top: 28%; animation-delay: 0s; }
.page-home .map__dot--b { left: 63%; top: 18%; animation-delay: .5s; }
.page-home .map__dot--c { left: 79%; top: 44%; animation-delay: 1.1s; }
.page-home .map__dot--d { left: 45%; top: 56%; animation-delay: 1.6s; }
.page-home .map__dot--e { left: 20%; top: 70%; animation-delay: 2.2s; }
.page-home .map__dot--f { left: 66%; top: 76%; animation-delay: 2.8s; }

@keyframes home-pulse {
  0%, 100% { opacity: .45; transform: scale(.82); }
  50% { opacity: 1; transform: scale(1.12); }
}

.page-home .map__caption {
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .85rem;
  padding: .78rem .95rem;
  border-radius: var(--r-md);
  background: rgba(7, 20, 38, .76);
  border: 1px solid rgba(201, 212, 229, .22);
  color: var(--c-cream);
  display: grid;
  gap: .25rem;
}

.page-home .map__caption-tag {
  font-size: .7rem;
  color: var(--c-teal);
}

.page-home .map__caption strong {
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- Section heads ---------- */
.page-home .section-head__title {
  color: var(--c-deep);
  letter-spacing: -.015em;
}

.page-home .section-head__desc {
  color: var(--home-soft-ink);
}

/* ---------- Scope ---------- */
.page-home .scope__head {
  max-width: 44rem;
}

.page-home .scope__grid {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

.page-home .scope-card {
  padding: 1.2rem 1.15rem 1.3rem;
  border-radius: var(--r-md);
  background: var(--c-pale);
  border: 1px solid var(--home-hair);
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.page-home .scope-card__num {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-deep);
}

.page-home .scope-card__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-orange-dark);
  letter-spacing: .01em;
}

.page-home .scope-card__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .32rem;
}

.page-home .scope-card__cities li {
  font-size: .8rem;
  padding: .2rem .52rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(11, 30, 58, .08);
  color: var(--c-deep);
}

.page-home .scope__more {
  margin: 1.35rem 0 0;
  font-size: .95rem;
}

.page-home .scope__more a {
  color: var(--c-orange-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 58, 11, .35);
}

.page-home .scope__more a:hover,
.page-home .scope__more a:focus-visible {
  border-bottom-color: var(--c-orange-dark);
}

/* ---------- Browser band ---------- */
.page-home .browser__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  padding: clamp(1.35rem, 4vw, 3rem);
  border-radius: var(--home-radius);
  background:
    radial-gradient(90% 70% at 88% 6%, rgba(45, 212, 191, .18), transparent 60%),
    linear-gradient(155deg, var(--c-deep), var(--c-mid) 72%);
  color: var(--c-cream);
}

.page-home .browser__eyebrow {
  margin: 0;
  font-size: .74rem;
  font-weight: 600;
  color: var(--c-teal);
}

.page-home .browser__copy h2 {
  margin: .6rem 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.015em;
}

.page-home .browser__lead {
  margin: .8rem 0 0;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--c-silver);
}

.page-home .browser__list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}

.page-home .browser__list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: .7rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(201, 212, 229, .2);
}

.page-home .browser__list .mono {
  font-size: .82rem;
  color: var(--c-orange);
  font-weight: 700;
}

.page-home .browser__list strong {
  display: block;
  font-size: .96rem;
  font-weight: 700;
}

.page-home .browser__list p {
  margin: .22rem 0 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--c-silver);
}

.page-home .browser__tags {
  margin: 1.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}

.page-home .browser__tags span {
  font-size: .76rem;
  padding: .24rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 212, 229, .35);
  color: var(--c-silver);
}

.page-home .browser__copy .btn {
  margin-top: 1.5rem;
}

.page-home .browser__shot {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(201, 212, 229, .1);
  border: 1px solid rgba(201, 212, 229, .22);
}

.page-home .browser__shot img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .browser__shot figcaption {
  padding: .72rem .9rem;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--c-silver);
}

/* ---------- Promise timeline ---------- */
.page-home .promise__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.page-home .promise__badge {
  display: inline-block;
  margin: 0;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--c-orange-soft);
  color: var(--c-orange-dark);
  font-size: .76rem;
  font-weight: 700;
}

.page-home .promise__aside h2 {
  margin: .8rem 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--c-deep);
}

.page-home .promise__desc {
  margin: .9rem 0 0;
  font-size: .98rem;
  line-height: 1.85;
  color: var(--home-soft-ink);
}

.page-home .promise__link {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--c-orange-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 58, 11, .4);
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.page-home .timeline__item {
  position: relative;
  padding-left: 2.3rem;
}

.page-home .timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-cream);
  border: 3px solid var(--c-orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 44, .12);
}

.page-home .timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1.55rem;
  bottom: -1.15rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(11, 30, 58, .22), rgba(45, 212, 191, .5));
}

.page-home .timeline__item:nth-child(4)::before {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .16);
}

.page-home .timeline__time {
  margin: 0;
  font-size: .76rem;
  font-weight: 700;
  color: var(--c-orange-dark);
}

.page-home .timeline__title {
  margin: .25rem 0 0;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-deep);
}

.page-home .timeline__text {
  margin: .35rem 0 0;
  font-size: .9rem;
  line-height: 1.72;
  color: var(--home-soft-ink);
}

.page-home .promise__note {
  grid-column: 1 / -1;
  margin: 0;
  padding: .85rem 1.05rem;
  border-radius: var(--r-sm);
  background: var(--c-orange-soft);
  color: #7a2b0a;
  font-size: .88rem;
  line-height: 1.75;
}

/* ---------- Proof ---------- */
.page-home .proof__head {
  max-width: 46rem;
}

.page-home .metrics {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: rgba(201, 212, 229, .28);
}

.page-home .metric {
  background: var(--c-deep);
  padding: 1.1rem .95rem 1.15rem;
}

.page-home .metric__value {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-teal);
}

.page-home .metric__value span {
  font-size: .62em;
  color: var(--c-silver);
}

.page-home .metric__label {
  margin: .4rem 0 0;
  font-size: .82rem;
  color: var(--c-silver);
}

.page-home .proof__body {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.page-home .proof__figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-pale);
  border: 1px solid var(--home-hair);
}

.page-home .proof__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .proof__figure figcaption {
  padding: .72rem .9rem;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--c-mist);
}

.page-home .export__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-deep);
}

.page-home .export__text {
  margin: .7rem 0 0;
  font-size: .95rem;
  line-height: 1.82;
  color: var(--home-soft-ink);
}

.page-home .export__note {
  margin-top: 1rem;
  border-radius: var(--r-sm);
  border: 1px dashed rgba(184, 58, 11, .38);
  background: rgba(255, 227, 214, .5);
  padding: .7rem .85rem;
}

.page-home .export__note summary {
  cursor: pointer;
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-orange-dark);
}

.page-home .export__note ul {
  margin: .6rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .35rem;
}

.page-home .export__note li {
  font-size: .87rem;
  line-height: 1.7;
  color: var(--home-soft-ink);
}

.page-home .export__link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--c-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(45, 212, 191, .6);
}

.page-home .export__link:hover,
.page-home .export__link:focus-visible {
  border-bottom-color: var(--c-deep);
}

/* ---------- Services ---------- */
.page-home .services__head {
  max-width: 44rem;
}

.page-home .services__grid {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
}

.page-home .svc-card {
  padding: 1.25rem 1.15rem;
  border-radius: var(--r-md);
  background: rgba(232, 238, 246, .62);
  border: 1px solid var(--home-hair);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}

.page-home .svc-card:hover {
  border-color: rgba(255, 107, 44, .55);
  transform: translateY(-2px);
}

.page-home .svc-card__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-deep);
}

.page-home .svc-card__text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--home-soft-ink);
}

.page-home .svc-card__scene {
  margin: auto 0 0;
  padding-top: .6rem;
  font-size: .78rem;
  color: var(--c-orange-dark);
  border-top: 1px solid rgba(11, 30, 58, .1);
}

.page-home .services__photo {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--c-pale);
  border: 1px solid var(--home-hair);
}

.page-home .services__photo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .services__photo figcaption {
  padding: .8rem 1rem;
  font-size: .84rem;
  line-height: 1.65;
  color: var(--c-mist);
}

/* ---------- CTA ---------- */
.page-home .cta {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-home .cta__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: clamp(1.35rem, 4vw, 2.5rem);
  border-radius: var(--home-radius);
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(45, 212, 191, .22), transparent 58%),
    linear-gradient(140deg, var(--c-pale), var(--c-orange-soft));
  border: 1px solid rgba(11, 30, 58, .08);
}

.page-home .cta__copy h2 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 3.2vw, 1.95rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--c-deep);
}

.page-home .cta__copy p {
  margin: .75rem 0 0;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--home-soft-ink);
  max-width: 40rem;
}

.page-home .cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.1rem;
}

.page-home .cta__phone {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-deep);
  text-decoration: none;
  border-bottom: 2px solid rgba(184, 58, 11, .45);
}

.page-home .cta__phone:hover,
.page-home .cta__phone:focus-visible {
  color: var(--c-orange-dark);
  border-bottom-color: var(--c-orange-dark);
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .page-home .scope__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .page-home .promise__inner {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
    align-items: start;
  }

  .page-home .promise__aside {
    position: sticky;
    top: 6.5rem;
  }

  .page-home .promise__note {
    grid-column: 2 / 3;
  }

  .page-home .proof__body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .page-home .cta__panel {
    grid-template-columns: minmax(0, 1.4fr) auto;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .page-home .hero__inner {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4rem);
  }

  .page-home .map {
    aspect-ratio: 6 / 7.2;
  }

  .page-home .browser__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .scope__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-home .svc-card:hover {
    transform: none;
  }
}
