@charset "UTF-8";
/* ===========================================================================
   /alumni/ AND /alumni-directory/ — THE GRADUATE PAGES
   ---------------------------------------------------------------------------
   MEASURED FIRST, and it changed what this file is. A scan of both pages for
   any computed colour still reading green came back with FOUR on /alumni/ and
   NONE on the directory: the form fields' hairline (#cfe0dd) and the consent
   checkbox's accent-colour. The generated palette remap had already reached
   everything else. So this is not a recolouring job -- it is a layout one,
   and only the four strays below are repainted.

   WHAT ACTUALLY NEEDED FIXING
   * ALIGNMENT. ryp-overrides.css centres .alum in an 80ch column, so the
     letter sat 235px in from the masthead above it and the page read as two
     pieces. It now starts where the heading starts.
   * THE BOXES. Perks, profile cards, the form and the empty state were five
     different rounded white panels on a white page. They become ruled groups,
     which is the language every other rebuilt page now uses.
   * THE MEASURE. Prose ran the full 80ch (~125 characters at Figtree's `ch`).
     Capped where it should be; the grids and the form keep the full width,
     because a two-column form at 46ch would be unusable.

   NOT TOUCHED: assets/images/alumni-badge.svg. Graduates embed that file BY
   URL on their own sites, so it cannot be forked into the redesign -- a red
   copy here would leave every badge already in the wild green and disagreeing
   with the page that offers it. It has to be swapped in place on the live
   site, on switchover day, and that is the owner's call.
   =========================================================================== */

/* -- the four strays ------------------------------------------------------ */
#ryp-alumni .alum-form input[type="text"],
#ryp-alumni .alum-form input[type="email"],
#ryp-alumni .alum-form input[type="tel"],
#ryp-alumni .alum-form select,
#ryp-alumni .alum-form textarea { border-color: #e4dcd7; }
#ryp-alumni .alum-consent input { accent-color: var(--ryp-red); }

/* ---------------------------------------------------------------------------
   THE COLUMN
   --------------------------------------------------------------------------- */
#ryp-alumni .alum {
    max-width: 62rem;
    margin-inline: 0;
    color: var(--ryp-ink-soft);
}
#ryp-alumni .alum p { line-height: 1.7; }
#ryp-alumni .alum > p,
#ryp-alumni .alum-steps,
#ryp-alumni .alum-note,
#ryp-alumni .alum-seealso,
#ryp-alumni .alum-faq dd { max-width: 46ch; }

#ryp-alumni .alum a { color: var(--ryp-red-ink); }
#ryp-alumni .alum a:hover,
#ryp-alumni .alum a:focus-visible { color: var(--ryp-red-deep); }

/* The standfirst above the column is capped to the same shape, so the page
   has one right-hand edge rather than two. */
#ryp-alumni .heading-wrapper > p.text-center { max-width: 62ch; }

/* -- headings ------------------------------------------------------------- */
#ryp-alumni .alum > h2.small-heading {
    margin: 3rem 0 1rem;
    padding: 1.125rem 0 0;
    border-bottom: 0;
    border-top: 2px solid var(--ryp-red);
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem);
    line-height: 1.2;
    color: var(--ryp-ink);
    scroll-margin-top: 7rem;
}

/* -- the opening note ----------------------------------------------------- */
#ryp-alumni .alum-lede {
    max-width: 48ch;
    margin: 0 0 2rem;
    padding: 0 0 0 clamp(.875rem, .6rem + 1vw, 1.25rem);
    background: none;
    border: 0;
    border-left: 2px solid var(--ryp-red);
    border-radius: 0;
    color: var(--ryp-ink);
    font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
    line-height: 1.6;
}
#ryp-alumni .alum-lede strong { color: var(--ryp-red-ink); }

/* -- "What you get" ------------------------------------------------------- */
#ryp-alumni .alum-perks { gap: 0 clamp(1.5rem, 1rem + 2vw, 3rem); }
#ryp-alumni .alum-perks li {
    padding: clamp(.875rem, .7rem + .7vw, 1.125rem) 0;
    background: none;
    border: 0;
    border-top: 1px solid rgba(26, 26, 26, .14);
    border-radius: 0;
}
#ryp-alumni .alum-perks h3 {
    margin: 0 0 .375rem;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
    color: var(--ryp-ink);
}
#ryp-alumni .alum-perks p { font-size: .875rem; line-height: 1.55; max-width: 40ch; }

/* -- the empty state ------------------------------------------------------ */
#ryp-alumni .alum-empty {
    max-width: 48ch;
    padding: 1.125rem 0 0;
    background: none;
    border: 0;
    border-top: 1px solid rgba(26, 26, 26, .14);
    border-radius: 0;
}
#ryp-alumni .alum-empty strong { color: var(--ryp-ink); }

/* -- the steps ------------------------------------------------------------ */
#ryp-alumni .alum-steps li { margin-bottom: .625rem; line-height: 1.65; }
#ryp-alumni .alum-steps li::marker { color: var(--ryp-red-ink); font-weight: 700; }
#ryp-alumni .alum-steps strong { color: var(--ryp-ink); }

/* ---------------------------------------------------------------------------
   THE SUBMISSION FORM
   ---------------------------------------------------------------------------
   Same field language as the enquiry popup, so a graduate who met that form
   meets this one. The panel around it goes; the red rule above the fields is
   what holds the group together.
   --------------------------------------------------------------------------- */
