/* ==========================================================
   YANK Youth Anti FGM Network Kenya
   Design system (adapted from the ISMG cfa-theme pattern)
   ========================================================== */

@font-face {
    font-family: "Kollektif";
    src: url("/fonts/Kollektif.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Kollektif";
    src: url("/fonts/Kollektif-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Kollektif";
    src: url("/fonts/Kollektif-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Kollektif";
    src: url("/fonts/Kollektif-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --yk-primary: #3d1a52;         /* deep purple, movement colour */
    --yk-primary-700: #2f1240;
    --yk-primary-500: #563572;
    --yk-primary-300: #7a5d94;

    --yk-ink: #1e0e2b;
    --yk-text: #2b1f36;
    --yk-muted: #6e6479;
    --yk-line: #ece5f0;

    --yk-bg: #ffffff;
    --yk-bg-alt: #f7f3fa;
    --yk-bg-cream: #fbf5ec;          /* warm sand */
    --yk-bg-lilac: #f2ecf6;

    --yk-accent: #e85d1d;            /* orange the world CTA */
    --yk-accent-700: #c74d13;
    --yk-gold: #e6b34a;
    --yk-teal: #2d7a7a;
    --yk-rose: #c73e5f;

    --yk-radius: 2px;                /* buttons and inputs only */
    --yk-radius-lg: 0;               /* cards, panels, tiles are square now */
    --yk-radius-xl: 0;

    --yk-shadow-sm: 0 2px 6px rgba(61, 26, 82, .06);
    --yk-shadow: 0 4px 14px rgba(61, 26, 82, .10);
    --yk-shadow-lg: 0 20px 44px rgba(61, 26, 82, .16);

    --yk-serif: "Kollektif", "Gill Sans", "Gill Sans MT", "Helvetica Neue", Arial, sans-serif;
    --yk-sans: "Kollektif", "Gill Sans", "Gill Sans MT", "Helvetica Neue", Arial, sans-serif;

    --yk-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--yk-sans);
    color: var(--yk-text);
    background: var(--yk-bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--yk-serif);
    color: var(--yk-primary);
    margin: 0 0 .55em;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; font-family: var(--yk-sans); font-weight: 700; }
h6 { font-size: .82rem; font-family: var(--yk-sans); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yk-primary); }

p { margin: 0 0 1em; color: var(--yk-text); }
p.lead { font-size: 1.15rem; line-height: 1.7; color: var(--yk-text); }

a { color: var(--yk-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--yk-accent); }

ul { margin: 0 0 1em; padding: 0 0 0 1.2em; }
li { color: var(--yk-text); }

/* ---------- Layout helpers ---------- */
.container {
    width: 100%;
    max-width: var(--yk-container);
    margin: 0 auto;
    padding: 0 24px;
}
.row { display: flex; flex-wrap: wrap; margin: 0 -16px; }
[class*="col-"] { padding: 0 16px; width: 100%; }
@media (min-width: 576px) {
    .col-sm-6 { width: 50%; }
}
@media (min-width: 768px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.3333%; }
    .col-md-5 { width: 41.6667%; }
    .col-md-6 { width: 50%; }
    .col-md-7 { width: 58.3333%; }
    .col-md-8 { width: 66.6667%; }
    .col-md-9 { width: 75%; }
    .col-md-10 { width: 83.3333%; }
    .col-md-12 { width: 100%; }
    .col-md-offset-1 { margin-left: 8.3333%; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
    display: inline-block;
    font-family: var(--yk-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--yk-accent);
    margin-bottom: 16px;
}
.eyebrow.light { color: var(--yk-gold); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--yk-sans);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
    padding: 13px 26px;
    border-radius: var(--yk-radius);
    border: 2px solid var(--yk-primary);
    color: var(--yk-primary);
    background: transparent;
    cursor: pointer;
    text-align: center;
    text-decoration: none !important;
    transition: all .2s ease;
    line-height: 1.2;
}
.btn:hover { background: var(--yk-primary); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

.btn-filled { background: var(--yk-primary); color: #fff; border-color: var(--yk-primary); }
.btn-filled:hover { background: var(--yk-primary-700); border-color: var(--yk-primary-700); color: #fff; }

.btn-accent { background: var(--yk-accent); color: #fff; border-color: var(--yk-accent); }
.btn-accent:hover { background: var(--yk-accent-700); border-color: var(--yk-accent-700); color: #fff; }

.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--yk-primary); border-color: #fff; }

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--yk-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--yk-primary);
    padding-bottom: 2px;
}
.btn-link:hover { color: var(--yk-accent); border-color: var(--yk-accent); }

/* ---------- Navigation ---------- */
.nav-container { box-shadow: var(--yk-shadow-sm); position: relative; z-index: 100; background: #fff; border-bottom: 1px solid var(--yk-line); }
.et-mainnav > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.et-logo img { height: 56px; width: auto; }
.et-mobile-toggle { display: none; font-size: 1.6rem; cursor: pointer; color: var(--yk-primary); }

.et-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.et-menu > li { position: relative; }
.et-menu > li > a {
    display: block;
    padding: 12px 14px;
    color: var(--yk-primary);
    font-weight: 600;
    font-size: .95rem;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}
.et-menu > li > a:hover,
.et-menu > li.has-children:hover > a { color: var(--yk-accent); border-bottom-color: var(--yk-accent); }

.et-menu > li.cta > a {
    color: #fff;
    background: var(--yk-accent);
    border-radius: var(--yk-radius);
    padding: 10px 20px;
    margin-left: 6px;
}
.et-menu > li.cta > a:hover { background: var(--yk-accent-700); color: #fff; border-bottom-color: transparent; }

.et-mega {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 640px;
    background: #fff;
    box-shadow: var(--yk-shadow-lg);
    border-radius: var(--yk-radius-lg);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .2s ease;
    z-index: 200;
}
.et-mega.right { left: auto; right: 0; }
.et-menu > li.has-children:hover > .et-mega { opacity: 1; visibility: visible; transform: translateY(0); }

.et-mega-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.et-mega-list h6 { color: var(--yk-muted); margin-bottom: 12px; }
.et-mega-item {
    display: block;
    padding: 10px 12px;
    border-radius: var(--yk-radius);
    transition: background .15s ease;
}
.et-mega-item:hover { background: var(--yk-bg-alt); }
.em-title { display: block; font-family: var(--yk-serif); font-weight: 700; color: var(--yk-primary); margin-bottom: 2px; }
.et-mega-item:hover .em-title { color: var(--yk-accent); }
.em-desc { display: block; font-size: .84rem; color: var(--yk-muted); }

.et-mega-feature {
    background: linear-gradient(135deg, var(--yk-primary) 0%, var(--yk-primary-500) 100%);
    color: #fff;
    border-radius: var(--yk-radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.et-mega-feature h5, .et-mega-feature h6 { color: #fff; }
.et-mega-feature .em-kicker { color: var(--yk-gold); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.et-mega-feature p { color: rgba(255,255,255,.85); font-size: .9rem; }
.em-cta { color: var(--yk-gold); font-weight: 700; border-bottom: 2px solid var(--yk-gold); padding-bottom: 2px; align-self: flex-start; margin-top: 10px; }
.em-cta:hover { color: #fff; border-color: #fff; }

/* Mobile nav */
@media (max-width: 991px) {
    .et-mobile-toggle { display: block; }
    .et-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px 24px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--yk-shadow-lg);
        gap: 0;
    }
    .et-menu.open { display: flex; }
    .et-menu > li > a { padding: 14px 0; border-bottom: 1px solid var(--yk-line); border-radius: 0; }
    .et-mega { position: static; box-shadow: none; padding: 8px 0 16px; min-width: 0; opacity: 1; visibility: visible; transform: none; }
    .et-mega-cols { grid-template-columns: 1fr; }
    .et-mega-feature { display: none; }
    .et-menu > li.cta > a { margin: 8px 0 0; }
}

/* ---------- Hero ---------- */
.et-hero {
    position: relative;
    color: #fff;
    padding: 120px 0 100px;
    overflow: hidden;
    background: var(--yk-primary);
}
.et-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .28;
    filter: saturate(1.1);
}
.et-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(61,26,82,.86) 0%, rgba(61,26,82,.60) 60%, rgba(232,93,29,.45) 100%);
}
.et-hero > .container { position: relative; z-index: 2; }
.et-hero h1 { color: #fff; }
.et-hero p.lead { color: rgba(255,255,255,.9); max-width: 680px; font-size: 1.2rem; }
.et-hero .eyebrow { color: var(--yk-gold); }
.et-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.et-hero-actions .btn { background: #fff; color: var(--yk-primary); border-color: #fff; }
.et-hero-actions .btn:hover { background: var(--yk-gold); border-color: var(--yk-gold); color: var(--yk-primary); }
.et-hero-actions .btn-outline-light { background: transparent; color: #fff; }
.et-hero-actions .btn-outline-light:hover { background: #fff; color: var(--yk-primary); }

/* Page headers (interior pages) */
.page-header-yk {
    position: relative;
    background: linear-gradient(135deg, var(--yk-primary) 0%, var(--yk-primary-500) 100%);
    color: #fff;
    padding: 90px 0 70px;
    overflow: hidden;
}
.page-header-yk::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(232,179,74,.35) 0%, transparent 70%);
    border-radius: 50%;
}
.page-header-yk::after {
    content: "";
    position: absolute;
    left: -60px;
    bottom: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(232,93,29,.25) 0%, transparent 70%);
    border-radius: 50%;
}
.page-header-yk > .container { position: relative; z-index: 2; }
.page-header-yk h1 { color: #fff; margin-bottom: 12px; }
.page-header-yk .eyebrow { color: var(--yk-gold); }
.page-header-yk p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 640px; margin: 0; }
.page-header-yk .breadcrumb { margin-top: 16px; font-size: .9rem; color: rgba(255,255,255,.75); }
.page-header-yk .breadcrumb a { color: var(--yk-gold); }

/* ---------- Sections ---------- */
.et-section { padding: 96px 0; }
.et-section.tight { padding: 60px 0; }
.et-section.bg-cream { background: var(--yk-bg-cream); }
.et-section.bg-alt { background: var(--yk-bg-alt); }
.et-section.bg-lilac { background: var(--yk-bg-lilac); }
.et-section.bg-primary { background: var(--yk-primary); color: #fff; }
.et-section.bg-primary h1, .et-section.bg-primary h2, .et-section.bg-primary h3 { color: #fff; }
.et-section.bg-primary p { color: rgba(255,255,255,.88); }

.et-section-head {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}
.et-section-head.left { text-align: left; margin-left: 0; margin-right: 0; }
.et-section-head p.lead { color: var(--yk-muted); }

/* ---------- Grid ---------- */
.et-grid { display: grid; gap: 28px; }
.et-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.et-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.et-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.et-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 991px) {
    .et-grid.cols-3, .et-grid.cols-4, .et-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
    .et-grid.cols-2, .et-grid.cols-3, .et-grid.cols-4, .et-grid.cols-5 { grid-template-columns: 1fr; }
}

/* ---------- Card ---------- */
.et-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: var(--yk-shadow-sm);
    overflow: hidden;
    transition: all .25s ease;
    color: inherit;
}
.et-card:hover { transform: translateY(-4px); box-shadow: var(--yk-shadow-lg); }
.et-card-img {
    position: relative;
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: var(--yk-bg-alt);
}
.et-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(61,26,82,.88);
    color: #fff;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
}
.et-card-body { padding: 24px; flex: 1; }
.et-card-cat {
    color: var(--yk-accent);
    font-size: .74rem;
    letter-spacing: .18em;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.et-card h4 { margin-bottom: 10px; }
.et-card-desc { color: var(--yk-muted); font-size: .95rem; margin: 0; }
.et-card-foot {
    padding: 16px 24px;
    border-top: 1px solid var(--yk-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cal-cta { color: var(--yk-primary); font-weight: 700; font-size: .9rem; }
.et-card:hover .cal-cta { color: var(--yk-accent); }

/* ---------- Feature (icon block) ---------- */
.et-feature {
    background: var(--yk-bg-alt);
    padding: 28px 24px;
    transition: all .2s ease;
}
.et-feature:hover { background: #fff; box-shadow: var(--yk-shadow); }
.et-feat-icon {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: linear-gradient(135deg, var(--yk-primary) 0%, var(--yk-primary-500) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}
.et-feature h5 { margin-bottom: 8px; color: var(--yk-primary); }
.et-feature p { color: var(--yk-muted); font-size: .95rem; margin: 0; }

/* ---------- Insight (blog) card ---------- */
.et-insight {
    background: #fff;
    overflow: hidden;
    box-shadow: var(--yk-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
}
.et-insight:hover { transform: translateY(-4px); box-shadow: var(--yk-shadow-lg); }
.et-insight-img { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: var(--yk-bg-alt); }
.et-insight-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.et-insight-meta { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yk-accent); font-weight: 700; margin-bottom: 10px; }
.et-insight h4 { margin-bottom: 10px; }
.et-insight p { color: var(--yk-muted); font-size: .95rem; }
.et-insight-link { margin-top: auto; color: var(--yk-primary); font-weight: 700; align-self: flex-start; border-bottom: 2px solid var(--yk-primary); padding-bottom: 2px; }
.et-insight:hover .et-insight-link { color: var(--yk-accent); border-color: var(--yk-accent); }

/* ---------- Pills / tags ---------- */
.et-pill {
    display: inline-block;
    padding: 6px 12px;
    background: var(--yk-bg-alt);
    color: var(--yk-primary);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.et-pill-accent { background: rgba(232,93,29,.12); color: var(--yk-accent); }
.et-pill-gold { background: rgba(230,179,74,.18); color: #997528; }
.et-pill-teal { background: rgba(45,122,122,.14); color: var(--yk-teal); }
.et-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

/* ---------- Stats ---------- */
.et-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
@media (max-width: 767px) { .et-stats { grid-template-columns: repeat(2, 1fr); } }
.et-stat-num {
    font-family: var(--yk-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--yk-gold);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.et-stat-label { color: rgba(255,255,255,.85); font-weight: 600; font-size: .95rem; }

/* ---------- Checklist ---------- */
.et-checklist { list-style: none; padding: 0; margin: 20px 0; }
.et-checklist li {
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 1rem;
    color: var(--yk-text);
}
.et-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    background: var(--yk-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
}

/* ---------- CTA banner ---------- */
.et-cta-banner {
    background: linear-gradient(120deg, var(--yk-primary) 0%, var(--yk-primary-500) 60%, var(--yk-accent) 130%);
    color: #fff;
    padding: 72px 0;
    position: relative;
    overflow: hidden;
}
.et-cta-banner::before {
    content: "";
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(230,179,74,.25) 0%, transparent 70%);
    border-radius: 50%;
}
.et-cta-banner .container { position: relative; z-index: 2; }
.et-cta-banner h2 { color: #fff; margin-bottom: 12px; }
.et-cta-banner p { color: rgba(255,255,255,.9); margin: 0; }

/* ---------- Logos strip ---------- */
.et-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
}
@media (max-width: 991px) { .et-logos { grid-template-columns: repeat(4, 1fr); gap: 28px; } }
@media (max-width: 599px) { .et-logos { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.et-logos img {
    max-height: 60px;
    width: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: .7;
    transition: all .2s ease;
}
.et-logos img:hover { filter: none; opacity: 1; }

/* ---------- Chapters (county map style tags) ---------- */
.chapter-groups { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
@media (max-width: 767px) { .chapter-groups { grid-template-columns: 1fr; } }
.chapter-block { background: #fff; padding: 32px; box-shadow: var(--yk-shadow-sm); }
.chapter-block h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.chapter-block .chapter-count {
    display: inline-flex;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--yk-accent);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-family: var(--yk-serif);
    font-weight: 700;
    font-size: 1.1rem;
}
.chapter-block.upcoming .chapter-count { background: var(--yk-gold); color: var(--yk-primary); }
.chapter-block p.subtitle { color: var(--yk-muted); margin-bottom: 20px; }
.chapter-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.chapter-tag {
    background: var(--yk-bg-alt);
    color: var(--yk-primary);
    padding: 8px 16px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .2s ease;
}
.chapter-block.upcoming .chapter-tag { background: rgba(230,179,74,.18); color: #7a5820; }
.chapter-tag:hover { background: var(--yk-primary); color: #fff; }

/* ---------- Team ---------- */
.team-card {
    background: #fff;
    overflow: hidden;
    box-shadow: var(--yk-shadow-sm);
    transition: all .25s ease;
    text-align: center;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--yk-shadow-lg); }
.team-card-img {
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center top;
    background-color: var(--yk-bg-alt);
    position: relative;
}
.team-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(61,26,82,.4) 100%);
    opacity: 0;
    transition: opacity .2s ease;
}
.team-card:hover .team-card-img::after { opacity: 1; }
.team-card-body { padding: 22px 18px 24px; }
.team-card h5 { margin-bottom: 4px; color: var(--yk-primary); font-family: var(--yk-serif); font-size: 1.15rem; }
.team-card .team-role { font-size: .88rem; color: var(--yk-muted); margin: 0; }

/* ---------- Contact form ---------- */
.form-card {
    background: #fff;
    padding: 40px;
    box-shadow: var(--yk-shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: .88rem; color: var(--yk-primary); margin-bottom: 6px; letter-spacing: .02em; }
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--yk-line);
    border-radius: 0;
    font-family: var(--yk-sans);
    font-size: 1rem;
    color: var(--yk-text);
    background: #fff;
    transition: all .15s ease;
}
.form-control:focus { outline: none; border-color: var(--yk-primary); box-shadow: 0 0 0 3px rgba(61,26,82,.12); }
textarea.form-control { min-height: 140px; resize: vertical; }

.contact-info-tile {
    background: linear-gradient(135deg, var(--yk-primary) 0%, var(--yk-primary-500) 100%);
    color: #fff;
    padding: 40px;
    height: 100%;
}
.contact-info-tile h3 { color: #fff; margin-bottom: 8px; }
.contact-info-tile p.subtitle { color: rgba(255,255,255,.85); margin-bottom: 32px; }
.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.14);
}
.contact-info-row:first-of-type { border-top: 0; }
.contact-info-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center;
    color: var(--yk-gold);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.contact-info-row strong { display: block; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info-row span, .contact-info-row a { color: rgba(255,255,255,.9); }
.contact-info-row a:hover { color: var(--yk-gold); }

/* ---------- Pillar card (about pillars) ---------- */
.pillar {
    background: #fff;
    padding: 40px 36px;
    height: 100%;
    box-shadow: var(--yk-shadow-sm);
}
.pillar-num {
    font-family: var(--yk-serif);
    font-size: 2.4rem;
    color: var(--yk-accent);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}
.pillar:nth-child(2n) .pillar-num { color: var(--yk-gold); }
.pillar:nth-child(3n) .pillar-num { color: var(--yk-teal); }
.pillar:nth-child(4n) .pillar-num { color: var(--yk-rose); }
.pillar:nth-child(5n) .pillar-num { color: var(--yk-primary-500); }
.pillar h4 { color: var(--yk-primary); margin-bottom: 12px; }
.pillar p { color: var(--yk-muted); font-size: .95rem; margin: 0; }

/* ---------- Value chip (mission/vision/values home block) ---------- */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 767px) { .mvv-grid { grid-template-columns: 1fr; } }
.mvv-card {
    background: #fff;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--yk-shadow-sm);
}
.mvv-icon {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--yk-bg-lilac);
    color: var(--yk-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 20px;
}
.mvv-card h4 { color: var(--yk-primary); margin-bottom: 12px; }
.mvv-card p { color: var(--yk-muted); font-size: .95rem; margin: 0; }
.mvv-card ul.values-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mvv-card ul.values-list li {
    padding: 6px 14px;
    background: var(--yk-bg-lilac);
    color: var(--yk-primary);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
}

/* ---------- Empty state ---------- */
.empty-state {
    padding: 80px 24px;
    text-align: center;
    background: var(--yk-bg-alt);
}
.empty-state .icon {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--yk-primary-300);
    font-size: 2rem;
    box-shadow: var(--yk-shadow-sm);
}
.empty-state h3 { color: var(--yk-primary); }
.empty-state p { color: var(--yk-muted); max-width: 460px; margin: 0 auto 20px; }

/* ---------- Footer ---------- */
.footer-1 {
    background: var(--yk-primary-700);
    color: rgba(255,255,255,.8);
    padding: 72px 0 0;
    position: relative;
}
.footer-1 .logo { max-height: 68px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-1 p { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.7; }
.et-foot-title {
    color: #fff;
    font-family: var(--yk-sans);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 18px;
    position: relative;
}
.et-foot-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 2px;
    background: var(--yk-gold);
}
.et-foot-list { list-style: none; padding: 0; margin: 0; }
.et-foot-list li { padding: 5px 0; }
.et-foot-list a { color: rgba(255,255,255,.72); font-size: .92rem; }
.et-foot-list a:hover { color: var(--yk-gold); }

.et-foot-office { margin-bottom: 12px; }
.et-foot-office strong { display: block; color: #fff; font-size: .82rem; margin-bottom: 2px; text-transform: uppercase; letter-spacing: .08em; }
.et-foot-office span { color: rgba(255,255,255,.72); font-size: .92rem; }

.et-foot-newsletter input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--yk-radius);
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-family: var(--yk-sans);
    font-size: .92rem;
}
.et-foot-newsletter input::placeholder { color: rgba(255,255,255,.55); }
.et-foot-newsletter input:focus { outline: none; border-color: var(--yk-gold); background: rgba(255,255,255,.1); }

.et-social { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.et-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease;
}
.et-social a:hover { background: var(--yk-gold); color: var(--yk-primary); }

.et-foot-bottom {
    background: rgba(0,0,0,.18);
    margin-top: 60px;
    padding: 24px 0;
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}
.et-foot-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.et-foot-bottom a { color: rgba(255,255,255,.78); }
.et-foot-bottom a:hover { color: var(--yk-gold); }

.back-to-top {
    position: fixed;
    right: 20px; bottom: 20px;
    width: 46px; height: 46px;
    background: var(--yk-accent);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--yk-shadow);
    z-index: 50;
    transition: all .2s ease;
}
.back-to-top:hover { background: var(--yk-accent-700); color: #fff; transform: translateY(-3px); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

/* Constrained media block for two-column split sections */
.yk-media {
    display: block;
    width: 100%;
    height: 460px;
    max-height: 460px;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 991px) { .yk-media { height: 360px; max-height: 360px; } }
@media (max-width: 599px) { .yk-media { height: 260px; max-height: 260px; margin-bottom: 24px; } }

/* Hero cap so tall backgrounds do not push the section off the fold */
.et-hero { min-height: 520px; max-height: 720px; display: flex; align-items: center; }
@media (max-width: 991px) { .et-hero { min-height: 440px; max-height: none; padding: 90px 0 80px; } }

/* ==========================================================
   STAFF PORTAL
   Auth screen, portal shell, dashboard, tables
   ========================================================== */

/* ---- Auth split screen ---- */
.yk-auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
@media (max-width: 767px) { .yk-auth { grid-template-columns: 1fr; } }

.yk-auth-side {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}
.yk-auth-side::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(47,18,64,.92) 0%, rgba(61,26,82,.72) 55%, rgba(232,93,29,.55) 100%);
}
.yk-auth-side > * { position: relative; z-index: 2; }
.yk-auth-brand img { max-height: 60px; filter: brightness(0) invert(1); }
.yk-auth-message { max-width: 480px; }
.yk-auth-message .kicker { color: var(--yk-gold); letter-spacing: .18em; font-size: .78rem; text-transform: uppercase; font-weight: 700; }
.yk-auth-message h2 { color: #fff; margin: 12px 0 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.yk-auth-message p { color: rgba(255,255,255,.85); font-size: 1.02rem; }
.yk-auth-foot a { color: rgba(255,255,255,.75); font-size: .9rem; }
.yk-auth-foot a:hover { color: var(--yk-gold); }
@media (max-width: 767px) { .yk-auth-side { min-height: 320px; padding: 32px; } }

.yk-auth-main {
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yk-bg);
}
.yk-auth-form { max-width: 400px; width: 100%; }
.yk-auth-eyebrow {
    color: var(--yk-accent);
    letter-spacing: .18em;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .78rem;
    display: block;
    margin-bottom: 10px;
}
.yk-auth-form h1 { font-size: 2rem; margin-bottom: 8px; }
.yk-auth-form .subhead { color: var(--yk-muted); margin-bottom: 28px; }
.yk-auth-form label { display: block; font-weight: 700; font-size: .82rem; color: var(--yk-primary); margin: 14px 0 6px; letter-spacing: .04em; text-transform: uppercase; }
.yk-auth-form input {
    width: 100%; padding: 13px 14px; border: 1px solid var(--yk-line);
    background: #fff; font-family: var(--yk-sans); font-size: 1rem;
    color: var(--yk-text); border-radius: 0;
}
.yk-auth-form input:focus { outline: none; border-color: var(--yk-primary); box-shadow: 0 0 0 3px rgba(61,26,82,.12); }
.yk-auth-form .btn { width: 100%; margin-top: 20px; }
.yk-auth-alt { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--yk-line); color: var(--yk-muted); font-size: .88rem; }
.yk-auth-alt a { color: var(--yk-primary); font-weight: 700; }
.yk-auth-err {
    background: rgba(199,62,95,.09);
    color: #9a2038;
    padding: 12px 16px;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 14px;
    border-left: 3px solid var(--yk-rose);
}

/* ---- Portal page header ---- */
.et-pagehead {
    background: linear-gradient(135deg, var(--yk-primary) 0%, var(--yk-primary-500) 100%);
    color: #fff;
    padding: 60px 0 40px;
}
.et-pagehead h1 { color: #fff; margin: 8px 0 6px; }
.et-pagehead p { color: rgba(255,255,255,.85); margin: 0; }
.et-pagehead .eyebrow { color: var(--yk-gold); }
.et-breadcrumb { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.7); }
.et-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(255,255,255,.4); }
.et-breadcrumb a { color: var(--yk-gold); }
.et-breadcrumb li.active { color: rgba(255,255,255,.9); }

/* ---- Portal shell (sidebar + main) ---- */
.portal-shell { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: flex-start; }
@media (max-width: 991px) { .portal-shell { grid-template-columns: 1fr; } }

.portal-side {
    background: #fff;
    box-shadow: var(--yk-shadow-sm);
    padding: 24px;
    position: sticky;
    top: 20px;
}
@media (max-width: 991px) { .portal-side { position: static; } }
.portal-side-section + .portal-side-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--yk-line); }
.portal-side-section h6 { color: var(--yk-muted); font-size: .72rem; letter-spacing: .14em; margin: 0 0 12px; }
.portal-side-section ul { list-style: none; padding: 0; margin: 0; }
.portal-side-section li a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px;
    color: var(--yk-text);
    font-size: .92rem;
    font-weight: 600;
    transition: all .15s ease;
}
.portal-side-section li a i { color: var(--yk-primary-300); font-size: 1rem; }
.portal-side-section li a:hover { background: var(--yk-bg-alt); color: var(--yk-primary); }
.portal-side-section li a.active { background: var(--yk-primary); color: #fff; }
.portal-side-section li a.active i { color: var(--yk-gold); }

.portal-content { min-width: 0; }
.portal-section-head { margin: 40px 0 16px; }
.portal-section-head h3 { margin: 0 0 4px; color: var(--yk-primary); }
.portal-section-head p { margin: 0; color: var(--yk-muted); }

/* ---- Portal dashboard tiles ---- */
.portal-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 8px; }
@media (max-width: 991px) { .portal-stat-grid { grid-template-columns: repeat(2, 1fr); } }
.portal-stat { background: #fff; padding: 24px; box-shadow: var(--yk-shadow-sm); }
.portal-stat .num { font-family: var(--yk-serif); font-size: 2.6rem; color: var(--yk-primary); font-weight: 700; line-height: 1; }
.portal-stat .label { font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yk-primary); font-weight: 700; margin: 10px 0 4px; }
.portal-stat .sub { font-size: .82rem; color: var(--yk-muted); }

.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 991px) { .portal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .portal-grid { grid-template-columns: 1fr; } }
.portal-tile {
    display: block;
    background: #fff;
    padding: 24px;
    box-shadow: var(--yk-shadow-sm);
    color: inherit;
    transition: all .2s ease;
}
.portal-tile:hover { transform: translateY(-2px); box-shadow: var(--yk-shadow); }
.portal-tile .tile-icon {
    width: 44px; height: 44px;
    background: var(--yk-bg-lilac);
    color: var(--yk-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 14px;
}
.portal-tile:hover .tile-icon { background: var(--yk-primary); color: var(--yk-gold); }
.portal-tile h5 { margin: 0 0 6px; color: var(--yk-primary); }
.portal-tile p { color: var(--yk-muted); font-size: .9rem; margin: 0 0 10px; }
.portal-tile .tile-cta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--yk-accent); font-weight: 700; }

/* ---- Portal form / table cards ---- */
.yk-form-card { background: #fff; padding: 28px; box-shadow: var(--yk-shadow-sm); }
.yk-lbl { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--yk-muted); margin-bottom: 4px; font-weight: 700; }
.yk-form-card label { display: block; margin-bottom: 14px; }
.yk-form-card input[type=text],
.yk-form-card input[type=email],
.yk-form-card input[type=number],
.yk-form-card input[type=date],
.yk-form-card input[type=tel],
.yk-form-card select,
.yk-form-card textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--yk-line);
    background: #fff; font-family: var(--yk-sans); font-size: .95rem;
    color: var(--yk-text); border-radius: 0;
}
.yk-form-card input:focus, .yk-form-card select:focus, .yk-form-card textarea:focus {
    outline: none; border-color: var(--yk-primary); box-shadow: 0 0 0 3px rgba(61,26,82,.10);
}
.yk-form-card textarea { min-height: 90px; resize: vertical; }
.yk-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.yk-form-grid > label.full { grid-column: 1 / -1; }
@media (max-width: 599px) { .yk-form-grid { grid-template-columns: 1fr; } }

