@charset "UTF-8";
/* ===========================================================================
   SECTION 1 — logo red & white theme (menu + slider)
   ---------------------------------------------------------------------------
   Recolours the header and the hero only. It loads AFTER hero-slider.css and
   touches nothing else on the page, so the rest of the homepage is still the
   green it was — we are working section by section, and the two will meet when
   the other sections are done.

   WHY A SEPARATE FILE: hero-slider.css holds the layout, this holds the
   colour. Dropping this one <link> puts the green and gold back exactly as it
   was, with nothing to unpick.

   THE RED IS #de2a1d — the brand red the owner specified, and the single
   value every other red on this page is derived from. (Sampling the logo file
   itself returns #de2a1c, one step off in blue; the owner's value governs.)

   CONTRAST, checked rather than assumed:
     white on #de2a1d ............ 4.71:1  (passes AA for normal text)
     #c21f12 on white ............ 6.0:1   (used for small uppercase labels,
                                            where 4.73 would be tight)
     #1a1a1a on #fff9f8 .......... 16:1
   Red is kept for accents — borders, the eyebrow, one filled bar — and white
   does the rest, so the page reads as red AND white rather than all red.
   =========================================================================== */

:root {
    --ryp-red: #de2a1d;        /* brand red, set by the owner */
    --ryp-red-deep: #b51f14;   /* pressed states, small text on light */
    --ryp-red-ink: #c21f12;    /* red text on white, 6:1 */
    --ryp-red-tint: #fdeceb;   /* the faintest wash */
    --ryp-paper: #fff9f8;      /* warm white, not a cold grey */
    --ryp-ink: #1a1a1a;
    --ryp-ink-soft: #4a4542;

    /* Owner's instruction, 15 Nov 2026: section photographs get a slight
       curve. One token so every section rounds by the same amount. */
    --ryp-img-radius: 14px;
    /* The ground a section is painted on. Overridden per section by the
       .ryp-ground--* classes in section-divide.css; anything that has to
       punch a hole in a line (the process nodes) reads it from here. */
    --ryp-ground: #fff;
}

/* ===========================================================================
   MENU
   Rebuilt to the owner's reference: one white row — logo on the left, the
   links on the right, and a single solid red block button hard against the
   right edge. White does the work; red appears once.

   No markup is touched. `display: contents` on .middle-box lifts the logo,
   the phone and the button out of their 3-column grid so they can sit in the
   same flex row as the <nav>, and `order` arranges them. Every class custom.js
   binds to — .toogle-box, nav.main-navbar, .nav-item, .dropdown-trigger,
   .mobile-nav-overlay — is left exactly where it was.

   Selectors mirror the live ones so they win on source order, not weight.
   =========================================================================== */

/* -- things removed from the header ---------------------------------------
   PHONE: taken out of the menu row at every width, as asked. The number is
   not lost from the page — it is in the footer, and on a phone the sticky
   WhatsApp bar sits over every screen.

   BACKGROUND SKETCHES: .header-bg-decor paints ganga-arti-sketch.webp and
   rishikesh-sketch.webp behind the bar through its two pseudo-elements. They
   sat right behind the logo and muddied it. The reference header is plain
   white, so both go.
   -------------------------------------------------------------------------- */
.site-header .middle-box .box:has(.top-contact-link) { display: none; }

.site-header .header-bg-decor { display: none; }
.site-header .header-bg-decor::before,
.site-header .header-bg-decor::after { content: none; background-image: none; }

/* -- the slim strip above --------------------------------------------------
   The reference has no coloured band. Ours carries the email, the address and
   the social links, which are real content, so it stays — but quietly, on
   white, so the header reads as one white object. */
.site-header .topbar-wrapper {
    background: #fff;
    border-bottom: 1px solid #efe6e4;
}
.site-header .topbar-wrapper .inner-wrap .contact-media-wrapper .email-add-link,
.site-header .topbar-wrapper .inner-wrap .social-media-wrapper ul.social-media-box li a { color: var(--ryp-ink-soft); }
.site-header .topbar-wrapper .inner-wrap .contact-media-wrapper .email-add-link .email-add-value { color: var(--ryp-ink-soft); }
.site-header .topbar-wrapper .inner-wrap .social-media-wrapper .social-media-title { color: var(--ryp-ink-soft); }
.site-header .topbar-wrapper .inner-wrap .contact-media-wrapper .email-add-link .email-add-icon img,
.site-header .topbar-wrapper .inner-wrap .social-media-wrapper ul.social-media-box li a img {
    filter: none;
    opacity: .62;
}
.site-header .topbar-wrapper .inner-wrap .contact-media-wrapper .email-add-link:hover .email-add-value { color: var(--ryp-red-ink); }

