/* BPG Academy — Module 04: Canonical Theme, Editorial Layout & Responsive Grid */
    --bpg-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bpg-radius: 14px;
    --bpg-shadow: 0 1px 2px rgba(17, 28, 45, 0.04), 0 8px 24px rgba(17, 28, 45, 0.06);
    --bpg-shadow-lg: 0 2px 4px rgba(17, 28, 45, 0.05), 0 20px 48px rgba(17, 28, 45, 0.10);
}

[data-theme="dark"] {
    --bpg-navy: var(--brand-primary);
    --bpg-navy-2: #21262D;
    --bpg-gold: var(--brand-amber);
    --bpg-gold-muted: #D97706;
    --bpg-cream: var(--bg-canvas);
    --bpg-white: var(--bg-card);
    --bpg-ink: var(--ink-primary);
    --bpg-ink-2: var(--ink-muted);
    --bpg-ink-3: #8B949E;
    --bpg-line: var(--border-subtle);
    --bpg-line-soft: var(--border-subtle);
}

body.bpg-premium {
    font-family: var(--bpg-sans);
    background: var(--bg-canvas);
    color: var(--ink-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.bpg-nav-locked {
    overflow: hidden;
}

.bpg-skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 1000;
    background: var(--bpg-navy);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
}

.bpg-skip-link:focus {
    top: 12px;
}

body.bpg-premium :focus-visible {
    outline: 2px solid var(--bpg-gold-muted);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Shared typographic elements ---------- */
.bpg-eyebrow {
    font-family: var(--bpg-sans);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bpg-gold-muted);
    margin-bottom: 14px;
}

.bpg-section-title {
    font-family: var(--bpg-serif);
    font-weight: 600;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--bpg-navy);
}

.bpg-section-desc {
    margin-top: 14px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--bpg-ink-2);
    max-width: 620px;
}

.bpg-section {
    padding: 104px 0;
}

.bpg-section-head {
    margin-bottom: 52px;
}

/* ---------- Buttons ---------- */
.bpg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 8px;
    font-family: var(--bpg-sans);
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.bpg-btn i {
    font-size: 0.82rem;
    transition: transform 0.2s ease;
}

.bpg-btn:hover i.fa-arrow-right {
    transform: translateX(3px);
}

.bpg-btn-primary {
    background: var(--bpg-navy);
    color: #fff;
}

.bpg-btn-primary:hover {
    background: var(--bpg-navy-2);
    box-shadow: 0 8px 20px rgba(17, 28, 45, 0.18);
}

.bpg-btn-ghost {
    background: transparent;
    color: var(--bpg-navy);
    border-color: rgba(17, 28, 45, 0.22);
}

.bpg-btn-ghost:hover {
    border-color: var(--bpg-navy);
    background: rgba(17, 28, 45, 0.03);
}

.bpg-btn-gold {
    background: var(--bpg-gold);
    color: var(--bpg-navy);
}

.bpg-btn-gold:hover {
    background: #E2C98F;
}

.bpg-btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.bpg-btn-outline-light:hover {
    border-color: var(--bpg-gold);
    color: var(--bpg-gold);
}

.bpg-btn-sm {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.84rem;
}

/* ---------- 1. Announcement bar ---------- */
.bpg-announce {
    background: var(--bpg-navy);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(214, 185, 121, 0.18);
}

.bpg-announce-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.bpg-announce-text {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    line-height: 1.45;
    min-width: 0;
}

.bpg-announce-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bpg-gold);
    font-weight: 600;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    white-space: nowrap;
}

.bpg-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bpg-gold);
    box-shadow: 0 0 0 3px rgba(214, 185, 121, 0.2);
}

.bpg-announce-sep {
    color: rgba(255, 255, 255, 0.25);
}

.bpg-announce-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 500;
    white-space: nowrap;
    padding: 3px 0;
    border-bottom: 1px solid rgba(214, 185, 121, 0.5);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.bpg-announce-link:hover {
    color: var(--bpg-gold);
    border-color: var(--bpg-gold);
}

/* ---------- 2. Navigation bar ---------- */
.site-header.bpg-header {
    background: rgba(245, 241, 232, 0.92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--bpg-line);
}

.bpg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}

