/* Home page */

/* hero: animated sky (canvas, drawn by sky.js) under a navy shade; the gradient is the no-WebGL fallback */
.home-hero {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  min-height: min(88vh, 860px);
  background: linear-gradient(180deg, var(--navy) 0%, #2A5578 55%, var(--sky) 100%);
  color: var(--cream);
}
.home-hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.home-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 35, 66, .55) 0%, rgba(10, 35, 66, .1) 40%, rgba(10, 35, 66, .82) 100%); }
.home-hero__inner {
  position: relative; display: grid; gap: 34px;
  padding-top: clamp(80px, 12vh, 150px); padding-bottom: clamp(38px, 6vh, 64px);
}
.home-hero__title { color: var(--cream); font-size: clamp(38px, 6.6vw, 90px); line-height: .98; max-width: 17ch; }
.home-hero__row { display: grid; gap: 26px; align-items: end; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.home-hero__sub { color: rgba(253, 251, 246, .9); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 46ch; }

/* marquee */
.marquee { background: var(--navy); color: var(--sky); overflow: hidden; padding: 15px 0; border-top: 1px solid rgba(133, 183, 203, .2); }
.marquee__track { display: flex; width: max-content; animation: cielo-marquee 34s linear infinite; }
.marquee__item {
  display: flex; align-items: center; gap: 26px; padding-right: 26px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.marquee__star { width: 11px; height: 11px; flex-shrink: 0; }

.home-next-up { display: grid; padding-top: clamp(34px, 5vh, 52px); }
.home-next-up:has(.next-up[hidden]) { display: none; }

/* how can we help */
.home-help .split { gap: clamp(30px, 5vw, 70px); }
.home-help .stack { gap: 22px; }
.home-help .section-title { font-size: clamp(30px, 3.6vw, 52px); }
.home-help .body-copy { max-width: 44ch; }
.portal-card {
  background: var(--navy); color: var(--cream); border-radius: var(--radius);
  padding: clamp(22px, 5vw, 28px); display: grid; gap: 14px; max-width: 380px; text-align: center;
}
.portal-card__shield { height: 72px; width: auto; justify-self: center; animation: cielo-float 7s ease-in-out infinite; }
.portal-card__title { color: var(--sky); font-size: 21px; }
.portal-card__body { font-size: 14.5px; line-height: 1.55; color: rgba(253, 251, 246, .78); }

.help-steps { display: grid; margin-top: clamp(0px, 4vw, 52px); }
.help-step {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  padding: 26px 4px; border-bottom: 1px solid var(--line); color: var(--navy);
  transition: padding-left .25s var(--ease), background-color .25s ease;
}
.help-step:hover { color: var(--navy); padding-left: 14px; background: linear-gradient(90deg, rgba(240, 162, 2, .1), transparent); }
.help-step__num { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--sky); letter-spacing: .04em; }
.help-step__text { display: grid; gap: 5px; min-width: 0; }
.help-step__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.06; letter-spacing: -.02em; }
.help-step__body { font-size: 14.5px; color: rgba(56, 61, 59, .8); }
.help-step__arrow { font-size: 20px; color: var(--gold); }

/* services + tiles */
.band--sand .section-title { font-size: clamp(30px, 3.8vw, 54px); line-height: 1.03; }
.grid-auto--cards { --min: 268px; gap: 18px; }
.grid-auto--cards .card__title { font-size: 22px; line-height: 1.14; }
.grid-auto--tiles { --min: 240px; }
.logo-tile { border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; background: var(--navy); padding: 38px; display: grid; place-items: center; }
.logo-tile__img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; }
.photo-frame--tile { min-height: 300px; background: var(--sky); }
.photo-frame--tall { min-height: 380px; }

.home-quote { display: grid; gap: 40px; justify-items: center; text-align: center; }
