/* ==========================================================================
   Recruit Pathshala — custom styles
   Values mirror the live design 1:1. Bootstrap 5 provides the base reset,
   and the mobile menu (collapse).
   1. Tokens & base  2. Header  3. Hero  4. Ribbon  5. Sections
   6. Perspective  7. Expertise  8. Approach  9. Learning  10. Brief form
   11. Footer  12. Responsive
   ========================================================================== */

/* 1. Tokens & base --------------------------------------------------------- */
:root {
    --navy: #344b60;
    --teal: #386c70;
    --mint: #c1dfd3;
    --ink: #203747;
    --muted: #62747a;
    --paper: #f7f8f5;
    --line: #dde4df;
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

/* Neutralise Bootstrap reboot defaults that differ from the design */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: normal;
    color: var(--ink);
    background: #fff;
}
p { margin: 1em 0; font-size: 15px; line-height: 1.85; color: #405966; }
h1, h2, h3 { line-height: normal; color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { vertical-align: baseline; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible { outline: 3px solid #179a93; outline-offset: 5px; }

em { font-family: Georgia, serif; font-weight: 400; color: var(--mint); }

.eyebrow {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 28px;
    font-size: 11px; font-weight: 700; letter-spacing: 1.7px;
}
.dot { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; }
.teal { color: var(--teal); }
.muted { color: var(--muted); }

.button {
    display: inline-flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 18px 22px; border: 0; border-radius: 4px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.mint { background: var(--mint); color: var(--navy); }
.mint:hover { color: var(--navy); }
.navy { margin-top: 8px; background: #526b7b; color: #fff; }

.text-link {
    display: inline-block; padding-bottom: 7px;
    font-size: 13px; font-weight: 600;
    border-bottom: 1px solid #81939e;
}
.dark-link, .dark-link:hover { color: var(--teal); }

/* 2. Header ---------------------------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 10;
    display: flex; align-items: center; justify-content: space-between;
    height: 95px; padding: 0 5.4%;
    background: #fdfdfa;
    border-bottom: 1px solid #e6ece9;
}

.logo { position: relative; display: block; width: 285px; height: 72px; overflow: hidden; flex-shrink: 0; }
.logo img { position: absolute; left: 1.5px; top: 1.5px; width: 282px; max-width: none; height: auto; }

/* Desktop: nav always visible (overrides Bootstrap .collapse) */
.site-nav, .site-nav.collapse:not(.show) { display: flex; align-items: center; gap: 27px; font-size: 13px; font-weight: 600; }
.site-nav a:hover { color: var(--teal); }

.nav-cta {
    display: flex; gap: 22px;
    padding: 14px 17px;
    border: 1px solid var(--line); border-radius: 5px;
}

.menu { display: none; }

/* 3. Hero ------------------------------------------------------------------ */
.hero {
    display: grid; grid-template-columns: 1.15fr 1fr;
    min-height: 655px; overflow: hidden;
    background: var(--navy); color: #fff;
}
.hero-text { position: relative; z-index: 1; padding: 68px 0 30px 9.4%; }

.hero h1 {
    margin: 0 0 26px;
    font-size: clamp(48px, 5.1vw, 78px); font-weight: 600;
    line-height: 1.04; letter-spacing: -3.3px;
}
.intro { max-width: 470px; font-size: 15px; line-height: 1.8; color: #e0e7eb; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 30px; }
.hero .text-link:hover { color: #fff; }

.hero-bottom { display: flex; gap: 26px; margin-top: 62px; font-size: 8px; letter-spacing: 1.5px; color: #c1d1d8; }

.hero-art {
    position: relative; min-height: 640px;
    background: radial-gradient(at 55% 55%, rgba(119, 154, 152, .19), transparent 65%);
}
.orbit {
    position: absolute; top: 50%; left: 55%;
    border: 1px solid rgba(150, 181, 179, .27); border-radius: 50%;
    transform: translate(-50%, -50%);
}
.orbit-one { width: 340px; height: 340px; }
.orbit-two { width: 490px; height: 490px; }
.orbit-three { width: 640px; height: 640px; }

.core {
    position: absolute; top: 31%; left: 28%;
    font-size: 43px; font-weight: 500; line-height: 1.1; letter-spacing: -1.6px;
}
.core span { font-family: Georgia, serif; font-style: italic; color: var(--mint); }

.node {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 11px 17px;
    font-size: 11px;
    background: #425f70; border: 1px solid #819b9f; border-radius: 40px;
    box-shadow: rgba(38, 62, 77, .145) 0 6px 25px;
}
.node i { font-size: 9px; font-style: normal; color: var(--mint); }
.n1 { top: 18%; left: 21%; }
.n2 { top: 48%; right: 8%; }
.n3 { top: 73%; left: 17%; }

.art-label { position: absolute; top: 11%; left: 35%; font-size: 9px; letter-spacing: 3px; color: #c1d1d8; }
.art-caption { position: absolute; bottom: 7%; right: 12%; font-size: 10px; line-height: 1.7; color: #c1d1d8; }

/* 4. Ribbon ---------------------------------------------------------------- */
.ribbon {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 27px 5.4%;
    font-size: 10px; font-weight: 600; letter-spacing: 1.2px;
    background: #fcfcf8;
    border-bottom: 1px solid var(--line);
}
.ribbon b { font-size: 21px; color: var(--teal); }

/* 5. Sections -------------------------------------------------------------- */
.section { padding: 95px 7%; }

.section h2 {
    margin: 0 0 26px;
    font-size: clamp(35px, 3.5vw, 52px); font-weight: 600;
    line-height: 1.13; letter-spacing: -1.9px;
}

/* 6. Perspective ----------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 2.5fr; gap: 45px; }
.about > .eyebrow { align-self: start; margin-top: 10px; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.about-copy p { font-size: 14px; }

/* 7. Expertise ------------------------------------------------------------- */
.expertise { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.section-head > p { margin-bottom: 32px; }

.agenda-lead { max-width: 850px; margin: 0 0 18px; font-size: 21px; line-height: 1.65; color: var(--ink); }
.agenda-intro { max-width: 900px; margin: 0 0 35px; }
.agenda-intro strong { font-weight: 700; }

.agenda-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.agenda-item { background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.agenda-item summary { display: flex; align-items: center; gap: 16px; padding: 24px; list-style: none; cursor: pointer; }
.agenda-item summary::-webkit-details-marker { display: none; }
.agenda-item summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.agenda-number { font-size: 12px; font-weight: 700; color: var(--teal); }
.agenda-item h3 { flex: 1 1 0%; margin: 0; font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.3px; }
.agenda-toggle::before { content: "+"; font-size: 24px; color: var(--teal); }
.agenda-item[open] .agenda-toggle::before { content: "−"; }
.agenda-detail { padding: 0 24px 26px 58px; }
.agenda-detail p { margin: 0 0 20px; font-size: 14px; }
.agenda-detail a, .agenda-detail a:hover { font-size: 12px; font-weight: 700; color: var(--teal); }

.agenda-commitment { margin-top: 35px; padding: 8px 26px; border-left: 3px solid var(--teal); }
.agenda-commitment h3 { margin: 0 0 10px; font-size: 22px; font-weight: 600; }
.agenda-commitment p { max-width: 900px; margin: 0; }

.expertise-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-size: 11px; color: #677b83; }
.expertise-foot a, .expertise-foot a:hover { color: var(--teal); font-weight: 700; }

/* 8. Approach -------------------------------------------------------------- */
.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; background: #3d5669; color: #fff; }
.approach .eyebrow { color: var(--mint); }
.approach > div > p:not(.eyebrow) { max-width: 350px; color: #e0e8eb; }
.approach .text-link { margin-top: 20px; }
.approach .text-link:hover { color: #fff; }

.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 28px; padding: 25px 0; border-bottom: 1px solid rgba(120, 144, 156, .44); }
.steps li:first-child { padding-top: 0; }
.steps li > span { margin-top: 5px; font-size: 12px; color: var(--mint); }
.steps h3 { margin: 0; font-size: 21px; font-weight: 600; }
.steps p { max-width: 370px; margin: 8px 0 0; font-size: 14px; color: #e0e8eb; }

/* 9. Learning -------------------------------------------------------------- */
.learning { display: grid; grid-template-columns: .85fr 1fr; gap: 100px; align-items: center; }
.learning-art {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 380px; background: #edf1e9;
}
.learning-art::before, .learning-art::after {
    content: ""; position: absolute; top: 30px; left: -170px;
    width: 430px; height: 430px; border: 1px solid #d8e1d5; border-radius: 50%;
}
.learning-art::after { top: -120px; left: auto; right: -170px; }

.big-p {
    position: relative; z-index: 1;
    font-family: Georgia, serif; font-size: 200px; font-style: italic; line-height: 1;
    color: var(--teal);
}
.big-p span {
    position: absolute; top: 36px; left: 70px;
    font-family: Arial, sans-serif; font-size: 120px; font-style: normal; color: var(--navy);
}
.learning-art p { z-index: 1; font-size: 8px; letter-spacing: 2px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0; }
.pills span { padding: 10px; font-size: 12px; color: #324e5a; border: 1px solid var(--line); border-radius: 3px; }

/* 9b. Leadership ---------------------------------------------------------- */
.leadership { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; border-top: 1px solid var(--line); }
.leader-name { margin: 35px 0 22px; }
.leader-name h3 { margin: 0 0 8px; font-size: 28px; font-weight: 500; letter-spacing: -.6px; }
.leader-name p { margin: 0; font-size: 14px; font-weight: 600; color: var(--teal); }
.leader-copy .leader-intro { margin-top: 0; font-size: 19px; line-height: 1.7; color: var(--ink); }
.leader-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.leader-stats strong { display: block; margin-bottom: 8px; font-size: 34px; font-weight: 500; color: #487478; }
.leader-stats span { display: block; font-size: 12px; line-height: 1.6; color: #405966; }

/* 10. Brief form ----------------------------------------------------------- */
.conversation { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; background: #f0f3ed; }
.conversation h2 em { color: var(--teal); }
.conversation > div > p:not(.eyebrow) { max-width: 340px; }

.brief-note {
    max-width: 340px; margin-top: 35px; padding-top: 20px;
    font-size: 11px; line-height: 1.9; color: #48616a;
    border-top: 1px solid #cadbd4;
}

#brief { display: flex; flex-direction: column; gap: 9px; }
#brief label { display: block; margin-top: 6px; margin-bottom: 0; font-size: 12px; font-weight: 600; }
#brief input, #brief select, #brief textarea {
    width: 100%; padding: 13px 14px;
    font-size: 14px; color: var(--ink);
    background: rgba(255, 255, 255, .72); border: 1px solid #cddbd5; border-radius: 3px;
}
#brief textarea { resize: vertical; }
#brief input::placeholder, #brief textarea::placeholder { color: #61737b; }
#brief .was-invalid { border-color: #c0544c; }
#form-status { margin: 0; font-size: 11px; }

/* 11. Footer --------------------------------------------------------------- */
footer {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 35px;
    padding: 50px 7% 25px;
    background: #344957; color: #fff;
}
footer strong { font-size: 24px; font-weight: 500; letter-spacing: -.6px; }
footer strong span { margin-left: 20px; color: var(--mint); }
footer p { font-size: 11px; color: #d0dce0; }
footer a:hover { color: var(--mint); }
.footer-links { display: flex; align-items: center; gap: 25px; font-size: 11px; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 20px;
    width: 100%; padding-top: 22px;
    font-size: 9px; color: #d0dce0;
    border-top: 1px solid rgba(126, 148, 159, .376);
}

/* 12. Responsive ----------------------------------------------------------- */
@media (min-width: 1600px) {
    .site-header, .hero, .section, .ribbon, footer {
        padding-left: max(7%, calc(50vw - 700px));
        padding-right: max(7%, calc(50vw - 700px));
    }
    .hero-text { padding-left: 0; }
}

@media (max-width: 1150px) and (min-width: 761px) {
    .site-header { padding-left: 3%; padding-right: 3%; }
    .site-nav, .site-nav.collapse:not(.show) { gap: 12px; font-size: 11px; }
    .nav-cta { gap: 10px; padding: 12px 10px; }
    .logo { width: 250px; }
    .logo img { left: 1.2px; top: 6px; width: 248px; }
}

@media (max-width: 1050px) {
    .hero-actions { gap: 20px; }
    .hero-text { padding-top: 55px; }
    .hero-art { min-height: 620px; }
    .core { font-size: 35px; }
    .n2 { right: 3%; }
    .ribbon { gap: 10px; font-size: 8px; }
    .section { padding: 75px 6%; }
    .about { gap: 25px; }
    .approach, .learning, .conversation { gap: 50px; }
    .leadership { gap: 40px; }
    .hero h1 { letter-spacing: -2px; }
}

@media (max-width: 760px) {
    .site-header { height: 80px; padding: 0 5%; }
    .logo { width: 250px; height: 68px; }
    .logo img { left: 1.2px; top: 4px; width: 248px; }

    .menu {
        display: block; padding: 10px;
        font-size: 11px; color: var(--ink);
        background: #fff; border: 1px solid var(--line); border-radius: 4px;
    }
    .menu span { margin-left: 8px; }

    /* Mobile: Bootstrap collapse controls visibility */
    .site-nav.collapse:not(.show) { display: none; }
    .site-nav.show, .site-nav.collapsing {
        position: absolute; top: 79px; left: 0; right: 0;
        display: flex; flex-direction: column; align-items: stretch; gap: 23px;
        padding: 25px; font-size: 14px;
        background: #fff; border-bottom: 1px solid var(--line);
    }
    .site-nav.collapsing { overflow: hidden; padding-block: 0; transition: height .25s ease; }
    .nav-cta { justify-content: space-between; }

    .hero { grid-template-columns: 1fr; }
    .hero-text { padding: 48px 6% 20px; }
    .hero h1 { font-size: 58px; }
    .intro { font-size: 15px; }
    .hero-actions { gap: 22px; }
    .hero-bottom { gap: 18px; margin-top: 35px; font-size: 7px; }
    .hero-art { min-height: 390px; margin-top: 20px; border-top: 1px solid #304456; }
    .core { top: 25%; left: 34%; font-size: 32px; }
    .orbit-one { width: 220px; height: 220px; }
    .orbit-two { width: 330px; height: 330px; }
    .orbit-three { width: 440px; height: 440px; }
    .node { padding: 9px 12px; font-size: 9px; }
    .n1 { top: 15%; left: 20%; }
    .n2 { top: 44%; right: 5%; }
    .n3 { top: 76%; left: 20%; }
    .art-label { top: 7%; left: 36%; font-size: 7px; }
    .art-caption { bottom: 6%; right: 7%; font-size: 8px; }

    .ribbon { flex-wrap: wrap; justify-content: center; gap: 10px 18px; padding: 22px; line-height: 1.6; }
    .ribbon b { font-size: 12px; }

    .section { padding: 60px 6%; }
    .about, .approach, .learning, .conversation { grid-template-columns: 1fr; gap: 26px; }
    .leadership { grid-template-columns: 1fr; gap: 30px; }
    .leader-copy .leader-intro { font-size: 17px; }
    .leader-stats { gap: 12px; }
    .leader-stats strong { font-size: 29px; }
    .about-copy { grid-template-columns: 1fr; gap: 0; }
    .about-copy p:first-child { margin-top: 0; }
    .section-head { display: block; }
    .section-head > p { margin-bottom: 20px; }
    .agenda-grid { grid-template-columns: 1fr; }
    .agenda-lead { font-size: 18px; }
    .agenda-item summary { gap: 12px; padding: 20px; }
    .agenda-item h3 { font-size: 17px; }
    .agenda-detail { padding: 0 20px 24px 48px; }
    .agenda-commitment { padding: 8px 18px; }
    .expertise-foot { flex-direction: column; }
    .steps { margin-top: 15px; }
    .learning { gap: 35px; }
    .learning-art { min-height: 280px; }
    .learning-art .big-p { font-size: 160px; }
    .learning-art .big-p span { top: 25px; left: 54px; font-size: 95px; }
    .brief-note { margin-top: 20px; }
    .conversation { gap: 30px; }
    footer { padding: 40px 6% 25px; }
    .footer-links { flex-wrap: wrap; }
    .footer-bottom { flex-wrap: wrap; line-height: 1.7; }
    .button { font-size: 12px; }
}

@media (max-width: 360px) {
    .logo { width: 215px; }
    .logo img { left: .7px; top: 8px; width: 213px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}

/* Spam trap field on the brief form (hidden from people, visible to bots) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   13. Thank-you page (thank-you.php)
   ========================================================================== */
.ty-body {
    position: relative; display: grid; place-items: center;
    min-height: 100vh; padding: 28px; overflow-x: hidden;
    background: var(--navy);
}

.ty-blob {
    position: fixed; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none;
    animation: ty-blob 16s ease-in-out infinite;
}
.ty-blob--one { top: -180px; right: -140px; width: 520px; height: 520px; background: var(--teal); }
.ty-blob--two { bottom: -160px; left: -140px; width: 420px; height: 420px; background: #134a6e; animation-delay: -6s; }

.ty-page {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: minmax(280px, 400px) 1fr;
    width: min(1080px, 100%); min-height: 620px;
    overflow: hidden; background: #fff; border-radius: 30px;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6);
    animation: ty-rise .9s cubic-bezier(.2, .8, .2, 1) both;
}

/* Left panel — navy with the site's orbit motif */
.ty-visual {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 34px; color: #fff;
    background: radial-gradient(at 55% 55%, rgba(21, 81, 91, .45), transparent 70%), var(--navy);
}
.ty-logo {
    position: relative; z-index: 1;
    width: 230px; max-width: 82%; padding: 12px 16px;
    background: rgba(255, 255, 255, .96); border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
}
.ty-logo img { display: block; width: 100%; height: auto; }

.ty-orbit span {
    position: absolute; top: 46%; left: 55%; transform: translate(-50%, -50%);
    border: 1px solid rgba(50, 101, 118, .45); border-radius: 50%;
}
.ty-orbit span:nth-child(1) { width: 200px; height: 200px; }
.ty-orbit span:nth-child(2) { width: 320px; height: 320px; }
.ty-orbit span:nth-child(3) { width: 440px; height: 440px; }

.ty-badge-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.ty-badge {
    display: grid; place-items: center; width: 92px; height: 92px;
    font-size: 44px; font-weight: 700; color: var(--navy);
    background: var(--mint); border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(154, 236, 217, .6);
    animation: ty-pop .7s .4s cubic-bezier(.2, .8, .2, 1) both, ty-pulse 2.4s 1.2s infinite;
}
.ty-badge--error { background: #ffd2c4; color: #9a2c18; }
.ty-quote { margin: 0; font-size: 22px; line-height: 1.35; color: #fff; }
.ty-quote em { font-style: italic; }

/* Right panel — content */
.ty-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 64px); }

.ty-eyebrow {
    display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal);
}
.ty-eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }

.ty-content h1 {
    max-width: 620px; margin: 0 0 16px;
    font-size: clamp(38px, 5vw, 60px); font-weight: 500; line-height: 1.04; letter-spacing: -2px;
    color: var(--navy);
}
.ty-content h1 em { color: var(--teal); }

.ty-lead { max-width: 620px; margin: 0 0 26px; font-size: 15px; line-height: 1.75; color: #5d707b; }

.ty-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.ty-detail {
    padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
    opacity: 0; animation: ty-fade-up .6s cubic-bezier(.2, .8, .2, 1) forwards;
}
.ty-detail:nth-child(1) { animation-delay: .5s; }
.ty-detail:nth-child(2) { animation-delay: .6s; }
.ty-detail:nth-child(3) { animation-delay: .7s; }
.ty-detail--wide { grid-column: 1 / -1; }
.ty-detail span { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); }
.ty-detail strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--navy); overflow-wrap: anywhere; }

.ty-download, .ty-redirect {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 18px; border-radius: 14px; font-size: 14px; font-weight: 600;
}
.ty-download { margin-bottom: 14px; background: var(--navy); color: #fff; }
.ty-download button {
    padding: 10px 18px; white-space: nowrap;
    font-weight: 700; color: var(--navy);
    background: var(--mint); border: 0; border-radius: 999px; cursor: pointer;
    transition: background .25s, transform .25s;
}
.ty-download button:hover { background: #fff; transform: translateY(-2px); }

.ty-redirect { background: rgba(154, 236, 217, .3); color: var(--navy); }
.ty-counter {
    display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 54px;
    font-size: 22px; font-weight: 700; color: #fff; background: var(--teal); border-radius: 50%;
}

.ty-home {
    display: inline-flex; align-items: center; gap: 8px; width: fit-content;
    margin-top: 22px; padding: 15px 30px;
    font-size: 14px; font-weight: 700; color: #fff;
    background: var(--navy); border-radius: 999px;
    transition: background .25s, transform .25s;
}
.ty-home:hover { color: #fff; background: var(--teal); transform: translateY(-2px); }

.ty-errors {
    margin: 0 0 22px; padding: 16px 22px 16px 38px;
    font-size: 14px; font-weight: 700; line-height: 1.6; color: #9a2c18;
    background: #fff1ec; border-radius: 14px;
}

@keyframes ty-blob { 50% { transform: translate(40px, -30px) scale(1.08); } }
@keyframes ty-rise { from { opacity: 0; transform: translateY(40px) scale(.97); } }
@keyframes ty-pop { from { transform: scale(0); } }
@keyframes ty-pulse { 70% { box-shadow: 0 0 0 18px rgba(154, 236, 217, 0); } 100% { box-shadow: 0 0 0 0 rgba(154, 236, 217, 0); } }
@keyframes ty-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
    .ty-body { padding: 16px; }
    .ty-page { grid-template-columns: 1fr; border-radius: 22px; }
    .ty-visual { min-height: 280px; }
    .ty-details { grid-template-columns: 1fr; }
    .ty-download, .ty-redirect { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .ty-blob, .ty-page, .ty-badge, .ty-detail { animation: none; opacity: 1; }
}

/* Contact email (brief section + footer) */
.conversation .contact-email { margin: 18px 0 0; font-size: 12px; color: #6c7c7e; }
.contact-email a { font-weight: 700; color: var(--teal); border-bottom: 1px solid rgba(8, 126, 139, .35); }
.contact-email a:hover { color: var(--teal); border-color: var(--teal); }
.footer-email { display: inline-block; font-size: 12px; color: var(--mint); }
.footer-email:hover { color: #fff; }
.ty-mail { font-weight: 700; color: var(--teal); }
.ty-mail:hover { color: var(--navy); }

/* ==========================================================================
   14. Sticky columns
   Short left-hand columns stay in view while the longer right side scrolls.
   ========================================================================== */
@media (min-width: 761px) {
    .sticky-col { position: sticky; top: 125px; align-self: start; }
    .about > .sticky-col { top: 135px; }
}

/* ==========================================================================
   15. Animations
   ========================================================================== */
:root { --ease-out: cubic-bezier(.2, .8, .2, 1); }

/* Header gains a soft shadow once the page scrolls */
.site-header { transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(32, 55, 71, .08); }
.site-nav a:not(.nav-cta) { position: relative; transition: color .2s; }
.site-nav a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
    background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--teal); }
.nav-cta { transition: border-color .2s, background-color .2s; }
.nav-cta:hover { border-color: var(--teal); background: #fff; }

/* Hero entrance */
.hero-text > * { animation: rp-rise .9s var(--ease-out) both; }
.hero-text > .eyebrow { animation-delay: .1s; }
.hero-text > h1 { animation-delay: .2s; }
.hero-text > .intro { animation-delay: .35s; }
.hero-text > .hero-actions { animation-delay: .5s; }
.hero-text > .hero-bottom { animation-delay: .65s; }

.hero-art .orbit { animation: rp-orbit-in 1.2s var(--ease-out) both, rp-breathe 7s ease-in-out 1.2s infinite; }
.hero-art .orbit-two { animation-delay: .15s, 1.6s; }
.hero-art .orbit-three { animation-delay: .3s, 2s; }
.hero-art .core { animation: rp-fade 1s var(--ease-out) .5s both; }
.hero-art .art-label, .hero-art .art-caption { animation: rp-fade 1s ease .9s both; }
.hero-art .node { animation: rp-pop .7s var(--ease-out) both, rp-float 6s ease-in-out infinite; }
.hero-art .n1 { animation-delay: .7s, 1.4s; }
.hero-art .n2 { animation-delay: .85s, 2.6s; }
.hero-art .n3 { animation-delay: 1s, 3.8s; }
.dot { animation: rp-pulse 2.4s ease-out 1s infinite; }

/* Buttons and links: arrow nudges on hover */
.button span, .text-link span, .nav-cta span, .agenda-detail a span, footer strong span { display: inline-block; transition: transform .25s var(--ease-out); }
.button:hover span, .text-link:hover span, .nav-cta:hover span, .agenda-detail a:hover span { transform: translate(3px, -1px); }
.text-link { transition: border-color .25s; }
.text-link:hover { border-color: currentColor; }

/* Ribbon stars spin slowly */
.ribbon b { display: inline-block; animation: rp-spin 12s linear infinite; }

/* Agenda accordion */
.agenda-item { transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out); }
.agenda-item:hover { border-color: #b9cbc6; box-shadow: 0 10px 28px rgba(32, 55, 71, .07); }
.agenda-item[open] { border-color: #b9cbc6; }
.agenda-toggle::before { display: inline-block; transition: transform .3s var(--ease-out); }
.agenda-item[open] .agenda-toggle::before { transform: rotate(180deg); }
.agenda-item[open] .agenda-detail { animation: rp-drop .45s var(--ease-out); }

/* Learning visual */
.learning-art .big-p { transition: transform .6s var(--ease-out); }
.learning-art:hover .big-p { transform: translateY(-6px); }
.learning-art:hover .big-p span { animation: rp-nudge .6s var(--ease-out); }
.pills span { transition: border-color .2s, background-color .2s, color .2s; }
.pills span:hover { border-color: var(--teal); background: #fff; color: var(--teal); }

/* Form fields */
#brief input, #brief select, #brief textarea { transition: border-color .2s, box-shadow .2s, background-color .2s; }
#brief input:focus, #brief select:focus, #brief textarea:focus {
    outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(56, 108, 112, .14);
}

/* Scroll reveal — only when JS is running, so content never stays hidden */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal--left { transform: translateX(-28px); }
.js .reveal--zoom { transform: scale(.96); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes rp-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes rp-fade { from { opacity: 0; } }
@keyframes rp-pop { from { opacity: 0; transform: scale(.7); } }
@keyframes rp-orbit-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.85); } }
@keyframes rp-breathe { 50% { transform: translate(-50%, -50%) scale(1.025); } }
@keyframes rp-float { 50% { translate: 0 -7px; } }
@keyframes rp-pulse { 0% { box-shadow: 0 0 0 0 rgba(193, 223, 211, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(193, 223, 211, 0); } }
@keyframes rp-spin { to { transform: rotate(360deg); } }
@keyframes rp-drop { from { opacity: 0; transform: translateY(-8px); } }
@keyframes rp-nudge { 50% { transform: translate(6px, -6px); } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