.bpg-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--bpg-navy);
    flex-shrink: 0;
}

.bpg-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bpg-line);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bpg-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bpg-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.bpg-brand-text strong {
    font-family: var(--bpg-serif);
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bpg-navy);
}

.bpg-brand-text small {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bpg-gold-muted);
    font-weight: 600;
    margin-top: 3px;
}

.bpg-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bpg-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    font-family: var(--bpg-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--bpg-ink-2);
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.bpg-nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1.5px;
    background: var(--bpg-gold-muted);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.bpg-nav-link:hover,
.bpg-nav-link.is-active {
    color: var(--bpg-navy);
}

.bpg-nav-link:hover::after,
.bpg-nav-link.is-active::after {
    transform: scaleX(1);
}

.bpg-nav-link .nav-chevron-icon {
    font-size: 0.62rem;
    color: var(--bpg-ink-3);
}

.bpg-nav-dropdown .bpg-dropdown {
    width: 260px;
    top: calc(100% + 10px);
    border-color: var(--bpg-line);
    box-shadow: var(--bpg-shadow-lg);
    border-radius: 12px;
}

.bpg-nav-dropdown .classes-dropdown-item {
    padding: 11px 14px;
    border-radius: 8px;
}

.bpg-nav-dropdown .classes-dropdown-item:hover {
    background: var(--bpg-cream);
    transform: none;
}

.bpg-nav-dropdown .classes-dropdown-item strong {
    font-size: 0.9rem;
    color: var(--bpg-navy);
}

.bpg-nav-dropdown .classes-dropdown-item small {
    font-size: 0.76rem;
    color: var(--bpg-ink-3);
}

.bpg-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bpg-header-actions .btn-notif-bell {
    width: 38px;
    height: 38px;
    background: transparent;
    border-color: var(--bpg-line);
}

.bpg-header-actions .btn-notif-bell:hover {
    border-color: var(--bpg-navy);
}

.bpg-signin-btn.btn-google-sign {
    background: var(--bpg-navy);
    color: #fff;
    border: 1px solid var(--bpg-navy);
    border-radius: 8px;
    padding: 9px 18px;
    box-shadow: none;
    font-weight: 600;
}

.bpg-signin-btn.btn-google-sign:hover {
    background: var(--bpg-navy-2);
    border-color: var(--bpg-navy-2);
}

.bpg-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--bpg-line);
    border-radius: 8px;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.bpg-menu-toggle span {
    display: block;
    width: 18px;
    height: 1.6px;
    background: var(--bpg-navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-open .bpg-menu-toggle span:nth-child(1) {
    transform: translateY(6.6px) rotate(45deg);
}

.nav-open .bpg-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .bpg-menu-toggle span:nth-child(3) {
    transform: translateY(-6.6px) rotate(-45deg);
}

/* ---------- Homepage container ---------- */
.view-container.bpg-home {
    padding: 0;
}

/* ---------- 3. Hero ---------- */
.bpg-hero {
    padding: 88px 0 96px;
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(214, 185, 121, 0.12), transparent 70%),
        var(--bpg-cream);
}

.bpg-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 72px;
}

.bpg-hero-title {
    font-family: var(--bpg-serif);
    font-weight: 600;
    font-size: clamp(2.5rem, 5vw, 3.9rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: var(--bpg-navy);
}

.bpg-hero-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--bpg-gold-muted);
}

.bpg-hero-lead {
    margin-top: 26px;
    font-size: 1.16rem;
    line-height: 1.6;
    color: var(--bpg-navy);
    font-weight: 500;
    max-width: 540px;
}

.bpg-hero-sub {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--bpg-ink-2);
    max-width: 540px;
}

.bpg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.bpg-hero-figure {
    position: relative;
    margin: 0;
    justify-self: end;
    width: 100%;
    max-width: 440px;
}

.bpg-hero-figure::before {
    content: '';
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 1px solid var(--bpg-gold);
    border-radius: 18px;
    z-index: 0;
}

.bpg-portrait-frame {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bpg-navy-2);
    box-shadow: var(--bpg-shadow-lg);
}

.bpg-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

