/* ==========================================================================
   Greene Education — Staff Intranet
   On-brand design system: Greene Education navy + leaf green, Poppins type.
   A cleaner, more spacious execution of the brand than the dense Porto admin —
   distinct from the main app's chrome, but unmistakably the same company.
   Self-contained — no build step or framework required.
   ========================================================================== */

:root {
    /* Surfaces & ink */
    --paper:      #F5F7FA;   /* page background — cool light gray */
    --paper-2:    #EBEFF5;   /* recessed areas */
    --surface:    #FFFFFF;   /* cards */
    --ink:        #1B2333;   /* primary text — near-navy */
    --ink-soft:   #4A5568;   /* secondary text */
    --ink-faint:  #8A94A6;   /* meta / muted */

    /* Brand — navy primary, leaf-green accent (variable names kept for reuse) */
    --pine:       #17285A;   /* Greene navy (dominant) */
    --pine-deep:  #0F1C40;
    --pine-tint:  #E8EDF6;   /* pale navy wash */
    --ochre:      #5FBB46;   /* Greene leaf green (accent) */
    --ochre-soft: #A6D98F;
    --green-tint: #E7F4E1;   /* pale green wash */

    /* Lines & shadow */
    --line:       rgba(23, 40, 90, 0.12);
    --line-strong:rgba(23, 40, 90, 0.22);
    --shadow-sm:  0 1px 2px rgba(15, 28, 64, 0.06);
    --shadow-md:  0 12px 32px -12px rgba(15, 28, 64, 0.26);
    --shadow-lg:  0 28px 60px -24px rgba(15, 28, 64, 0.38);

    /* Type — Poppins is the Greene Education brand typeface */
    --display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --radius: 6px;
    --radius-lg: 12px;
    --maxw: 1180px;
}

/* --- Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background-color: var(--paper);
    background-image:
        radial-gradient(circle at 12% -10%, rgba(23, 40, 90, 0.06), transparent 38%),
        radial-gradient(circle at 92% 4%, rgba(95, 187, 70, 0.07), transparent 34%);
    background-attachment: fixed;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { max-width: 100%; display: block; }
a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--ochre); }

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ink);
}

/* --- Utility kicker / labels ---------------------------------------------- */
.kicker {
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ochre);
}
.muted { color: var(--ink-faint); }

/* --- Layout shell ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 247, 250, 0.85);
    backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-family: var(--display);
    font-size: 1.32rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand__mark {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: var(--pine);
    color: #fff;
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}
.brand__sub {
    font-family: var(--body);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-faint);
    display: block;
    margin-top: -2px;
}

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 8px 14px;
    border-radius: var(--radius);
    position: relative;
    transition: color .15s ease, background .15s ease;
}
.site-nav a:hover { color: var(--pine); background: var(--pine-tint); }
.site-nav a.is-active { color: var(--pine); }
.site-nav a.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
    height: 2px; background: var(--ochre); border-radius: 2px;
}

.site-nav__divider { width: 1px; height: 24px; background: var(--line); margin: 0 8px; }
.usermenu {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.86rem; color: var(--ink-soft);
}
.avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--ochre); color: var(--pine-deep);
    display: grid; place-items: center;
    font-weight: 700; font-size: 0.82rem;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--body); font-size: 0.9rem; font-weight: 600;
    line-height: 1; cursor: pointer;
    padding: 12px 20px; border-radius: var(--radius);
    border: 1px solid transparent; transition: all .16s ease;
    text-decoration: none;
}
.btn--primary { background: var(--pine); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--pine-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--pine); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--pine); background: var(--pine-tint); color: var(--pine); }
.btn--ochre { background: var(--ochre); color: var(--pine-deep); }
.btn--ochre:hover { background: #4EA037; color: #fff; }
.btn--danger { background: transparent; color: #9a3b2f; border-color: rgba(154,59,47,.4); }
.btn--danger:hover { background: #9a3b2f; color: #fff; }
.btn--sm { padding: 8px 14px; font-size: 0.82rem; }

/* --- Flash messages -------------------------------------------------------- */
.flash {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px; border-radius: var(--radius);
    margin-bottom: 24px; font-size: 0.92rem; font-weight: 500;
    border-left: 3px solid;
}
.flash--success { background: var(--green-tint); color: #2c6b1e; border-color: var(--ochre); }
.flash--error { background: #f6e3df; color: #7d2e23; border-color: #9a3b2f; }

/* --- Main / footer --------------------------------------------------------- */
main { flex: 1 0 auto; padding: 52px 0 80px; }

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--paper-2);
    padding: 28px 0;
    font-size: 0.84rem;
    color: var(--ink-faint);
}
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* --- Hero ------------------------------------------------------------------ */
.hero {
    position: relative;
    background: linear-gradient(150deg, var(--pine) 0%, var(--pine-deep) 100%);
    color: #EAF0FA;
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: var(--shadow-md);
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 88% 18%, rgba(231, 199, 126, 0.22), transparent 42%);
    pointer-events: none;
}
.hero__kicker { color: var(--ochre-soft); margin-bottom: 14px; }
.hero h1 {
    color: #ffffff;
    font-size: clamp(2.1rem, 4.4vw, 3.3rem);
    font-weight: 700;
    max-width: 18ch;
}
.hero h1 em { font-style: italic; color: var(--ochre-soft); }
.hero p { margin-top: 16px; max-width: 52ch; color: rgba(234, 240, 250, 0.85); font-size: 1.05rem; }
.hero__meta { margin-top: 26px; display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.86rem; color: rgba(234, 240, 250, 0.72); }
.hero__meta b { display: block; font-family: var(--display); font-size: 1.5rem; color: #fff; font-weight: 700; }

/* --- Section headers ------------------------------------------------------- */
.section-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 16px; margin-bottom: 24px;
    padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: 1.7rem; }
