.page-home {
  --hero-offset: 12px;
  --stat-card-gap: 0.875rem;
  background: var(--paper-dark);
  color: var(--ink);
}

.page-home .hero-frame {
  position: relative;
  padding: 2.5rem 0 2rem;
  overflow: hidden;
}

.page-home .hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 71, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 71, 160, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.page-home .hero-frame__inner {
  position: relative;
  z-index: 1;
}

.page-home .hero-frame__viewport {
  position: relative;
  border: 3px solid var(--accent-blue);
  background:
    linear-gradient(rgba(0, 71, 160, 0.02), rgba(0, 71, 160, 0.02)),
    var(--paper-light);
  padding: 1.5rem;
  box-shadow:
    0 0 0 1px rgba(184, 134, 11, 0.55),
    12px 12px 0 rgba(0, 71, 160, 0.08);
}

.page-home .hero-frame__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 2;
  pointer-events: none;
}

.page-home .hero-frame__corner--tl {
  top: -4px;
  left: -4px;
  border-top: 3px solid var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
}

.page-home .hero-frame__corner--tr {
  top: -4px;
  right: -4px;
  border-top: 3px solid var(--accent-gold);
  border-right: 3px solid var(--accent-gold);
}

.page-home .hero-frame__corner--bl {
  bottom: -4px;
  left: -4px;
  border-bottom: 3px solid var(--accent-gold);
  border-left: 3px solid var(--accent-gold);
}

.page-home .hero-frame__corner--br {
  bottom: -4px;
  right: -4px;
  border-bottom: 3px solid var(--accent-gold);
  border-right: 3px solid var(--accent-gold);
}

.page-home .hero-frame__masthead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: 0.625rem;
  margin-bottom: 1.5rem;
}

.page-home .hero-frame__brand {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-blue);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.page-home .hero-frame__edition {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  white-space: nowrap;
}

.page-home .hero-frame__body {
  display: grid;
  gap: 1.5rem;
}

.page-home .hero-frame__content {
  position: relative;
  z-index: 1;
}

.page-home .hero-frame__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  border-left: 3px solid var(--accent-gold);
  padding-left: 0.75rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.page-home .hero-frame h1 {
  font-family: var(--font-headings);
  font-size: 2.75rem;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.page-home .hero-frame__lede {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0;
}

.page-home .hero-frame__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.page-home .hero-frame__asset {
  border: 1px solid var(--line-light);
  padding: 4px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.page-home .hero-frame__scale {
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 10px;
  display: flex;
  gap: 3px;
  padding: 0 4px;
  pointer-events: none;
}

.page-home .hero-frame__scale span {
  flex: 1;
  height: 5px;
  background: var(--accent-blue);
  opacity: 0.22;
  align-self: flex-end;
}

.page-home .hero-frame__scale span:nth-child(5n) {
  height: 9px;
  opacity: 0.55;
}

.page-home .hero-frame__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  margin-top: 1.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.page-home .hero-frame__meta span {
  position: relative;
  padding-left: 1rem;
}

.page-home .hero-frame__meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.page-home .stats-section {
  position: relative;
  background: var(--accent-blue);
  color: #fff;
  padding: 3rem 0;
  overflow: hidden;
}

.page-home .stats-section::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.14);
  pointer-events: none;
}

.page-home .stats-section::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  pointer-events: none;
}

.page-home .stats-section .section-heading h2 {
  color: #fff;
}

.page-home .stats-section .section-heading__desc {
  color: rgba(255, 255, 255, 0.78);
}

.page-home .stats-section .section-heading__no {
  color: var(--accent-gold);
}

.page-home .stats-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.page-home .stats-layout__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--stat-card-gap);
}

.page-home .stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.page-home .stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.page-home .stat-card__num {
  display: block;
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.page-home .stat-card__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}

.page-home .stats-layout__asset {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.page-home .stats-layout__asset p {
  margin: 0;
  padding: 0 0.5rem 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

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

.page-home .services-layout {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.page-home .services-layout__cards {
  display: grid;
  gap: 1rem;
}

.page-home .service-card {
  position: relative;
  background: var(--paper-light);
  border: 1px solid var(--line-light);
  border-left: 4px solid var(--accent-blue);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-home .service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-gold);
}

.page-home .service-card__no {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(0, 71, 160, 0.16);
  pointer-events: none;
}

.page-home .service-card h3 {
  font-family: var(--font-headings);
  font-size: 1.125rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--ink);
  padding-right: 2rem;
}

.page-home .service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

.page-home .service-card__link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-gold);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .service-card__link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-blue);
}

.page-home .services-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
}

.page-home .services-layout__aside img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-light);
  background: var(--paper-light);
  padding: 4px;
}

.page-home .services-layout__aside p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
  border-top: 1px solid var(--line-light);
  padding-top: 0.625rem;
  margin: 0;
  max-width: 24em;
}

.page-home .news-section {
  padding: 3.5rem 0;
  background: var(--paper-light);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.page-home .news-layout {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.page-home .news-layout__list {
  display: grid;
  gap: 1rem;
}

.page-home .news-item {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.page-home .news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.page-home .news-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-gold);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.page-home .news-item h3 {
  font-family: var(--font-headings);
  font-size: 1.0625rem;
  line-height: 1.3;
  margin: 0.5rem 0 0.25rem;
  color: var(--ink);
}

.page-home .news-item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

.page-home .news-item__link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .news-item__link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.page-home .news-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.page-home .news-layout__aside img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
}

.page-home .trust-section {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 4rem 0;
  overflow: hidden;
}

.page-home .trust-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue), var(--accent-gold));
}

.page-home .trust-section__quote {
  position: relative;
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
  padding: 0 1rem;
}

.page-home .trust-section__mark {
  display: block;
  font-family: var(--font-headings);
  font-size: 5rem;
  line-height: 1;
  color: var(--accent-gold);
  margin-bottom: -0.75rem;
}

.page-home .trust-section__quote p {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 1rem 0 1.5rem;
}

.page-home .trust-section__quote footer {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

@media (min-width: 768px) {
  .page-home .hero-frame {
    padding: 3.5rem 0 2.5rem;
  }

  .page-home .hero-frame__viewport {
    padding: 2rem;
  }

  .page-home .hero-frame__body {
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
    align-items: center;
  }

  .page-home .hero-frame h1 {
    font-size: 3.25rem;
  }

  .page-home .hero-frame__lede {
    font-size: 1.0625rem;
  }

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

  .page-home .stats-layout {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 2rem;
  }

  .page-home .stats-layout__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .page-home .stat-card {
    padding: 1.5rem 1rem;
  }

  .page-home .services-layout {
    grid-template-columns: 7fr 5fr;
    align-items: start;
    gap: 2.5rem;
  }

  .page-home .services-layout__cards {
    gap: 1.25rem;
  }

  .page-home .service-card {
    padding: 2rem 2rem 1.5rem;
  }

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

  .page-home .news-layout {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 2.5rem;
  }

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

  .page-home .trust-section__quote p {
    font-size: 1.375rem;
  }
}

@media (min-width: 1100px) {
  .page-home .hero-frame__viewport {
    padding: 2.5rem;
  }

  .page-home .hero-frame h1 {
    font-size: 3.75rem;
  }

  .page-home .hero-frame__scale {
    left: 2.5rem;
    right: 2.5rem;
  }

  .page-home .services-layout {
    gap: 4rem;
  }

  .page-home .news-layout {
    gap: 4rem;
  }
}
