/* Final cascade guard for the compact homepage contact composition. */
.final-cta {
  min-height: 0;
}

.final-cta h2 {
  font-size: clamp(4rem, 6.4vw, 7.6rem);
  line-height: 0.84;
}

@media (max-width: 900px) {
  .final-cta {
    min-height: 0;
  }

  .final-cta h2 {
    font-size: clamp(4rem, 13vw, 6.5rem);
  }
}

@media (max-width: 760px) {
  .final-cta {
    min-height: 0;
  }

  .final-cta h2 {
    font-size: clamp(3.55rem, 18vw, 5.2rem);
  }
}

/* Four-column footer with one shared top alignment. */
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.52fr) minmax(0, 0.8fr) minmax(0, 1.5fr);
  column-gap: clamp(28px, 3vw, 56px);
  row-gap: 48px;
  align-items: start;
}

.footer-top > div.footer-contact:first-child,
.footer-top > nav,
.footer-top > .footer-services,
.footer-top > .footer-newsletter {
  align-self: start;
  min-width: 0;
  margin: 0;
  padding: 0;
  border-top: 0;
}

.footer-top > div.footer-contact:first-child {
  grid-column: 1;
  grid-row: 1;
}

.footer-top > nav {
  grid-column: 2;
  grid-row: 1;
}

.footer-top > .footer-services {
  grid-column: 3;
  grid-row: 1;
}

.footer-top > .footer-newsletter {
  grid-column: 4;
  grid-row: 1;
}

.footer-contact,
.footer-newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column-label {
  width: 100%;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-top > nav .footer-column-label,
.footer-top > .footer-services .footer-column-label {
  margin-bottom: 15px;
}

.footer-contact .footer-email {
  display: block;
  margin: 0 0 12px;
}

.footer-newsletter h2 {
  margin: 0 0 30px;
}

.footer-newsletter,
.newsletter-form {
  width: 100%;
}

/* Living brand ribbon. */
.capabilities {
  border-color: rgba(6, 26, 44, 0.78);
  background: linear-gradient(105deg, #08c7c9 0%, #76e76d 34%, #adf532 58%, #08c7c9 100%);
  background-size: 220% 100%;
  color: var(--navy);
  animation: capabilities-color-flow 12s ease-in-out infinite alternate;
}

.capabilities .marquee-track i {
  color: var(--navy);
  opacity: 0.7;
}

@keyframes capabilities-color-flow {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(34px, 6vw, 72px);
  }

  .footer-top > div.footer-contact:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-top > nav {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-top > .footer-services {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-top > .footer-newsletter {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-top > .footer-services,
  .footer-top > .footer-newsletter {
    padding-top: 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .footer-top > div.footer-contact:first-child,
  .footer-top > nav,
  .footer-top > .footer-services,
  .footer-top > .footer-newsletter {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-top > nav,
  .footer-top > .footer-services,
  .footer-top > .footer-newsletter {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .capabilities {
    animation: none;
    background-position: 50% 50%;
  }
}

/* Editorial studio manifesto. */
.brand-moment {
  position: relative;
  display: block;
  min-height: 0;
  padding: clamp(68px, 7vw, 112px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 15%, rgba(8, 199, 201, 0.13), transparent 31%),
    linear-gradient(135deg, #04111d 0%, #061a2c 58%, #031019 100%);
}

.brand-moment-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: clamp(42px, 5vw, 86px);
  align-items: center;
  padding-bottom: clamp(68px, 7vw, 112px);
}

.brand-moment-copy {
  min-width: 0;
}

.brand-moment-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
}

.brand-moment-label::before {
  width: 32px;
  height: 2px;
  background: var(--green);
  content: "";
}

.brand-moment-heading {
  display: grid;
  gap: clamp(8px, 1vw, 16px);
  margin: clamp(34px, 4vw, 58px) 0 0;
}

.brand-moment-heading > span {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(16px, 2vw, 32px);
  align-items: baseline;
}

.brand-moment-heading > span:last-child {
  padding-left: clamp(0px, 4vw, 66px);
}

.brand-moment-heading strong {
  color: var(--ivory);
  font-size: clamp(3.8rem, 6.25vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.85;
  text-transform: uppercase;
}

.brand-moment-heading em {
  color: var(--green);
  font-size: clamp(2.2rem, 3.65vw, 4.2rem);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.brand-moment p.brand-moment-lead {
  position: relative;
  z-index: 2;
  max-width: 590px;
  margin: clamp(32px, 4vw, 54px) 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.98rem, 1.12vw, 1.14rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  text-transform: none;
}

.brand-moment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.brand-moment-tags li {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-moment-visual {
  position: relative;
  min-height: clamp(430px, 40vw, 640px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px 132px 28px 28px;
  background: var(--navy);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36);
}

.brand-moment-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

.brand-moment-visual::after {
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  background: linear-gradient(180deg, transparent, rgba(2, 11, 18, 0.9));
  content: "";
  pointer-events: none;
}

.brand-moment-visual-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.03);
  transition: transform 1100ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.brand-moment-visual:hover .brand-moment-visual-image {
  filter: saturate(1.22) contrast(1.06);
  transform: scale(1.075);
}

.brand-moment-visual-index,
.brand-moment-visual figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 3vw, 42px);
}

.brand-moment-visual-index {
  top: clamp(22px, 3vw, 38px);
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(3, 13, 23, 0.35);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.brand-moment-visual figcaption {
  right: clamp(22px, 3vw, 42px);
  bottom: clamp(24px, 3vw, 42px);
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.1vw, 2.4rem);
  font-style: italic;
  line-height: 1.05;
}

.brand-moment-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--green);
  color: var(--navy);
}

.brand-moment-rail > span {
  display: flex;
  min-height: 78px;
  gap: 16px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(6, 26, 44, 0.32);
  font-size: clamp(0.85rem, 1.15vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-moment-rail > span:last-child {
  border-right: 0;
}

.brand-moment-rail small {
  font-size: 0.6rem;
  opacity: 0.56;
}

@media (max-width: 980px) {
  .brand-moment-layout {
    grid-template-columns: 1fr;
  }

  .brand-moment-visual {
    min-height: 0;
    aspect-ratio: 1.45;
  }

  .brand-moment-heading {
    max-width: 780px;
  }
}

@media (max-width: 700px) {
  .brand-moment {
    min-height: 0;
    padding-top: 52px;
  }

  .brand-moment-layout {
    gap: 36px;
    padding-bottom: 52px;
  }

  .brand-moment-heading {
    gap: 15px;
    margin-top: 30px;
  }

  .brand-moment-heading > span {
    display: grid;
    gap: 3px;
  }

  .brand-moment-heading > span:last-child {
    padding-left: 12vw;
  }

  .brand-moment-heading strong {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .brand-moment-heading em {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .brand-moment p.brand-moment-lead {
    margin-top: 30px;
  }

  .brand-moment-visual {
    aspect-ratio: 0.98;
    border-radius: 20px 76px 20px 20px;
  }

  .brand-moment-visual figcaption {
    font-size: 1.55rem;
  }

  .brand-moment-rail {
    grid-template-columns: 1fr;
  }

  .brand-moment-rail > span {
    min-height: 56px;
    justify-content: flex-start;
    padding-inline: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 26, 44, 0.28);
  }

  .brand-moment-rail > span:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-moment-visual-image {
    transition: none;
  }
}
