.avc-welcome-hero {
  --primary-navy: #0B1F4D;
  --royal-blue: #1456C3;
  --deep-blue: #063B9E;
  --accent-gold: #F4B400;
  --background: #FFFFFF;
  --surface: #FFFFFF;
  --heading-text: #0B1F4D;
  --body-text: #53658A;
  --border-color: #DCE7F7;
  /*
   * Derived from hero-reference.png (1024x512):
   * image ~510x304 (ratio 1.68), card top ~67% of image,
   * card width ~82% of image, overlap ~33% of image height.
   */
  --hero-img-ratio: 1.68;
  --hero-card-width: 82%;
  --hero-card-top: 72%;
  /* Hang as a fraction of image height so it scales with the photo */
  --hero-card-hang: calc(100% / var(--hero-img-ratio) * 0.38);
  position: relative;
  overflow: visible;
  isolation: isolate;
  min-height: 0;
  padding: 48px 0 16px;
  background: #fff;
}

.avc-welcome-hero__bg {
  display: none;
}

.avc-welcome-hero__orb {
  position: absolute;
  border-radius: 50%;
}

.avc-welcome-hero__orb--one {
  width: 320px;
  height: 320px;
  top: -90px;
  right: 14%;
  background: radial-gradient(circle, rgba(20, 86, 195, 0.09) 0%, rgba(20, 86, 195, 0) 70%);
}

.avc-welcome-hero__orb--two {
  width: 260px;
  height: 260px;
  bottom: 4%;
  left: -70px;
  background: radial-gradient(circle, rgba(244, 180, 0, 0.1) 0%, rgba(244, 180, 0, 0) 70%);
}

.avc-welcome-hero__dots {
  position: absolute;
  width: 140px;
  height: 180px;
  top: 22%;
  left: 46%;
  opacity: 0.22;
  background-image: radial-gradient(#1456C3 1.15px, transparent 1.15px);
  background-size: 12px 12px;
}

.avc-welcome-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3.5%;
  padding-right: 3.5%;
}

.avc-welcome-hero .container.avc-welcome-hero__container {
  max-width: 1560px;
  width: 100%;
}

.avc-welcome-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

.avc-welcome-hero__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.avc-welcome-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  color: #3D6FBF;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.4;
}

.avc-welcome-hero__eyebrow-text {
  white-space: nowrap;
}

.avc-welcome-hero__eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 99px;
  flex-shrink: 0;
}

.avc-welcome-hero__heading {
  margin: 0 0 1.15rem;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #0B1F4D;
}

.avc-welcome-hero h1.avc-welcome-hero__heading .avc-welcome-hero__welcome {
  display: block;
  color: #093082;
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  font-weight: 800;
}

.avc-welcome-hero__college {
  display: block;
  color: #1456C3;
  font-size: clamp(2.65rem, 4.9vw, 4.75rem);
  font-weight: 800;
}

.avc-welcome-hero__lede {
  max-width: 36rem;
  margin: 0 0 1.1rem;
  color: var(--body-text);
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  font-weight: 500;
}

.avc-welcome-hero__divider {
  display: block;
  width: 64px;
  height: 3px;
  margin: 0 0 0.85rem;
  background: var(--accent-gold);
  border-radius: 99px;
}

.avc-welcome-hero__tagline {
  margin: 0 0 1.65rem;
  color: var(--primary-navy);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.avc-welcome-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.avc-welcome-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.avc-welcome-hero__btn--primary {
  background: var(--royal-blue);
  color: #fff;
  border: 1.5px solid var(--royal-blue);
  box-shadow: 0 10px 22px rgba(20, 86, 195, 0.2);
}

.avc-welcome-hero__btn--primary:hover {
  background: var(--deep-blue);
  border-color: var(--deep-blue);
  color: #fff;
}

.avc-welcome-hero__btn--secondary {
  background: #fff;
  color: var(--primary-navy);
  border: 1.5px solid #8FB0E8;
}

.avc-welcome-hero__btn--secondary:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
  background: #fff;
}

.avc-welcome-hero__btn:focus-visible {
  outline: 3px solid #F4B400;
  outline-offset: 3px;
}

