/* Institutional landing page: hero and welcome section. */

.hero {
  padding: 64px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  padding-block: 16px;
}

.hero-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 465px;
  margin-top: 28px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 11px;
}

.hero-note svg {
  color: var(--blue);
  width: 16px;
  height: 16px;
}

.hero-visual {
  position: relative;
  padding-bottom: 38px;
  min-width: 0;
}

.photo-frame {
  position: relative;
  border-radius: 160px 24px 24px 24px;
  height: 570px;
  overflow: hidden;
  background: #bfdee2;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #09233420 0%, transparent 40%, #07182cb3 100%);
}

.photo-topline {
  position: absolute;
  inset: 32px 30px auto auto;
  color: white;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.photo-topline svg {
  width: 27px;
  height: 27px;
}

.photo-title {
  position: absolute;
  left: 32px;
  bottom: 84px;
  color: white;
  font-family: var(--heading);
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.35;
}

.photo-title em {
  font-style: normal;
  color: var(--lime);
}

.floating-note {
  position: absolute;
  bottom: 67px;
  left: -30px;
  right: 30px;
  transform: translateY(50%);
  border: 1px solid #fff;
  border-radius: 16px;
  padding: 19px;
  background: #fff;
  box-shadow: 0 12px 40px #11244812;
  display: flex;
  align-items: center;
  gap: 14px;
}

.note-icon {
  display: grid;
  place-items: center;
  background: #edf2fc;
  color: var(--blue);
  border-radius: 12px;
  width: 47px;
  height: 47px;
  flex-shrink: 0;
}

.floating-note strong {
  font-size: 13px;
  font-weight: 650;
  display: block;
}

.floating-note div > span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.note-check {
  margin-left: auto;
  color: #3b6318;
  background: var(--lime);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.note-check svg {
  width: 14px;
  height: 14px;
}

.visual-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #7a8392;
}

.visual-caption > :first-child {
  letter-spacing: 2px;
  font-weight: 600;
}

.home-manifesto {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.manifesto-photo {
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
}

.manifesto-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.signature {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 1150px) {
  .hero-grid {
    gap: 36px;
  }

  .photo-frame {
    height: 550px;
  }

  .photo-topline {
    font-size: 7px;
  }

  .floating-note {
    left: -15px;
    right: 15px;
  }

  .home-manifesto {
    gap: 45px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    gap: 28px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .photo-frame {
    height: 530px;
    border-top-left-radius: 110px;
  }

  .photo-topline span {
    display: none;
  }

  .photo-title {
    left: 22px;
    font-size: 24px;
  }

  .floating-note {
    padding: 14px;
    gap: 10px;
  }

  .note-icon {
    width: 38px;
    height: 38px;
  }

  .floating-note strong {
    font-size: 11px;
  }

  .floating-note div > span {
    font-size: 10px;
  }

  .note-check {
    display: none;
  }

  .visual-caption > span:last-child {
    display: none;
  }

  .home-manifesto {
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 38px 0 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .hero-description {
    margin-top: 22px;
    font-size: 15px;
    max-width: 100%;
  }

  .hero-note {
    margin-top: 18px;
    font-size: 10px;
  }

  .hero-visual {
    padding-bottom: 35px;
  }

  .photo-frame {
    height: 400px;
    border-radius: 100px 20px 20px 20px;
  }

  .photo-topline span {
    display: block;
    font-size: 7px;
  }

  .photo-title {
    font-size: 27px;
    bottom: 90px;
    left: 24px;
  }

  .floating-note {
    left: 12px;
    right: 12px;
    bottom: 66px;
    padding: 16px;
  }

  .floating-note strong {
    font-size: 12px;
  }

  .floating-note div > span {
    font-size: 10px;
  }

  .note-check {
    display: grid;
  }

  .visual-caption > span:last-child {
    display: block;
    font-size: 8px;
  }

  .visual-caption > :first-child {
    letter-spacing: 1px;
    font-size: 8px;
  }

  .home-manifesto {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .manifesto-photo {
    height: 350px;
  }
}

@media (max-width: 370px) {
  .hero-note {
    align-items: flex-start;
  }

  .photo-frame {
    height: 360px;
  }

  .floating-note {
    padding: 12px;
    gap: 8px;
  }

  .floating-note strong {
    font-size: 10px;
  }

  .floating-note div > span {
    font-size: 9px;
  }

  .note-check {
    display: none;
  }

  .photo-title {
    font-size: 23px;
  }

  .photo-topline span {
    font-size: 6px;
  }
}
