/* Static site pages (contact). Meridian design language.
   Requires news-article.css to be loaded on the same page for the --na-* tokens
   and the self-hosted fonts. Uses collision-safe prefixes (cc-, contact-, sp-). */

.sp-wide { max-width: 960px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 32px); }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: start;
    margin-top: 8px;
}
.contact-cards { display: grid; gap: 12px; }
.contact-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: center;
    background: var(--na-paper);
    border: 1px solid var(--na-hair);
    border-radius: 12px;
    padding: 16px 18px;
}
.contact-card .cc-ic {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--na-mist);
    color: var(--na-navy);
    display: grid;
    place-items: center;
    font-size: 16px;
}
.contact-card .cc-info { display: block; min-width: 0; }
.contact-card .cc-lbl {
    display: block;
    font-family: var(--na-font-display);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--na-slate);
}
.contact-card .cc-val {
    display: block;
    font-size: 15px;
    line-height: 1.45;
    color: var(--na-ink);
    margin-top: 3px;
}
.contact-card .cc-val a { color: var(--na-azure); text-decoration: none; font-weight: 600; }
.contact-card .cc-val a:hover { text-decoration: underline; }

.cc-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cc-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--na-navy);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: background .15s ease;
}
.cc-social a:hover { background: var(--na-azure); color: #fff; }

.contact-map {
    border: 1px solid var(--na-hair);
    border-radius: 12px;
    overflow: hidden;
    min-height: 480px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

@media (max-width: 800px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map,
    .contact-map iframe { min-height: 340px; }
}

/* ==== Listing pages (category, videos, leadership) ==================== */

/* News card grid — category listing */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.news-card {
    display: flex;
    flex-direction: column;
    background: var(--na-paper);
    border: 1px solid var(--na-hair);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .18s ease, transform .18s ease;
}
.news-card:hover { box-shadow: 0 14px 30px -18px rgba(14, 44, 78, .45); transform: translateY(-2px); }
.news-card .nc-thumb { aspect-ratio: 16 / 9; background: linear-gradient(120deg, var(--na-navy), #24507e); overflow: hidden; }
.news-card .nc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .nc-body { display: flex; flex-direction: column; gap: 8px; padding: 15px 16px 17px; flex: 1; }
.news-card .nc-title { font-family: var(--na-font-display); font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--na-navy); }
.news-card:hover .nc-title { color: var(--na-azure); }
.news-card .nc-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--na-slate); font-variant-numeric: tabular-nums lining-nums; }
.news-card .nc-meta i { margin-right: 4px; }
.news-card .nc-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #4a5666;
    margin-top: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video card grid */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.video-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.news-card:hover, .video-card:hover, .popular-item:hover { color: inherit; }
.vc-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--na-navy); }
.vc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(14, 44, 78, .28); transition: background .18s ease; }
.video-card:hover .vc-play { background: rgba(14, 44, 78, .48); }
.vc-play span {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(255, 255, 255, .94); color: var(--na-navy);
    display: grid; place-items: center; font-size: 17px; padding-left: 3px;
    transition: background .18s ease, color .18s ease;
}
.video-card:hover .vc-play span { background: var(--na-azure); color: #fff; }
.vc-title { font-family: var(--na-font-display); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--na-ink); margin-top: 12px; }
.video-card:hover .vc-title { color: var(--na-azure); }

/* Leadership cards */
.leaders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.leader-card {
    background: var(--na-paper);
    border: 1px solid var(--na-hair);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.leader-card .ld-photo { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: top center; display: block; background: var(--na-mist); }
.leader-card .ld-body { padding: 18px 20px 22px; }
.leader-card .ld-name { font-family: var(--na-font-display); font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--na-navy); }
.leader-card .ld-role { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--na-azure); margin-top: 6px; }
.leader-card .ld-contacts { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--na-hair); display: grid; gap: 8px; font-size: 14px; color: var(--na-ink); }
.leader-card .ld-contacts a { color: var(--na-navy); text-decoration: none; word-break: break-word; }
.leader-card .ld-contacts a:hover { color: var(--na-azure); }
.leader-card .ld-contacts i { color: var(--na-slate); margin-right: 9px; width: 15px; text-align: center; }