.avc-welcome-hero__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.avc-welcome-hero__feature {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--primary-navy);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  transition: transform 0.2s ease;
}

.avc-welcome-hero__feature span:last-child {
  min-width: 0;
}

.avc-welcome-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--primary-navy);
  font-size: 1rem;
}

.avc-welcome-hero__icon--blue { background: #E7F0FF; }
.avc-welcome-hero__icon--gold { background: #FFF4D4; }
.avc-welcome-hero__icon--green { background: #E5F6EA; }
.avc-welcome-hero__icon--rose { background: #FDECEC; }

/*
 * Right-side composition
 * Height of .hero-right-composition === image height (card is absolute and
 * does not expand this box). Hang space lives on .avc-welcome-hero__visual
 * so percentage `top` on the card is always a fraction of the IMAGE.
 */
.avc-welcome-hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: visible;
}

.avc-welcome-hero__visual::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -6%;
  width: 72%;
  height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 86, 195, 0.12) 0%, rgba(20, 86, 195, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-right-composition {
  position: relative;
  width: 100%;
  min-width: 0;
  z-index: 1;
}

.campus-image-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: var(--hero-img-ratio) / 1;
  box-shadow: 0 20px 48px rgba(11, 31, 77, 0.14);
}

.campus-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: 38% 52%;
}

.slogan-overlay {
  position: absolute;
  z-index: 2;
  top: 7%;
  right: 4.5%;
  margin: 0;
  color: #fff;
  font-family: "Caveat", "Euclid Circular A", Georgia, serif;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.12;
  text-align: right;
  text-shadow:
    0 1px 2px rgba(11, 31, 77, 0.55),
    0 4px 16px rgba(11, 31, 77, 0.45);
}

.slogan-overlay span {
  display: block;
}

.mission-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.15rem 0 0;
  padding: 1.5rem 1.55rem 1.55rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(11, 31, 77, 0.12);
}

.avc-welcome-hero__quote {
  display: block;
  flex-shrink: 0;
  margin: 0.12em 0 0;
  color: #B7C9E8;
  font-size: 1.65rem;
  line-height: 1;
}

.mission-card__body {
  flex: 1;
  min-width: 0;
}

.mission-card p {
  margin: 0 0 1.05rem;
  color: #5B6C8F;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.mission-card p:last-child {
  margin-bottom: 0;
}

/* Two-column + overlapping card — same composition from tablet up */
@media (min-width: 768px) {
  .avc-welcome-hero {
    --hero-img-ratio: 1.68;
    --hero-card-width: 82%;
    --hero-card-top: 72%;
    --hero-card-hang: calc(100% / var(--hero-img-ratio) * 0.38);
    padding: 32px 0 20px;
  }

  .avc-welcome-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 1.5rem 1.5rem;
    align-items: start;
  }

  .avc-welcome-hero__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .avc-welcome-hero__welcome {
    font-size: clamp(1.85rem, 3.2vw, 3.5rem);
  }

  .avc-welcome-hero__college {
    font-size: clamp(2rem, 3.5vw, 3.75rem);
  }

  .avc-welcome-hero__lede {
    font-size: clamp(0.92rem, 1.2vw, 1.15rem);
  }

  .avc-welcome-hero__btn {
    min-height: 46px;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
  }

  .avc-welcome-hero__features {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.6rem;
  }

  .avc-welcome-hero__feature {
    font-size: 0.72rem;
    gap: 0.45rem;
  }

  .avc-welcome-hero__icon {
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }

  .avc-welcome-hero__visual {
    padding-bottom: var(--hero-card-hang);
  }

  .campus-image-wrapper {
    border-radius: 24px;
    aspect-ratio: var(--hero-img-ratio) / 1;
  }

  .mission-card {
    position: absolute;
    top: var(--hero-card-top);
    right: 0;
    left: auto;
    width: var(--hero-card-width);
    max-width: var(--hero-card-width);
    margin: 0;
    padding: 1rem 1.15rem 1.05rem 1.2rem;
    border-radius: 20px;
    border: none;
    box-shadow: 0 16px 45px rgba(11, 31, 77, 0.12);
  }

  .mission-card p {
    font-size: clamp(0.75rem, 0.95vw, 0.88rem);
    line-height: 1.55;
  }

  .avc-welcome-hero__quote {
    font-size: 1.55rem;
    margin: 0.12em 0 0;
  }
}