/* -- one white row --------------------------------------------------------- */
@media (min-width: 62rem) {
    .site-header {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        background: #fff;
    }
    .site-header .topbar-wrapper { flex: 1 0 100%; }

    /* The three wrappers inside .middle-box become direct items of this row. */
    .site-header .middle-box { display: contents; }

    .site-header .middle-box .box {
        display: flex;
        align-items: center;
        padding: 0;
        border: 0;
    }
    .site-header .middle-box .box:has(.logo-wrap)        { order: 1; padding-left: clamp(1rem, 2.4vw, 2.5rem); }
    .site-header nav.main-navbar                         { order: 2; flex: 1 1 auto; display: flex; justify-content: flex-end; align-items: center; }
    .site-header .middle-box .box:has(.enroll-link)      { order: 4; margin-left: clamp(1rem, 2vw, 2rem); align-self: stretch; }
    .site-header .middle-box .toogle-box                 { display: none; }

    .site-header .middle-box .box:has(.logo-wrap) .logo-wrap { display: flex; align-items: center; padding-block: .75rem; }

    /* -- links ------------------------------------------------------------- */
    .site-header nav.main-navbar {
        background: transparent;
        border: 0;
    }
    .site-header nav.main-navbar .main-ul-menu {
        display: flex;
        align-items: center;
        gap: clamp(.5rem, 1.6vw, 1.75rem);
        margin: 0;
        padding: 0;
    }
    .site-header nav.main-navbar .main-ul-menu li.nav-item > .nav-link {
        padding: 1.5rem 0;
        background: transparent;
        color: var(--ryp-ink);
        font-size: clamp(.875rem, .82rem + .2vw, 1rem);
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
    }
    .site-header nav.main-navbar .main-ul-menu li.nav-item:hover > .nav-link,
    .site-header nav.main-navbar .main-ul-menu li.nav-item.active > .nav-link,
    .site-header nav.main-navbar .main-ul-menu li.nav-item.current-menu-item > .nav-link {
        background: transparent;
        color: var(--ryp-red-ink);
    }

    /* NO underline flourish here, deliberately.
       The live stylesheet already uses .nav-link::after for the dropdown
       chevron, so a second ::after does not stack — the two declarations merge
       and you get the chevron's 6x6 box with my absolute position and fill,
       i.e. a small red square floating under the label. The reference marks
       hover with colour alone, which is what the rule above does. */

    /* The live nav stretches its items and rules a line between them. The
       reference does neither: the links sit at their own width, spaced. */
    .site-header nav.main-navbar .main-ul-menu li.nav-item {
        flex-grow: 0;
        border-right: none;
    }
    /* The chevron inherits currentColor, so it follows the link on hover. */
    .site-header nav.main-navbar .main-ul-menu li.nav-item.has-dropdown > .nav-link::after,
    .site-header nav.main-navbar .main-ul-menu li.nav-item:has(.mega-col-wrapper) > .nav-link::after {
        margin-left: .45rem;
        opacity: .6;
    }

    /* -- the one button: a solid block at the right edge -------------------- */
    .site-header .middle-box .box:nth-child(3) .enroll-link {
        display: flex;
        align-items: center;
        gap: .625rem;
        height: 100%;
        min-height: 68px;
        padding: 0 clamp(1.25rem, 2.6vw, 2.5rem);
        background: var(--ryp-red);
        /* Square, like the reference — the block runs to the header's edge. */
        border-radius: 0;
        transition: background 240ms cubic-bezier(.22, 1, .36, 1);
    }
    .site-header .middle-box .box:nth-child(3) .enroll-link:hover { background: var(--ryp-red-deep); }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-content { padding-right: 0; }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-content .enroll-top { color: hsla(0, 0%, 100%, .78); }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-content .enroll-text,
    .site-header .middle-box .box:nth-child(3) .enroll-link:hover .enroll-content .enroll-text { color: #fff; }
    /* The live rule hangs a curved-arrow image off this; it does not belong on
       a solid block. */
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-content .enroll-text::before { display: none; }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-icon {
        width: 30px; height: 30px;
        background: hsla(0, 0%, 100%, .18);
    }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-icon::before { display: none; }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-icon img { filter: brightness(0) invert(1); }
}

/* The dropdown stays white — a red panel of red links would be unreadable. */
.site-header nav.main-navbar .main-ul-menu li.nav-item .mega-col-wrapper { background: #fff; }
.site-header nav.main-navbar .main-ul-menu li.nav-item .mega-col-wrapper.mega-col-single .mega-col .sub-menu li a.mega-link:hover,
.site-header nav.main-navbar .main-ul-menu li.nav-item .mega-col-wrapper .mega-col .sub-menu li a.mega-link:hover {
    color: var(--ryp-red-ink);
    background: var(--ryp-red-tint);
}

/* -- below 62rem the live mobile header keeps its own layout -------------- */
@media (max-width: 61.99rem) {
    .site-header nav.main-navbar { background: #fff; }
    .site-header nav.main-navbar .main-ul-menu li.nav-item > .nav-link { color: var(--ryp-ink); }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-content .enroll-text { color: var(--ryp-red-ink); }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-icon { background: var(--ryp-red); }
    .site-header .middle-box .box:nth-child(3) .enroll-link .enroll-icon img { filter: brightness(0) invert(1); }
}

/* The burger, so it is visible against whatever sits behind it. */
.site-header .middle-box .toogle-box span { background: var(--ryp-red); }

/* ===========================================================================
   HERO
   From a dark green panel to warm white, with the line drawing behind the
   words and the red used only on the edges.
   =========================================================================== */
.ryp-hero {
    --hero-ink: var(--ryp-ink);
    --hero-ink-soft: var(--ryp-ink-soft);
    --hero-gold: var(--ryp-red);
    --hero-deep: #fff;

    /* The torn edge at the bottom is WHITE — it is the page below showing
       through the tear. On a flat #fff9f8 hero that white was invisible: the
       two colours were a hair apart, so the paper effect simply did not read.
       The panel now deepens towards the bottom, which is exactly where the
       tear sits, so the rip has something to tear away from. */
    background: linear-gradient(180deg,
        var(--ryp-paper) 0%,
        #fdefec 52%,
        #fbe2de 100%);
    color: var(--ryp-ink);
}

/* The two decorative washes behind everything were tuned for a dark panel;
   on white they would read as dirty smudges. */
.ryp-hero::before {
    background:
        radial-gradient(closest-side, rgba(222, 42, 29, .07), transparent 70%) 14% 18% / 44rem 44rem no-repeat,
        radial-gradient(closest-side, rgba(222, 42, 29, .05), transparent 70%) 90% 82% / 32rem 32rem no-repeat;
}

/* -- the line drawing ----------------------------------------------------
   Sits behind the text column, large, and faint enough to stay a texture
   rather than compete with the headline. It is decoration: aria-hidden is not
   needed because it is a background, and it never affects layout. */
.ryp-hero__viewport::before {
    content: "";
    position: absolute;
    left: -6%;
    top: 50%;
    width: min(30rem, 40%);
    aspect-ratio: 760 / 913;   /* the drawing's own ratio — wrong here and it stretches */
    transform: translateY(-50%);
    /* The ?v= matters: this stylesheet is versioned by its own mtime, but a URL
       inside it is not, so without a bump a returning visitor keeps the drawing
       they already have cached. Bump it whenever the file is replaced. */
    background: url("../img/yoga-lineart.webp?v=2") left center / contain no-repeat;
    /* Faint on purpose. It crosses the headline and the paragraph, so it has
       to stay a texture; any darker and it starts competing with the words. */
    opacity: .10;
    pointer-events: none;
    z-index: 0;
}
/* Keep everything above the drawing.
   NOTE: z-index only on the arrows. They are position:absolute in the layout
   file, and setting position:relative here knocked them out of their corners
   and stacked them both at the left. */
.ryp-hero__track, .ryp-hero__dots { position: relative; z-index: 1; }
.ryp-hero__nav { z-index: 2; }

@media (max-width: 61.99rem) {
    /* At phone width the drawing would sit under the paragraph and make it
       hard to read, so it moves behind the whole slide and fades further. */
    .ryp-hero__viewport::before {
        left: 50%; width: 22rem;
        transform: translate(-50%, -50%);
        opacity: .08;
    }
}

/* -- text ---------------------------------------------------------------- */
.ryp-slide__eyebrow { color: var(--ryp-red-ink); }       /* 6:1 on the paper */
.ryp-slide__title { color: var(--ryp-ink); }
.ryp-slide__title em { color: var(--ryp-red); }
.ryp-slide__script { color: var(--ryp-red-ink); }
.ryp-slide__desc { color: var(--ryp-ink-soft); }

/* -- button: white with a red edge, filling red on hover ----------------- */
.ryp-slide__cta {
    border-color: var(--ryp-red);
    color: var(--ryp-red-ink);
    background-image: linear-gradient(to right, var(--ryp-red) 0 50%, #fff 50% 100%);
}
.ryp-slide__cta:hover,
.ryp-slide__cta:focus-visible {
    border-color: var(--ryp-red);
    color: #fff;                                   /* 4.73:1 on the red */
    box-shadow: 0 10px 24px rgba(222, 42, 29, .28);
}

/* -- photograph: the red edge ------------------------------------------- */
.ryp-slide__media img {
    border: 3px solid var(--ryp-red);
    /* On white, the heavy dark drop from the green theme looks like dirt.
       A soft red-tinted lift sits in the palette instead. */
    box-shadow:
        0 2px 6px rgba(222, 42, 29, .14),
        0 22px 48px rgba(26, 26, 26, .14);
}

/* The blobs behind it, re-tinted. They keep moving exactly as before. */
.ryp-slide__media::before {
    background: radial-gradient(closest-side,
        rgba(222, 42, 29, .20), rgba(222, 42, 29, .06) 62%, transparent 78%);
}
.ryp-slide__media::after {
    background: radial-gradient(closest-side,
        rgba(222, 42, 29, .13), rgba(255, 170, 160, .10) 62%, transparent 78%);
}

/* -- arrows and dots on a light ground ---------------------------------- */
.ryp-hero__nav {
    background: #fff;
    border-color: rgba(222, 42, 29, .35);
    color: var(--ryp-red-ink);
    box-shadow: 0 4px 14px rgba(26, 26, 26, .10);
}
.ryp-hero__nav:hover { background: var(--ryp-red); border-color: var(--ryp-red); color: #fff; }
.ryp-hero__dot::before { background: rgba(222, 42, 29, .28); }
.ryp-hero__dot[aria-selected="true"]::before { background: var(--ryp-red); }

/* -- the figures row ----------------------------------------------------- */
.ryp-hero__trust {
    background: rgba(222, 42, 29, .18);     /* shows through as the hairlines */
    border-color: rgba(222, 42, 29, .22);
}
.ryp-hero__trust-item { background: #fff; }
.ryp-hero__trust-num { color: var(--ryp-ink); }
.ryp-hero__trust-num sup, .ryp-hero__trust-star { color: var(--ryp-red); }
.ryp-hero__trust-label { color: var(--ryp-ink-soft); }

/* -- the torn edge reveals the white page below -------------------------- */
.ryp-hero__tear { color: #fff; }

/* ===========================================================================
   MOBILE
   The green hero put the photograph behind the words under a dark scrim. On a
   light theme that would mean a dark block in the middle of a white page, so
   the slide stacks properly instead: words first, then the picture as its own
   red-edged card.
   =========================================================================== */
@media (max-width: 61.99rem) {
    .ryp-slide {
        position: static;
        min-height: 0;
        gap: 1.5rem;
    }
    .ryp-slide__media {
        position: static;
        inset: auto;
        z-index: auto;
        order: 2;                       /* under the words */
    }
    .ryp-slide__media img {
        height: auto;
        aspect-ratio: 4 / 3;
        border-radius: 20px;
        border: 3px solid var(--ryp-red);
        box-shadow: 0 2px 6px rgba(222, 42, 29, .14), 0 18px 36px rgba(26, 26, 26, .12);
    }
    /* ::after was the dark scrim here. There is no photograph behind the text
       any more, so it goes back to being a blob — and a still one. */
    .ryp-slide__media::after {
        inset: -10% -14%;
        z-index: -1;
        border-radius: 58% 42% 38% 62% / 52% 61% 39% 48%;
        background: radial-gradient(closest-side,
            rgba(222, 42, 29, .14), transparent 76%);
    }
    .ryp-slide__media::before { display: block; inset: -12% -10%; }
    .ryp-slide__text { padding-block: 0; }
}
