/* ============================================================================
   TERNA GBS — LIGHT THEME  (orange · blue · white)
   ----------------------------------------------------------------------------
   Load this LAST, after terna-dark.css:

       <link rel="stylesheet" href="assets/css/terna-dark.css">
       <link rel="stylesheet" href="assets/css/terna-theme.css">   <-- this file

   WHY A SEPARATE FILE AND NOT AN EDIT TO terna-dark.css
   terna-dark.css is built around CSS variables (--td-*) that are declared once
   in :root. Re-pointing those variables here turns the whole 8,000-line build
   light in one step, and the dark build stays on disk untouched — delete this
   one <link> and the page is dark again.

   WHAT IS IN HERE, IN ORDER
     1. PALETTE          the --td-* variables, re-pointed to white/orange/blue
     2. PAGE SHELL       white page, section rhythm, softened ambient glows
     3. PHOTO CONTEXTS   cards whose copy sits ON an image keep white text
     4. BLUE PANELS      the two deliberate dark-blue bands (white text kept)
     5. TEXT FIXES       rules that hard-coded color:#fff in the dark build
     6. SURFACE FIXES    rules that used rgba(255,255,255,.0x) as a surface
     7. PLACEHOLDERS     dark navy image wells -> pale blue
     8. BACKGROUND PHOTO .tnd-bgimg: dark wash -> white wash
     9. ENQUIRY POPUP    #thModal + specialisation popup on white
    10. LEGACY TEMPLATE  the admission-guide slider

   TO RE-BRAND: change section 1 only.
   ============================================================================ */


/* ============================================================================
   1. PALETTE
   Same variable names as the dark build, light values. Everything in
   terna-dark.css that reads a variable follows this automatically.
   ============================================================================ */