/* "Load more" button — Meridian */
.sp-more-wrap { text-align: center; margin-top: 34px; }
.sp-more-btn {
    appearance: none;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--na-font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--na-navy);
    background: var(--na-paper);
    border: 1px solid var(--na-navy);
    border-radius: 24px;
    padding: 11px 26px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.sp-more-btn:hover { background: var(--na-navy); color: #fff; }

/* Search page */
.search-box { position: relative; margin: 8px 0 26px; }
.search-box-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--na-slate); }
.search-box-input {
    width: 100%;
    appearance: none;
    font-family: var(--na-font-body);
    font-size: 16px;
    color: var(--na-ink);
    background: var(--na-mist);
    border: 1px solid var(--na-hair);
    border-radius: 12px;
    padding: 14px 18px 14px 46px;
    transition: border-color .15s ease, background .15s ease;
}
.search-box-input::placeholder { color: var(--na-slate); }
.search-box-input:focus { outline: 2px solid var(--na-azure); outline-offset: -1px; background: var(--na-paper); }
.search-count { font-size: 14px; color: var(--na-slate); margin: 0 0 22px; font-variant-numeric: tabular-nums lining-nums; }
.search-count strong { color: var(--na-navy); }
.search-empty { font-size: 16px; color: var(--na-slate); margin: 28px 0 8px; }

/* Video-show: contained embed/thumbnail */
.video-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--na-navy); display: block; margin-bottom: 22px; }
.video-stage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-stage .vc-play span { width: 72px; height: 72px; font-size: 22px; }

@media (max-width: 560px) {
    .news-grid, .video-grid { grid-template-columns: 1fr; }
}

/* ==== Home page video section — dark studio band ====================== */
.home-videos {
    /* the one permitted light-azure literal for hover/focus on the dark band */
    --hv-azure-light: #7fb3ea;
    background:
        radial-gradient(1100px 480px at 84% -12%, rgba(255, 255, 255, .06), transparent 62%),
        linear-gradient(160deg, var(--na-navy-deep), var(--na-navy));
    padding: clamp(52px, 7vw, 64px) 0;
    font-family: var(--na-font-body);
}
.hv-inner { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 34px); }

/* Header row */
.hv-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hv-title { display: flex; align-items: center; margin: 0; font-family: var(--na-font-display);
    font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -.01em; color: var(--na-paper); }
.hv-title::before { content: ""; flex: none; width: 26px; height: 4px; border-radius: 2px; background: var(--na-azure); margin-right: 12px; }
.hv-all { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px;
    font-family: var(--na-font-display); font-size: 14px; font-weight: 700; color: var(--na-paper);
    text-decoration: none; white-space: nowrap; transition: background .16s ease, border-color .16s ease; }
.hv-all .hv-all-icon { font-size: 12px; transition: transform .16s ease; }
.hv-all:hover, .hv-all:focus-visible { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .5); color: var(--na-paper); }
.hv-all:hover .hv-all-icon, .hv-all:focus-visible .hv-all-icon { transform: translateX(2px); }

/* Stage grid: featured left, playlist right */
.hv-stage { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 44px); align-items: start; }

/* Featured video */
.hv-feature { display: block; min-width: 0; text-decoration: none; }
.hv-feature-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
    background: rgba(255, 255, 255, .06); box-shadow: 0 28px 56px -32px rgba(0, 0, 0, .6); }
.hv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-veil { position: absolute; inset: 0; background: rgba(14, 44, 78, .28); transition: background .18s ease; }
.hv-feature:hover .hv-veil, .hv-feature:focus-visible .hv-veil,
.hv-row:hover .hv-veil, .hv-row:focus-visible .hv-veil { background: rgba(14, 44, 78, .48); }
.hv-disc { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--na-navy);
    display: grid; place-items: center; font-size: 22px; transition: background .16s ease, color .16s ease; }
