:root {
    --ink: #081529;
    --ink-soft: #27364d;
    --muted: #667085;
    --line: #e3e8ef;
    --surface: #ffffff;
    --surface-alt: #f5f7fb;
    --brand: #f2632b;
    --brand-dark: #c74313;
    --accent: #169b8a;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 10px 30px rgba(8, 21, 41, .07);
    --shadow-lg: 0 28px 70px rgba(8, 21, 41, .15);
    --container: 1180px;
    --reading: 780px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, input, textarea { border-radius: 0; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only,
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 10000;
    padding: 10px 16px;
    color: var(--ink);
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(242, 99, 43, .45); outline-offset: 3px; }

/* Header and navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(227, 232, 239, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
body.admin-bar .site-header { top: 32px; }
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand-wrap { display: flex; align-items: center; min-width: 0; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-width: 260px; max-height: 48px; }
.text-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -.04em;
}
.text-logo-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #ff934f);
    border-radius: 11px;
    box-shadow: 0 8px 18px rgba(242, 99, 43, .27);
}
.site-nav { margin-left: auto; }
.nav-list,
.nav-list .sub-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list > li { position: relative; }
.nav-list a {
    display: block;
    padding: 10px 14px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 750;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}
.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list .current-menu-item > a,
.nav-list .current-menu-ancestor > a {
    color: var(--brand-dark);
    background: #fff1ea;
    outline: none;
}
.nav-list .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transform: translateY(8px);
    transition: .18s ease;
}
.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.nav-list .sub-menu a { padding: 10px 12px; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 0;
    background: var(--surface-alt);
    border-radius: 12px;
    cursor: pointer;
}
.menu-toggle > span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
    border-radius: 3px;
    transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

/* Shared elements */
.section { padding-block: 104px; }
.section-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-heading-left { margin: 0 0 30px; text-align: left; }
.section-heading-left .section-kicker { justify-content: flex-start; }
.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.eyebrow::before,
.section-kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-heading h2,
.about-copy h2,
.contact-card h2,
.featured-resource-copy h2 {
    margin: 14px 0 16px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    letter-spacing: -.045em;
}
.section-heading p,
.about-copy > p,
.featured-resource-copy > p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}
.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #ff8c45);
    box-shadow: 0 14px 28px rgba(242, 99, 43, .24);
}
.button-primary:hover { box-shadow: 0 18px 34px rgba(242, 99, 43, .33); }
.button-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07); }
.button-ghost:hover { background: rgba(255, 255, 255, .13); }
.button-light { color: var(--ink); background: #fff; }
.button-outline-light { color: #fff; border-color: rgba(255, 255, 255, .52); background: transparent; }

/* Homepage */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 670px;
    color: #fff;
    background: radial-gradient(circle at 80% 25%, #163b5a 0, transparent 31%), linear-gradient(135deg, #061222 0%, #0b233a 58%, #0c3548 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero-grid {
    position: relative;
    z-index: 2;
    min-height: 670px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    align-items: center;
    gap: 64px;
    padding-block: 86px;
}
.hero-copy { max-width: 720px; }
.hero .eyebrow { color: #ff9b65; }
.hero h1 {
    margin: 20px 0 22px;
    max-width: 800px;
    font-size: clamp(43px, 5.6vw, 74px);
    line-height: 1.06;
    letter-spacing: -.055em;
}
.hero-copy > p { max-width: 660px; margin: 0; color: #ced9e4; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; color: #a8bbca; font-size: 13px; font-weight: 700; }
.hero-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.network-core {
    position: relative;
    z-index: 5;
    width: 230px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    background: rgba(255, 255, 255, .97);
    border-radius: 50%;
    box-shadow: var(--shadow-lg), inset 0 0 0 10px rgba(242, 99, 43, .06);
}
.network-core-mark {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brand), #ff9a57);
    border-radius: 22px;
    transform: rotate(-6deg);
}
.network-core strong { margin-top: 17px; font-size: 28px; letter-spacing: -.04em; }
.network-core small { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .18em; }
.orbit { position: absolute; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; animation: spin 25s linear infinite; }
.orbit::before,
.orbit::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 18px var(--brand); }
.orbit-one { width: 350px; height: 350px; }
.orbit-one::before { top: 35px; right: 55px; }
.orbit-one::after { bottom: 45px; left: 35px; }
.orbit-two { width: 455px; height: 455px; animation-direction: reverse; animation-duration: 34s; }
.orbit-two::before { top: 84px; left: 17px; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.orbit-two::after { right: 20px; bottom: 105px; }
.node {
    position: absolute;
    z-index: 4;
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: #fff;
    border-radius: 21px;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 20px 42px rgba(0, 0, 0, .25);
}
.node-one { top: 42px; left: 70px; transform: rotate(-8deg); }
.node-two { top: 74px; right: 34px; transform: rotate(7deg); }
.node-three { bottom: 54px; left: 45px; transform: rotate(6deg); }
.node-four { bottom: 32px; right: 80px; transform: rotate(-9deg); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .45; }
.hero-orb-one { width: 260px; height: 260px; left: -120px; bottom: -70px; background: var(--brand); }
.hero-orb-two { width: 300px; height: 300px; right: -170px; top: -120px; background: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { position: relative; z-index: 5; margin-top: -45px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.stat-card { min-height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.stat-card + .stat-card { border-left: 1px solid var(--line); }
.stat-card strong { color: var(--brand-dark); font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.stat-card span { margin-top: 10px; color: var(--muted); font-size: 13px; font-weight: 750; }

.network-section { background: var(--surface-alt); }
.network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.network-card {
    position: relative;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(8, 21, 41, .04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.network-card:hover { transform: translateY(-5px); border-color: #f7bda4; box-shadow: 0 18px 42px rgba(8, 21, 41, .1); }
.network-card.is-featured { border-color: #f3a27f; }
.featured-label {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    color: #fff;
    background: var(--brand-dark);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.card-link { height: 100%; display: flex; flex-direction: column; }
.logo-frame { height: 165px; display: grid; place-items: center; padding: 28px; background: linear-gradient(145deg, #f8fafc, #fff); border-bottom: 1px solid var(--line); }
.logo-frame img { width: 100%; height: 100%; object-fit: contain; }
.logo-fallback { width: 76px; height: 76px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), #ff9a57); border-radius: 22px; font-size: 36px; font-weight: 900; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.card-category { align-self: flex-start; color: var(--brand-dark); font-size: 11px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.card-body h3 { margin: 9px 0 10px; font-size: 23px; line-height: 1.25; letter-spacing: -.03em; }
.card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 22px; color: #8893a3; font-size: 12px; font-weight: 700; }
.card-arrow { width: 34px; height: 34px; display: grid; place-items: center; color: var(--brand-dark); background: #fff1ea; border-radius: 10px; font-size: 17px; }
.empty-state,
.empty-public { max-width: 780px; margin: 0 auto; padding: 42px; text-align: center; background: #fff; border: 1px dashed #cbd3de; border-radius: var(--radius-md); }
.empty-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 15px; color: var(--brand-dark); background: #fff1ea; border-radius: 18px; font-size: 28px; }
.empty-state h3 { margin: 0 0 8px; font-size: 25px; }
.empty-state p { margin: 0 auto 22px; color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.about-copy { position: sticky; top: 120px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-card { padding: 28px; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-md); }
.feature-card > span { display: inline-grid; place-items: center; width: 38px; height: 38px; color: var(--brand-dark); background: #fff1ea; border-radius: 11px; font-size: 12px; font-weight: 900; }
.feature-card h3 { margin: 18px 0 8px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }

.featured-resource-section { padding-top: 18px; background: linear-gradient(to bottom, #fff 0, #fff 45%, var(--surface-alt) 45%); }
.featured-resource-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    align-items: center;
    gap: 50px;
    padding: clamp(32px, 6vw, 68px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.featured-resource-copy .button { margin-top: 28px; }
.featured-resource-visual {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #27475e 0, #0a1c2d 62%, #06101d 100%);
    border-radius: 26px;
    color: #fff;
}
.featured-resource-mark { width: 92px; height: 92px; display: grid; place-items: center; margin-bottom: 20px; color: #18120d; background: linear-gradient(135deg, #f7d994, #d59b31); border-radius: 26px; font-size: 52px; font-family: serif; box-shadow: 0 18px 36px rgba(0, 0, 0, .24); }
.featured-resource-visual strong { font-size: 28px; letter-spacing: -.035em; }
.featured-resource-visual small { margin-top: 8px; color: #b8c8d5; font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }

.latest-section { background: var(--surface-alt); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 8px 25px rgba(8, 21, 41, .04); transition: transform .22s ease, box-shadow .22s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8, 21, 41, .09); }
.article-image { aspect-ratio: 16 / 10; overflow: hidden; background: #0d2438; }
.article-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.article-card:hover .article-image img { transform: scale(1.035); }
.article-placeholder { width: 100%; height: 100%; min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #0c1e30, #153d50); }
.article-placeholder strong { width: 64px; height: 64px; display: grid; place-items: center; background: var(--brand); border-radius: 20px; font-size: 34px; line-height: 1; box-shadow: 0 16px 30px rgba(0, 0, 0, .22); }
.article-placeholder small { margin-top: 13px; font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.article-content { flex: 1; display: flex; flex-direction: column; padding: 25px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #8792a2; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.article-meta span,
.article-meta > a { max-width: 58%; overflow: hidden; color: var(--brand-dark); text-overflow: ellipsis; white-space: nowrap; }
.article-meta > a:hover { text-decoration: underline; }
.article-content h3 { margin: 14px 0 10px; font-size: 22px; line-height: 1.3; letter-spacing: -.028em; }
.article-content h3 a:hover,
.article-content h3 a:focus-visible { color: var(--brand-dark); outline: none; }
.article-content p { margin: 0; color: var(--muted); font-size: 14px; }
.article-read-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--brand-dark); font-size: 13px; font-weight: 850; }
.article-read-more span { transition: transform .2s ease; }
.article-read-more:hover span { transform: translateX(4px); }
.latest-actions { display: flex; justify-content: center; margin-top: 42px; }

.contact-section { padding-top: 20px; }
.contact-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 50px;
    padding: 58px;
    color: #fff;
    background: linear-gradient(135deg, #081529, #123d50);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.contact-card::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; bottom: -170px; background: var(--brand); border-radius: 50%; opacity: .55; }
.contact-card > * { position: relative; z-index: 2; }
.section-kicker-light { color: #ff9b65; }
.contact-card h2 { max-width: 760px; font-size: clamp(32px, 4vw, 48px); }
.contact-card p { max-width: 720px; margin: 0; color: #c6d3df; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; min-width: 170px; }
.map-card { display: grid; grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr); align-items: stretch; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.map-copy { display: flex; flex-direction: column; justify-content: center; padding: 44px; background: linear-gradient(145deg, #fff7f1, #fff 68%); }
.map-copy h2 { margin: 14px 0 12px; font-size: clamp(30px, 3vw, 42px); line-height: 1.15; letter-spacing: -.04em; }
.map-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.map-frame { min-height: 420px; background: var(--surface-alt); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 28px; color: #6f7c8e; font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #a5afbd; }
.breadcrumbs a { color: var(--brand-dark); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { max-width: 560px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Article, page, archives */
.single-main,
.page-main,
.archive-main { min-height: 65vh; padding-block: 54px 100px; background: var(--surface-alt); }
.content-shell { width: min(calc(100% - 40px), 960px); margin-inline: auto; }
.content-shell-page { max-width: 920px; }
.single-article,
.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.single-article { overflow: hidden; }
.single-header { padding: clamp(30px, 6vw, 64px) clamp(26px, 7vw, 78px) 32px; text-align: center; }
.single-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.single-categories a { padding: 6px 10px; color: var(--brand-dark); background: #fff1ea; border-radius: 999px; font-size: 11px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.single-header h1,
.page-header h1,
.archive-header h1 {
    margin: 0;
    font-size: clamp(36px, 5.5vw, 62px);
    line-height: 1.08;
    letter-spacing: -.05em;
}
.entry-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 24px; color: #748094; font-size: 13px; }
.meta-item { position: relative; }
.meta-item + .meta-item::before { content: "•"; position: absolute; left: -12px; color: #bcc4cf; }
.meta-author a { color: var(--brand-dark); font-weight: 750; }
.single-featured-image { margin: 0 clamp(18px, 4vw, 40px); }
.single-featured-image img,
.page-featured-image img { width: 100%; border-radius: var(--radius-sm); }
.single-featured-image figcaption { padding: 9px 6px 0; color: #7c8797; font-size: 12px; text-align: center; }
.page-card { padding: clamp(28px, 6vw, 62px); }
.page-header { margin-bottom: 32px; }
.page-featured-image { margin-bottom: 34px; }

.entry-content { max-width: var(--reading); margin: 0 auto; padding: 42px clamp(26px, 7vw, 76px) 58px; color: #1c2a3d; font-size: 17px; }
.page-card .entry-content { max-width: none; padding: 0; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.35em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -.03em;
    scroll-margin-top: 110px;
}
.entry-content h2 { margin: 2em 0 .7em; font-size: clamp(27px, 4vw, 36px); }
.entry-content h3 { margin: 1.65em 0 .65em; font-size: clamp(22px, 3vw, 28px); }
.entry-content h4 { margin: 1.5em 0 .6em; font-size: 20px; }
.entry-content a { color: var(--brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { color: #8d2d0b; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin: 1.8em 0; padding: 22px 26px; color: var(--ink-soft); background: #fff7f1; border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { margin-top: 8px; color: #748094; font-size: 12px; text-align: center; }
.entry-content table { width: 100%; margin: 1.8em 0; border-collapse: collapse; font-size: 15px; }
.entry-content th,
.entry-content td { padding: 12px 14px; text-align: left; border: 1px solid var(--line); }
.entry-content th { background: var(--surface-alt); }
.entry-content pre { overflow-x: auto; padding: 18px; color: #edf4fa; background: #0b1d2e; border-radius: var(--radius-sm); font-size: 14px; }
.entry-content code { padding: .15em .35em; background: #eef1f5; border-radius: 5px; font-size: .9em; }
.entry-content pre code { padding: 0; background: transparent; }
.entry-content iframe { max-width: 100%; }
.entry-content .alignwide { width: min(100vw - 80px, 980px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 32px; }
.page-links > * { min-width: 34px; min-height: 34px; display: grid; place-items: center; padding: 5px 9px; background: var(--surface-alt); border-radius: 8px; }
.entry-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0 clamp(26px, 7vw, 76px) 46px; color: #748094; font-size: 13px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list a { padding: 6px 10px; color: var(--ink-soft); background: var(--surface-alt); border-radius: 999px; }
.tag-list a:hover { color: var(--brand-dark); background: #fff1ea; }

.author-box { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-top: 24px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.author-initial { width: 62px; height: 62px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), #ff934f); border-radius: 18px; font-size: 28px; font-weight: 900; }
.author-label { color: #7f8a9a; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.author-box h2 { margin: 3px 0 7px; font-size: 22px; }
.author-box h2 a:hover { color: var(--brand-dark); }
.author-box p { margin: 0; color: var(--muted); font-size: 14px; }

.post-navigation { margin-top: 24px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-navigation a { height: 100%; display: flex; flex-direction: column; padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.post-navigation .nav-next { text-align: right; }
.nav-label { color: #7f8a9a; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.nav-title { margin-top: 6px; font-weight: 800; line-height: 1.35; }
.post-navigation a:hover .nav-title { color: var(--brand-dark); }

.related-posts { margin-top: 64px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.related-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.related-image img { width: 100%; height: 100%; object-fit: cover; }
.related-content { padding: 20px; }
.related-content time { color: #8792a2; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.related-content h3 { margin: 8px 0 0; font-size: 18px; line-height: 1.35; }
.related-content h3 a:hover { color: var(--brand-dark); }

.archive-shell { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.archive-header { max-width: 820px; margin: 10px auto 46px; text-align: center; }
.archive-header .section-kicker { justify-content: center; }
.archive-header h1 { margin-top: 14px; }
.archive-header > p,
.archive-description { margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.archive-description p { margin: 0; }
.archive-header .search-form { max-width: 620px; margin: 26px auto 0; }
.archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.archive-card { min-width: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.archive-card-image { min-height: 100%; overflow: hidden; background: #0d2438; }
.archive-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.archive-card:hover .archive-card-image img { transform: scale(1.035); }
.archive-card-content { display: flex; flex-direction: column; padding: 24px; }
.archive-card-content h2 { margin: 13px 0 9px; font-size: 22px; line-height: 1.3; letter-spacing: -.028em; }
.archive-card-content h2 a:hover { color: var(--brand-dark); }
.archive-card-content > p { margin: 0; color: var(--muted); font-size: 14px; }
.no-results { max-width: 760px; margin-inline: auto; padding: 40px; text-align: center; }
.no-results h2 { margin: 0 0 8px; }
.no-results p { color: var(--muted); }

.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { min-width: 42px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 13px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 800; }
.page-numbers.current,
.page-numbers:hover { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); }

.search-form { display: flex; gap: 8px; width: 100%; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 11px 15px; color: var(--ink); background: #fff; border: 1px solid #cbd3de; border-radius: 12px; }
.search-field:focus { border-color: var(--brand); outline: 3px solid rgba(242, 99, 43, .15); }
.search-submit { min-height: 48px; padding: 11px 20px; color: #fff; background: var(--brand-dark); border: 0; border-radius: 12px; font-weight: 800; cursor: pointer; }
.error-card { padding: clamp(34px, 7vw, 70px); text-align: center; }
.error-code { display: block; color: var(--brand); font-size: 82px; font-weight: 900; line-height: 1; }
.error-card h1 { margin: 14px 0 10px; font-size: clamp(34px, 5vw, 52px); }
.error-card p { margin: 0 auto 24px; color: var(--muted); }
.error-card .search-form { max-width: 580px; margin: 0 auto 20px; }

.comments-area { margin-top: 64px; padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.comments-title,
.comment-reply-title { margin-top: 0; font-size: 28px; }
.comment-list { padding: 0; margin: 0 0 32px; list-style: none; }
.comment-list .children { margin-top: 18px; list-style: none; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: 13px; }
.comment-content { margin-top: 12px; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-form p { margin: 0 0 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 750; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cbd3de; border-radius: 10px; }
.comment-form input[type="submit"] { min-height: 46px; padding: 10px 18px; color: #fff; background: var(--brand-dark); border: 0; border-radius: 11px; font-weight: 800; cursor: pointer; }

/* Footer */
.site-footer { margin-top: 0; padding-top: 72px; color: #a9b6c5; background: #06101d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr 1fr; gap: 60px; padding-bottom: 55px; }
.footer-brand { color: #fff; font-size: 24px; font-weight: 900; letter-spacing: -.04em; }
.footer-grid p { max-width: 500px; margin: 14px 0 0; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links strong { margin-bottom: 6px; color: #fff; }
.footer-links a:hover { color: #fff; }
.footer-menu { display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; list-style: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }

@media (max-width: 1080px) {
    .archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 30px; padding-block: 78px 120px; text-align: center; }
    .hero-copy { margin-inline: auto; }
    .hero-copy > p { margin-inline: auto; }
    .hero-actions,
    .trust-line { justify-content: center; }
    .hero-visual { min-height: 410px; }
    .network-grid,
    .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid { grid-template-columns: 1fr; gap: 45px; }
    .about-copy { position: static; max-width: 720px; }
    .featured-resource-card { grid-template-columns: 1fr; }
    .featured-resource-visual { min-height: 250px; }
    .contact-card { grid-template-columns: 1fr; }
    .contact-actions { flex-direction: row; min-width: 0; }
    .map-card { grid-template-columns: 1fr; }
    .map-copy { padding: 36px; }
    .map-frame,
    .map-frame iframe { min-height: 360px; }
    .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .related-card:last-child { display: none; }
}

@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
    .container,
    .archive-shell,
    .content-shell { width: min(calc(100% - 28px), var(--container)); }
    .menu-toggle { display: block; }
    .site-nav {
        position: fixed;
        top: 78px;
        left: 14px;
        right: 14px;
        max-height: calc(100vh - 100px);
        display: none;
        overflow-y: auto;
        margin: 0;
        padding: 14px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
    }
    body.admin-bar .site-nav { top: 124px; max-height: calc(100vh - 145px); }
    .site-nav.is-open { display: block; }
    .nav-list { align-items: stretch; flex-direction: column; }
    .nav-list a { padding: 13px 14px; }
    .nav-list .sub-menu { position: static; min-width: 0; display: block; visibility: visible; opacity: 1; padding: 2px 0 2px 14px; border: 0; box-shadow: none; transform: none; }
    .nav-list .sub-menu a { font-size: 13px; }
    .hero { min-height: auto; }
    .hero-grid { min-height: auto; padding-top: 68px; }
    .hero h1 { font-size: clamp(40px, 12.5vw, 58px); }
    .hero-visual { min-height: 340px; margin: -20px -35px; transform: scale(.83); }
    .network-core { width: 210px; }
    .orbit-one { width: 315px; height: 315px; }
    .orbit-two { width: 400px; height: 400px; }
    .stats { margin-top: -64px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card { min-height: 108px; }
    .stat-card + .stat-card { border-left: 0; }
    .stat-card:nth-child(even) { border-left: 1px solid var(--line); }
    .stat-card:nth-child(n+3) { border-top: 1px solid var(--line); }
    .section { padding-block: 76px; }
    .network-grid,
    .feature-grid,
    .article-grid,
    .related-grid { grid-template-columns: 1fr; }
    .related-card:last-child { display: block; }
    .logo-frame { height: 150px; }
    .featured-resource-section { padding-top: 0; }
    .featured-resource-card { padding: 28px 22px; border-radius: var(--radius-md); }
    .featured-resource-visual { min-height: 220px; }
    .contact-section { padding-top: 0; }
    .contact-card { padding: 38px 24px; border-radius: var(--radius-md); }
    .contact-actions { flex-direction: column; align-items: stretch; }
    .map-card { border-radius: var(--radius-md); }
    .map-copy { padding: 30px 24px; }
    .map-frame,
    .map-frame iframe { min-height: 310px; }
    .single-main,
    .page-main,
    .archive-main { padding-block: 34px 72px; }
    .single-header { padding-inline: 24px; }
    .single-header h1,
    .page-header h1,
    .archive-header h1 { font-size: clamp(34px, 10vw, 48px); }
    .entry-meta { gap: 6px 15px; }
    .meta-item + .meta-item::before { left: -9px; }
    .single-featured-image { margin-inline: 12px; }
    .entry-content { padding: 34px 24px 44px; font-size: 16.5px; }
    .entry-footer { padding-inline: 24px; }
    .author-box { grid-template-columns: 1fr; }
    .post-navigation .nav-links { grid-template-columns: 1fr; }
    .post-navigation .nav-next { text-align: left; }
    .archive-card { grid-template-columns: 155px minmax(0, 1fr); }
    .archive-card-content { padding: 18px; }
    .archive-card-content h2 { font-size: 19px; }
    .archive-card-content > p { display: none; }
    .archive-card-content .article-read-more { padding-top: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; }
    .entry-content .alignwide,
    .entry-content .alignfull { width: calc(100vw - 28px); }
}

@media (max-width: 500px) {
    .custom-logo { max-width: 190px; max-height: 42px; }
    .hero-actions .button { width: 100%; }
    .trust-line { gap: 10px 14px; }
    .node { width: 62px; height: 62px; }
    .hero-visual { transform: scale(.75); }
    .stat-card { padding: 18px 10px; }
    .stat-card strong { font-size: 28px; }
    .featured-resource-visual strong { font-size: 24px; }
    .archive-card { grid-template-columns: 1fr; }
    .archive-card-image { aspect-ratio: 16 / 9; }
    .archive-card-content > p { display: block; }
    .breadcrumbs span { max-width: 230px; }
    .search-form { flex-direction: column; }
    .search-submit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
