/* cap-and-gown: upright, dignified type; school colour for actions, gold in the art. */
.tpl-cap-and-gown { --eyebrow: var(--accent); }

/* The graduate's name large and upright; the school or degree is a longer line, set smaller. */
.tpl-cap-and-gown .hero__name { font-size: clamp(2.3rem, 11vw, 3.1rem); font-style: normal; font-weight: 600; line-height: 1.05; text-shadow: none; }
.tpl-cap-and-gown .hero__name:last-child { font-size: clamp(1.3rem, 5.8vw, 1.65rem); font-style: italic; font-weight: 400; line-height: 1.25; color: var(--accent); }
.tpl-cap-and-gown .hero__joiner {
  font-family: var(--font-label); font-size: var(--step--1); letter-spacing: .28em; text-transform: uppercase; margin-block: .6em .35em;
}
.tpl-cap-and-gown[lang="ar"] .hero__name { font-size: clamp(2.2rem, 10.5vw, 2.9rem); font-weight: 700; line-height: 1.4; }
.tpl-cap-and-gown[lang="ar"] .hero__name:last-child { font-size: clamp(1.25rem, 5.6vw, 1.6rem); font-style: normal; font-weight: 500; line-height: 1.5; }
.tpl-cap-and-gown[lang="ar"] .hero__joiner { font-family: var(--font-body); font-size: var(--step-0); letter-spacing: 0; text-transform: none; }

/* Buttons and the reply bar in the school colour with a gold edge: white text reads on it. */
.tpl-cap-and-gown :is(.btn--primary, .rsvp-bar) {
  background: linear-gradient(135deg, var(--art-bloom), var(--art-deep) 65%);
  border: 1px solid var(--art-line);
}
.tpl-cap-and-gown .btn--primary { box-shadow: 0 10px 28px color-mix(in srgb, var(--art-deep) 28%, transparent); }

/* "days to graduation" is longer than "days to go": keep it inside the laurel ring. */
.tpl-cap-and-gown .countdown__label, .tpl-cap-and-gown[lang="ar"] .countdown__label { font-size: var(--step-1); }
