/* ============================================
   GA Academy — Bento Home
   Flat design: white base + single navy accent.
   No gradients, no shadows, no glows.
   Scoped to .bh-home.
   ============================================ */

.bh-home {
    --bh-bg: #ffffff;
    --bh-ink: #0f172a;
    --bh-muted: #64748b;
    --bh-line: #e5e7eb;
    --bh-line-strong: #cbd5e1;
    --bh-tint: #fafafa;
    --bh-brand: #1e3a5f;
    --bh-brand-hover: #172b45;
    --bh-on-brand: #ffffff;
    --bh-blue: #2563eb;
    --bh-blue-soft: #eaf0fe;
    --bh-teal: #334155;
    --bh-teal-soft: #eef2f7;
    --bh-amber: #b45309;
    --bh-amber-soft: #fdf1e0;
    --bh-rose: #be123c;
    --bh-rose-soft: #fdeef1;
    --bh-radius: 20px;
    --bh-radius-sm: 12px;
    --bh-gap: 16px;
    --bh-ease: 0.2s ease;
    background: var(--bh-bg);
    color: var(--bh-ink);
}

/* ---------- Layout primitives ---------- */

.bh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bh-section {
    padding: 64px 0;
}

.bh-board {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--bh-gap);
}

.bh-board > * {
    min-width: 0;
}

.bh-tile {
    position: relative;
    background: var(--bh-bg);
    border: 1px solid var(--bh-line);
    border-radius: var(--bh-radius);
    padding: 24px;
    transition:
        border-color var(--bh-ease),
        background-color var(--bh-ease);
}

.bh-tile--brand {
    background: var(--bh-brand);
    border-color: var(--bh-brand);
    color: var(--bh-on-brand);
}

.bh-tile--accent {
    background: var(--bh-amber);
    border-color: var(--bh-amber);
    color: var(--bh-on-brand);
}

.bh-tile--accent h1,
.bh-tile--accent h2,
.bh-tile--accent h3,
.bh-tile--accent h4 {
    color: var(--bh-on-brand);
}

.bh-tile--accent .bh-eyebrow {
    color: #fdf0dd;
}

.bh-tile--accent .bh-eyebrow::before {
    background: #fdf0dd;
}

/* Section tints */
.bh-section--cool {
    background: #f7f9fc;
}

.bh-section--warm {
    background: #fcf8f2;
}

.bh-section--mint {
    background: #f7f8fa;
}

.bh-tile--flush {
    padding: 0;
    overflow: hidden;
}

/* ---------- Typography ---------- */

.bh-home h1,
.bh-home h2,
.bh-home h3,
.bh-home h4 {
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--bh-ink);
    line-height: 1.15;
    margin: 0;
}

.bh-tile--brand h1,
.bh-tile--brand h2,
.bh-tile--brand h3,
.bh-tile--brand h4 {
    color: var(--bh-on-brand);
}

.bh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bh-muted);
}

.bh-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--bh-brand);
    border-radius: 2px;
    flex-shrink: 0;
}

.bh-eyebrow--blue {
    color: var(--bh-blue);
}

.bh-eyebrow--blue::before {
    background: var(--bh-blue);
}

.bh-eyebrow--teal {
    color: var(--bh-teal);
}

.bh-eyebrow--teal::before {
    background: var(--bh-teal);
}

.bh-eyebrow--amber {
    color: var(--bh-amber);
}

.bh-eyebrow--amber::before {
    background: var(--bh-amber);
}

.bh-eyebrow--rose {
    color: var(--bh-rose);
}

.bh-eyebrow--rose::before {
    background: var(--bh-rose);
}

.bh-tile--brand .bh-eyebrow {
    color: rgba(255, 255, 255, 0.68);
}

.bh-tile--brand .bh-eyebrow::before {
    background: var(--bh-on-brand);
}

.bh-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 24px;
}

.bh-head__title {
    font-size: clamp(1.65rem, 2.4vw, 2.25rem);
    margin-top: 10px;
}

.bh-head__note {
    margin: 8px 0 0;
    color: var(--bh-muted);
    font-size: 0.95rem;
    max-width: 58ch;
}

/* ---------- Buttons & links ---------- */

.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: var(--bh-radius-sm);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    transition:
        background-color var(--bh-ease),
        border-color var(--bh-ease),
        color var(--bh-ease);
}

.bh-btn i {
    font-size: 0.78rem;
    transition: transform var(--bh-ease);
}

