.front-sidebar { display:flex; flex-direction:column; min-width:0; gap:14px; }
.front-sidebar .profile-card { flex:1; }
.front-sidebar .profile-card .textlink { margin-top:auto; }

.club-promo {
  --promo-height: clamp(148px,12.7vw,185px);
  --promo-period: 3.2s;
  position:relative;
  background:var(--navy);
  color:white;
  border-top:3px solid var(--red);
}
.club-promo .promo-story {
  display:flex;
  height:var(--promo-height);
  padding:clamp(13px,1.3vw,20px);
  flex-direction:column;
  align-items:flex-start;
  position:relative;
  isolation:isolate;
  overflow:hidden;
}
.promo-film, .promo-veil { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.promo-film { inset:0; overflow:hidden; }
.promo-film img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
.promo-seine { object-position:center 37%; animation:promo-seine-push var(--promo-period) linear infinite both; }
.promo-rooftops {
  opacity:0;
  object-position:52% 55%;
  animation:promo-reveal var(--promo-period) linear infinite both, promo-rooftop-track var(--promo-period) linear infinite both;
}
.promo-veil {
  background:linear-gradient(90deg, rgba(7,28,69,.63) 0%, rgba(7,28,69,.41) 28%, rgba(7,28,69,.19) 58%, transparent 85%),
             linear-gradient(0deg, rgba(4,16,40,.65), rgba(4,16,40,.04) 80%);
}
.promo-kicker { font-weight:700; font-size:11px; letter-spacing:.035em; }
.promo-kicker span { margin-inline:3px; color:#c6d3ea; }
.promo-heading { margin-top:auto; padding-right:12px; font-size:clamp(25px,2.2vw,34px); font-weight:720; line-height:1.04; letter-spacing:-.045em; }
.promo-heading svg { display:inline; vertical-align:baseline; transition:transform .18s; }
.promo-story:hover .promo-heading svg { transform:translate(2px,-2px); }
.promo-lines { display:grid; margin-top:5px; font-size:13px; line-height:1.35; }
.promo-lines > span { grid-area:1/1; animation:promo-line var(--promo-period) ease-in-out infinite both; }
.promo-lines > span + span { animation-name:promo-line-next; opacity:0; }
.club-promo :is(.promo-film img, .promo-lines > span) { animation-play-state:paused; }
.club-promo.is-playing :is(.promo-film img, .promo-lines > span) { animation-play-state:running; }
/* The river view stays underneath throughout. Its camera resets while the rooftops fill the frame. */
@keyframes promo-seine-push {
  0%,100% { transform:translate3d(-1.4%,.6%,0) scale(1.07); }
  52% { transform:translate3d(3.8%,-1.8%,0) scale(1.21); }
  72%,92% { transform:translate3d(-2.2%,.97%,0) scale(1.075); }
}
@keyframes promo-rooftop-track {
  0%,43% { transform:translate3d(3%,-1.2%,0) scale(1.19); }
  100% { transform:translate3d(-2%,.8%,0) scale(1.078); }
}
@keyframes promo-reveal {
  0%,44.5%,100% { opacity:0; }
  50%,94.5% { opacity:1; }
}
@keyframes promo-line {
  0%,44.5%,100% { opacity:1; }
  50%,94.5% { opacity:0; }
}
@keyframes promo-line-next {
  0%,44.5%,100% { opacity:0; }
  50%,94.5% { opacity:1; }
}
.promo-rights summary {
  position:absolute;
  right:9px;
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  top:calc(var(--promo-height) - 35px);
  list-style:none;
  color:white;
  background:rgba(6,23,57,.7);
  border:1px solid rgba(255,255,255,.34);
  border-radius:50%;
  cursor:pointer;
  z-index:1;
}
.promo-rights summary::-webkit-details-marker { display:none; }
.club-promo .promo-rights summary:hover { background:#071c45; }
.club-promo :is(a,summary):focus-visible { outline:2px solid white; outline-offset:-3px; }
.promo-rights-panel { padding:10px 15px; border-top:1px solid rgba(255,255,255,.34); font-size:11px; line-height:1.45; }
.promo-rights-panel p + p { margin-top:3px; }
.promo-rights-panel a { text-decoration:underline; text-underline-offset:.13em; }
@media (max-width:790px) and (min-width:621px) {
  .club-promo { --promo-height:148px; }
  .promo-heading { font-size:24px; }
}
@media (max-width:620px) {
  .front-sidebar { gap:13px; }
  .club-promo { --promo-height:clamp(142px,40vw,181px); }
  .promo-heading { font-size:clamp(26px,7.1vw,34px); }
}
@media (prefers-reduced-motion:reduce) {
  .club-promo :is(.promo-film img,.promo-lines > span) { animation:none; }
  .promo-story:hover .promo-heading svg { transform:none; }
}

/* Give the mobile tiles definite columns; Safari can otherwise size the image from the whole multi-row grid area. */
@media(max-width:620px){
 .features-grid .tile{grid-template-columns:minmax(0,39%) minmax(0,1fr)}
 .features-grid .tile .pic{position:relative;width:100%;min-width:0;min-height:105px;height:auto;aspect-ratio:auto;align-self:stretch;overflow:hidden}
 .features-grid .tile .pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
 .features-grid .tile :is(h3,p,.tile-meta){min-width:0;overflow-wrap:break-word}
}
