.index { --film-overlap: clamp(40px, 4.6vw, 78px); }
.index .home-film {
  position: relative;
  z-index: 1;
  padding-top: clamp(36px, 4.8vw, 80px);
  margin-bottom: calc(0px - var(--film-overlap));
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  grid-template-areas: "film copy";
  gap: clamp(32px, 5vw, 84px);
  align-items: center;
}
.story-intro { grid-area: copy; padding-bottom: var(--film-overlap); }
.index main .story-intro h2 {
  font-size: clamp(34px, 3vw, 49px);
  line-height: 1.04;
  letter-spacing: -.026em;
}
.index main .story-intro p {
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.5;
  max-width: 34ch;
  margin-top: 15px;
}
.story-intro .text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }
.story-player { position: relative; grid-area: film; min-width: 0; }
.story-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 7px;
  background: #102f48;
}
.story-screen iframe, .story-watch, .story-still {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.story-screen:has(.story-watch:focus-visible), .story-screen:has(iframe:focus-visible) {
  outline: 3px solid #005baa;
  outline-offset: 4px;
}
.story-still { object-fit: cover; }
.story-watch { color: white; text-decoration: none; }
.story-watch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(4 23 39 / .76), transparent 32%);
}
.story-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 36%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: clamp(55px, 5.4vw, 82px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgb(7 36 53 / .17);
}
.story-play::before {
  content: "";
  margin-left: 7%;
  width: 30%;
  height: 34%;
  background: #093c60;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.story-caption {
  position: absolute;
  z-index: 1;
  inset: auto clamp(13px, 1.65vw, 25px) clamp(12px, 1.4vw, 21px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.25;
  font-weight: 600;
}
.story-caption time {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgb(6 25 38 / .81);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.story-player-tools {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.story-player-tools :is(button, a) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.story-player [hidden] { display: none; }
.film-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.story-watch { z-index:1; opacity:1; transition:opacity 180ms ease-out,visibility 0s; }
.story-player[data-state=loading] .story-watch { cursor:progress; }
.story-player[data-state=loading] .story-play::before { opacity:0; }
.story-player[data-state=loading] .story-play::after {
  content:""; position:absolute; width:35%; aspect-ratio:1; border-radius:50%;
  border:2.5px solid #cddce2; border-top-color:#084667; border-right-color:#084667;
  animation:film-spin .8s linear infinite;
}
.story-player[data-state=ready] .story-watch { pointer-events:none; opacity:0; visibility:hidden; transition:opacity 180ms ease-out,visibility 0s 180ms; }
@keyframes film-spin { to { transform:rotate(1turn); } }
@media(prefers-reduced-motion:reduce) {
  .story-player .story-watch { transition:none; }
  .story-player[data-state=loading] .story-play::after { animation:none; }
}
html[data-pref-motion] .story-player .story-watch { transition:none; }
html[data-pref-motion] .story-player[data-state=loading] .story-play::after { animation:none; }
.home-film + .benefits-directory {
  position: relative;
  padding-top: calc(var(--film-overlap) + clamp(50px, 4vw, 65px));
}
.home-film + .benefits-directory::before {
  content: "";
  position: absolute;
  inset: auto 0 100%;
  height: clamp(10px, 1.65vw, 30px);
  margin-bottom: -1px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .story-play, .story-still { transition: transform 230ms ease-out; }
  .story-watch:is(:hover, :focus-visible) .story-play { transform: scale(1.055); }
  .story-watch:hover .story-still { transform: scale(1.014); }
}
@media (max-width: 800px) {
  .index { --film-overlap: clamp(23px, 4vw, 32px); }
  .story-layout { grid-template-areas: "copy" "film"; grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .story-intro {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "heading link" "description description";
    align-items: center;
    column-gap: 14px;
  }
  .index main .story-intro h2 { grid-area: heading; font-size: clamp(29px, 5.5vw, 40px); }
  .index main .story-intro p { grid-area: description; max-width: 48ch; margin-top: 5px; font-size: 18px; }
  .story-intro .text-link { grid-area: link; margin: 0; white-space: nowrap; }
}
@media (max-width: 370px) {
  .story-intro { grid-template-areas: "heading" "description" "link"; grid-template-columns: minmax(0, 1fr); }
  .story-layout { gap: 8px; }
  .story-intro .text-link { justify-self: start; }
}

.iowa-field > :is(.iowa-outline, .iowa-scene) {
  translate: clamp(-220px, calc(60px - 15vw), -32px) 0;
}
.iowa-scene {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(55%, 1010px);
  pointer-events: none;
}
.iowa-scene .iowa-skyline {
  display: block;
  width: 100%;
  height: auto;
}
.iowa-field {
  background-color: var(--benefits-surface);
  background-image: radial-gradient(ellipse 64% 78% at 88% 94%,
    rgb(148 187 208 / .34), rgb(184 209 221 / .21) 52%, transparent 100%);
  overflow: clip;
}
.iowa-field .iowa-outline { top: calc(40% + 44px); opacity: .105; }
.iowa-layout { z-index: 1; }
.iowa-figures .bbb-grade { display: flex; align-items: center; gap: .17em; }
.bbb-grade img { height: .68em; width: auto; flex: none; }
.iowa-figures a { color: var(--blue); text-decoration: none; }
.iowa-figures a:hover { color: #172e55; }
@media (max-width: 700px) {
  .index main .iowa-copy h2 { max-width: none; }
  .iowa-field { display: grid; grid-template-columns: minmax(0, 1fr); }
  .iowa-layout { grid-area:1/1; padding-block:30px 0; }
  .iowa-copy .button-link { margin-top: 22px; }
  .iowa-scene {
    position: relative;
    grid-area:2/1; z-index:1;
    justify-self: end;
    width: min(100%, 525px);
    margin-top: 18px;
  }
  .iowa-field .iowa-outline {
    top: auto;
    position:relative; grid-area:2/1; align-self:end; justify-self:end;
    bottom:auto; right:auto; translate:none; height:auto;
    width:min(57%,320px); margin:20px -3% 0 0;
  }

}
@media (prefers-reduced-motion: no-preference) {
  .skyline-far { --travel: 5px; }
  .skyline-landmarks { --travel: 13px; }
  .skyline-near { --travel: 24px; }
  @supports (view-timeline-name: --skyline) and (animation-range: entry 0% cover 46%) {
    .iowa-scene { view-timeline: --skyline block; }
    .iowa-skyline > g {
      animation: skyline-depth linear both;
      animation-timeline: --skyline;
      animation-range: entry 0% cover 46%;
    }
    @keyframes skyline-depth {
      from { transform: translateY(var(--travel)); }
      to { transform: translateY(0); }
    }
  }
  .skyline-fallback .iowa-skyline > g {
    transform: translateY(calc(var(--remaining, 0) * var(--travel)));
  }
}