.hv-disc .hv-disc-icon { margin-left: 4px; }
.hv-disc-sm { width: 36px; height: 36px; font-size: 13px; }
.hv-disc-sm .hv-disc-icon { margin-left: 2px; }
.hv-feature:hover .hv-disc, .hv-feature:focus-visible .hv-disc,
.hv-row:hover .hv-disc, .hv-row:focus-visible .hv-disc { background: var(--na-azure); color: var(--na-paper); }
.hv-feature-meta { display: block; padding-top: 20px; }
.hv-feature-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-family: var(--na-font-display); font-size: clamp(18px, 2.2vw, 23px); font-weight: 800; line-height: 1.3;
    letter-spacing: -.01em; color: var(--na-paper); transition: color .16s ease; }
.hv-feature:hover .hv-feature-title, .hv-feature:focus-visible .hv-feature-title { color: var(--hv-azure-light); }
.hv-date { display: block; margin-top: 8px; font-family: var(--na-font-body); font-size: 13px; letter-spacing: .02em;
    color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums lining-nums; }

/* Playlist rows */
.hv-list { display: flex; flex-direction: column; min-width: 0; margin: -16px -12px; }
.hv-row { position: relative; display: flex; align-items: flex-start; gap: 16px; padding: 16px 12px;
    border-radius: 12px; text-decoration: none; transition: background .15s ease; }
.hv-row + .hv-row::before { content: ""; position: absolute; top: 0; left: 12px; right: 12px; height: 1px; background: rgba(255, 255, 255, .1); }
.hv-row:hover, .hv-row:focus-visible { background: rgba(255, 255, 255, .05); }
.hv-row-thumb { position: relative; flex: none; width: 164px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
    background: rgba(255, 255, 255, .06); }
.hv-row-body { min-width: 0; }
.hv-row-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-family: var(--na-font-display); font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--na-paper);
    transition: color .15s ease; }
.hv-row:hover .hv-row-title, .hv-row:focus-visible .hv-row-title { color: var(--hv-azure-light); }

/* Focus rings (light equivalent on the dark band) */
.hv-all:focus-visible, .hv-feature:focus-visible, .hv-row:focus-visible { outline: 2px solid var(--hv-azure-light); outline-offset: 2px; }

@media (max-width: 920px) {
    .hv-stage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .hv-list { margin: -8px -12px -16px; }
    .hv-feature-title { font-size: clamp(18px, 3.4vw, 22px); }
}
@media (max-width: 560px) {
    .home-videos { padding: 48px 0; }
    .hv-head { margin-bottom: 24px; }
    .hv-all { padding: 8px 12px; }
    .hv-feature-thumb { border-radius: 12px; }
    .hv-feature-meta { padding-top: 16px; }
    .hv-disc { width: 60px; height: 60px; font-size: 18px; }
    .hv-row { gap: 12px; }
    .hv-row-thumb { width: 136px; }
    .hv-row-title { font-size: 14px; }
}
@media (max-width: 400px) {
    .hv-row-thumb { width: 120px; }
    .hv-disc-sm { width: 32px; height: 32px; font-size: 12px; }
}

/* ==== Home page journals + partners — ruled ledger pair ================ */
.home-journals,
.home-partners { background: var(--na-paper); font-family: var(--na-font-body); }
.home-journals { padding: clamp(52px, 7vw, 64px) 0 clamp(48px, 6vw, 60px); }
.home-partners { padding: 0 0 clamp(56px, 7vw, 72px); }
.hs-inner { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 34px); }
.hp-inner { border-top: 1px solid var(--na-hair); padding-top: clamp(48px, 6vw, 60px); }

