@charset "UTF-8";
/* ===========================================================================
   404 — "This Page Took a Longer Path"
   ---------------------------------------------------------------------------
   Owner, 16 Nov 2026: the 404 was never rebuilt, and the header and footer
   around it have changed, so it has to come with them.

   WHAT IT LOOKED LIKE, MEASURED rather than guessed. Every colour on the page
   was still the pre-red palette, because its rules live in
   assets/css/ryp-overrides.css — a LIVE file, loaded thirteenth, which the
   redesign sheets had no rule for:

     the headline  rgb(15, 66, 71)    dark teal
     "ERROR 404"   rgb(136, 103, 18)  gold
     Back to Home  rgb(46, 131, 120)  teal fill
     the lotus     rgb(31, 91, 84)    green
     the ground    #f7f4ee under a green radial wash
     the tiles     white, 20px radius, floating
     tile text     rgb(95, 28, 23)    the old maroon

   This sheet is the last word on all of it: same selectors, same specificity,
   later file. ryp-overrides.css is not touched.

   THE SHAPE ALSO CHANGES. It was a centred column — lotus, then words, then a
   four-up grid of white cards. The rebuild puts the lotus BESIDE the words on
   a wide screen and turns the cards into ruled entries, which is the language
   the rest of the site now speaks. On a phone it stacks, as it did.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. THE GROUND
   ---------------------------------------------------------------------------
   The section carried its own cream fill and a green radial wash. Both go: the
   ground is now declared by .ryp-ground--paper on the element, like every
   other section, and the banner's own wave foot above it picks that paper up
   (`:has(+ .ryp-ground--paper)` in section-divide.css). No .ryp-seam here --
   see the note in 404.php for the second wave that one drew.

   The two floating orbs are switched off rather than deleted from the markup.
   They are decorative <span>s with no content; a rule here is reversible and a
   markup edit on a page built from the live file is not.
   --------------------------------------------------------------------------- */
.ryp-404 { background-image: none; }
.ryp-404-orb { display: none; }

/* ---------------------------------------------------------------------------
   2. THE MASTHEAD
   ---------------------------------------------------------------------------
   One column on a phone, in source order. From 62rem the breathing lotus takes
   a narrow left rail and the words sit beside it, which is what stops a 404
   from reading as an apology centred in the middle of an empty page.
   --------------------------------------------------------------------------- */
.ryp-404 > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem);
}

@media (min-width: 62rem) {
    .ryp-404 > .container {
        grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
        column-gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
        align-items: center;
    }
    .ryp-404 .ryp-404-breath  { grid-column: 1; grid-row: 1; }
    .ryp-404 .ryp-404-head    { grid-column: 2; grid-row: 1; }
    .ryp-404 .ryp-404-explore { grid-column: 1 / -1; grid-row: 2; }
    .ryp-404 .ryp-404-head,
    .ryp-404 .ryp-404-head * { text-align: left; }
    .ryp-404 .ryp-404-actions { justify-content: flex-start; }
}

/* -- the breath ------------------------------------------------------------
   The one animated thing on the page, and it is kept: a dead end turned into a
   pause is a good idea and the owner's. Only the colour changes — the rings
   and the lotus were green and maroon. -------------------------------------- */
.ryp-404 .ryp-404-lotus { color: var(--ryp-red); }
.ryp-404 .ryp-404-ring { border-color: rgba(222, 42, 29, .38); }
.ryp-404 .ryp-404-ring--2 { border-color: rgba(222, 42, 29, .26); }
.ryp-404 .ryp-404-ring--3 { border-color: rgba(222, 42, 29, .16); }
.ryp-404 .ryp-404-cue {
    color: var(--ryp-ink-soft);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
}

/* -- the words ------------------------------------------------------------- */
.ryp-404 .ryp-404-code {
    margin: 0 0 .5rem;
    color: var(--ryp-red-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
}
.ryp-404 .ryp-404-title {
    margin: 0;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.875rem, 1.3rem + 2.6vw, 3.25rem);
    line-height: 1.1;
    text-wrap: balance;
    color: var(--ryp-ink);
}
.ryp-404 .ryp-404-lede {
    margin: .875rem 0 0;
    max-width: 52ch;
    font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
    line-height: 1.7;
    color: var(--ryp-ink-soft);
}