.bpg-portrait-caption {
    position: absolute;
    z-index: 2;
    left: -28px;
    bottom: 36px;
    background: #fff;
    border: 1px solid var(--bpg-line);
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: var(--bpg-shadow);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.bpg-portrait-caption strong {
    font-family: var(--bpg-serif);
    font-size: 1rem;
    color: var(--bpg-navy);
    font-weight: 600;
}

.bpg-portrait-caption span {
    font-size: 0.76rem;
    color: var(--bpg-ink-3);
    letter-spacing: 0.02em;
}

/* ---------- 4. Academic highlights strip ---------- */
.bpg-highlights {
    background: var(--bpg-white);
    border-top: 1px solid var(--bpg-line);
    border-bottom: 1px solid var(--bpg-line);
}

.bpg-highlights-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
}

.bpg-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 38px 32px;
    position: relative;
}

.bpg-highlight+.bpg-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 28%;
    bottom: 28%;
    width: 1px;
    background: var(--bpg-line);
}

.bpg-highlight:first-child {
    padding-left: 0;
}

.bpg-highlight-value {
    font-family: var(--bpg-serif);
    font-size: clamp(2.2rem, 3.6vw, 2.9rem);
    font-weight: 600;
    color: var(--bpg-navy);
    line-height: 1;
    white-space: nowrap;
}

.bpg-highlight-value span {
    font-size: 0.5em;
    color: var(--bpg-gold-muted);
    font-weight: 500;
}

.bpg-highlight dd {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bpg-highlight-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bpg-navy);
}

.bpg-highlight-note {
    font-size: 0.88rem;
    color: var(--bpg-ink-3);
}

/* ---------- 5. Academic Programs (Editorial Asymmetric Layout) ---------- */
.bpg-editorial-layout {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Left: Featured Flagship Program (01 - Grade XII) */
.bpg-editorial-featured {
    display: flex;
    flex-direction: column;
    background: var(--bpg-white);
    border: 1px solid var(--bpg-line);
    border-radius: var(--bpg-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--bpg-shadow);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.bpg-editorial-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--bpg-shadow-lg);
    border-color: var(--bpg-gold);
}

.bpg-featured-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bpg-navy-2);
}

.bpg-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bpg-editorial-featured:hover .bpg-featured-media img {
    transform: scale(1.04);
}

.bpg-editorial-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    background: rgba(17, 28, 45, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--bpg-gold);
    border: 1px solid rgba(214, 185, 121, 0.35);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bpg-featured-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 32px 32px 28px;
}

.bpg-editorial-index-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bpg-editorial-num {
    font-family: var(--bpg-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--bpg-gold-muted);
    letter-spacing: 0.05em;
    line-height: 1;
}

.bpg-editorial-track {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bpg-ink-3);
    line-height: 1;
}

.bpg-featured-title {
    font-family: var(--bpg-serif);
    font-size: 1.68rem;
    font-weight: 600;
    line-height: 1.22;
    color: var(--bpg-navy);
    letter-spacing: -0.01em;
    margin-bottom: 14px;
}

.bpg-featured-desc {
    font-size: 0.98rem;
    line-height: 1.72;
    color: var(--bpg-ink-2);
    margin-bottom: 24px;
    flex: 1;
}

.bpg-featured-footer {
    display: flex;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--bpg-line-soft);
}

/* Right: Connected Editorial Stack */
.bpg-editorial-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.bpg-editorial-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 22px;
    align-items: center;
    background: var(--bpg-white);
    border: 1px solid var(--bpg-line);
    border-radius: var(--bpg-radius);
    padding: 18px;
    cursor: pointer;
    box-shadow: var(--bpg-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bpg-editorial-item:hover {
    transform: translateX(4px);
    box-shadow: var(--bpg-shadow-lg);
    border-color: var(--bpg-gold);
}

.bpg-item-thumb {
    position: relative;
    aspect-ratio: 16 / 11;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bpg-navy-2);
    align-self: stretch;
}

.bpg-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.5s ease;
}

.bpg-editorial-item:hover .bpg-item-thumb img {
    transform: scale(1.05);
}

.bpg-item-content {
    display: flex;
    flex-direction: column;
    padding: 4px 6px 4px 0;
}