.bh-btn:hover i {
    transform: translateX(3px);
}

.bh-btn--primary {
    background: var(--bh-brand);
    color: var(--bh-on-brand);
}

.bh-btn--primary:hover {
    background: var(--bh-brand-hover);
    color: var(--bh-on-brand);
}

.bh-btn--ghost {
    background: var(--bh-bg);
    color: var(--bh-ink);
    border-color: var(--bh-line-strong);
}

.bh-btn--ghost:hover {
    border-color: var(--bh-brand);
    color: var(--bh-brand);
}

.bh-btn--on-brand {
    background: var(--bh-on-brand);
    color: var(--bh-brand);
}

.bh-btn--on-brand:hover {
    background: #eef2f7;
    color: var(--bh-brand);
}

.bh-btn--outline-brand {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--bh-on-brand);
}

.bh-btn--outline-brand:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--bh-on-brand);
    color: var(--bh-on-brand);
}

.bh-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bh-brand);
    white-space: nowrap;
}

.bh-link i {
    font-size: 0.72rem;
    transition: transform var(--bh-ease);
}

.bh-link:hover i {
    transform: translateX(3px);
}

.bh-tile--brand .bh-link {
    color: var(--bh-on-brand);
}

/* ---------- Focus ---------- */

.bh-home a:focus-visible,
.bh-home button:focus-visible {
    outline: 2px solid var(--bh-brand);
    outline-offset: 3px;
    border-radius: 8px;
}

.bh-tile--brand a:focus-visible {
    outline-color: var(--bh-on-brand);
}

/* ---------- Hero ---------- */

.bh-hero {
    padding: 40px 0 0;
}

/* ---------- Big image hero band ---------- */

.bh-hero--band {
    position: relative;
    min-height: 480px;
    padding: 0;
    overflow: hidden;
}

.bh-hero--band .bh-hero__media {
    position: absolute;
    inset: 0;
}

.bh-hero--band .bh-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bh-hero--band .bh-container {
    position: relative;
    z-index: 2;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}

.bh-hero__card {
    max-width: 480px;
    background: var(--bh-bg);
    border: 1px solid var(--bh-line);
    border-radius: var(--bh-radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bh-hero__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bh-section--stats {
    padding-top: 32px;
    padding-bottom: 0;
}

.bh-hero__copy {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 40px;
}

.bh-hero__title {
    font-size: clamp(2.15rem, 4.4vw, 3.4rem);
    line-height: 1.06;
}

.bh-hero__lead {
    margin: 0;
    max-width: 54ch;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--bh-muted);
}

.bh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.bh-hero__media {
    grid-column: span 5;
    min-height: 340px;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.bh-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Stats strip ---------- */

.bh-stats-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.bh-stats-board {
    align-items: stretch;
}

.bh-stats-panel {
    grid-column: span 8;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    overflow: hidden;
}

.bh-stats-panel--wide {
    grid-column: span 12;
}

@media (min-width: 576px) {
    .bh-stats-panel--wide .bh-stat {
        position: relative;
    }

    .bh-stats-panel--wide .bh-stat__value {
        position: absolute;
        top: 24px;
        right: 24px;
        margin-top: 0;
    }
}

.bh-stats-panel .bh-stat {
    grid-column: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 4px;
    padding: 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    transition: background-color var(--bh-ease);
}

.bh-stats-panel .bh-stat + .bh-stat {
    border-left: 1px solid var(--bh-line);
}

.bh-stats-panel .bh-stat::before {
    display: none;
}

.bh-stats-panel .bh-stat:hover {
    background: var(--bh-tint);
}

.bh-stat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--bh-blue-soft);
    color: var(--bh-blue);
    font-size: 0.92rem;
}

.bh-stat--teal .bh-stat__icon {
    background: var(--bh-teal-soft);
    color: var(--bh-teal);
}

.bh-stat--amber .bh-stat__icon {
    background: var(--bh-amber-soft);
    color: var(--bh-amber);
}

.bh-stat__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bh-muted);
}

.bh-stat__value {
    margin-top: 6px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2.1rem, 2.4vw, 2.6rem);
    font-weight: 600;
    line-height: 1.05;
    color: var(--bh-ink);
    font-variant-numeric: tabular-nums;
}

.bh-stat__sub {
    margin-top: 2px;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--bh-muted);
}

.bh-feature-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px;
}

.bh-feature-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.bh-feature-card__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f0b35b;
}