/* -- the two buttons -------------------------------------------------------
   Pills in the site's own red, not the teal fill and the WhatsApp green that
   were here. Same geometry as .theme-button elsewhere. ---------------------- */
.ryp-404 .ryp-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}
.ryp-404 .ryp-404-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 48px;
    padding: 0 1.375rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9375rem;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.ryp-404 .ryp-404-btn--primary {
    background: var(--ryp-red);
    border: 1px solid var(--ryp-red);
    color: #fff;
}
.ryp-404 .ryp-404-btn--primary:hover,
.ryp-404 .ryp-404-btn--primary:focus-visible {
    background: var(--ryp-red-deep);
    border-color: var(--ryp-red-deep);
    color: #fff;
}
.ryp-404 .ryp-404-btn--ghost {
    background: transparent;
    border: 1px solid var(--ryp-red);
    color: var(--ryp-red-ink);
}
.ryp-404 .ryp-404-btn--ghost:hover,
.ryp-404 .ryp-404-btn--ghost:focus-visible {
    background: var(--ryp-red);
    border-color: var(--ryp-red);
    color: #fff;
}
.ryp-404 .ryp-404-btn:focus-visible {
    outline: 2px solid var(--ryp-red);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   3. WHERE EVERYTHING LIVES NOW
   ---------------------------------------------------------------------------
   Eight white cards with a 20px radius become eight ruled entries under one
   red rule — the same object as the course list and the contents rail, so a
   visitor who lands here from a dead link still recognises the site.
   --------------------------------------------------------------------------- */
.ryp-404 .ryp-404-h2 {
    margin: 0 0 clamp(1rem, .8rem + .8vw, 1.5rem);
    padding-top: clamp(.875rem, .7rem + .7vw, 1.25rem);
    border-top: 2px solid var(--ryp-red);
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 1.1rem + .8vw, 1.75rem);
    line-height: 1.2;
    text-align: left;
    color: var(--ryp-ink);
}
.ryp-404 .ryp-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 0 clamp(1.5rem, 1rem + 2vw, 3rem);
    /* MEASURED: ryp-overrides.css caps this grid and centres it, so it came
       out 1040px wide inside a 1296px container -- the entries sat 128px in
       from the heading above them, and auto-fit could only find room for
       three columns, which left the eight tiles as 3/3/2. Released, it fills
       the container and lands on four and four. */
    max-width: none;
    margin-inline: 0;
}
.ryp-404 .ryp-nav-tile {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    column-gap: .875rem;
    row-gap: .125rem;
    align-items: start;
    padding: clamp(.875rem, .7rem + .7vw, 1.125rem) 0;
    background: none;
    border: 0;
    border-top: 1px solid rgba(26, 26, 26, .14);
    border-radius: 0;
    box-shadow: none;
    transition: none;
}
.ryp-404 .ryp-nav-tile:hover { transform: none; box-shadow: none; }
.ryp-404 .ryp-nav-tile:focus-visible {
    outline: 2px solid var(--ryp-red);
    outline-offset: 3px;
}
.ryp-404 .ryp-nav-tile-ico {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin: 0;
    background: var(--ryp-red-tint);
    border-radius: 0;
    color: var(--ryp-red-ink);
}
.ryp-404 .ryp-nav-tile-ico svg { width: 17px; height: 17px; }
.ryp-404 .ryp-nav-tile-label {
    grid-column: 2;
    font-family: "Belleza", Georgia, serif;
    font-weight: 400;
    font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
    line-height: 1.25;
    color: var(--ryp-ink);
}
.ryp-404 .ryp-nav-tile:hover .ryp-nav-tile-label { color: var(--ryp-red-ink); }
.ryp-404 .ryp-nav-tile-sub {
    grid-column: 2;
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--ryp-ink-soft);
}

/* ---------------------------------------------------------------------------
   4. PHONE
   --------------------------------------------------------------------------- */
@media (max-width: 61.99rem) {
    .ryp-404 .ryp-404-head,
    .ryp-404 .ryp-404-head * { text-align: center; }
    .ryp-404 .ryp-404-lede { margin-inline: auto; }
    .ryp-404 .ryp-404-actions { justify-content: center; }
    .ryp-404 .ryp-404-h2 { text-align: center; }
}
@media (max-width: 47.99rem) {
    .ryp-404 .ryp-404-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .ryp-404 .ryp-404-btn { transition: none; }
}