/* Shared light-section header row */
.hs-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hs-title { display: flex; align-items: center; margin: 0; font-family: var(--na-font-display);
    font-size: clamp(21px, 2.6vw, 27px); font-weight: 800; letter-spacing: -.01em; color: var(--na-navy); }
.hs-title::before { content: ""; flex: none; width: 26px; height: 4px; border-radius: 2px; background: var(--na-azure); margin-right: 12px; }
.hs-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--na-font-display);
    font-size: 14px; font-weight: 700; color: var(--na-azure); text-decoration: none; white-space: nowrap;
    border-radius: 6px; transition: color .16s ease; }
.hs-more-icon { font-size: 12px; transition: transform .16s ease; }
.hs-more:hover, .hs-more:focus-visible { color: var(--na-azure-dark); }
.hs-more:hover .hs-more-icon, .hs-more:focus-visible .hs-more-icon { transform: translateX(2px); }
.hs-more:focus-visible { outline: 2px solid var(--na-azure); outline-offset: 2px; }

/* Journals: cover strip, lift + navy veil on hover */
.hj-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 28px); }
.hj-item { display: block; min-width: 0; text-decoration: none; }
.hj-item:focus-visible { outline: 2px solid var(--na-azure); outline-offset: 2px; border-radius: 4px; }
.hj-cover { display: block; position: relative; aspect-ratio: 200 / 265; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--na-hair); background: var(--na-mist);
    transition: transform .2s ease, box-shadow .2s ease; }
.hj-cover::after { content: ""; position: absolute; inset: 0; background: rgba(14, 44, 78, 0); transition: background .18s ease; }
.hj-item:hover .hj-cover, .hj-item:focus-visible .hj-cover { transform: translateY(-2px);
    box-shadow: 0 14px 30px -18px rgba(14, 44, 78, .45); }
.hj-item:hover .hj-cover::after, .hj-item:focus-visible .hj-cover::after { background: rgba(14, 44, 78, .18); }
.hj-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* Partners: ruled sponsor wall (collapsed hairlines via 1px grid gap) */
.hp-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
    background: var(--na-hair); border: 1px solid var(--na-hair); border-radius: 12px; overflow: hidden; }
.hp-cell { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center;
    background: var(--na-paper); padding: 32px 24px 24px; text-decoration: none; transition: background .18s ease; }
.hp-cell:hover, .hp-cell:focus-visible { background: var(--na-mist); }
.hp-cell:focus-visible { outline: 2px solid var(--na-azure); outline-offset: -2px; }
.hp-box { display: block; width: 100%; max-width: 176px; height: 96px; }
.hp-logo { display: block; width: 100%; height: 100%; object-fit: contain;
    filter: grayscale(1); opacity: .6; transition: filter .18s ease, opacity .18s ease; }
.hp-cell:hover .hp-logo, .hp-cell:focus-visible .hp-logo { filter: none; opacity: 1; }
.hp-name { margin-top: 16px; font-family: var(--na-font-body); font-size: 12px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: var(--na-slate); transition: color .18s ease; }
.hp-cell:hover .hp-name, .hp-cell:focus-visible .hp-name { color: var(--na-azure); }

@media (max-width: 880px) {
    .hj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
    .hj-item { width: 100%; max-width: 272px; justify-self: center; }
    .hp-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .home-journals { padding: 48px 0 44px; }
    .home-partners { padding-bottom: 52px; }
    .hp-inner { padding-top: 44px; }
    .hs-head { margin-bottom: 24px; }
    .hj-grid { gap: 24px 16px; }
    .hp-cell { padding: 24px 16px 20px; }
    .hp-box { max-width: 148px; height: 80px; }
    .hp-name { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .hs-more, .hs-more-icon, .hj-cover, .hj-cover::after, .hp-cell, .hp-logo, .hp-name { transition: none; }
    .hs-more:hover .hs-more-icon, .hs-more:focus-visible .hs-more-icon,
    .hj-item:hover .hj-cover, .hj-item:focus-visible .hj-cover { transform: none; }
}