.bh-feature-card__title {
    margin-top: 6px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.65rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--bh-on-brand);
}

.bh-feature-card__meta {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.68);
}

.bh-feature-card .bh-stat__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bh-on-brand);
}

.bh-feature-card .bh-stat__cta i {
    transition: transform var(--bh-ease);
}

.bh-feature-card:hover {
    background: var(--bh-brand-hover);
    border-color: var(--bh-brand-hover);
}

.bh-feature-card:hover .bh-stat__cta i {
    transform: translateX(3px);
}

@media (max-width: 767px) {
    .bh-stats-panel,
    .bh-feature-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .bh-stats-panel .bh-stat {
        padding: 16px 12px;
    }

    .bh-stat__icon {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
        font-size: 0.8rem;
    }

    .bh-stat__label {
        font-size: 0.62rem;
        letter-spacing: 0.05em;
    }

    .bh-stat__value {
        margin-top: 4px;
        font-size: 1.9rem;
    }

    .bh-stat__sub {
        display: none;
    }

    .bh-feature-card {
        padding: 20px;
    }
}

/* ---------- Quick access ---------- */

.bh-quick {
    --bh-quick-accent: var(--bh-brand);
    --bh-quick-soft: #eef2f7;
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}

.bh-quick--blue {
    --bh-quick-accent: var(--bh-blue);
    --bh-quick-soft: var(--bh-blue-soft);
}

.bh-quick--teal {
    --bh-quick-accent: var(--bh-teal);
    --bh-quick-soft: var(--bh-teal-soft);
}

.bh-quick--amber {
    --bh-quick-accent: var(--bh-amber);
    --bh-quick-soft: var(--bh-amber-soft);
}

.bh-quick--rose {
    --bh-quick-accent: var(--bh-rose);
    --bh-quick-soft: var(--bh-rose-soft);
}

.bh-quick:hover {
    border-color: var(--bh-quick-accent);
}

.bh-quick__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--bh-radius-sm);
    background: var(--bh-quick-soft);
    color: var(--bh-quick-accent);
    font-size: 1rem;
    transition:
        background-color var(--bh-ease),
        border-color var(--bh-ease),
        color var(--bh-ease);
}

.bh-quick:hover .bh-quick__icon {
    background: var(--bh-quick-accent);
    border-color: var(--bh-quick-accent);
    color: var(--bh-on-brand);
}

.bh-quick__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bh-ink);
    line-height: 1.3;
}

.bh-quick__meta {
    display: block;
    margin-top: 2px;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--bh-muted);
}

/* ---------- Panels (notices / events) ---------- */

.bh-panel {
    grid-column: span 8;
    padding: 0;
    overflow: hidden;
}

.bh-panel--events {
    grid-column: span 4;
}

.bh-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--bh-line);
}

.bh-panel__title {
    font-size: 1.4rem;
    margin-top: 6px;
}

.bh-list {
    display: flex;
    flex-direction: column;
}

.bh-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--bh-line);
    transition: background-color var(--bh-ease);
}

.bh-row:last-child {
    border-bottom: none;
}

.bh-row:hover {
    background: var(--bh-tint);
}

.bh-row__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bh-home .bh-row__title {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.45;
    color: var(--bh-ink);
}

.bh-row__title a:hover {
    color: var(--bh-brand);
}

.bh-row__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.78rem;
    color: var(--bh-muted);
}

.bh-row__meta i {
    font-size: 0.72rem;
    margin-right: 5px;
    color: var(--bh-muted);
}

.bh-row__arrow {
    align-self: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bh-line);
    border-radius: 50%;
    color: var(--bh-muted);
    font-size: 0.7rem;
    transition:
        border-color var(--bh-ease),
        background-color var(--bh-ease),
        color var(--bh-ease);
}

.bh-row:hover .bh-row__arrow {
    background: var(--bh-brand);
    border-color: var(--bh-brand);
    color: var(--bh-on-brand);
}

.bh-date {
    flex: 0 0 58px;
    padding: 8px 0;
    border: 1px solid var(--bh-line);
    border-radius: var(--bh-radius-sm);
    text-align: center;
    line-height: 1.05;
    background: var(--bh-bg);
}

.bh-date__day {
    display: block;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--bh-ink);
}

.bh-date__month {
    display: block;
    margin-top: 2px;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bh-muted);
}

.bh-panel .bh-date {
    background: var(--bh-amber-soft);
    border-color: #f1dcc0;
}