.section-head a { font-size: 0.88rem; font-weight: 600; }

/* --- Grids ----------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.layout-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }

/* --- Cards ----------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

/* Announcement card */
.ann {
    display: flex; flex-direction: column; gap: 12px;
    position: relative;
}
.ann__date {
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-faint);
    display: flex; align-items: center; gap: 8px;
}
.ann__title { font-size: 1.4rem; line-height: 1.12; }
.ann__title a { color: var(--ink); }
.ann__title a:hover { color: var(--pine); }
.ann__excerpt { color: var(--ink-soft); font-size: 0.96rem; }
.ann__foot { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--ink-faint); }
.ann__by { display: flex; align-items: center; gap: 8px; }

.pin {
    position: absolute; top: -10px; right: 18px;
    background: var(--ochre); color: var(--pine-deep);
    font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 5px 10px; border-radius: 100px; box-shadow: var(--shadow-sm);
}

/* --- Lead / featured announcement ----------------------------------------- */
.lead-ann {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--ochre);
    padding: 32px 36px;
    margin-bottom: 22px;
}
.lead-ann .ann__title { font-size: 2rem; }

/* --- Article (show) -------------------------------------------------------- */
.article { max-width: 70ch; margin: 0 auto; }
.article__head { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article__head h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; margin-top: 12px; }
.article__meta { margin-top: 18px; display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--ink-faint); }
.prose { font-size: 1.08rem; line-height: 1.75; color: #2b3242; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 0.5em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; }
.prose li { margin-bottom: 0.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ochre); }
.prose blockquote {
    border-left: 3px solid var(--ochre); margin: 1.4em 0; padding: 4px 0 4px 22px;
    font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--pine-deep);
}