.bpg-item-title {
    font-family: var(--bpg-serif);
    font-size: 1.22rem;
    font-weight: 600;
    line-height: 1.28;
    color: var(--bpg-navy);
    letter-spacing: -0.005em;
    margin: 4px 0 8px;
}

.bpg-item-desc {
    font-size: 0.9rem;
    line-height: 1.62;
    color: var(--bpg-ink-2);
    margin-bottom: 12px;
}

/* Understated Academic Action Link */
.bpg-editorial-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-family: var(--bpg-sans);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--bpg-navy);
    border-bottom: 1px solid var(--bpg-gold);
    cursor: pointer;
    background: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.2s ease, gap 0.25s ease, border-color 0.2s ease;
}

.bpg-editorial-link i {
    font-size: 0.74rem;
    transition: transform 0.2s ease;
}

.bpg-editorial-link:hover,
.bpg-editorial-featured:hover .bpg-editorial-link,
.bpg-editorial-item:hover .bpg-editorial-link {
    color: var(--bpg-gold-muted);
    border-color: var(--bpg-gold-muted);
    gap: 12px;
}

.bpg-editorial-link:hover i,
.bpg-editorial-featured:hover .bpg-editorial-link i,
.bpg-editorial-item:hover .bpg-editorial-link i {
    transform: translateX(3px);
}

/* Retain .bpg-program-link for dashboard backward compatibility */
.bpg-program-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 6px 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--bpg-navy);
    border-bottom: 1px solid var(--bpg-gold);
    transition: color 0.2s ease, gap 0.2s ease;
}

.bpg-program-link i {
    font-size: 0.75rem;
}

.bpg-program-link:hover {
    color: var(--bpg-gold-muted);
    gap: 12px;
}

/* ---------- 6. About ---------- */
.bpg-about {
    background: var(--bpg-white);
    border-top: 1px solid var(--bpg-line);
    border-bottom: 1px solid var(--bpg-line);
}

.bpg-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.bpg-about-lead {
    margin-top: 28px;
    font-family: var(--bpg-serif);
    font-style: italic;
    font-size: 1.24rem;
    line-height: 1.55;
    color: var(--bpg-navy);
    padding-left: 20px;
    border-left: 2px solid var(--bpg-gold);
}

.bpg-about-text {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--bpg-ink-2);
}

.bpg-credentials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--bpg-line);
}

.bpg-credentials li {
    padding: 28px 24px 28px 0;
    border-bottom: 1px solid var(--bpg-line);
}

.bpg-credentials li:nth-child(even) {
    padding-left: 24px;
    padding-right: 0;
    border-left: 1px solid var(--bpg-line);
}

.bpg-credentials h3 {
    font-family: var(--bpg-serif);
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--bpg-navy);
    margin-bottom: 8px;
}

.bpg-credentials p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--bpg-ink-2);
}

/* ---------- 7. Philosophy ---------- */
.bpg-principles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(17, 28, 45, 0.18);
}

.bpg-principles li {
    padding: 32px 28px 8px 0;
}

.bpg-principles li+li {
    padding-left: 28px;
    border-left: 1px solid var(--bpg-line);
}

.bpg-principle-num {
    display: block;
    font-family: var(--bpg-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bpg-gold-muted);
    margin-bottom: 16px;
    letter-spacing: 0.06em;
}

.bpg-principles h3 {
    font-family: var(--bpg-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bpg-navy);
    margin-bottom: 10px;
}

.bpg-principles p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--bpg-ink-2);
}

.bpg-signature {
    margin: 72px auto 0;
    max-width: 760px;
    text-align: center;
}

.bpg-signature p {
    font-family: var(--bpg-serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    line-height: 1.45;
    color: var(--bpg-navy);
}

.bpg-signature cite {
    display: inline-block;
    margin-top: 18px;
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bpg-gold-muted);
}

/* ---------- 8. CTA ---------- */
.bpg-cta {
    padding: 0 0 104px;
}

.bpg-cta-panel {
    background: var(--bpg-navy);
    border-radius: 18px;
    padding: 72px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bpg-cta-panel::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(214, 185, 121, 0.22);
    border-radius: 12px;
    pointer-events: none;
}

.bpg-cta-panel h2 {
    font-family: var(--bpg-serif);
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}