.bh-panel .bh-date__month {
    color: var(--bh-amber);
}

.bh-panel--events .bh-date {
    background: var(--bh-teal-soft);
    border-color: #cbe8e2;
}

.bh-panel--events .bh-date__month {
    color: var(--bh-teal);
}

.bh-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border: 1px solid var(--bh-line);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bh-muted);
}

.bh-tag--teacher {
    background: var(--bh-amber-soft);
    border-color: transparent;
    color: var(--bh-amber);
}

.bh-tag--student {
    background: var(--bh-blue-soft);
    border-color: transparent;
    color: var(--bh-blue);
}

.bh-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 24px;
    text-align: center;
    color: var(--bh-muted);
}

.bh-empty i {
    font-size: 1.5rem;
    color: var(--bh-line-strong);
}

.bh-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* ---------- About / message ---------- */

.bh-message {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
}

.bh-message__quote {
    font-size: 1.5rem;
    color: var(--bh-on-brand);
    opacity: 0.55;
}

.bh-message__text {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--bh-on-brand);
}

.bh-message__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
}

.bh-message__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.bh-message__name {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--bh-on-brand);
}

.bh-message__role {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.66);
}

.bh-history {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px;
}

.bh-history__title {
    font-size: 1.5rem;
}

.bh-history__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--bh-muted);
}

.bh-history__since {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--bh-line);
    font-size: 0.8rem;
    color: var(--bh-muted);
}

.bh-history__since strong {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bh-brand);
    line-height: 1;
}

/* ---------- News ---------- */

.bh-news-card {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-top: 3px solid var(--bh-rose);
}

.bh-news-card__media {
    height: 190px;
    overflow: hidden;
    background: var(--bh-tint);
    border-bottom: 1px solid var(--bh-line);
}

.bh-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bh-news-card__media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bh-rose-soft);
    color: var(--bh-rose);
    font-size: 2rem;
}

.bh-news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
}

.bh-news-card__title {
    font-size: 1.2rem;
    line-height: 1.35;
}

.bh-news-card__title a:hover {
    color: var(--bh-rose);
}

.bh-news-card__excerpt {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--bh-muted);
}

.bh-news-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
}

.bh-meta {
    font-size: 0.78rem;
    color: var(--bh-muted);
}

.bh-meta i {
    margin-right: 6px;
    color: var(--bh-rose);
}

/* ---------- Gallery ---------- */

.bh-gal {
    grid-column: span 3;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
}

.bh-gal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.bh-gal:hover {
    border-color: var(--bh-blue);
}

.bh-gal:hover img {
    transform: scale(1.03);
}

.bh-gal__hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bh-bg);
    border: 1px solid var(--bh-line);
    border-radius: 50%;
    color: var(--bh-brand);
    font-size: 0.72rem;
    transition:
        background-color var(--bh-ease),
        border-color var(--bh-ease),
        color var(--bh-ease);
}

.bh-gal:hover .bh-gal__hint {
    background: var(--bh-blue);
    border-color: var(--bh-blue);
    color: var(--bh-on-brand);
}

/* ---------- Messages ---------- */

.bh-message-card {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px;
    border-top: 3px solid var(--bh-amber);
}

.bh-message-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bh-message-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--bh-line);
    flex-shrink: 0;
}

.bh-message-card__name {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--bh-ink);
}

.bh-message-card__role {
    font-size: 0.78rem;
    color: var(--bh-muted);
}

.bh-message-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bh-amber);
}

.bh-message-card__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #334155;
}

/* ---------- Teachers ---------- */

.bh-teacher-card {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
}

.bh-teacher-card__photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--bh-line);
    margin-bottom: 4px;
}

.bh-teacher-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bh-teacher-card__name {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bh-ink);
}

.bh-teacher-card__role {
    font-size: 0.78rem;
    color: var(--bh-muted);
}

.bh-teacher-card__subject {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--bh-amber);
}

/* ---------- Student strength ---------- */

.bh-class-tile {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
}

.bh-class-tile__count {
    font-family: "Fraunces", Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    color: var(--bh-brand);
}

.bh-class-tile__name {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bh-muted);
}

/* ---------- Committee ---------- */

.bh-committee-card {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    text-align: center;
}

.bh-committee-card__photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bh-line);
    margin-bottom: 4px;
}

.bh-committee-card__name {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--bh-ink);
}

