/* Oct 14: more colour and energy on the homepage (Lynette, via Nia's Oct 9 notes).
   All brand-kit colours: Primary Navy, Royal Purple, Commonwealth Blue, Beaver Blue, Commonwealth Yellow. */

/* Oct 20: hero colour (navy band, gold eyebrow marker) reverted to the original at Zahra's request.
   Saved copy of the Oct 14 rules: HWEF/source-media/retired-css/home-color-1014.css */

/* the "Hardy Williams" stamp above the photo tiles: filled gold */
.paths__head .stamp { background: #FFCE00; color: #011F5B; --stamp-c: #011F5B; }

/* each photo tile takes its own brand colour instead of all navy */
.photo-path { background: var(--tone, #011F5B); }
.photo-path__img::before { background: var(--tone, #011F5B); }
.photo-path__img::after { background-image: radial-gradient(circle at center, transparent 0 38%, var(--tone, #011F5B) 62%); }
.photo-path::after { background: linear-gradient(180deg, transparent, var(--tone, #011F5B) 92%); opacity: .95; }
.photo-path__text { border-top-width: 4px; }


/* Oct 26: hero placeholder while the new hero is designed. The old hero is saved in HWEF/source-media/pre-hero-placeholder-1026/ */
.hero--placeholder { padding-bottom: clamp(48px, 6vw, 80px); }
.hero-ph {
  position: relative; margin-top: clamp(28px, 4vw, 48px); padding: clamp(48px, 8vw, 110px) clamp(24px, 5vw, 72px);
  border: 3px dashed #011F5B; border-radius: 10px; text-align: center;
  background: #F7F2E6;
}
.hero-ph .eyebrow { margin-bottom: 14px; }
.hero-ph__title { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.05; color: #011F5B; margin: 0 auto 18px; max-width: 16ch; }
.hero-ph__note { font-size: clamp(18px, 1.6vw, 21px); color: #3D3A33; margin: 0 auto; max-width: 36em; }
.hero-ph__tag { display: inline-block; margin-top: 26px; padding: 7px 14px 6px; background: #FFCE00; color: #011F5B; font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; }

/* Oct 27: family branch off the 1952–54 stop of the homepage timeline (Royal Purple) */
.fam { position: relative; margin-top: 18px; }
.fam__body { position: relative; background: #fff; border-top: 5px solid #6D2077; border-radius: 6px; padding: 22px 26px 24px; box-shadow: 0 12px 28px -18px rgba(0,0,0,.45); }
.fam__label { margin: 0 0 14px; font: 700 13px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #6D2077; }
.fam__rail { position: relative; display: grid; grid-template-columns: 1fr 1.6fr; gap: 28px; margin: 0; padding: 0 0 0 0; list-style: none; }
.fam__stop { position: relative; padding-left: 26px; }
.fam__node { position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #6D2077; box-shadow: 0 0 0 4px #F1E3F3; }
.fam__year { display: block; font: 700 22px/1.1 var(--serif); color: #6D2077; margin-bottom: 4px; }
.fam__stop p { margin: 0; font-size: 17px; line-height: 1.55; }
.fam__kids { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.fam__kids li { font: 600 15px/1 var(--sans); padding: 9px 14px; border-radius: 999px; background: #F4ECF5; color: #4A1552; }
@media (min-width: 1100px) {
  /* the card sits under the right-hand part of the rail; a purple stem grows from the 1952–54 node (4th of 11) */
  .fam { margin-left: calc(100% * 3.5 / 11 - 2px); margin-top: 26px; }
  /* the stem runs from the rail line (middle of the 470px rail) down through the gap between the College and Penn Law cards */
  .fam__stem { position: absolute; left: 0; bottom: 100%; height: calc(235px + 26px - 15px); border-left: 3px dashed #6D2077; z-index: 0; }
  .fam__body { border-top-left-radius: 0; }
}
@media (max-width: 1099.98px) {
  .fam { margin-left: 58px; }
  .fam__stem { position: absolute; left: -36px; top: -18px; width: 30px; height: 40px; border-left: 3px dashed #6D2077; border-bottom: 3px dashed #6D2077; border-bottom-left-radius: 14px; }
  .fam__rail { grid-template-columns: 1fr; gap: 16px; }
}