.bpg-cta-panel p {
    margin: 16px auto 0;
    max-width: 560px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.74);
}

.bpg-cta-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

/* ---------- 9. Footer ---------- */
.site-footer.bpg-footer {
    background: var(--bpg-navy);
    color: rgba(255, 255, 255, 0.7);
    border-top: none;
    padding: 64px 0 28px;
    margin-top: auto;
}

.bpg-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bpg-footer-brand strong {
    display: block;
    font-family: var(--bpg-serif);
    font-size: 1.4rem;
    letter-spacing: 0.04em;
    color: #fff;
}

.bpg-footer-brand>span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bpg-gold);
    margin-top: 4px;
}

.bpg-footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bpg-footer-brand .bpg-footer-tagline {
    margin-top: 6px;
    font-family: var(--bpg-serif);
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
}

.bpg-footer h3 {
    font-family: var(--bpg-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bpg-gold);
    margin-bottom: 16px;
}

.bpg-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bpg-footer-links a,
.bpg-footer-contact a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.2s ease;
    width: fit-content;
}

.bpg-footer-links a:hover,
.bpg-footer-contact a:hover {
    color: var(--bpg-gold);
}

.bpg-footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.bpg-footer-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bpg-footer-bottom {
    padding-top: 24px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Student Portal view ---------- */
.view-container.bpg-portal {
    padding: 40px 0 104px;
}

.bpg-portal-head {
    margin: 28px 0 40px;
}

.bpg-portal-head .bpg-section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.bpg-portal-panel {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bpg-white);
    border: 1px solid var(--bpg-line);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--bpg-shadow);
}

.bpg-portal-panel[hidden] {
    display: none;
}

.bpg-portal-panel h2 {
    font-family: var(--bpg-serif);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--bpg-navy);
}

.bpg-portal-panel-copy>p {
    margin-top: 10px;
    color: var(--bpg-ink-2);
    line-height: 1.7;
}

.bpg-steps {
    margin: 20px 0 0 18px;
    display: grid;
    gap: 8px;
    color: var(--bpg-ink-2);
    font-size: 0.93rem;
}

.bpg-steps strong {
    color: var(--bpg-navy);
}

.bpg-portal-panel-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.bpg-portal-panel-actions small {
    color: var(--bpg-ink-3);
    font-size: 0.8rem;
}

.bpg-portal-dash {
    display: block;
}

.bpg-dash-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--bpg-line);
}

.bpg-dash-top p {
    margin-top: 6px;
    color: var(--bpg-ink-3);
    font-size: 0.9rem;
}

.bpg-dash-top-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bpg-dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bpg-dash-card {
    border: 1px solid var(--bpg-line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bpg-cream);
    display: flex;
    flex-direction: column;
}

.bpg-dash-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.bpg-dash-card.is-locked img {
    filter: grayscale(0.7);
    opacity: 0.75;
}

.bpg-dash-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bpg-dash-card-body h3 {
    font-family: var(--bpg-serif);
    font-size: 1.12rem;
    letter-spacing: 0;
    color: var(--bpg-navy);
    margin-top: 6px;
}

.bpg-dash-card-body p {
    font-size: 0.84rem;
    color: var(--bpg-ink-2);
    flex: 1;
}

.bpg-dash-card-body .bpg-program-link {
    margin-top: 14px;
}

.bpg-dash-status {
    align-self: flex-start;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
    background: #E7F0E9;
    color: #2F6B43;
}

.bpg-dash-card.is-locked .bpg-dash-status {
    background: #F1ECE1;
    color: var(--bpg-gold-muted);
}

.bpg-plans {
    margin-top: 88px;
    scroll-margin-top: 100px;
}

.bpg-anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

.bpg-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.bpg-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bpg-white);
    border: 1px solid var(--bpg-line);
    border-radius: 14px;
    padding: 30px 26px 26px;
}

.bpg-plan-featured {
    background: var(--bpg-navy);
    border-color: var(--bpg-navy);
    color: rgba(255, 255, 255, 0.78);
}

.bpg-plan-flag {
    position: absolute;
    top: -11px;
    left: 26px;
    background: var(--bpg-gold);
    color: var(--bpg-navy);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}

.bpg-plan-name {
    font-family: var(--bpg-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bpg-gold-muted);
}

