/* Home page: About + facts merged. Dark grid panel, copy left and framed pictures right, counting numbers along the bottom; theme tokens only. */
.home-about {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 130px) 0 clamp(56px, 7vw, 96px);
  background: var(--tm-surface-dark); /* solid: no grid lines */
  color: var(--tm-color-inverse);
}
.home-about__inner { width: min(var(--tm-shell-max), calc(100% - var(--tm-shell-gutter) * 2)); margin-inline: auto; }
.home-about__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px clamp(40px, 7vw, 110px);
}
.home-about__eyebrow { margin: 0 0 22px; color: var(--tm-color-accent); font-size: 11px; font-weight: 500; letter-spacing: 2px; line-height: 1.5; text-transform: uppercase; }
.home-about__copy h2 { margin: 0 0 28px; color: var(--tm-color-inverse); font-size: clamp(34px, 4.2vw, 62px); font-weight: 500; letter-spacing: -2px; line-height: 1.05; }
.home-about__copy h2 em { color: var(--tm-color-accent); font-style: normal; }
.home-about__lead { margin: 0 0 18px; color: var(--tm-color-inverse); font-size: 19px; line-height: 1.65; }
.home-about__lead strong { color: var(--tm-color-accent); font-weight: 500; }
.home-about__text { margin: 0 0 34px; max-width: 540px; color: var(--tm-color-muted-inverse); font-size: 17px; line-height: 1.7; }

/* Pictures: a large one with a smaller one overlapping, an amber frame offset behind. */
.home-about__media { position: relative; padding: 0 20% 12% 0; }
.home-about__frame { position: absolute; inset: 24px 4% -2% 24px; border: 2px solid var(--tm-color-accent); opacity: .85; pointer-events: none; }
.home-about__media img { position: relative; display: block; max-width: 100%; height: auto; object-fit: cover; }
.home-about__img-main { width: 100%; aspect-ratio: 4 / 4.2; }
.home-about__img-side { position: absolute !important; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; border: 8px solid var(--tm-surface-dark); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }

/* Facts row */
.home-about__facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: clamp(48px, 6vw, 88px) 0 0;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.home-about__fact {
  display: flex;
  flex-direction: column-reverse; /* markup is label then figure; the figure shows above its label */
  justify-content: flex-end;
  gap: 8px;
  padding: 4px clamp(14px, 2vw, 28px);
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.home-about__fact:first-child { border-left: 0; padding-left: 0; }
.home-about__fact dd { margin: 0; color: var(--tm-color-inverse); font-size: clamp(34px, 3.6vw, 54px); font-weight: 600; letter-spacing: -1.4px; line-height: 1; font-variant-numeric: tabular-nums; }
.home-about__fact dd span { margin-left: 1px; color: var(--tm-color-accent); font-size: .62em; letter-spacing: 0; }
.home-about__fact dt { color: var(--tm-color-muted-inverse); font-size: 15px; font-weight: 400; line-height: 1.35; }

/* Entrance: facts rise in one after another while the numbers count up. */
.home-about--animate .home-about__fact { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--tm-ease), transform .7s var(--tm-ease); }
.home-about--animate .home-about__fact.is-in { opacity: 1; transform: none; }

@media (min-width: 1200px) { .home-about { padding-left: var(--tm-rail-width); } }
@media (max-width: 1199.98px) {
  .home-about__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .home-about__fact { padding-left: 20px; }
  .home-about__fact:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 991.98px) {
  .home-about__top { grid-template-columns: minmax(0, 1fr); }
  .home-about__media { max-width: 560px; }
}
@media (max-width: 575.98px) {
  .home-about__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-about__fact:nth-child(3n + 1) { border-left: 1px solid rgba(255, 255, 255, .16); padding-left: 20px; }
  .home-about__fact:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-about--animate .home-about__fact { opacity: 1; transform: none; transition: none; }
}
