.page-home {
  --home-num-size: clamp(3.4rem, 10vw, 6.5rem);
  background: var(--color-deep-blue);
  color: var(--color-light);
  overflow-x: hidden;
}

.page-home .home-hero {
  position: relative;
  padding-bottom: 2.5rem;
  scroll-margin-top: calc(var(--header-height) + 0.5rem);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: 46%;
  height: 62%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14), rgba(16, 35, 63, 0));
  clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
  pointer-events: none;
}

.page-home .home-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--color-silver);
}

.page-home .home-hero__crumb {
  color: var(--color-silver);
  text-decoration: none;
  transition: color var(--transition);
}

.page-home .home-hero__crumb:hover,
.page-home .home-hero__crumb:focus-visible {
  color: var(--color-bright-gold);
  outline: none;
}

.page-home .home-hero__crumb-sep {
  color: rgba(174, 182, 194, 0.6);
}

.page-home .home-hero__crumb-current {
  color: var(--color-bright-gold);
}

.page-home .home-hero__inner {
  display: grid;
  gap: 2.5rem;
  padding: 1.8rem 0 3rem;
  position: relative;
}

.page-home .home-hero__eyebrow {
  margin: 0;
  color: var(--color-bright-gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

.page-home .home-hero__bigword {
  display: block;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(3.8rem, 15vw, 8.2rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin: 1.2rem 0 0 -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212, 175, 55, 0.6);
}

.page-home .home-hero__title {
  margin: 0.5rem 0 1.1rem;
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  line-height: 1.14;
  max-width: 14em;
}

.page-home .home-hero__desc {
  margin: 0;
  color: var(--color-silver);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 36em;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.page-home .home-hero__visual {
  position: relative;
  padding: 0.7rem;
  background: var(--color-navy);
  border: 1px solid rgba(212, 175, 55, 0.28);
  clip-path: polygon(0 0, calc(100% - 1.4rem) 0, 100% 1.4rem, 100% 100%, 0 100%);
}

.page-home .home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(245, 214, 123, 0.5);
  clip-path: inherit;
  pointer-events: none;
  z-index: 2;
}

.page-home .home-hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-home .home-hero__quick {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  background: rgba(10, 22, 40, 0.94);
  border: 1px solid var(--color-accent-gold);
  color: var(--color-light);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 0.8rem) 0, 100% 0.8rem, 100% 100%, 0 100%);
}

.page-home .home-hero__quick::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-bright-gold);
  clip-path: inherit;
  transform: scaleX(0.6);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  pointer-events: none;
}

.page-home .home-hero__quick:hover::after,
.page-home .home-hero__quick:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.page-home .home-hero__quick:focus-visible {
  outline: 2px solid var(--color-bright-gold);
  outline-offset: 2px;
}

.page-home .home-hero__quick-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.4rem;
  background: var(--color-accent-gold);
  color: var(--color-deep-blue);
  font-family: var(--font-title);
  font-weight: 800;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-home .home-hero__quick-text {
  display: grid;
  gap: 0.2rem;
  margin-right: auto;
}

.page-home .home-hero__quick-text strong {
  font-size: 0.92rem;
  color: var(--color-light);
}

.page-home .home-hero__quick-text small {
  font-size: 0.75rem;
  color: var(--color-silver);
}

.page-home .home-hero__quick-arrow {
  font-size: 1.4rem;
  color: var(--color-bright-gold);
}

.page-home .home-section {
  padding: 3.2rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  scroll-margin-top: calc(var(--header-height) + 0.5rem);
}

.page-home .home-section--categories {
  background: linear-gradient(180deg, rgba(43, 42, 94, 0.22), rgba(10, 22, 40, 0) 40%);
}

.page-home .home-section--tools {
  background: rgba(16, 35, 63, 0.45);
}

.page-home .home-section__head {
  display: grid;
  grid-template-columns: minmax(3rem, 7rem) 1fr;
  gap: 0.8rem 1.4rem;
  align-items: start;
  margin-bottom: 2.4rem;
}

.page-home .home-section__head .eyebrow {
  margin: 0 0 0.2rem;
}

.page-home .home-section__num {
  display: inline-block;
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 0.85;
  font-size: var(--home-num-size);
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.6);
}

.page-home .home-section__title {
  margin: 0.3rem 0 0;
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  line-height: 1.25;
  max-width: 18em;
}