.bpg-plan-featured .bpg-plan-name {
    color: var(--bpg-gold);
}

.bpg-plan-price {
    margin-top: 14px;
    font-family: var(--bpg-serif);
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--bpg-navy);
    line-height: 1.1;
}

.bpg-plan-featured .bpg-plan-price {
    color: #fff;
}

.bpg-plan-price span {
    font-family: var(--bpg-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--bpg-ink-3);
    margin-left: 4px;
}

.bpg-plan-featured .bpg-plan-price span {
    color: rgba(255, 255, 255, 0.6);
}

.bpg-plan-desc {
    margin-top: 10px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--bpg-ink-2);
    min-height: 2.8em;
}

.bpg-plan-featured .bpg-plan-desc {
    color: rgba(255, 255, 255, 0.72);
}

.bpg-plan-list {
    list-style: none;
    margin: 20px 0 26px;
    padding: 18px 0 0;
    border-top: 1px solid var(--bpg-line);
    display: grid;
    gap: 10px;
    flex: 1;
}

.bpg-plan-featured .bpg-plan-list {
    border-color: rgba(255, 255, 255, 0.14);
}

.bpg-plan-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.87rem;
    line-height: 1.5;
}

.bpg-plan-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1.5px solid var(--bpg-gold-muted);
}

.bpg-plan-featured .bpg-plan-list li::before {
    border-color: var(--bpg-gold);
}

.bpg-plan-featured .bpg-plan-list strong {
    color: #fff;
}

.bpg-plan .bpg-btn {
    width: 100%;
}

.bpg-plans-note {
    margin-top: 28px;
    font-size: 0.86rem;
    color: var(--bpg-ink-3);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bpg-plans-note a {
    color: var(--bpg-navy);
    font-weight: 600;
    border-bottom: 1px solid var(--bpg-gold);
}

/* Docked utilities: quieter on the premium theme */
body.bpg-premium .floating-dock-btn {
    background: var(--bpg-white);
    color: var(--bpg-navy);
    border: 1px solid var(--bpg-line);
    box-shadow: var(--bpg-shadow);
}

body.bpg-premium .floating-dock-btn:hover {
    border-color: var(--bpg-gold);
}

/* Workspace headings adopt the brand serif */
body.bpg-premium .course-hero-content h1 {
    font-family: var(--bpg-serif);
    font-weight: 600;
    color: var(--bpg-navy);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .bpg-editorial-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .bpg-editorial-item {
        grid-template-columns: 170px 1fr;
    }

    .bpg-program-grid,
    .bpg-plan-grid,
    .bpg-dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpg-principles {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpg-principles li:nth-child(3) {
        padding-left: 0;
        border-left: none;
    }

    .bpg-principles li:nth-child(n+3) {
        border-top: 1px solid var(--bpg-line);
    }

    .bpg-about-grid {
        gap: 56px;
    }

    .bpg-nav-link {
        padding: 10px 10px;
    }

    .bpg-nav-link::after {
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 960px) {
    .site-header.bpg-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--bpg-cream);
    }

    .bpg-menu-toggle {
        display: inline-flex;
    }

    .bpg-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: min(320px, 86vw);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 92px 22px 28px;
        background: var(--bpg-cream);
        border-left: 1px solid var(--bpg-line);
        box-shadow: -20px 0 48px rgba(17, 28, 45, 0.14);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
        z-index: 250;
        overflow-y: auto;
    }

    .nav-open .bpg-nav {
        transform: translateX(0);
        visibility: visible;
    }

    .bpg-header-actions {
        position: relative;
        z-index: 260;
    }

    .bpg-nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 14px 6px;
        font-size: 1rem;
        border-bottom: 1px solid var(--bpg-line);
        border-radius: 0;
    }

    .bpg-nav-link::after {
        display: none;
    }

    .bpg-nav-link.is-active {
        color: var(--bpg-gold-muted);
    }

    .bpg-nav-dropdown {
        width: 100%;
    }

    .bpg-nav-dropdown .bpg-dropdown {
        position: static;
        width: 100%;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 10px;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height 0.3s ease;
    }

    .nav-dropdown-wrap.open .bpg-dropdown {
        max-height: 260px;
        padding-top: 4px;
        padding-bottom: 8px;
    }

    .bpg-hero {
        padding: 56px 0 72px;
    }

    .bpg-hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .bpg-hero-figure {
        justify-self: center;
        max-width: 380px;
    }

    .bpg-about-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .bpg-portal-panel {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 24px;
    }

    .bpg-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bpg-footer-brand {
        grid-column: 1 / -1;
    }

    .bpg-section {
        padding: 80px 0;
    }
}