#ryp-alumni .alum-form {
    max-width: 44rem;
    margin: 1.5rem 0 1rem;
    padding: 1.5rem 0 0;
    background: none;
    border: 0;
    border-top: 1px solid rgba(26, 26, 26, .14);
    border-radius: 0;
}
#ryp-alumni .alum-field label {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ryp-ink);
}
#ryp-alumni .alum-field label span { color: var(--ryp-red-ink); }
#ryp-alumni .alum-field label small { text-transform: none; letter-spacing: 0; color: var(--ryp-ink-soft); }

#ryp-alumni .alum-form input[type="text"],
#ryp-alumni .alum-form input[type="email"],
#ryp-alumni .alum-form input[type="tel"],
#ryp-alumni .alum-form select,
#ryp-alumni .alum-form textarea {
    border-radius: 9px;
    padding: .625rem .6875rem;
    color: var(--ryp-ink);
}
#ryp-alumni .alum-form input:focus,
#ryp-alumni .alum-form select:focus,
#ryp-alumni .alum-form textarea:focus {
    border-color: var(--ryp-red);
    box-shadow: 0 0 0 3px rgba(222, 42, 29, .18);
}
#ryp-alumni .alum-form input::placeholder,
#ryp-alumni .alum-form textarea::placeholder { color: #857a74; }

#ryp-alumni .alum-consent {
    background: var(--ryp-red-tint);
    border-radius: 0;
    border-left: 2px solid var(--ryp-red);
}
#ryp-alumni .alum-consent span { color: var(--ryp-red-ink); }
#ryp-alumni .alum-hint { color: var(--ryp-ink-soft); opacity: 1; }

#ryp-alumni .alum-form button[type="submit"].is-done {
    background: var(--ryp-red-deep);
    border-color: var(--ryp-red-deep);
}

/* ---------------------------------------------------------------------------
   THE DIRECTORY ITSELF
   --------------------------------------------------------------------------- */
#ryp-alumni .alum-chip {
    border-color: rgba(26, 26, 26, .2);
    border-radius: 0;
    color: var(--ryp-ink);
    font-size: .8125rem;
}
#ryp-alumni .alum-chip.is-on {
    background: var(--ryp-red);
    border-color: var(--ryp-red);
}
#ryp-alumni .alum-count { color: var(--ryp-ink-soft); font-size: .875rem; }

#ryp-alumni .alum-grid { gap: 0 clamp(1.5rem, 1rem + 2vw, 3rem); }
#ryp-alumni .alum-card {
    padding: clamp(1rem, .8rem + .8vw, 1.375rem) 0;
    background: none;
    border: 0;
    border-top: 1px solid rgba(26, 26, 26, .14);
    border-radius: 0;
    scroll-margin-top: 7rem;
}
/* A linked-to profile is marked by a rule down its leading edge rather than by
   a glowing box -- the same marker the contents rails use for "you are here". */
#ryp-alumni .alum-card:target {
    border-color: rgba(26, 26, 26, .14);
    box-shadow: none;
    border-left: 2px solid var(--ryp-red);
    padding-left: .875rem;
}
#ryp-alumni .alum-photo--mark {
    background: var(--ryp-red);
    border-radius: 0;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
}
#ryp-alumni .alum-photo { border-radius: 0; }
#ryp-alumni .alum-name {
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: 1.125rem;
    color: var(--ryp-ink);
}
#ryp-alumni .alum-place,
#ryp-alumni .alum-meta { color: var(--ryp-ink-soft); opacity: 1; }
#ryp-alumni .alum-quote {
    border-left-color: var(--ryp-red);
    border-left-width: 2px;
    color: var(--ryp-ink);
}
#ryp-alumni .alum-links a { color: var(--ryp-red-ink); }

/* -- the badge and its snippet -------------------------------------------- */
#ryp-alumni .alum-code {
    background: #1a1a1a;
    color: #f2f0ec;
    border-radius: 0;
    border-left: 2px solid var(--ryp-red);
}

/* -- the questions -------------------------------------------------------- */
#ryp-alumni .alum-faq dt {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(26, 26, 26, .14);
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: 1.0625rem;
    color: var(--ryp-ink);
}
#ryp-alumni .alum-faq dd { line-height: 1.7; }

#ryp-alumni .alum-seealso {
    padding-top: 1.125rem;
    border-top: 2px solid var(--ryp-red);
}

/* ---------------------------------------------------------------------------
   PHONE
   --------------------------------------------------------------------------- */
@media (max-width: 47.99rem) {
    #ryp-alumni .alum > p,
    #ryp-alumni .alum-steps,
    #ryp-alumni .alum-note,
    #ryp-alumni .alum-seealso,
    #ryp-alumni .alum-faq dd,
    #ryp-alumni .alum-lede,
    #ryp-alumni .alum-empty,
    #ryp-alumni .alum-perks p { max-width: none; }
    #ryp-alumni .alum > h2.small-heading { margin-top: 2.25rem; }
}

/* ---------------------------------------------------------------------------
   TOUCH TARGETS
   ---------------------------------------------------------------------------
   Measured at 375px with touch emulation: the selects came out 42px and the
   consent checkbox 17px. Both are raised here rather than in mobile-touch.css
   because this sheet loads after it and would otherwise undo it.

   The checkbox's own box stays small on purpose -- its <label> wraps the whole
   two-line sentence and is the real target, which measures well over 44px.
   Growing the box itself only makes it easier to hit directly.
   --------------------------------------------------------------------------- */
@media (pointer: coarse) {
    #ryp-alumni .alum-form input[type="text"],
    #ryp-alumni .alum-form input[type="email"],
    #ryp-alumni .alum-form input[type="tel"],
    #ryp-alumni .alum-form select { min-height: 44px; }
    #ryp-alumni .alum-consent input { width: 22px; height: 22px; }
    #ryp-alumni .alum-chip { min-height: 44px; }
}