@media (min-width: 1100px) {
  .avc-welcome-hero__eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.28em;
  }

  .avc-welcome-hero {
    padding: 40px 0 20px;
  }

  .avc-welcome-hero__grid {
    gap: 2rem 2.25rem;
  }

  .avc-welcome-hero__heading {
    margin-bottom: 1.25rem;
  }

  .avc-welcome-hero__features {
    grid-template-columns: repeat(4, max-content);
    justify-content: start;
    gap: 0.85rem 1.35rem;
    max-width: none;
  }

  .avc-welcome-hero__feature {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.55rem;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .avc-welcome-hero__icon {
    width: 52px;
    height: 52px;
    font-size: 1.05rem;
  }

  .avc-welcome-hero__feature:hover {
    transform: translateY(-2px);
  }

  .campus-image-wrapper {
    border-radius: 32px;
  }

  .mission-card {
    padding: 1.35rem 1.5rem 1.4rem 1.55rem;
    border-radius: 24px;
  }

  .avc-welcome-hero__quote {
    font-size: 1.7rem;
  }

  .avc-welcome-hero__btn {
    min-height: 52px;
    padding: 0.8rem 1.55rem;
    font-size: 1rem;
  }
}

@media (min-width: 1440px) {
  .avc-welcome-hero {
    padding: 44px 0 20px;
  }

  .avc-welcome-hero__welcome {
    font-size: clamp(3.75rem, 4.6vw, 4.75rem);
  }

  .avc-welcome-hero__college {
    font-size: clamp(4rem, 5vw, 5.1rem);
  }

  .avc-welcome-hero__grid {
    grid-template-columns: minmax(560px, 0.92fr) minmax(0, 1.08fr);
    gap: 2.25rem 2.5rem;
  }

  .mission-card {
    padding: 1.4rem 1.55rem 1.45rem 1.6rem;
  }

  .mission-card p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .avc-welcome-hero__features {
    gap: 0.85rem 1.6rem;
  }

  .avc-welcome-hero__feature {
    font-size: 0.88rem;
    gap: 0.6rem;
  }

  .avc-welcome-hero__icon {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }
}

@media (min-width: 1600px) {
  .avc-welcome-hero__container,
  .avc-welcome-hero .container.avc-welcome-hero__container {
    max-width: 1680px;
  }

  .avc-welcome-hero__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
}

/* Mobile — stacked, no overlap */
@media (max-width: 767.98px) {
  .avc-welcome-hero {
    padding: 28px 0 16px;
  }

  .avc-welcome-hero__container {
    padding-left: 5%;
    padding-right: 5%;
  }

  .avc-welcome-hero__dots,
  .avc-welcome-hero__orb--one {
    display: none;
  }

  .avc-welcome-hero__eyebrow {
    letter-spacing: 0.12em;
    font-size: 0.68rem;
  }

  .avc-welcome-hero__welcome {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .avc-welcome-hero__college {
    font-size: clamp(2.15rem, 9.5vw, 2.85rem);
  }

  .avc-welcome-hero__actions {
    flex-direction: column;
  }

  .avc-welcome-hero__btn {
    width: 100%;
  }

  .avc-welcome-hero__features {
    grid-template-columns: 1fr 1fr;
  }

  .campus-image-wrapper {
    border-radius: 20px;
    aspect-ratio: var(--hero-img-ratio) / 1;
  }

  .slogan-overlay {
    top: 7%;
    right: 4.5%;
    font-size: 1.45rem;
  }

  .mission-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin: 1rem 0 0;
    border-radius: 18px;
    padding: 1.25rem 1.3rem;
  }

  .mission-card p {
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avc-welcome-hero__btn,
  .avc-welcome-hero__feature {
    transition: none;
  }

  .avc-welcome-hero__feature:hover {
    transform: none;
  }
}
