/* ═══ homepage sections ═══ */

/* ── hero ── */
/* soft navy bloom behind the photo instead of a flat grey field */
.als-hero {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}
.als-hero::before {
  content: "";
  position: absolute;
  top: -24%;
  right: -8%;
  width: 52%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(47, 65, 111, 0.13), transparent 66%);
  pointer-events: none;
}
.als-hero__in,
.als-hero .als-wrap,
.als-hero .als-band {
  position: relative;
}
.als-hero__in {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 60px;
  padding-block: 52px 44px;
  align-items: center;
}
.als-hero__t {
  font-size: var(--t-hero);
  margin: 24px 0 0;
}
.als-hero__t-em {
  color: var(--red);
}
.als-hero__lead {
  font-size: var(--t-lead);
  margin: 22px 0 0;
  max-width: 48ch;
}
.als-hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* photo on an offset navy plate — depth from a flat shape, not a soft shadow */
.als-media {
  position: relative;
  padding: 0 14px 14px 0;
}
.als-media::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  top: 14px;
  left: 14px;
  background: var(--navy);
  border-radius: 20px;
}
.als-media__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3.5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-3);
}
.als-media__open {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 15px;
  box-shadow: var(--shadow-1);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.als-media__badge {
  position: absolute;
  left: 16px;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: var(--shadow-2);
  text-decoration: none;
  transition:
    transform 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}
.als-media__badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-3);
}
.als-media__mark {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 8px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.als-media__town {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.als-media__sub {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  display: block;
}
.als-media__more {
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}

/* ── trust strip ── */
.als-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-2);
  margin-bottom: clamp(32px, 4vw, 56px);
}
.als-trust__i {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 28px;
}
.als-trust__i + .als-trust__i {
  box-shadow: inset 1px 0 0 var(--line);
}
.als-trust__t {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}
.als-trust__d {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 2px;
}

/* ── silo band ── */
.als-band {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.als-band__in {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.13);
}
.als-cell {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 34px 28px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  transition: background 0.22s var(--ease);
}
/* a red bar that grows along the bottom edge on hover */
.als-cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.als-cell:hover {
  background: rgba(255, 255, 255, 0.07);
}
.als-cell:hover::after {
  transform: scaleX(1);
}
.als-cell:hover .als-arrow {
  transform: translateX(5px);
}
.als-cell--em {
  background: rgba(0, 0, 0, 0.22);
}
.als-cell--em:hover {
  background: rgba(0, 0, 0, 0.12);
}
/* fixed height: the flag is taller than the number and would push the title off the shared baseline */
.als-cell__top {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 23px;
}
.als-cell__no {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--on-navy-2);
}
.als-cell__t {
  font-size: clamp(19px, 1rem + 0.6vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-top: 16px;
}
.als-cell__d {
  font-size: 15px;
  font-weight: 500;
  color: var(--on-navy);
  margin-top: 8px;
}
.als-cell__more {
  margin-top: auto;
  padding-top: 18px;
}

/* ═══ responsive ═══ */
@media (max-width: 1080px) {
  .als-hero__in {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 36px 44px;
  }
  .als-hero__t {
    font-size: 44px;
  }
  .als-band__in {
    grid-template-columns: 1fr 1fr;
  }
  .als-hero__lead {
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .als-hero__in {
    padding-block: 24px 0;
    gap: 26px;
  }
  .als-hero__t {
    font-size: 34px;
    margin-top: 16px;
  }
  .als-hero__lead {
    margin-top: 14px;
  }
  .als-hero__cta {
    margin-top: 20px;
    gap: 10px;
  }
  .als-hero__cta .als-btn {
    flex: 1;
  }

  .als-media {
    padding: 0 0 18px;
  }
  .als-media::before {
    display: none;
  }
  .als-media__img {
    aspect-ratio: 4/3;
    border-radius: var(--r-md);
  }
  .als-media__open {
    top: 12px;
    left: 12px;
    padding: 8px 11px;
    font-size: 11.5px;
  }
  .als-media__badge {
    left: 12px;
    bottom: 30px;
    padding: 11px 12px;
    gap: 10px;
  }
  .als-media__mark {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .als-media__more {
    display: none;
  }

  /* full-bleed so the strip shares an edge with the tiles below it */
  .als-trust {
    grid-template-columns: 1fr;
    margin: 26px calc(var(--gutter) * -1) 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .als-trust__i {
    padding: 13px var(--gutter);
  }
  .als-trust__i + .als-trust__i {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .als-trust__t {
    font-size: 15px;
  }
  .als-trust__d {
    font-size: 13.5px;
  }

  .als-band__in {
    grid-template-columns: 1fr 1fr;
  }
  .als-cell {
    min-height: 0;
    padding: 18px 16px 16px;
  }
  .als-cell__top {
    height: 20px;
  }
  .als-cell__no {
    font-size: 12px;
  }
  .als-cell__t {
    font-size: 18px;
    margin-top: 10px;
  }
  .als-cell__d {
    font-size: 13.5px;
    margin-top: 5px;
    color: var(--on-navy-2);
  }
  .als-cell__more {
    display: none;
  }
}
