/* ==========================================================================
   Visual upgrade layer. Everything is scoped to html.up, so removing the
   "up" class (or this file) gives back the original site exactly.
   ========================================================================== */


/* ---- 1. Readability: slightly larger small labels ----------------------- */
.up .eyebrow { font-size: .86rem; }
.up .nav-links .btn { font-size: .78rem; }
.up .logos__label { font-size: .8rem; }
.up .cta-note, .up .logos__press { font-size: .9rem; }

/* ---- 2. "I'm looking for..." becomes three photo cards ------------------- */
.up .chooser { padding: 3rem 0; }
.up .chooser__grid { gap: 1.2rem; }
.up .chooser a {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 210px; justify-content: flex-end; padding: 1.4rem 1.5rem;
  border: 0; border-radius: 14px; background: var(--ink); color: var(--cream);
  box-shadow: 0 24px 48px -32px rgba(44,36,32,.6);
}
.up .chooser a::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(44,36,32,0) 25%, rgba(44,36,32,.82) 100%);
  transition: background .5s var(--ease);
}
.up .chooser__img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); transition: transform 1.2s var(--ease), filter .6s var(--ease);
  filter: saturate(.85);
}
.up .chooser a:hover { transform: translateY(-4px); background: var(--ink); }
.up .chooser a:hover .chooser__img { transform: scale(1.08); filter: saturate(1); }
.up .chooser a:hover::before { background: linear-gradient(180deg, rgba(44,36,32,.05) 10%, rgba(44,36,32,.88) 100%); }
.up .chooser small { color: var(--sand); }
.up .chooser span { color: var(--cream); font-size: 1.6rem; }
.up .chooser span { text-wrap: balance; }
.up .chooser span::after { content: none; }
/* Round arrow badge in the top-right corner of each photo card */
.up .chooser a::after {
  content: "\2192"; position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(247,241,234,.92); color: var(--ink); font-size: 1rem;
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.up .chooser a:hover::after { transform: rotate(-45deg); background: var(--gold); }
.up .chooser a:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
@media (max-width: 900px) {
  .up .chooser a { min-height: 150px; }
}

/* ---- 3. Numbers row inside the dark quote band -------------------------- */
.up-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  border-top: 1px solid rgba(247,241,234,.16);
}
.up-stats > div { padding: 2rem 1.5rem 0; border-left: 1px solid rgba(247,241,234,.16); }
.up-stats > div:first-child { border-left: 0; padding-left: 0; }
.up-stats dt {
  font-family: var(--serif); font-weight: 500; font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1;
  color: var(--gold); margin-bottom: .7rem; font-variant-numeric: lining-nums tabular-nums;
}
.up-stats sup { font-size: .5em; vertical-align: super; margin-left: .05em; }
.up-stats dd { margin: 0; font-size: .95rem; line-height: 1.5; color: rgba(247,241,234,.72); max-width: 22ch; }
@media (max-width: 860px) {
  .up-stats { grid-template-columns: 1fr 1fr; }
  .up-stats > div { padding: 1.6rem 1rem 1.6rem 0; border-left: 0; }
  .up-stats > div:nth-child(2n) { padding-left: 1rem; border-left: 1px solid rgba(247,241,234,.16); }
  .up-stats > div:nth-child(-n+2) { border-bottom: 1px solid rgba(247,241,234,.16); }
}

/* ---- 4. Program formats: a visual length scale -------------------------- */
.format__scale { display: flex; gap: 5px; margin-bottom: 1.1rem; }
.format__scale b, .format__scale em {
  display: block; width: 26px; height: 6px; border-radius: 3px; font-style: normal;
}
.format__scale b { background: var(--gold-deep); transform-origin: left; }
.format__scale em { background: rgba(44,36,32,.14); }
.up .format { transition: background .4s var(--ease); }
.up .format:hover { background: rgba(251,248,244,.55); }
.up .format.is-in .format__scale b { animation: scaleIn .7s var(--ease) both; }
.up .format.is-in .format__scale b:nth-child(2) { animation-delay: .08s; }
.up .format.is-in .format__scale b:nth-child(3) { animation-delay: .16s; }
.up .format.is-in .format__scale b:nth-child(4) { animation-delay: .24s; }
@keyframes scaleIn { from { transform: scaleX(0); } }

/* ---- 5. Testimonials: one large spotlight with portraits ---------------- */
.spot {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; margin-top: 3.5rem;
}
.spot__photo { position: relative; aspect-ratio: 4 / 5; }
.spot__photo::before {
  content: ""; position: absolute; inset: 0; border-radius: 16px;
  border: 1px solid rgba(184,151,113,.55); transform: translate(16px, 16px);
}
.spot__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px;
  opacity: 0; transform: scale(1.03); transition: opacity .8s var(--ease), transform 1.2s var(--ease);
  box-shadow: 0 40px 80px -40px rgba(44,36,32,.55);
}
.spot__photo img.is-on { opacity: 1; transform: none; }
.spot__quotes { display: grid; }
.spot__q { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.spot__q[hidden] { display: block; visibility: hidden; }
.spot__q.is-on { opacity: 1; transform: none; visibility: visible; }
.spot__q blockquote {
  margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.32; color: var(--ink);
}
.spot__q blockquote::before {
  content: "\201C"; display: block; font-size: 5.5rem; line-height: .55; height: 2.4rem; color: var(--gold);
}
.spot__q figcaption { margin-top: 1.6rem; }
.spot__q figcaption strong { display: block; font-size: 1.05rem; color: var(--ink); }
.spot__q figcaption span { font-size: .92rem; color: var(--ink-soft); }
.spot__people { display: flex; gap: .8rem; margin-top: 2.4rem; }
.spot__people button {
  position: relative; width: 56px; height: 56px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: none;
  filter: grayscale(1); opacity: .55; transition: opacity .3s, filter .3s, transform .3s var(--ease);
}
.spot__people button::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid transparent; transition: border-color .3s;
}
.spot__people button img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.spot__people button:hover { opacity: .9; filter: none; transform: translateY(-2px); }
.spot__people button[aria-selected="true"] { opacity: 1; filter: none; }
.spot__people button[aria-selected="true"]::after { border-color: var(--gold-deep); }
.spot__people button:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 7px; }
@media (max-width: 860px) {
  .spot { grid-template-columns: 1fr; gap: 2.5rem; }
  .spot__photo { aspect-ratio: 1 / 1; max-width: 340px; margin-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .up .chooser__img, .spot__photo img, .spot__q { transition: none; }
  .up .format.is-in .format__scale b { animation: none; }
}
