.nacelle-delivery-card {
  --delivery-divider: color-mix(in srgb, var(--color-navy) 13%, white);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--delivery-divider);
  border-radius: 22px;
  background: var(--color-white);
  color: var(--color-ink);
}

.nacelle-delivery-heading,
.nacelle-delivery-subheading {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.2;
}

.nacelle-delivery-heading {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.nacelle-delivery-subheading {
  font-size: 1.125rem;
}

.nacelle-delivery-details {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.nacelle-delivery-copy,
.nacelle-delivery-conditions,
.nacelle-delivery-driver {
  max-width: 57ch;
  line-height: 1.6;
}

.nacelle-delivery-conditions,
.nacelle-delivery-driver,
.nacelle-delivery-context {
  color: var(--color-mute-light);
}

.nacelle-delivery-conditions,
.nacelle-delivery-context {
  font-size: 0.875rem;
}

.nacelle-delivery-context {
  max-width: 74ch;
  margin: 1rem clamp(0.25rem, 2.5vw, 1.75rem) 0;
  line-height: 1.6;
}

.nacelle-delivery-claim {
  padding: 0.02em 0.2em 0.06em;
  border-radius: 0.22em;
  background: var(--color-sun-soft);
  color: var(--color-ink);
  font-weight: 750;
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.nacelle-delivery-hero {
  width: fit-content;
  max-width: 100%;
  margin-bottom: clamp(0.5rem, 1.5dvh, 0.875rem);
  padding: 0.35rem 0.625rem;
  border-inline-start: 3px solid var(--color-sun);
  border-radius: 0.35rem;
  background: color-mix(in srgb, var(--color-ink) 88%, transparent);
  color: var(--color-white);
  font-size: clamp(0.75rem, 1.3vw, 1rem);
  font-weight: 700;
  line-height: 1.5;
}

.nacelle-delivery-hero strong {
  color: var(--color-sun);
  white-space: nowrap;
}

.nacelles-hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.nacelles-hero-title {
  font-size: clamp(2rem, 4.25vw, 3.75rem);
}

.nacelles-hero-claim {
  margin-top: 0.8rem;
}

.nacelles-hero-media {
  min-width: 0;
}

.nacelles-hero-conditions {
  max-width: none;
  margin-top: 0.7rem;
}

@media (width < 23rem) {
  #main .nacelles-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

.nacelle-video-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--color-ink);
}

.nacelle-video-frame video,
.nacelle-video-preview {
  position: absolute;
  inset: 0;
}

.nacelle-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.nacelle-video-preview {
  display: grid;
  place-items: end;
  padding: clamp(0.75rem, 2vw, 1.5rem);
}

.nacelle-video-preview:focus-visible {
  outline: 3px solid var(--color-sun);
  outline-offset: -3px;
}

.nacelle-video-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 53%, rgb(11 15 31 / 74%)),
    linear-gradient(90deg, transparent 40%, rgb(11 15 31 / 26%));
  pointer-events: none;
}

.nacelle-video-action {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 0.6rem;
  color: var(--color-white);
  text-align: end;
}

.nacelle-video-hook {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 750;
  line-height: 1.12;
}

.nacelle-video-play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--color-sun);
  color: var(--color-ink);
  font-size: 0.875rem;
  font-weight: 750;
}

.nacelle-video-play::before {
  content: '';
  width: 0.66rem;
  height: 0.8rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.nacelle-video-preview:hover .nacelle-video-play {
  background: var(--color-sun-soft);
}

.nacelle-video-dialog {
  box-sizing: border-box;
  width: min(26rem, calc(100% - 1.5rem));
  max-height: calc(100svh - 1.5rem);
  margin: auto;
  padding: 0.75rem;
  overflow: auto;
  border: 0;
  border-radius: 1rem;
  background: var(--color-ink);
  color: var(--color-white);
}

.nacelle-video-dialog::backdrop {
  background: rgb(11 15 31 / 77%);
}

html:has(.nacelle-video-dialog[open]) {
  overflow: hidden;
}

.nacelle-video-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.nacelle-video-dialog-header h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.2;
}

.nacelle-video-dialog-header button {
  min-height: 2.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  background: var(--color-white);
  color: var(--color-ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.nacelle-video-dialog video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 5.75rem);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  border-radius: 0.65rem;
  background: var(--color-ink);
}

.nacelle-video-watch {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 40rem;
  margin: clamp(1.25rem, 3vw, 2rem) auto 0;
  text-align: center;
}

.nacelle-video-watch video {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68svh, 42rem);
  border-radius: 1rem;
  background: var(--color-ink);
}

.nacelle-delivery-layout {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.nacelle-delivery-sectors {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.nacelle-delivery-sectors ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(7.5rem, 45%)), 1fr));
  gap: 0.7rem 0.85rem;
  max-width: 20rem;
}

.nacelle-delivery-sectors li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.nacelle-delivery-sectors li svg {
  flex: none;
  margin-top: 0.17em;
  color: var(--color-royal);
}

.nacelle-video-wide .nacelle-video-frame,
.zones-delivery-photo {
  border-radius: 22px;
}

#main > section:first-of-type .grid:has(> .nacelle-video-wide) {
  gap: clamp(1rem, 2.75vw, 2.5rem);
}

.homepage-equipment-intro {
  display: grid;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3.5rem);
}

.homepage-equipment-copy {
  max-inline-size: 32ch;
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.2;
}

@media (width >= 64rem) {
  .homepage-equipment-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.nacelle-video-wide .nacelle-video-frame {
  aspect-ratio: 16 / 10;
  max-block-size: min(24rem, 52svh);
}

.nacelle-video-wide .nacelle-video-frame video {
  object-position: center 58%;
}

@media (width < 64rem) {
  .nacelle-video-wide .nacelle-video-frame {
    max-block-size: min(22rem, 42svh);
  }
}

@media (width < 25rem) and (height < 38rem) {
  .nacelle-video-wide .nacelle-video-preview {
    padding-inline-end: 4rem;
  }
}

.zones-delivery-layout {
  display: grid;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.zones-delivery-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.nacelle-delivery-list {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.nacelle-delivery-list > ul:first-of-type {
  margin-top: 1rem;
}

@media (width < 48rem) {
  .nacelle-delivery-list > ul:first-of-type {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(10.75rem, 45%)), 1fr));
  }

  .nacelle-delivery-list > ul:first-of-type > .col-span-2 {
    grid-column: 1 / -1;
  }

  .nacelle-delivery-list > ul:first-of-type > li > a {
    column-gap: 0.375rem;
    padding-inline: 0.625rem;
  }

  .nacelle-delivery-list > ul:first-of-type > li > a > h2 {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 62rem) {
  .nacelles-hero-grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  }

  .nacelle-delivery-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 1fr);
  }

  .zones-delivery-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .zones-delivery-photo {
    grid-column: 1;
    grid-row: 1;
  }
}
