/* ============================================================
   MS GLOW ID — DESIGN SYSTEM
   msglowid-style.css
   Fonts: Lato (headings) · Source Sans 3 (body)
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  --msglow-rose:       #fb6f92;   /* brand pink — use for intentional accents */
  --msglow-rose-deep:  #d94060;   /* hover / pressed states */
  --msglow-rose-light: #ffbdd0;   /* borders, ring accents */
  --msglow-blush:      #fff0f5;
  --msglow-blush2:     #fde8f0;
  --msglow-blush3:     #f8d6e8;
  --msglow-cream:      #fffaf8;
  --msglow-ivory:      #fdf6f0;
  --msglow-text:       #2c1620;
  --msglow-text2:      #6b3d50;
  --msglow-text3:      #a07080;
  --msglow-gold:       #c9956a;
}

/* ----------------------------------------------------------
   2. BASE PAGE WRAPPER
   ---------------------------------------------------------- */
.msg-page {
  font-family: "Source Sans 3", sans-serif;
  background: var(--msglow-cream);
  color: var(--msglow-text);
}

/* ----------------------------------------------------------
   3. HERO SECTION
   ---------------------------------------------------------- */
.msg-hero {
  background: linear-gradient(135deg, var(--msglow-blush) 0%, var(--msglow-blush2) 50%, var(--msglow-blush3) 100%);
  padding: 80px 48px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.msg-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 420px;
  height: 420px;
  /* reduced opacity — #fb6f92 is vivid enough that 0.05 reads clearly */
  background: radial-gradient(circle, rgba(251, 111, 146, 0.05) 0%, transparent 68%);
  pointer-events: none;
}
.msg-hero::after {
  content: "";
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(253, 190, 213, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.msg-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}
.msg-hero h1 {
  font-family: "Lato", sans-serif;
  font-size: 54px;
  font-weight: 900;
  color: var(--msglow-text);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.msg-hero h1 span {
  color: var(--msglow-rose);
  font-weight: 300;
  font-style: italic;
}
.msg-hero p {
  font-family: "Source Sans 3", sans-serif;
  font-size: 17px;
  color: var(--msglow-text2);
  font-weight: 300;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   4. EYEBROW PILL
   ---------------------------------------------------------- */
.msg-eyebrow {
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--msglow-rose);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 7px 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(251, 111, 146, 0.28);
  border-radius: 50px;
}

/* ----------------------------------------------------------
   5. SECTION LAYOUT
   ---------------------------------------------------------- */
.msg-section {
  padding: 88px 48px;
}
.msg-section--ivory {
  background: var(--msglow-ivory);
}
.msg-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.msg-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 16px;
}
.msg-section-tag {
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--msglow-rose);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.msg-section-title {
  font-family: "Lato", sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--msglow-text);
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.msg-section-title span {
  color: var(--msglow-rose);
  font-weight: 300;
  font-style: italic;
}
.msg-section-sub {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  color: var(--msglow-text2);
  font-weight: 300;
  margin-bottom: 52px;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   6. SEE-ALL LINK
   ---------------------------------------------------------- */
.msg-see-all {
  font-family: "Source Sans 3", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--msglow-rose);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: gap 0.2s, color 0.2s;
}
.msg-see-all:hover {
  gap: 10px;
  color: var(--msglow-rose-deep);
  text-decoration: none;
}

/* ----------------------------------------------------------
   7. OVERLAY IMAGE CARD
   ---------------------------------------------------------- */
.msg-card {
  border-radius: 20px;
  overflow: hidden;
  display: block;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.msg-card:hover {
  transform: translateY(-8px);
  /* reduced opacity vs old rose — #fb6f92 at 0.2 would read too pink on shadow */
  box-shadow: 0 20px 50px rgba(251, 111, 146, 0.14);
  text-decoration: none;
}
.msg-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}
.msg-card-img--wide {
  aspect-ratio: 16 / 9;
}
.msg-card:hover .msg-card-img {
  transform: scale(1.04);
}
.msg-card-overlay {
  position: absolute;
  inset: 0;
  /* neutral dark smoke — lets the image speak; brand color not needed here */
  background: linear-gradient(to top, rgba(30, 14, 22, 0.62) 0%, transparent 58%);
  transition: background 0.28s;
}
.msg-card:hover .msg-card-overlay {
  background: linear-gradient(to top, rgba(30, 14, 22, 0.72) 0%, transparent 58%);
}
.msg-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px 22px;
}
.msg-card-title {
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.msg-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 5px;
  transition: gap 0.2s, color 0.2s;
}
.msg-card:hover .msg-card-arrow {
  gap: 10px;
  color: white;
}
.msg-card-empty {
  padding: 60px 24px;
  text-align: center;
  background: var(--msglow-blush);
  border-radius: 20px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  color: var(--msglow-text3);
  font-weight: 300;
}

/* ----------------------------------------------------------
   8. INFO LIST (icon + label + value rows)
   ---------------------------------------------------------- */
.msg-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.msg-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: white;
  border-radius: 14px;
  /* keep opacity very low on structural borders — vivid brand color doesn't belong here */
  border: 1px solid rgba(251, 111, 146, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.msg-info-item:hover {
  border-color: var(--msglow-rose-light);
  box-shadow: 0 6px 24px rgba(251, 111, 146, 0.07);
}
.msg-info-icon {
  width: 40px;
  height: 40px;
  background: var(--msglow-blush2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.msg-info-icon img {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}
.msg-info-label {
  font-family: "Lato", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--msglow-text3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.msg-info-value {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14.5px;
  color: var(--msglow-text);
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
}

/* ----------------------------------------------------------
   9. SCROLL REVEAL ANIMATION
   ---------------------------------------------------------- */
.msg-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.msg-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   10. COMPACT SECTION MODIFIER
   ---------------------------------------------------------- */
.msg-section--compact {
  padding-top: 48px;
  padding-bottom: 48px;
}

/* ----------------------------------------------------------
   11. BREADCRUMB NAV
   ---------------------------------------------------------- */
.msg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 13px;
  color: var(--msglow-text3);
  margin-bottom: 18px;
}
.msg-breadcrumb-link {
  color: var(--msglow-rose);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.msg-breadcrumb-link:hover {
  color: var(--msglow-rose-deep);
  text-decoration: none;
}
.msg-breadcrumb-sep {
  color: var(--msglow-rose-light);
}

/* ----------------------------------------------------------
   12. GHOST PILL BACK BUTTON
   ---------------------------------------------------------- */
.msg-btn-back {
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--msglow-rose);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 30px;
  border: 1.5px solid var(--msglow-rose-light);
  border-radius: 50px;
  transition: all 0.22s ease;
}
.msg-btn-back:hover {
  background: var(--msglow-rose);
  color: white;
  border-color: var(--msglow-rose);
  text-decoration: none;
}

/* ----------------------------------------------------------
   13. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  .msg-hero {
    padding: 60px 24px 52px;
  }
  .msg-hero h1 {
    font-size: 38px;
  }
  .msg-section {
    padding: 60px 24px;
  }
}