/* --- Sidebar --------------------------------------------------------------- */
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.aside-card + .aside-card { margin-top: 22px; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.aside-list { list-style: none; display: flex; flex-direction: column; }
.aside-list li { border-top: 1px solid var(--line); }
.aside-list li:first-child { border-top: none; }
.aside-list a { display: block; padding: 11px 0; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.aside-list a:hover { color: var(--pine); }
.aside-list small { display: block; color: var(--ink-faint); font-weight: 400; font-size: 0.76rem; }

/* --- Forms ----------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 40px; box-shadow: var(--shadow-sm); max-width: 760px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.84rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); margin-bottom: 7px; }
.field .hint { font-size: 0.8rem; color: var(--ink-faint); margin-top: 6px; }
.input, .textarea, select.input {
    width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
    background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
    padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .textarea:focus, select.input:focus {
    outline: none; border-color: var(--pine);
    box-shadow: 0 0 0 3px var(--pine-tint);
}
.textarea { min-height: 320px; resize: vertical; line-height: 1.6; font-family: var(--body); }
.field--error .input, .field--error .textarea { border-color: #9a3b2f; }
.error-text { color: #9a3b2f; font-size: 0.82rem; margin-top: 6px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--pine); }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

/* --- Badges ---------------------------------------------------------------- */
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 100px;
}
.badge--draft { background: #efe6cf; color: #87642a; }
.badge--pinned { background: var(--ochre); color: var(--pine-deep); }

/* --- Empty state ----------------------------------------------------------- */
.empty {
    text-align: center; padding: 72px 24px;
    border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg);
    background: rgba(251, 250, 244, 0.5);
}
.empty__mark { font-family: var(--display); font-size: 3rem; color: var(--pine); opacity: .35; margin-bottom: 8px; }
.empty h3 { font-size: 1.4rem; margin-bottom: 8px; }
.empty p { color: var(--ink-faint); max-width: 42ch; margin: 0 auto 20px; }

/* --- Page header ----------------------------------------------------------- */
.page-head { margin-bottom: 40px; }
.page-head .kicker { margin-bottom: 10px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
.page-head p { color: var(--ink-soft); margin-top: 10px; max-width: 60ch; }
.breadcrumb { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--pine); }

/* --- Entrance animation ---------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { opacity: 0; animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; }
.rise-1 { animation-delay: .05s; } .rise-2 { animation-delay: .12s; }
.rise-3 { animation-delay: .19s; } .rise-4 { animation-delay: .26s; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; opacity: 1; } html { scroll-behavior: auto; } }

/* --- Documents ------------------------------------------------------------- */
.doc { display: flex; flex-direction: column; gap: 6px; }
.doc__ext {
    align-self: flex-start; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em;
    color: var(--pine); background: var(--pine-tint); padding: 6px 10px; border-radius: 6px;
    margin-bottom: 6px;
}
.doc__title { font-size: 1.12rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.doc__desc { color: var(--ink-soft); font-size: 0.92rem; }
.doc__meta { color: var(--ink-faint); font-size: 0.8rem; margin-top: 4px; }
.doc__actions { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 14px; }
.doc__link {
    font-size: 0.82rem; font-weight: 600; color: var(--ink-faint);
    background: none; border: none; cursor: pointer; padding: 0; font-family: inherit;
}
.doc__link:hover { color: var(--pine); }
.doc__link--danger:hover { color: #9a3b2f; }

/* --- Directory ------------------------------------------------------------- */
.dir-toolbar { margin-bottom: 26px; }
.dir-search {
    width: 100%; max-width: 420px; font-family: var(--body); font-size: 1rem;
    background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
    padding: 12px 16px;
}
.dir-search:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px var(--pine-tint); }
.person { display: flex; align-items: center; gap: 16px; }
.person__avatar {
    flex: none; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
    background: var(--pine-tint); color: var(--pine);
}
.person__name { font-size: 1.08rem; font-weight: 600; font-family: var(--display); }
.person__email { font-size: 0.86rem; color: var(--ink-soft); word-break: break-word; }
.person__email a { color: var(--ink-soft); }
.person__email a:hover { color: var(--pine); }
.person__roles { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 6px; }
.role-chip {
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 100px; background: var(--green-tint); color: #2c6b1e;
}
.dir-empty { grid-column: 1 / -1; }

/* --- Calendar / events ----------------------------------------------------- */
.agenda { display: flex; flex-direction: column; gap: 0; }
.agenda__month {
    font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--ink-faint);
    letter-spacing: 0.02em; margin: 28px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.agenda__month:first-child { margin-top: 0; }
.event {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.event__date {
    flex: none; width: 60px; text-align: center; line-height: 1;
    border-right: 1px solid var(--line); padding-right: 18px;
}
.event__day { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--pine); }
.event__dow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ochre); margin-top: 4px; }
.event__body { flex: 1; }
.event__title { font-size: 1.12rem; font-weight: 600; font-family: var(--display); }
.event__meta { font-size: 0.85rem; color: var(--ink-faint); margin-top: 4px; display: flex; gap: 14px; flex-wrap: wrap; }
.event__desc { font-size: 0.92rem; color: var(--ink-soft); margin-top: 8px; }
.event__actions { display: flex; gap: 12px; align-items: flex-start; }

/* --- Quick links ----------------------------------------------------------- */
.link-card { padding: 0; overflow: hidden; }
.link-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.link-card__main { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; color: var(--ink); }
.link-card__main:hover { color: var(--ink); }
.link-card__icon {
    flex: none; width: 42px; height: 42px; border-radius: 10px;
    display: grid; place-items: center; background: var(--pine); color: #fff;
    font-weight: 700; font-family: var(--display); font-size: 1.15rem;
}
.link-card__text { display: flex; flex-direction: column; gap: 3px; }
.link-card__label { font-weight: 600; font-size: 1.05rem; font-family: var(--display); display: flex; align-items: center; gap: 8px; }
.link-card__arrow { color: var(--ochre); }
.link-card__desc { font-size: 0.9rem; color: var(--ink-soft); }
.link-card__host { font-size: 0.76rem; color: var(--ink-faint); letter-spacing: 0.02em; }
.link-card__actions { display: flex; gap: 14px; padding: 0 22px 16px; }