.bh-committee-card__role {
    font-size: 0.76rem;
    color: var(--bh-muted);
}

/* ---------- Services ---------- */

.bh-services-head {
    margin-bottom: 30px;
    text-align: center;
}

.bh-services-head__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--bh-ink);
}

.bh-services-head__rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(360px, 80%);
    margin: 14px auto 0;
}

.bh-services-head__rule::before,
.bh-services-head__rule::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(30, 58, 95, 0.35);
}

.bh-services-head__rule i {
    display: block;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    background: var(--bh-rose);
    transform: rotate(45deg);
}

.bh-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bh-service-card {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 132px;
    padding: 20px;
    background: #f1f3f6;
    border-radius: var(--bh-radius-sm);
    transition: background-color var(--bh-ease);
}

.bh-service-card:hover {
    background: #e8ecf1;
}

.bh-service-card__icon {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    object-fit: contain;
}

.bh-service-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.bh-service-card__title {
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--bh-ink);
}

.bh-service-card__link {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--bh-body);
}

.bh-service-card__link i {
    margin-top: 3px;
    font-size: 0.7rem;
    flex: 0 0 auto;
    color: var(--bh-rose);
}

.bh-service-card__link:hover {
    color: var(--bh-brand);
}

/* ---------- CTA ---------- */

.bh-cta {
    grid-column: span 12;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 40px;
}

.bh-cta__title {
    font-size: clamp(1.6rem, 2.6vw, 2.25rem);
    margin-top: 10px;
}

.bh-cta__text {
    margin: 10px 0 0;
    max-width: 56ch;
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.74);
}

.bh-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
    .bh-hero__copy {
        grid-column: span 6;
        padding: 32px;
    }

    .bh-hero__media {
        grid-column: span 6;
        min-height: 300px;
    }

    .bh-stat,
    .bh-quick {
        grid-column: span 3;
    }

    .bh-panel,
    .bh-message,
    .bh-history,
    .bh-cta {
        grid-column: span 6;
    }

    .bh-message-card,
    .bh-news-card,
    .bh-gal,
    .bh-teacher-card,
    .bh-class-tile,
    .bh-committee-card {
        grid-column: span 3;
    }

    .bh-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bh-section {
        padding: 40px 0;
    }

    .bh-hero--band {
        min-height: 320px;
    }

    .bh-hero--band .bh-hero__media {
        position: relative;
        min-height: 240px;
        aspect-ratio: 16 / 10;
    }

    .bh-hero--band .bh-container {
        min-height: auto;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .bh-hero__card {
        max-width: none;
    }

    .bh-hero {
        padding: 24px 0 0;
    }

    .bh-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bh-hero__copy,
    .bh-hero__media,
    .bh-panel,
    .bh-message,
    .bh-history,
    .bh-message-card,
    .bh-news-card,
    .bh-cta {
        grid-column: span 2;
    }

    .bh-hero__copy {
        padding: 24px;
    }

    .bh-hero__media {
        min-height: 240px;
    }

    .bh-stat,
    .bh-quick,
    .bh-gal,
    .bh-teacher-card,
    .bh-class-tile,
    .bh-committee-card {
        grid-column: span 1;
    }

    .bh-services-grid {
        grid-template-columns: 1fr;
    }

    .bh-service-card {
        min-height: 112px;
        padding: 16px;
    }

    .bh-service-card__icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .bh-tile {
        padding: 20px;
    }

    .bh-panel,
    .bh-gal,
    .bh-hero__media {
        padding: 0;
    }

    .bh-panel__head,
    .bh-row {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bh-cta {
        padding: 28px 24px;
    }

    .bh-cta__actions,
    .bh-cta__actions .bh-btn {
        width: 100%;
    }
}

@media (max-width: 479px) {
    .bh-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bh-board > * {
        grid-column: 1 / -1;
    }

    .bh-stat,
    .bh-gal {
        grid-column: span 1;
    }

    .bh-row {
        gap: 12px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .bh-date {
        flex-basis: 50px;
    }

    .bh-date__day {
        font-size: 1.1rem;
    }

    .bh-hero__title {
        font-size: 2rem;
    }

    .bh-row__arrow {
        display: none;
    }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .bh-home *,
    .bh-home *::before,
    .bh-home *::after {
        transition: none !important;
        animation: none !important;
    }

    .bh-gal:hover img {
        transform: none;
    }

    .bh-btn:hover i,
    .bh-link:hover i {
        transform: none;
    }
}