:root {
    /* orange.
       Three jobs, three values — this is the one part of the palette worth
       reading before you change it.
         --td-o          the brand orange. Fills only: buttons, icon chips,
                         bars, the active tab. Never small text.
         --td-o-d        the dark stop of every orange gradient.
         --td-o-l        orange TEXT on white. #d4560c, which the dark build
                         used here, measures 4.09:1 on white — under the 4.5:1
                         WCAG AA floor for body text, and 3.56:1 on the pale
                         blue guide section. #b84908 measures 5.26:1 and 4.57:1
                         and still reads as the same orange at label size.
         --td-o-on-dark  the pale orange, for copy that sits on a photo or on
                         one of the blue panels. Applied in sections 3 and 4. */
    --td-o: #f26a1b;
    --td-o-d: #d4560c;
    --td-o-l: #b84908;
    --td-o-badge: #c85009;
    --td-o-on-dark: #ff9348;

    /* blue — headings, structural panels, secondary accents */
    --td-b: #2b8ae0;
    --td-b-d: #0f4c92;
    --td-b-dd: #0d2a44;

    /* light base */
    --td-bg: #ffffff;
    --td-bg-2: #f4f8fd;
    --td-card: #ffffff;
    --td-card-2: #f8fbfe;
    --td-line: rgba(13, 42, 68, .12);
    --td-line-2: rgba(13, 42, 68, .20);

    /* text.
       --td-w    headings: the brand navy.
       --td-t    body and small copy. Near-black rather than a soft navy-grey,
                 so the small print reads as black on screen (13.9:1).
       --td-t-dim  sub-labels under a figure. Still clearly darker than the
                 dark build's grey, which measured 3.65:1 and failed AA. */
    --td-w: #0d2a44;
    --td-t: #1b2430;
    --td-t-dim: #46505e;

    /* faint surfaces (were rgba(255,255,255,.0x) in the dark build) */
    --td-surf: rgba(13, 42, 68, .04);
    --td-surf-2: rgba(13, 42, 68, .075);

    /* shadows have to be much lighter on white */
    --td-sh: 0 12px 30px rgba(13, 42, 68, .09);
    --td-sh-lg: 0 24px 58px rgba(13, 42, 68, .13);
    --td-sh-o: 0 12px 28px rgba(242, 106, 27, .30);

    /* pale blue well used behind every photo that has not loaded yet */
    --td-well: linear-gradient(160deg, #e6eef9 0%, #d7e4f4 100%);

    /* ONE TYPEFACE.
       The dark build used three: Poppins for the body, Frank Ruhl Libre for
       the serif headings (--td-fs) and Dancing Script for the handwritten
       labels (--td-fh). Both of the extra two now point at Poppins, so every
       heading and label on the page is set in the same family. The two Google
       Font <link>s are removed from index.php as well, which is two fewer
       render-blocking requests. */
    --td-fs: var(--td-ff);
    --td-fh: var(--td-ff);
}

/* The handwritten label above some headings ("Placement Success", "Alumni
   Success Stories") was 38px cursive. In Poppins that size reads as a second
   heading competing with the real one, so it becomes the same small uppercase
   label as .tnd-eyebrow — same role, same look. */
.tnd-script {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 14px;
}

/* the serif headings lose the serif but keep their size */
.tnd-head h2.tnd-serif {
    font-size: 44px;
    letter-spacing: -.5px;
    text-transform: none;
}


/* ============================================================================
   2. PAGE SHELL
   ============================================================================ */
body,
body .boxed_wrapper {
    background: #fff;
}

.tnd-sec {
    background: var(--td-bg);
    color: var(--td-t);
}

/* The ambient radial glows were sized for a near-black page; at dark-build
   strength they turn white sections muddy. */
.tnd-glow::before {
    background: radial-gradient(circle, rgba(15, 76, 146, .09), transparent 68%);
}

.tnd-glow::after {
    background: radial-gradient(circle, rgba(242, 106, 27, .10), transparent 68%);
}

.tnd-flow-wash::before {
    background: radial-gradient(ellipse, rgba(242, 106, 27, .12), rgba(43, 138, 224, .07) 48%, transparent 72%);
}

/* headings read as blue, not black — this is what carries the blue half of the
   palette through the page */
.tnd-sec h2,
.tnd-sec h3,
.tnd-sec h4,
.tnd-head h2.tnd-serif {
    color: var(--td-w);
}

.tnd-head h2 span,
.tnd-script {
    color: var(--td-o-l);
}

/* the pill above each heading */
.tnd-eyebrow {
    border-color: rgba(212, 86, 12, .26);
    background: rgba(242, 106, 27, .10);
    color: var(--td-o-l);
}

/* ---- buttons -------------------------------------------------------------
   The orange primary button is unchanged (white text on orange is correct).
   The ghost button was white-on-translucent-white, which is invisible here. */
.tnd-btn-ghost {
    border: 1.5px solid var(--td-line-2);
    background: #fff;
    color: var(--td-b-d);
    box-shadow: 0 6px 18px rgba(13, 42, 68, .08);
}

.tnd-btn-ghost:hover,
.tnd-btn-ghost:focus-visible {
    border-color: var(--td-b-d);
    background: var(--td-b-d);
    color: #fff;
}

/* OPTIONAL — accessible primary button.
   White on the brand orange measures 3.06:1 at the light end of the gradient
   and 4.09:1 at the dark end. WCAG AA asks 4.5:1 for 15px text, so the Apply
   Now buttons technically fail it, exactly as they do on both of the
   admission pages this design follows. The brand orange is kept by default
   because that is the call a brand makes, not a stylesheet. Uncomment the
   block below to pass AA everywhere white sits on orange — every orange fill
   goes one shade deeper and nothing else on the page moves.

   (The two small 11.5px pills — the student role badge and the specialisation
   ribbon — are already on the deeper orange by default, in section 3. At that
   size the brand orange was genuinely hard to read, and the shade difference
   on a pill that small is not visible.)

.tnd-btn:not(.tnd-btn-ghost):not(.tnd-btn-light),
.tnd-tab.is-on,
.tnd-i2-tabs .tnd-tab.is-on,
.tnd-tabbar-full .tnd-tab.is-on,
.tnd-vchip,
.tnd-legacy-light .th-pill.is-active,
.tnd-legacy-light .th-gbtn {
    background: linear-gradient(100deg, #c85009 0%, #a63f06 100%) !important;
}
*/

/* ---- slider controls ---------------------------------------------------- */
.tnd-arw {
    border: 1.5px solid var(--td-line-2);
    background: #fff;
    color: var(--td-b-d);
    box-shadow: 0 6px 16px rgba(13, 42, 68, .10);
}

.tnd-arw:hover {
    border-color: transparent;
    background: linear-gradient(100deg, var(--td-o), var(--td-o-d));
    color: #fff;
}

.tnd-arw.is-off {
    background: var(--td-surf);
    color: var(--td-t-dim);
    box-shadow: none;
}

.tnd-prog {
    background: rgba(13, 42, 68, .12);
}

.tnd-dots button {
    background: rgba(13, 42, 68, .20);
}

.tnd-dots button.is-on {
    background: var(--td-o);
}

/* the thin bars in the statistics columns */
.tnd-i2-bar {
    background: rgba(13, 42, 68, .10);
}

.tnd-wave-bar {
    background: rgba(13, 42, 68, .12);
}


/* ============================================================================
   3. PHOTO CONTEXTS
   These cards put their copy directly on a photograph under a dark scrim, so
   white text is still the right answer inside them. The variables are pushed
   back to their dark values for the subtree only.
   ============================================================================ */
.tnd-ocard,
.tnd-pcard {
    --td-w: #fff;
    --td-t: rgba(255, 255, 255, .84);
    --td-t-dim: rgba(255, 255, 255, .66);
    --td-o-l: var(--td-o-on-dark);
    --td-line: rgba(255, 255, 255, .16);
    --td-line-2: rgba(255, 255, 255, .24);
}

.tnd-ocard-go {
    color: var(--td-o-on-dark);
}

/* Chips that float over a video or photo stay orange with white text. The two
   small ones carry 11.5px copy, where white on the brand orange measures only
   3.06:1 — they take the deeper orange (4.56:1) instead. The pills are small
   enough that the shade reads as the same colour. */
.tnd-vchip,
.tnd-sv-badge,
.tnd-faq-tag,
.tnd-ocard-tag {
    color: #fff;
}

.tnd-sv-badge,
.tnd-ocard-tag,
.tnd-qcard-badge {
    background: var(--td-o-badge);
}


/* ============================================================================
   4. BLUE PANELS
   Two bands stay deep blue on purpose: the statistics headline strip and the
   closing "ready to begin" bar. They give the white page the same colour
   rhythm the reference admission pages use, and white text is correct on them.
   ============================================================================ */
.tnd-ihero,
.tnd-jrn-cta {
    --td-w: #fff;
    --td-t: rgba(255, 255, 255, .82);
    --td-t-dim: rgba(255, 255, 255, .66);
    --td-o-l: var(--td-o-on-dark);
    --td-line: rgba(255, 255, 255, .16);
    background: linear-gradient(100deg, var(--td-b-dd) 0%, var(--td-b-d) 100%);
    border-color: transparent;
    box-shadow: 0 20px 48px rgba(13, 42, 68, .22);
}

.tnd-ihero h2,
.tnd-ihero h3,
.tnd-jrn-cta h2,
.tnd-jrn-cta h3,
.tnd-jrn-cta strong {
    color: #fff;
}

/* the blue "Since 1980" badge on the about photo */
.tnd-ab-badge {
    --td-w: #fff;
    --td-t: rgba(255, 255, 255, .82);
    background: linear-gradient(135deg, var(--td-b-dd), var(--td-b-d));
    color: #fff;
}


/* ============================================================================
   5. TEXT FIXES
   Every rule in the dark build that wrote color:#fff on copy that now sits on
   a white card. Grouped by the section it belongs to.
   ============================================================================ */

/* -- student testimonial cards (section 2) -- */
.tnd-sv-b p,
.tnd-sv-who strong,
.tnd-sv-meta strong {
    color: var(--td-w);
}

.tnd-qmark,
.tnd-sv-b .tnd-qmark {
    color: rgba(242, 106, 27, .34);
}

/* -- split quote cards (used if the .tnd-qcard rail is switched back on) -- */
.tnd-qcard-t p,
.tnd-qcard-who strong {
    color: var(--td-w);
}

/* -- about / why-choose lists -- */
.tnd-ticks strong,
.tnd-ab-chip strong,
.tnd-vbadge strong {
    color: var(--td-w);
}

/* -- "inside the programme" slides + statistics tabs -- */
.tnd-pslide-list strong,
.tnd-kpi strong,
.tnd-i2-hi-n,
.tnd-i2-row strong,
.tnd-i3-hi-n,
.tnd-i3-row-t strong,
.tnd-istat-list strong {
    color: var(--td-w);
}

.tnd-kpi strong,
.tnd-vstrip strong {
    color: var(--td-o-l);
}

/* -- admission journey -- */
.tnd-wstep.is-on .tnd-wstep-l,
.tnd-elig-card h4,
.tnd-jrn-el h4 {
    color: var(--td-w);
}

/* -- FAQ -- */
.tnd-faq-q {
    color: var(--td-w);
}

.tnd-faq-i {
    color: var(--td-o-l);
}

/* The ₹ and the "+ / LPA / -acre" either side of each stat figure. The stats
   strip alternates them orange / blue per column, with a three-class selector
   (.tnd-stats-sec .tnd-stat:nth-child(odd) .tnd-stat-suf) that hard-codes
   #d4560c — so it has to be matched at the same weight, not just re-declared. */
.tnd-stat-pre,
.tnd-stat-suf,
.tnd-stats-sec .tnd-stat:nth-child(odd) .tnd-stat-pre,
.tnd-stats-sec .tnd-stat:nth-child(odd) .tnd-stat-suf {
    color: var(--td-o-l);
}

.tnd-faq-call,
.tnd-faq-call svg {
    color: var(--td-b-d);
}

.tnd-faq-call:hover {
    color: var(--td-w);
}

/* -- contact -- */
.tnd-ct-h,
.tnd-ct-line strong,
.tnd-ct-num,
.tnd-ct-bare .tnd-ct-num,
.tnd-ct-addr a,
.tnd-ct-card a,
.tnd-ct-card strong,
.tnd-ct-early strong {
    color: var(--td-w);
}

.tnd-ct-early small {
    color: var(--td-t);
}

.tnd-ct-ph a {
    color: var(--td-o-l);
}

.tnd-ct-ph a:hover,
.tnd-ct-ph a:focus-visible,
.tnd-ct-bare .tnd-ct-num:hover,
.tnd-ct-bare .tnd-ct-num:focus-visible {
    color: var(--td-o);
}

/* -- specialisation popup -- */
.tnd-pop-top h3,
.tnd-pop-hl strong {
    color: var(--td-w);
}

/* Icons sit in an orange or blue chip in every one of these, so the white
   stays. Listed explicitly so a future palette change does not catch them. */
.tnd-stat:hover .tnd-stat-ic,
.tnd-stats-sec .tnd-stat:hover .tnd-stat-ic,
.tnd-why-list li:hover .tnd-why-ic,
.tnd-i2-card:hover .tnd-i2-ic,
.tnd-i2-hi-ic,
.tnd-i3-hi-ic,
.tnd-elig-card:hover .tnd-elig-ic,
.tnd-scard:hover .tnd-scard-ic,
.tnd-step:hover .tnd-step-n,
.tnd-wstep.is-on .tnd-wstep-ic,
.tnd-pslide-ic,
.tnd-pop-ic,
.tnd-ct-call-ic,
.tnd-ct-num-ic,
.tnd-ct-ic,
.tnd-ct-early-ic,
.tnd-vplay,
.tnd-tab.is-on,
.tnd-tab.is-on .tnd-tab-ic,
.tnd-i2-tabs .tnd-tab.is-on,
.tnd-tabbar-full .tnd-tab.is-on,
.tnd-pill,
.tnd-pop-x,
.tnd-pop-tag,
.tnd-faq-item.is-on .tnd-faq-x::before,
.tnd-faq-item.is-on .tnd-faq-x::after {
    color: #fff;
}


/* ============================================================================
   6. SURFACE FIXES
   rgba(255,255,255,.0x) was a lift off a black page. On white it is nothing,
   so each one becomes the same lift in ink.
   ============================================================================ */
.tnd-why-list li,
.tnd-faq-item,
.tnd-kpi div,
.tnd-panel-top,
.tnd-tab,
.tnd-tabbar-full .tnd-tab,
.tnd-i2-tabs,
.tnd-pslide-list li,
.tnd-pop-stats div,
.tnd-i3-hi,
.tnd-istat-card,
.tnd-tcard,
.tnd-scard,
.tnd-stat:hover,
.tnd-wstep.is-on .tnd-wstep-b {
    background: var(--td-surf);
}

.tnd-why-list li:hover,
.tnd-faq-item.is-on,
.tnd-faq-call:hover,
.tnd-tab:hover,
.tnd-i3-hi:hover {
    background: var(--td-surf-2);
}

.tnd-faq-call {
    background: var(--td-surf);
}

/* cards that were a dark gradient become white with a faint blue foot */
.tnd-sv-card,
.tnd-pslide,
.tnd-i2-card,
.tnd-i3-block,
.tnd-qcard,
.tnd-ct-card,
.tnd-faq-card,
.tnd-pop-card {
    background: linear-gradient(165deg, #fff 0%, var(--td-bg-2) 100%);
    border-color: var(--td-line);
    box-shadow: var(--td-sh);
}

.tnd-i2-hi {
    background: linear-gradient(150deg, rgba(43, 138, 224, .10) 0%, #fff 62%);
}

.tnd-wave-detail {
    background: linear-gradient(140deg, rgba(242, 106, 27, .08) 0%, #fff 58%);
}

.tnd-ct-call {
    background: linear-gradient(150deg, rgba(242, 106, 27, .09) 0%, #fff 58%);
}

.tnd-wstep-ic {
    background: #fff;
}

/* borders and dividers */
.tnd-rc-card {
    border: 1px solid var(--td-line);
    background: #fff;
}

.tnd-rc-card:hover {
    background: #fff;
    box-shadow: var(--td-sh);
}

.tnd-istat-card header,
.tnd-istat-list li,
.tnd-pop-foot,
.tnd-q3 .tnd-qcard-who {
    border-color: var(--td-line);
}

.tnd-faq-scroll::-webkit-scrollbar-track {
    background: rgba(13, 42, 68, .07);
}

/* Recruiter logos in full colour at all times — no grayscale-until-hover.
   Brand marks are easier to recognise in their own colours, and a logo wall
   that only reveals itself on hover does nothing on a phone, where there is
   no hover at all. */
.tnd-rc-card img,
.tnd-rc-card:hover img {
    filter: none;
    opacity: 1;
}


/* ============================================================================
   7. PLACEHOLDERS
   The navy wells behind every <img>. They show while a photo loads, and stay
   visible for good if the file is missing — a navy block on a white page reads
   as a mistake, a pale blue one reads as a frame.
   ============================================================================ */
.tnd-ab-main,
.tnd-ab-small,
.tnd-vframe,
.tnd-faq-img,
.tnd-sv-ph,
.tnd-ocard-img,
.tnd-o4 .tnd-ocard-img,
.tnd-pop-hero,
.tnd-qcard-m {
    background: var(--td-well);
}

.tnd-guide-eq .th-gimg {
    background-color: #e6eef9;
}

/* The scrim over a video poster can be lighter now that the page is white —
   enough to keep the play button and the caption legible, no more. */
.tnd-vframe::after {
    background: linear-gradient(200deg, rgba(13, 42, 68, .05), rgba(13, 42, 68, .28));
}

/* the white glass badge that overlaps the video frame */
.tnd-vbadge {
    border: 1px solid var(--td-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--td-sh-lg);
}

.tnd-vbadge small {
    color: var(--td-t-dim);
}

/* "Video coming soon" sits on the pale well, so it cannot stay a dark pill
   with white text at 78% — it becomes a solid blue pill. */
.tnd-sv-soon {
    border-color: transparent;
    background: var(--td-b-d);
    color: #fff;
}


/* ============================================================================
   8. BACKGROUND PHOTO SECTIONS  (.tnd-bgimg)
   Markup is unchanged: <section class="tnd-sec tnd-bgimg" style="--tnd-img:…">
   The dark build laid a 90%-opaque navy wash over the photo. Here it is a
   white wash of the same strength, so the photo survives as a faint texture
   and every rule above still applies on top of it.
   ============================================================================ */
.tnd-sec.tnd-bgimg {
    background-color: #fff;
    background-image:
        linear-gradient(180deg,
            rgba(255, 255, 255, .95) 0%,
            rgba(244, 248, 253, .91) 45%,
            rgba(255, 255, 255, .96) 100%),
        var(--tnd-img, none);
}

/* the faint grid over the photo — ink now, not white */
.tnd-sec.tnd-bgimg>.tnd-wrap::before {
    background-image:
        linear-gradient(rgba(13, 42, 68, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 42, 68, .05) 1px, transparent 1px);
}


/* ============================================================================
   9. POPUPS
   Two of them: the specialisation popup (.tnd-pop) and the enquiry modal
   (#thModal, styled by terna-landing.css). .tnd-pop re-declares the dark
   variables locally, so :root cannot reach it — it needs its own block.
   ============================================================================ */
.tnd-pop {
    --td-o-l: #d4560c;
    --td-card: #ffffff;
    --td-card-2: #f8fbfe;
    --td-line: rgba(13, 42, 68, .12);
    --td-line-2: rgba(13, 42, 68, .20);
    --td-w: #0d2a44;
    --td-t: rgba(13, 42, 68, .74);
    --td-t-dim: rgba(13, 42, 68, .56);
    /* the backdrop stays dark: that is what lifts the white card off the page */
    background: rgba(13, 42, 68, .62);
}

.tnd-pop-card {
    border: 1px solid var(--td-line);
    box-shadow: 0 40px 90px rgba(13, 42, 68, .34);
}

.tnd-pop-x {
    background: var(--td-b-d);
}

.tnd-pop-x:hover {
    background: var(--td-o);
}

.tnd-pop-cols li,
.tnd-pop-hl li em {
    color: var(--td-t);
}


/* ============================================================================
   10. LEGACY TEMPLATE — admission guide slider
   Those rules live in terna-dark.css behind a .tnd-legacy-light class and are
   written with !important (the bundled template fights them). The class is on
   the section in index.php; these are the few extras that block misses.
   ============================================================================ */
.explore-future-area.tnd-legacy-light .sub-title p,
.tnd-legacy-light .th-gl li {
    color: var(--td-t) !important;
}

.tnd-legacy-light .th-gbtn {
    background: linear-gradient(100deg, var(--td-o), var(--td-o-d)) !important;
    color: #fff !important;
}

.tnd-legacy-light .th-gtxt a {
    color: var(--td-o-l);
}


/* ============================================================================
   11. PALE ACCENTS THAT FAIL ON WHITE
   The dark build used a pale sky blue (#6cb6f0) and a mint green (#6ff0aa) for
   figures and icons. Both are legible on near-black and nowhere near legible
   on white — roughly 1.9:1 against #fff, where 4.5:1 is the floor. They become
   the mid blue and a darker green.
   ============================================================================ */
.tnd-why-ic,
.tnd-scard-ic,
.tnd-ct-addr-ic,
.tnd-kpi div:last-child strong,
.tnd-pop-stats div:last-child strong,
.tnd-pop-stats div:last-child .tnd-pop-stat-ic,
.tnd-i3-block:nth-of-type(even) .tnd-i3-n,
.tnd-i3-block:nth-of-type(even) .tnd-i3-hi-n i,
.tnd-i3-block:nth-of-type(even) .tnd-i3-col-ic,
.tnd-i3-block.tnd-i3-alt .tnd-i3-n,
.tnd-i3-block.tnd-i3-alt .tnd-i3-hi-n i,
.tnd-i3-block.tnd-i3-alt .tnd-i3-col-ic {
    color: var(--td-b-d);
}

.tnd-ct-open {
    color: #0f7a46;
}

.tnd-ct-open i {
    background: #13a35c;
}

/* The second statistics block is the blue one; keep the blue rail, darker. */
.tnd-i3-block:nth-of-type(even)::before,
.tnd-i3-block.tnd-i3-alt::before {
    background: linear-gradient(180deg, var(--td-b), var(--td-b-d));
}


/* ============================================================================
   12. CHIPS AND CARDS THAT WERE SOLID NAVY
   Their headings are ink now (section 5), so the panel underneath cannot stay
   navy or the text disappears into it.
   ============================================================================ */

/* "Platinum Category" chip on the about photo */
.tnd-ab-chip {
    border: 1px solid var(--td-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--td-sh);
}

.tnd-ab-chip small {
    color: var(--td-t-dim);
}

/* Eligibility / journey cards. Not in the current markup — the eligibility
   block was removed from the journey section — but kept correct in case the
   $tnEligibility block is switched back on. */
.tnd-jrn-card,
.tnd-elig-card {
    border: 1px solid rgba(242, 106, 27, .26);
    background: linear-gradient(160deg, rgba(242, 106, 27, .10) 0%, #fff 58%);
    box-shadow: var(--td-sh);
}


/* ============================================================================
   13. DARK SECTIONS  —  class: tnd-ink
   The page alternates white and deep-blue sections. Add tnd-ink to any
   .tnd-sec and it flips; remove it and the section is white again. Nothing
   inside the section needs its own markup.

   It works the same way the light theme does, by re-pointing the same --td-*
   variables for that subtree only — which is why almost every rule in
   sections 5 and 6 above (written as var(--td-w), var(--td-surf) and so on)
   corrects itself here with no extra work. What follows is only the handful
   of rules that hold a literal colour.

   Applied in index.php to: student reviews · why choose us · recruiting
   partners · campus film · alumni stories · contact.
   ============================================================================ */
.tnd-sec.tnd-ink {
    /* --td-o-badge is deliberately NOT brightened here: the small pills that
       use it carry white text, and white on the brand orange is 3.06:1
       whatever colour sits behind the pill. */
    --td-o-l: var(--td-o-on-dark);

    --td-bg: #0d2a44;
    --td-bg-2: #0a2238;
    --td-card: #123450;
    --td-card-2: #16405f;

    --td-line: rgba(255, 255, 255, .14);
    --td-line-2: rgba(255, 255, 255, .22);

    --td-w: #ffffff;
    --td-t: rgba(255, 255, 255, .82);
    --td-t-dim: rgba(255, 255, 255, .64);

    --td-surf: rgba(255, 255, 255, .06);
    --td-surf-2: rgba(255, 255, 255, .11);

    --td-sh: 0 16px 38px rgba(0, 0, 0, .34);
    --td-sh-lg: 0 26px 60px rgba(0, 0, 0, .44);

    --td-well: linear-gradient(160deg, #16405f 0%, #0f2f4a 100%);

    background: var(--td-bg);
    color: var(--td-t);
}

/* cards: the white-to-pale-blue gradient from section 6 inverts */
.tnd-ink .tnd-sv-card,
.tnd-ink .tnd-pslide,
.tnd-ink .tnd-i2-card,
.tnd-ink .tnd-i3-block,
.tnd-ink .tnd-qcard,
.tnd-ink .tnd-ct-card,
.tnd-ink .tnd-faq-card {
    background: linear-gradient(165deg, var(--td-card-2) 0%, var(--td-card) 100%);
}

.tnd-ink .tnd-i2-hi {
    background: linear-gradient(150deg, rgba(43, 138, 224, .24) 0%, var(--td-card) 62%);
}

.tnd-ink .tnd-wave-detail {
    background: linear-gradient(140deg, rgba(242, 106, 27, .22) 0%, var(--td-card) 58%);
}

.tnd-ink .tnd-ct-call {
    background: linear-gradient(150deg, rgba(242, 106, 27, .22) 0%, var(--td-card) 58%);
}

.tnd-ink .tnd-wstep-ic {
    background: var(--td-card);
}

/* Logo tiles stay a light tile even on a dark section: the logos are full
   colour now, and most brand marks are drawn for a white background. */
.tnd-ink .tnd-rc-card {
    border-color: rgba(255, 255, 255, .20);
    background: #fff;
}

/* controls */
.tnd-ink .tnd-arw {
    border-color: var(--td-line-2);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
}

.tnd-ink .tnd-arw:hover {
    border-color: transparent;
    background: linear-gradient(100deg, var(--td-o), var(--td-o-d));
    color: #fff;
}

.tnd-ink .tnd-arw.is-off {
    background: rgba(255, 255, 255, .05);
    color: var(--td-t-dim);
}

.tnd-ink .tnd-prog {
    background: rgba(255, 255, 255, .16);
}

.tnd-ink .tnd-dots button {
    background: rgba(255, 255, 255, .30);
}

.tnd-ink .tnd-btn-ghost {
    border-color: var(--td-line-2);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    box-shadow: none;
}

.tnd-ink .tnd-btn-ghost:hover,
.tnd-ink .tnd-btn-ghost:focus-visible {
    border-color: #fff;
    background: #fff;
    color: var(--td-b-dd);
}

/* floating chips go back to dark glass */
.tnd-ink .tnd-ab-chip,
.tnd-ink .tnd-vbadge {
    border-color: var(--td-line);
    background: rgba(9, 28, 48, .92);
}

/* orange and blue accents brighten so they carry on the dark ground */
.tnd-ink .tnd-eyebrow {
    border-color: rgba(255, 147, 72, .34);
    background: rgba(242, 106, 27, .16);
    color: var(--td-o-l);
}

.tnd-ink .tnd-head h2 span,
.tnd-ink .tnd-script,
.tnd-ink .tnd-stat-pre,
.tnd-ink .tnd-stat-suf,
.tnd-ink .tnd-kpi strong,
.tnd-ink .tnd-vstrip strong,
.tnd-ink .tnd-faq-i,
.tnd-ink .tnd-sv-eye,
.tnd-ink .tnd-sv-meta em,
.tnd-ink .tnd-pslide-eye,
.tnd-ink .tnd-ct-ph a,
.tnd-ink .tnd-ocard-go {
    color: var(--td-o-l);
}

.tnd-ink .tnd-why-ic,
.tnd-ink .tnd-scard-ic,
.tnd-ink .tnd-ct-addr-ic {
    color: #6cb6f0;
}

.tnd-ink .tnd-ct-open {
    color: #6ff0aa;
}

.tnd-ink .tnd-ct-open i {
    background: #46e08a;
}

/* the ambient glows can be their original strength again */
.tnd-sec.tnd-ink.tnd-glow::before {
    background: radial-gradient(circle, rgba(43, 138, 224, .18), transparent 66%);
}

.tnd-sec.tnd-ink.tnd-glow::after {
    background: radial-gradient(circle, rgba(242, 106, 27, .16), transparent 66%);
}

/* background photos: the white wash from section 8 goes back to navy */
.tnd-sec.tnd-ink.tnd-bgimg {
    background-color: var(--td-bg);
    background-image:
        linear-gradient(180deg,
            rgba(13, 42, 68, .93) 0%,
            rgba(10, 34, 56, .88) 45%,
            rgba(13, 42, 68, .96) 100%),
        var(--tnd-img, none);
}

.tnd-sec.tnd-ink.tnd-bgimg>.tnd-wrap::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
}

/* a heavier scrim over video posters, so white copy and the play button hold */
.tnd-ink .tnd-vframe::after {
    background: linear-gradient(200deg, rgba(4, 12, 26, .18), rgba(4, 12, 26, .58));
}

.tnd-ink .tnd-sv-soon {
    background: #fff;
    color: var(--td-b-dd);
}

/* the hairline between two white sections would be invisible here */
.tnd-sec.tnd-ink::before,
.tnd-sec.tnd-ink+.tnd-sec::before {
    display: none;
}


/* ============================================================================
   14. SMALL FIXES
   ============================================================================ */

/* ICON BUG (pre-existing, visible right under the banner).
   The five stats-strip icons were rendering as solid black blobs. The reset
   that makes every tnIcon() SVG a line drawing is written as ".tnd-sec svg",
   and the stats strip is <section class="tnd-stats-sec"> — it never carries
   .tnd-sec, so the reset never reached it and the paths fell back to the
   browser default of fill:black, stroke:none. Same reset, right selector.
   (The specialisation popup declares its own copy, so it was never affected.) */
.tnd-stats-sec svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* LAYOUT BUG (not a colour issue, but it shows up on three sections).
   .tnd-vbadge and .tnd-vchip are position:absolute and are meant to hang off
   the edge of the media column. Only .tnd-ab-media (the About section) was
   ever given position:relative, so in "Why choose us", "Campus film" and
   "Alumni stories" the badge escaped its column, fell back to .tnd-sec as its
   containing block and landed on top of the copy and the Apply Now button on
   the other side of the grid. One line fixes all three. */
.tnd-two-media {
    position: relative;
}

/* The scroll-to-top button and the floating action buttons come from the
   template and were tuned for a dark page. */
.scroll-top {
    box-shadow: 0 10px 26px rgba(13, 42, 68, .18);
}

/* A section that follows another white section needs a hairline, or the two
   run together with no edge at all. */
.tnd-sec+.tnd-sec:not(.tnd-bgimg):not(.tnd-glow)::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: var(--td-line);
}

/* Print: drop the washes and the glows. */
@media print {

    .tnd-sec.tnd-bgimg {
        background-image: none;
    }

    .tnd-glow::before,
    .tnd-glow::after,
    .tnd-flow-wash::before {
        display: none;
    }
}