.page-home .home-linkline {
  color: var(--color-bright-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent-gold);
  transition: border-color var(--transition), color var(--transition);
}

.page-home .home-linkline:hover,
.page-home .home-linkline:focus-visible {
  border-color: var(--color-bright-gold);
  color: var(--color-light);
  outline: none;
}

.page-home .home-overview__grid {
  display: grid;
  gap: 1.4rem 2.4rem;
}

.page-home .home-overview__lead p {
  margin: 0 0 1.2rem;
  color: var(--color-silver);
  line-height: 1.85;
}

.page-home .home-overview__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.page-home .home-overview__fact {
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--color-silver);
  font-size: 0.8rem;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

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

.page-home .home-overview__item {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(16, 35, 63, 0.85), rgba(10, 22, 40, 0.6));
  border-left: 3px solid var(--color-accent-gold);
}

.page-home .home-overview__key {
  color: var(--color-bright-gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.page-home .home-overview__value {
  color: var(--color-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

.page-home .home-overview__figure {
  margin: 0;
  padding: 0.8rem;
  background: var(--color-navy);
  border: 1px solid rgba(174, 182, 194, 0.12);
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 1rem, 100% 100%, 0 100%);
}

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

.page-home .home-overview__figure figcaption {
  margin-top: 0.6rem;
  color: var(--color-silver);
  font-size: 0.8rem;
  line-height: 1.6;
}

.page-home .home-route__panel {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(16, 35, 63, 0.9), rgba(43, 42, 94, 0.35));
  border: 1px solid rgba(212, 175, 55, 0.4);
  clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 0 100%);
}

.page-home .home-route__step {
  padding: 1.5rem;
  background: rgba(245, 247, 250, 0.045);
}

.page-home .home-route__step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-accent-gold);
  color: var(--color-bright-gold);
  font-family: var(--font-title);
  font-weight: 700;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.page-home .home-route__step-title {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.page-home .home-route__step p {
  margin: 0 0 1rem;
  color: var(--color-silver);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .home-route__step .btn {
  margin-top: 0.6rem;
}

.page-home .home-route__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
  color: var(--color-accent-gold);
}

.page-home .home-route__divider span {
  font-family: var(--font-title);
  font-size: 1.8rem;
  line-height: 1;
}

.page-home .home-route__divider span::before {
  content: "↓";
}

.page-home .home-route__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-silver);
  font-size: 0.85rem;
}

.page-home .home-category__intro {
  max-width: 46rem;
  margin: 0 0 1.8rem;
  color: var(--color-silver);
  line-height: 1.85;
}

.page-home .home-category__groups {
  display: grid;
  gap: 1.8rem;
}

.page-home .home-category__group {
  padding: 1.2rem;
  background: rgba(16, 35, 63, 0.55);
}

.page-home .home-category__group-title {
  margin: 0 0 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-bright-gold);
  font-family: var(--font-title);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.page-home .home-category__card {
  padding: 0.9rem 1rem;
  margin-bottom: 0.75rem;
  background: rgba(10, 22, 40, 0.65);
  border: 1px solid rgba(174, 182, 194, 0.14);
  border-left: 2px solid var(--color-accent-gold);
  transition: border-color var(--transition), background var(--transition);
}

.page-home .home-category__card:last-child {
  margin-bottom: 0;
}

.page-home .home-category__card:hover {
  background: rgba(16, 35, 63, 0.9);
  border-color: var(--color-bright-gold);
}

.page-home .home-category__tag {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-light);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-home .home-category__card p {
  margin: 0;
  color: var(--color-silver);
  font-size: 0.8rem;
  line-height: 1.55;
}

.page-home .home-category__bottom {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
}