/* --- Support / tickets ----------------------------------------------------- */
.ticket {
    display: flex; gap: 16px; align-items: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 15px 20px; margin-bottom: 10px; box-shadow: var(--shadow-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.ticket:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.ticket__num { font-family: var(--display); font-weight: 700; color: var(--ink-faint); font-size: 0.82rem; flex: none; width: 84px; }
.ticket__main { flex: 1; min-width: 0; }
.ticket__subject { font-weight: 600; font-size: 1.02rem; }
.ticket__subject a { color: var(--ink); }
.ticket__subject a:hover { color: var(--pine); }
.ticket__meta { font-size: 0.82rem; color: var(--ink-faint); margin-top: 3px; }
.ticket-status { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 11px; border-radius: 100px; white-space: nowrap; }
.ticket-status--open { background: var(--pine-tint); color: var(--pine); }
.ticket-status--progress { background: #fbeccf; color: #8a5a13; }
.ticket-status--awaiting { background: #fbeccf; color: #8a5a13; }
.ticket-status--resolved { background: var(--green-tint); color: #2c6b1e; }
.ticket-status--closed { background: var(--paper-2); color: var(--ink-faint); }

.thread__msg { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 12px; background: var(--surface); }
.thread__msg--mine { border-left: 3px solid var(--ochre); }
.thread__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.thread__author { font-weight: 600; font-size: 0.92rem; }
.thread__time { font-size: 0.78rem; color: var(--ink-faint); }
.thread__body { margin-top: 8px; color: #2b3242; white-space: pre-wrap; }

/* --- Auth screen ----------------------------------------------------------- */
.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
}
.auth__brandside {
    position: relative;
    background: linear-gradient(155deg, var(--pine) 0%, var(--pine-deep) 100%);
    color: #EAF0FA;
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.auth__brandside::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 82% 16%, rgba(231, 199, 126, 0.20), transparent 44%),
        radial-gradient(circle at 8% 92%, rgba(231, 199, 126, 0.10), transparent 40%);
}
.auth__brandside .brand { color: #fff; position: relative; z-index: 1; }
.auth__brandside .brand__sub { color: rgba(234, 240, 250, 0.72); }
/* Green emblem on the navy panel — mirrors the Greene Education logo mark. */
.auth__brandside .brand__mark { background: var(--ochre); color: var(--pine-deep); }
.auth__pitch { position: relative; z-index: 1; max-width: 24ch; }
.auth__pitch h2 { color: #ffffff; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
.auth__pitch h2 em { font-style: italic; color: var(--ochre-soft); }
.auth__pitch p { margin-top: 14px; color: rgba(234, 240, 250, 0.82); }
.auth__foot { position: relative; z-index: 1; font-size: 0.8rem; color: rgba(234, 240, 250, 0.6); }

.auth__formside {
    display: flex; align-items: center; justify-content: center;
    padding: 48px 40px;
}
.auth__form { width: 100%; max-width: 380px; }
.auth__form h1 { font-size: 2rem; font-weight: 600; }
.auth__form .lead { color: var(--ink-soft); margin: 8px 0 30px; }
.auth__form .btn { width: 100%; justify-content: center; padding: 14px; }
.auth__hint { margin-top: 22px; font-size: 0.84rem; color: var(--ink-faint); text-align: center; }
.auth__hint a { font-weight: 600; }
.checkbox-row.subtle { font-size: 0.88rem; color: var(--ink-soft); margin: -6px 0 22px; }

@media (max-width: 820px) {
    .auth { grid-template-columns: 1fr; }
    .auth__brandside { display: none; }
}

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
    .layout-split { grid-template-columns: 1fr; gap: 32px; }
    .hero { padding: 40px 28px; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .site-nav { gap: 0; }
    .site-nav a { padding: 8px 9px; font-size: 0.84rem; }
    .brand__sub { display: none; }
    .wrap { padding: 0 18px; }
    main { padding: 32px 0 56px; }
    .form-card { padding: 24px 20px; }
}