@media (max-width: 720px) {
    .container {
        padding: 0 20px;
    }

    .bpg-announce-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .bpg-announce-text {
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .bpg-announce-sep {
        display: none;
    }

    .bpg-header-inner {
        height: 66px;
        gap: 12px;
    }

    .bpg-brand-text small {
        display: none;
    }

    .bpg-brand-mark {
        width: 36px;
        height: 36px;
    }

    .bpg-header-actions {
        gap: 8px;
    }

    .bpg-signin-btn.btn-google-sign {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .bpg-header-actions .user-info-text {
        display: none;
    }

    .bpg-hero {
        padding: 44px 0 64px;
    }

    .bpg-hero-title {
        font-size: clamp(2.1rem, 9vw, 2.6rem);
    }

    .bpg-hero-lead {
        font-size: 1.05rem;
    }

    .bpg-hero-actions .bpg-btn {
        flex: 1 1 100%;
    }

    .bpg-hero-figure {
        max-width: 320px;
    }

    .bpg-hero-figure::before {
        inset: 14px -14px -14px 14px;
    }

    .bpg-portrait-caption {
        left: 50%;
        transform: translateX(-50%);
        bottom: -22px;
        white-space: nowrap;
        text-align: center;
    }

    .bpg-highlights-strip {
        grid-template-columns: 1fr;
    }

    .bpg-highlight {
        padding: 26px 0;
    }

    .bpg-highlight+.bpg-highlight::before {
        top: 0;
        bottom: auto;
        left: 0;
        right: 0;
        width: auto;
        height: 1px;
    }

    .bpg-section {
        padding: 68px 0;
    }

    .bpg-section-head {
        margin-bottom: 36px;
    }

    .bpg-editorial-layout {
        gap: 20px;
    }

    .bpg-featured-content {
        padding: 22px 18px;
    }

    .bpg-featured-title {
        font-size: 1.38rem;
    }

    .bpg-editorial-item {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
    }

    .bpg-item-thumb {
        aspect-ratio: 16 / 9;
        max-height: 200px;
    }

    .bpg-program-grid,
    .bpg-plan-grid,
    .bpg-dash-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bpg-credentials {
        grid-template-columns: 1fr;
    }

    .bpg-credentials li,
    .bpg-credentials li:nth-child(even) {
        padding: 22px 0;
        border-left: none;
    }

    .bpg-principles {
        grid-template-columns: 1fr;
    }

    .bpg-principles li,
    .bpg-principles li+li {
        padding: 26px 0 18px;
        border-left: none;
        border-top: 1px solid var(--bpg-line);
    }

    .bpg-principles li:first-child {
        border-top: none;
    }

    .bpg-signature {
        margin-top: 48px;
    }

    .bpg-cta {
        padding-bottom: 72px;
    }

    .bpg-cta-panel {
        padding: 52px 24px;
        border-radius: 14px;
    }

    .bpg-cta-actions .bpg-btn {
        flex: 1 1 100%;
    }

    .bpg-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bpg-portal-panel {
        padding: 24px 20px;
    }

    .bpg-plans {
        margin-top: 64px;
    }

    .refined-quote-box {
        padding: 28px 20px;
    }

    .refined-quote-text {
        font-size: 1.25rem;
    }

    .bpg-faculty-body {
        font-size: 0.96rem;
        line-height: 1.7;
    }
}

/* Section Divider */
.section-divider {
    border: none;
    border-top: 1px solid var(--bpg-line);
    max-width: 1180px;
    margin: 0 auto;
    opacity: 0.85;
}

/* 2. Refined Motto / Quote Box */
.refined-quote-section {
    padding: 52px 0 28px;
}

.refined-quote-box {
    max-width: 860px;
    margin: 0 auto;