.page-home .home-category__figure {
  margin: 0;
  padding: 0.5rem;
  background: var(--color-navy);
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.page-home .home-category__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .home-category__legend {
  color: var(--color-silver);
  line-height: 1.8;
}

.page-home .home-category__legend-title {
  margin: 0 0 0.5rem;
  color: var(--color-light);
  font-size: 1.05rem;
  font-weight: 700;
}

.page-home .home-category__legend-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.page-home .home-category__legend-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.page-home .home-swatch {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
}

.page-home .home-swatch--gold {
  background: var(--color-accent-gold);
}

.page-home .home-swatch--teal {
  background: var(--color-deep-teal);
}

.page-home .home-swatch--indigo {
  background: var(--color-indigo);
}

.page-home .home-swatch--wine {
  background: var(--color-wine);
}

.page-home .home-tools__grid {
  display: grid;
  gap: 1.2rem;
}

.page-home .home-tools__card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: linear-gradient(145deg, var(--color-navy), rgba(10, 22, 40, 0.8));
  border: 1px solid rgba(174, 182, 194, 0.18);
  color: var(--color-light);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.page-home .home-tools__card:hover,
.page-home .home-tools__card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--color-bright-gold);
  background: linear-gradient(145deg, var(--color-indigo), rgba(10, 22, 40, 0.9));
}

.page-home .home-tools__card:focus-visible {
  outline: 2px solid var(--color-bright-gold);
  outline-offset: 3px;
}

.page-home .home-tools__name {
  margin-bottom: 0.6rem;
  color: var(--color-bright-gold);
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
}

.page-home .home-tools__card p {
  flex: 1;
  margin: 0 0 1rem;
  color: var(--color-silver);
  font-size: 0.9rem;
  line-height: 1.7;
}

.page-home .home-tools__link {
  color: var(--color-accent-gold);
  font-weight: 700;
  font-size: 0.9rem;
}

.page-home .home-tools__statusbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: rgba(16, 35, 63, 0.6);
  border-top: 2px solid var(--color-accent-gold);
  color: var(--color-silver);
  font-size: 0.9rem;
}

.page-home .home-tools__statusbar .status-dot {
  vertical-align: middle;
}

.page-home .home-tools__timeline {
  list-style: none;
  display: grid;
  gap: 0.8rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
}

.page-home .home-tools__timeline li {
  padding: 0.6rem 0 0.6rem 1rem;
  border-left: 2px solid var(--color-accent-gold);
  color: var(--color-silver);
  font-size: 0.85rem;
  line-height: 1.6;
}

.page-home .home-tools__timeline strong {
  display: block;
  color: var(--color-light);
  font-size: 1rem;
}

.page-home .home-tools__figure {
  margin: 2.2rem 0 0;
  padding: 0.8rem;
  background: var(--color-navy);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

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

.page-home .home-tools__figure figcaption {
  margin-top: 0.6rem;
  color: var(--color-silver);
  font-size: 0.82rem;
  line-height: 1.6;
}

.page-home .home-trustbar {
  margin-top: 2rem;
  padding: 2.2rem 0 2.6rem;
  background: linear-gradient(135deg, rgba(16, 35, 63, 0.85), rgba(11, 59, 60, 0.5));
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.page-home .home-trustbar__grid {
  display: grid;
  gap: 1.4rem;
}

.page-home .home-trustbar__title {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.page-home .home-trustbar__text {
  margin: 0;
  color: var(--color-silver);
  font-size: 0.88rem;
  line-height: 1.75;
}

.page-home .home-trustbar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-home .home-trustbar__chip {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-silver);
  font-size: 0.8rem;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.page-home .home-trustbar__contact-line {
  margin: 0.25rem 0;
  color: var(--color-silver);
  font-size: 0.9rem;
}

.page-home .home-trustbar__contact-line a {
  color: var(--color-bright-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent-gold);
}

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

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

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

  .page-home .home-trustbar__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 3rem;
    min-height: 68vh;
    padding-top: 2.5rem;
  }

  .page-home .home-hero__visual {
    transform: translateY(1.5rem);
  }

  .page-home .home-section {
    padding: 4.2rem 0;
  }

  .page-home .home-section__head {
    grid-template-columns: minmax(5rem, 9rem) 1fr;
    gap: 1rem 2rem;
  }

  .page-home .home-overview__grid {
    grid-template-columns: 5fr 7fr;
  }

  .page-home .home-overview__figure {
    grid-column: 2;
    grid-row: 2;
  }

  .page-home .home-route__panel {
    grid-template-columns: 1fr 3rem 1fr;
    align-items: stretch;
  }

  .page-home .home-route__divider {
    padding: 0;
  }

  .page-home .home-route__divider span::before {
    content: "→";
  }

  .page-home .home-route__meta {
    grid-column: 1 / -1;
  }

  .page-home .home-category__bottom {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