.yk-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.yk-table thead th { background: var(--yk-bg-alt); text-align: left; padding: 12px 14px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--yk-primary); font-weight: 700; }
.yk-table tbody td { padding: 14px; border-top: 1px solid var(--yk-line); vertical-align: middle; }
.yk-table tbody tr:hover { background: var(--yk-bg-alt); }
.yk-table td a { color: var(--yk-primary); font-weight: 700; }
.yk-table td a:hover { color: var(--yk-accent); }

.yk-status {
    display: inline-block;
    padding: 3px 10px;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
}
.yk-status.draft    { background: #ece5f0; color: #4a3660; }
.yk-status.submitted{ background: #fff2d6; color: #7a5820; }
.yk-status.approved { background: #d9efe0; color: #1f5a3a; }
.yk-status.rejected { background: #f7dce2; color: #9a2038; }
.yk-status.open     { background: #d9efe0; color: #1f5a3a; }
.yk-status.closed   { background: #ece5f0; color: #4a3660; }
.yk-status.awarded  { background: #fff2d6; color: #7a5820; }
.yk-status.cancelled{ background: #f7dce2; color: #9a2038; }
.yk-status.invited  { background: #ece5f0; color: #4a3660; }
.yk-status.viewed   { background: #fbf5ec; color: #7a5820; }
.yk-status.active   { background: #d9efe0; color: #1f5a3a; }
.yk-status.inactive { background: #f7dce2; color: #9a2038; }

.yk-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.yk-chip {
    padding: 7px 14px;
    background: var(--yk-bg-alt);
    color: var(--yk-primary);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}
.yk-chip.active { background: var(--yk-primary); color: #fff; }
.yk-chip:hover { background: var(--yk-primary); color: #fff; }

.yk-action-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.yk-action-bar h3 { margin: 0; color: var(--yk-primary); }
.yk-action-bar .btn { padding: 10px 20px; font-size: .88rem; }

.yk-empty {
    padding: 40px 24px;
    background: var(--yk-bg-alt);
    text-align: center;
    color: var(--yk-muted);
}

/* ==========================================================
   PROSE (rendered markdown from marked)
   ========================================================== */
.yk-prose { font-size: 1.05rem; line-height: 1.8; color: var(--yk-text); }
.yk-prose > * + * { margin-top: 1em; }
.yk-prose h1, .yk-prose h2, .yk-prose h3, .yk-prose h4 { color: var(--yk-primary); margin-top: 2em; margin-bottom: .6em; line-height: 1.3; }
.yk-prose h2 { font-size: 1.7rem; }
.yk-prose h3 { font-size: 1.35rem; }
.yk-prose h4 { font-size: 1.15rem; }
.yk-prose p { margin: 0 0 1.1em; }
.yk-prose a { color: var(--yk-accent); border-bottom: 1px solid var(--yk-accent); }
.yk-prose a:hover { color: var(--yk-accent-700); border-color: var(--yk-accent-700); }
.yk-prose strong { color: var(--yk-primary); }
.yk-prose ul, .yk-prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.yk-prose li { margin-bottom: .4em; }
.yk-prose blockquote {
    border-left: 4px solid var(--yk-accent);
    padding: 8px 0 8px 20px;
    color: var(--yk-primary);
    font-style: italic;
    font-size: 1.15rem;
    margin: 1.4em 0;
}
.yk-prose img { max-width: 100%; height: auto; display: block; margin: 1.4em 0; box-shadow: var(--yk-shadow); }
.yk-prose code {
    background: var(--yk-bg-alt);
    padding: 2px 8px;
    font-family: 'SF Mono', Consolas, monospace;
    font-size: .92em;
}
.yk-prose pre {
    background: var(--yk-primary-700);
    color: #fff;
    padding: 20px;
    overflow-x: auto;
    font-size: .9rem;
}
.yk-prose pre code { background: transparent; padding: 0; color: inherit; }
.yk-prose hr { border: 0; border-top: 1px solid var(--yk-line); margin: 2em 0; }
.yk-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.yk-prose th, .yk-prose td { padding: 10px 14px; border-bottom: 1px solid var(--yk-line); text-align: left; }
.yk-prose th { background: var(--yk-bg-alt); color: var(--yk-primary); font-weight: 700; }
