:root {
    --ink: #102033;
    --muted: #65758b;
    --primary: #075e7d;
    --primary-2: #123d5b;
    --accent: #d8a23a;
    --surface: #f4f7fb;
    --line: #dbe4ef;
}

body {
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
}

a { text-decoration: none; }

.site-navbar {
    min-height: 76px;
    border-bottom: 1px solid rgba(219,228,239,.86);
    background:
        linear-gradient(90deg, rgba(255,255,255,.95), rgba(246,250,252,.92));
    box-shadow: 0 12px 34px rgba(16,32,51,.08);
    backdrop-filter: blur(18px);
    z-index: 1040;
}

.site-brand {
    font-weight: 900;
    color: var(--ink);
}

.site-brand:hover {
    color: var(--primary);
}

.brand-text {
    letter-spacing: .02em;
}

.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    padding: 4px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(7,94,125,.16);
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), #1aa0a9);
    color: #fff;
    box-shadow: 0 12px 24px rgba(7,94,125,.22);
}

.site-nav-list {
    align-items: center;
    gap: .25rem;
    padding: .32rem;
    border: 1px solid rgba(219,228,239,.86);
    border-radius: 999px;
    background: rgba(244,247,251,.72);
}

.site-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .55rem .85rem !important;
    border-radius: 999px;
    color: #365069;
    font-size: .92rem;
    font-weight: 800;
    transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.site-nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: .35rem;
    width: 18px;
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
    opacity: 0;
    transform: translateX(-50%) scaleX(.4);
    transition: opacity .18s ease, transform .18s ease;
}

.site-nav-link:hover {
    color: var(--primary);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(16,32,51,.08);
}

.site-nav-link:hover::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.site-nav-link.active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), #15949a);
    box-shadow: 0 14px 28px rgba(7,94,125,.22);
}

.site-nav-link.active::after {
    opacity: 1;
    background: #ffe0a3;
    transform: translateX(-50%) scaleX(1);
}

.site-nav-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.nav-search {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--primary);
    background: #fff;
    box-shadow: 0 10px 22px rgba(16,32,51,.06);
    transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}

.nav-search:hover {
    color: #fff;
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7,94,125,.22);
}

.btn-submit-nav {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 40px;
    border: 0;
    border-radius: 999px;
    padding-inline: 1rem;
    color: #17120a;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd166, var(--accent));
    box-shadow: 0 14px 28px rgba(216,162,58,.28);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-submit-nav:hover {
    color: #17120a;
    filter: saturate(1.08);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(216,162,58,.36);
}

.site-toggler {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: none !important;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-2);
    --bs-btn-hover-border-color: var(--primary-2);
    box-shadow: 0 10px 22px rgba(7,94,125,.14);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-primary:hover,
.btn-outline-primary:hover,
.btn-accent:hover {
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #17120a;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(216,162,58,.22);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-accent:hover {
    filter: saturate(1.08);
    box-shadow: 0 16px 30px rgba(216,162,58,.32);
}

.btn-outline-primary {
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-outline-primary:hover {
    box-shadow: 0 12px 24px rgba(7,94,125,.18);
}

.hero-section {
    min-height: 720px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(8, 31, 52, .92), rgba(8, 80, 102, .72)),
        url("https://images.unsplash.com/photo-1532094349884-543bc11b234d?auto=format&fit=crop&w=1800&q=80") center/cover;
    overflow: hidden;
}

.journal-hero {
    position: relative;
    isolation: isolate;
}

.journal-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff);
    z-index: -1;
}

.hero-mesh,
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-mesh {
    background:
        radial-gradient(circle at 74% 18%, rgba(216,162,58,.38), transparent 26%),
        radial-gradient(circle at 14% 34%, rgba(34,197,184,.22), transparent 30%),
        radial-gradient(circle at 68% 76%, rgba(123,92,255,.18), transparent 34%);
    mix-blend-mode: screen;
    animation: heroFloat 12s ease-in-out infinite alternate;
    transform: translateY(var(--hero-scroll, 0));
    z-index: -1;
}

.hero-grid {
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
    z-index: -1;
}

.min-vh-hero { min-height: 560px; }
.text-white-75 { color: rgba(255,255,255,.78); }
.eyebrow, .section-kicker {
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-eyebrow {
    display: inline-flex;
    padding: .55rem .8rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #ffe0a3;
}

.journal-hero h1 {
    max-width: 900px;
    line-height: .98;
    text-wrap: balance;
}

.journal-hero .lead {
    max-width: 760px;
    font-size: 1.18rem;
    line-height: 1.75;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .6rem .85rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}

.glass-panel {
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px;
    padding: 2rem;
    background: rgba(255,255,255,.13);
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
    backdrop-filter: blur(20px);
}

.hero-callout {
    position: relative;
    transform: translateY(0);
    animation: cardDrift 7s ease-in-out infinite alternate;
}

.hero-callout::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(216,162,58,.6), rgba(34,197,184,.35));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.slider-list {
    display: grid;
    gap: .65rem;
}

.slider-item {
    padding: .75rem;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.09);
}

.slider-item strong,
.slider-item span {
    display: block;
}

.slider-item span {
    color: rgba(255,255,255,.72);
    font-size: .9rem;
}

.slider-item a {
    display: inline-block;
    margin-top: .35rem;
    color: #ffe0a3;
    font-weight: 700;
}

.btn-glass {
    color: #fff;
    border: 1px solid rgba(255,255,255,.42);
    background: rgba(255,255,255,.12);
}

.surface-section { background: var(--surface); }
.section-title { font-weight: 800; color: var(--ink); }

.metric-card, .article-card, .person-card, .info-panel, .indexing-panel, .form-card, .panel, .review-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(16, 32, 51, .06);
}

.metric-card {
    padding: 1.25rem;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.metric-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -45% 35%;
    height: 90px;
    background: rgba(7,94,125,.08);
    transform: rotate(-10deg);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(16,32,51,.12);
}

.metric-card strong {
    display: block;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: var(--primary);
}

.metric-card span { color: var(--muted); }

.workflow-ribbon {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
    padding: .7rem .85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16,32,51,.06);
}

.workflow-ribbon span {
    font-weight: 800;
    color: var(--primary);
}

.workflow-ribbon i {
    color: var(--accent);
}

.discipline-showcase {
    background:
        linear-gradient(180deg, #f6f8fc, #eef7f8);
}

.discipline-card {
    min-height: 190px;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.discipline-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background: linear-gradient(135deg, var(--card-a), var(--card-b));
}

.discipline-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -42px;
    bottom: -48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--card-a), var(--card-b));
    opacity: .16;
    transition: transform .2s ease, opacity .2s ease;
}

.discipline-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--card-a), #fff 45%);
    box-shadow: 0 24px 54px rgba(16, 32, 51, .14);
}

.discipline-card:hover .discipline-icon {
    transform: rotate(-3deg) scale(1.06);
}

.discipline-card:hover::after {
    transform: scale(1.16);
    opacity: .22;
}

.discipline-card > * {
    position: relative;
    z-index: 1;
}

.discipline-card-1 { --card-a: #0ea5e9; --card-b: #22c55e; }
.discipline-card-2 { --card-a: #f97316; --card-b: #facc15; }
.discipline-card-3 { --card-a: #8b5cf6; --card-b: #ec4899; }
.discipline-card-4 { --card-a: #14b8a6; --card-b: #2563eb; }
.discipline-card-5 { --card-a: #ef4444; --card-b: #f59e0b; }
.discipline-card-6 { --card-a: #64748b; --card-b: #06b6d4; }

.discipline-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--card-a), var(--card-b));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--card-a), transparent 72%);
    transition: transform .22s ease;
}

.discipline-card i {
    font-size: 1.7rem;
}

.discipline-card h3, .discipline-card h4 {
    font-size: 1rem;
    font-weight: 800;
}

.discipline-card p, .article-card p { color: var(--muted); margin-bottom: 0; }

.article-card {
    position: relative;
    overflow: hidden;
    padding: 1.35rem;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.article-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(216,162,58,.18), transparent 24%),
        linear-gradient(135deg, rgba(7,94,125,.08), rgba(216,162,58,.08));
    transition: opacity .22s ease;
}

.article-card::after {
    content: "";
    position: absolute;
    right: -42px;
    top: -42px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(7,94,125,.18), rgba(216,162,58,.16));
    transform: scale(.8);
    opacity: 0;
    transition: transform .22s ease, opacity .22s ease;
}

.article-card > * {
    position: relative;
    z-index: 1;
}

.article-card:hover {
    transform: translateY(-6px);
    border-color: rgba(7,94,125,.28);
    box-shadow: 0 24px 55px rgba(16,32,51,.14);
}

.article-card:hover::before {
    opacity: 1;
}

.article-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.article-card h3 { font-size: 1.15rem; margin: .9rem 0; line-height: 1.35; }
.article-card h3 a {
    color: var(--ink);
    transition: color .18s ease;
}

.article-card:hover h3 a {
    color: var(--primary);
}

.article-meta {
    margin-top: .8rem;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 900;
}

.article-read-more i {
    transition: transform .18s ease;
}

.article-card:hover .article-read-more i {
    transform: translateX(5px);
}

.content-panel,
.issue-banner,
.search-panel,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(16, 32, 51, .06);
}

.content-panel {
    padding: 1.5rem;
}

.content-panel p,
.content-panel li {
    color: var(--muted);
    line-height: 1.75;
}

.issue-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    background:
        linear-gradient(90deg, #fff, #f5fbfc);
    transition: transform .22s ease, box-shadow .22s ease;
}

.issue-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(16,32,51,.1);
}

.issue-banner h2 {
    margin-bottom: .25rem;
    font-weight: 900;
}

.archive-card,
.guideline-card {
    position: relative;
    overflow: hidden;
}

.guideline-feature-card {
    position: relative;
    overflow: hidden;
    min-height: 285px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.35rem;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 14px 35px rgba(16, 32, 51, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.guideline-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background:
        radial-gradient(circle at var(--mx, 75%) var(--my, 25%), rgba(255,255,255,.9), transparent 18%),
        linear-gradient(135deg, var(--guide-a), var(--guide-b));
}

.guideline-feature-card::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -52px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--guide-a), var(--guide-b));
    opacity: .16;
    transition: transform .22s ease, opacity .22s ease;
}

.guideline-feature-card > * {
    position: relative;
    z-index: 1;
}

.guideline-feature-card:hover {
    color: var(--ink);
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--guide-a), #fff 45%);
    box-shadow: 0 28px 65px rgba(16,32,51,.16);
}

.guideline-feature-card:hover::after {
    transform: scale(1.18);
    opacity: .24;
}

.guideline-feature-card:hover .guideline-icon {
    transform: rotate(-3deg) scale(1.07);
}

.guideline-feature-card:hover .discipline-link i {
    transform: translateX(5px);
}

.guideline-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 8px;
    color: #fff;
    font-size: 1.55rem;
    background: linear-gradient(135deg, var(--guide-a), var(--guide-b));
    box-shadow: 0 16px 30px color-mix(in srgb, var(--guide-a), transparent 72%);
    transition: transform .22s ease;
}

.guideline-type {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: .8rem;
    padding: .25rem .6rem;
    border: 1px solid color-mix(in srgb, var(--guide-a), #fff 70%);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255,255,255,.76);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.guideline-feature-card h2 {
    font-weight: 900;
    color: var(--ink);
}

.guideline-feature-card p {
    color: var(--muted);
    line-height: 1.65;
}

.guideline-feature-1 { --guide-a: #0ea5e9; --guide-b: #22c55e; }
.guideline-feature-2 { --guide-a: #8b5cf6; --guide-b: #ec4899; }
.guideline-feature-3 { --guide-a: #f97316; --guide-b: #facc15; }
.guideline-feature-4 { --guide-a: #14b8a6; --guide-b: #2563eb; }
.guideline-feature-5 { --guide-a: #ef4444; --guide-b: #f59e0b; }
.guideline-feature-6 { --guide-a: #64748b; --guide-b: #06b6d4; }

.archive-card::after,
.guideline-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(7,94,125,.14), rgba(216,162,58,.18));
    transition: transform .22s ease, opacity .22s ease;
}

.archive-card:hover::after,
.guideline-card:hover::after {
    transform: scale(1.16);
    opacity: .9;
}

.archive-card > *,
.guideline-card > * {
    position: relative;
    z-index: 1;
}

.search-panel {
    padding: 1rem;
    background:
        linear-gradient(135deg, #fff, #f7fbfc);
    transition: box-shadow .22s ease, transform .22s ease;
}

.search-panel:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 24px 55px rgba(16,32,51,.12);
}

.empty-state {
    padding: 2rem;
    color: var(--muted);
    text-align: center;
    background:
        linear-gradient(135deg, #fff, #f7fbfc);
}

.person-card {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e6f4f7;
    color: var(--primary);
    font-weight: 800;
}

.avatar-photo {
    object-fit: cover;
}

.board-card {
    align-items: flex-start;
    transition: transform .2s ease, box-shadow .2s ease;
}

.board-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(16,32,51,.12);
}

.board-profile-card {
    position: relative;
    overflow: hidden;
    min-height: 345px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.35rem;
    background: #fff;
    box-shadow: 0 14px 35px rgba(16, 32, 51, .06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.board-profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .11;
    background: linear-gradient(135deg, var(--board-a), var(--board-b));
}

.board-profile-card::after {
    content: "";
    position: absolute;
    right: -54px;
    top: -54px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--board-a), var(--board-b));
    opacity: .16;
    transition: transform .22s ease, opacity .22s ease;
}

.board-profile-card > * {
    position: relative;
    z-index: 1;
}

.board-profile-card:hover {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--board-a), #fff 45%);
    box-shadow: 0 28px 65px rgba(16,32,51,.16);
}

.board-profile-card:hover::after {
    transform: scale(1.18);
    opacity: .24;
}

.board-profile-featured {
    text-align: center;
}

.board-profile-featured .board-avatar {
    margin-left: auto;
    margin-right: auto;
}

.board-card-glow {
    position: absolute;
    inset: auto 18px 18px auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--board-a);
    filter: blur(34px);
    opacity: .18;
    z-index: 0;
}

.board-avatar {
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    border-radius: 8px;
    color: #fff;
    font-size: 2.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--board-a), var(--board-b));
    box-shadow: 0 16px 30px color-mix(in srgb, var(--board-a), transparent 72%);
}

.board-avatar-photo {
    object-fit: cover;
}

.board-role {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: .8rem;
    padding: .25rem .6rem;
    border: 1px solid color-mix(in srgb, var(--board-a), #fff 70%);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255,255,255,.72);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.board-profile-card h2 {
    margin-bottom: .55rem;
    font-size: 1.18rem;
    font-weight: 900;
    color: var(--ink);
}

.board-profile-card p {
    color: var(--muted);
    line-height: 1.6;
}

.board-email {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--primary);
    font-weight: 800;
    word-break: break-word;
}

.board-email:hover {
    color: var(--primary-2);
}

.board-profile-1 { --board-a: #0ea5e9; --board-b: #14b8a6; }
.board-profile-2 { --board-a: #f97316; --board-b: #facc15; }
.board-profile-3 { --board-a: #8b5cf6; --board-b: #ec4899; }
.board-profile-4 { --board-a: #22c55e; --board-b: #2563eb; }
.board-profile-5 { --board-a: #ef4444; --board-b: #f59e0b; }
.board-profile-6 { --board-a: #64748b; --board-b: #06b6d4; }

.contact-panel {
    min-height: 100%;
    background:
        linear-gradient(180deg, #fff, #f8fbfd);
}

.announcement-row {
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 0;
}

.announcement-list {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .4rem 1.4rem;
    background: #fff;
    box-shadow: 0 14px 35px rgba(16,32,51,.06);
}

.announcement-row span { color: var(--accent); font-weight: 700; }
.announcement-row h2, .announcement-row h3 { font-size: 1.15rem; margin: .3rem 0; }
.announcement-row p { color: var(--muted); margin: 0; }

.indexing-panel, .info-panel, .form-card, .panel, .review-box { padding: 1.5rem; }

.form-control,
.form-select {
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(7,94,125,.55);
    box-shadow: 0 0 0 .2rem rgba(7,94,125,.12);
}

.form-card {
    transition: transform .22s ease, box-shadow .22s ease;
}

.form-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 24px 55px rgba(16,32,51,.12);
}
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.partner-grid span {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .8rem;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    background: #fff;
}

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

.workflow-grid span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .55rem;
    text-align: left;
}

.workflow-grid i {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #22a6a6);
}

.reveal-section,
.reveal-up {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .82s cubic-bezier(.2,.8,.2,1), transform .82s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-section.is-visible,
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-card {
    opacity: 0;
    transform: translateY(26px) scale(.975);
    transition:
        opacity .72s cubic-bezier(.2,.8,.2,1),
        transform .72s cubic-bezier(.2,.8,.2,1),
        box-shadow .2s ease,
        border-color .2s ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.scroll-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal-section::before {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-bottom: 1.25rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: 0;
    transform: scaleX(.4);
    transform-origin: left;
    transition: opacity .7s ease, transform .7s ease;
}

.reveal-section.is-visible::before {
    opacity: 1;
    transform: scaleX(1);
}

.delay-1 {
    transition-delay: .12s;
}

@keyframes heroFloat {
    from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
    to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

@keyframes cardDrift {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

.page-hero, .article-hero {
    color: #fff;
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.page-hero-premium {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 6rem 0;
    background:
        linear-gradient(115deg, rgba(16,32,51,.96), rgba(7,94,125,.88)),
        url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.page-hero-premium::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(244,247,251,0), var(--surface));
    z-index: -1;
}

.page-hero h1, .article-hero h1 { font-weight: 800; max-width: 960px; }
.page-hero p, .article-hero .authors { max-width: 780px; color: rgba(255,255,255,.78); font-size: 1.12rem; }

.page-hero-premium h1 {
    margin-top: 1rem;
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    line-height: 1;
    text-wrap: balance;
}

.page-hero-premium p {
    margin-top: 1rem;
    line-height: 1.75;
}

.article-side {
    position: sticky;
    top: 90px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.5rem;
    background: #fff;
}

.article-side strong, .info-panel strong {
    display: block;
    color: var(--primary);
    margin-top: .8rem;
}

.auth-section {
    min-height: 75vh;
    display: grid;
    place-items: center;
    padding: 3rem 1rem;
    background: var(--surface);
}

.auth-card {
    width: min(100%, 460px);
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 2rem;
    box-shadow: 0 20px 55px rgba(16,32,51,.08);
}

.auth-card.wide { width: min(100%, 860px); }

.dashboard-body { background: var(--surface); }
.dashboard-sidebar {
    width: 270px;
    flex: 0 0 270px;
    background: #102033;
}

.dashboard-sidebar .nav-link {
    color: rgba(255,255,255,.76);
    border-radius: 8px;
}

.dashboard-sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}

.dashboard-main { min-width: 0; }
.module-list { display: grid; gap: .65rem; }
.module-list span,
.module-list a {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .75rem;
    color: var(--muted);
    background: #fff;
}

.module-list a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.payment-amount {
    min-width: 150px;
}

.payment-amount .form-control + .form-control {
    margin-top: .4rem;
}

.assignment-form {
    min-width: 260px;
}

.reviewer-checklist {
    max-height: 150px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .6rem .75rem;
    background: #fff;
}

.review-table td {
    vertical-align: top;
    min-width: 140px;
}

.review-table p {
    margin-bottom: .6rem;
    color: var(--muted);
}

.publication-editor {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.15rem;
    background: #fff;
}

.publication-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.publication-checks {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.publication-checks span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .86rem;
    background: var(--surface);
}

.publication-checks .complete {
    color: #126c44;
    background: #e8f6ee;
    border-color: #bde5cc;
}

.publication-checks .missing {
    color: #8a5a00;
    background: #fff7df;
    border-color: #f1d287;
}

.publication-file {
    min-height: 38px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider-list {
    display: grid;
    gap: .65rem;
}

.slider-item {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    padding: .75rem;
    background: rgba(255,255,255,.1);
}

.slider-item strong,
.slider-item span {
    display: block;
}

.slider-item span {
    color: rgba(255,255,255,.75);
    font-size: .9rem;
}

.slider-item a {
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
}

.check-list li { margin-bottom: .8rem; }

.policy-content h2,
.policy-content h3,
.policy-content h4 {
    margin-top: 1.25rem;
    font-weight: 800;
}

.policy-content p,
.policy-content li {
    color: var(--ink);
    line-height: 1.75;
}

.policy-nav-card {
    position: sticky;
    top: 96px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.35rem;
    background:
        linear-gradient(180deg, #fff, #f8fbfd);
    box-shadow: 0 18px 45px rgba(16,32,51,.08);
}

.policy-quick-links {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
}

.policy-quick-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: .65rem .75rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 800;
    background: #fff;
    transition: transform .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.policy-quick-links a::after {
    content: "\F285";
    font-family: bootstrap-icons;
    color: var(--accent);
}

.policy-quick-links a:hover {
    color: var(--primary);
    border-color: rgba(7,94,125,.35);
    transform: translateX(4px);
    box-shadow: 0 12px 26px rgba(16,32,51,.08);
}

.policy-accordion {
    display: grid;
    gap: .9rem;
}

.policy-item {
    overflow: hidden;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 35px rgba(16,32,51,.06);
}

.policy-item .accordion-button {
    gap: .8rem;
    padding: 1rem 1.15rem;
    color: var(--ink);
    font-weight: 900;
    background: #fff;
    box-shadow: none;
}

.policy-item .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: linear-gradient(90deg, #f4fbfc, #fff);
}

.policy-number {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #22a6a6);
    font-size: .82rem;
}

.policy-item .accordion-body {
    padding: 1.25rem 1.4rem 1.45rem;
    background: #fff;
}

.discipline-group {
    margin-top: 2rem;
}

.discipline-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--line);
}

.discipline-group-header h2 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--ink);
}

.discipline-group-header span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .35rem .7rem;
    border-radius: 999px;
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--line);
    font-size: .85rem;
    font-weight: 800;
}

.discipline-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .75rem;
    color: var(--primary);
    font-weight: 900;
    font-size: .9rem;
}

.discipline-card:hover .discipline-link i {
    transform: translateX(4px);
}

.discipline-link i {
    transition: transform .18s ease;
}

.ck-editor__editable {
    min-height: 260px;
}

@media print {
    .dashboard-sidebar,
    .dashboard-main > .d-flex,
    .no-print {
        display: none !important;
    }

    .dashboard-body,
    .dashboard-main,
    .panel {
        background: #fff !important;
        box-shadow: none !important;
        border: 0 !important;
    }
}

.footer-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, #07192b, #102033 48%, #075e7d);
}

.footer-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(216,162,58,.22), transparent 28%),
        radial-gradient(circle at 86% 28%, rgba(34,197,184,.18), transparent 30%),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: auto, auto, 58px 58px, 58px 58px;
    opacity: .9;
    pointer-events: none;
    z-index: -1;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.footer-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    padding: 8px;
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 36px rgba(0,0,0,.22);
}

.footer-brand h3 {
    margin: 0;
    font-weight: 900;
}

.footer-brand p,
.footer-summary,
.footer-bottom,
.footer-contact span {
    color: rgba(255,255,255,.72);
}

.footer-brand p {
    margin: 0;
}

.footer-summary {
    max-width: 620px;
    margin: 1rem 0 0;
    line-height: 1.7;
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
}

.footer-cta span {
    color: rgba(255,255,255,.86);
    font-weight: 800;
}

.footer-grid h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-section a:not(.btn) {
    display: flex;
    align-items: center;
    width: fit-content;
    color: rgba(255,255,255,.74);
    margin-bottom: .55rem;
    transition: color .18s ease, transform .18s ease;
}

.footer-section a:not(.btn)::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: .5rem;
    border-radius: 50%;
    background: var(--accent);
    opacity: .55;
    transition: opacity .18s ease, transform .18s ease;
}

.footer-section a:not(.btn):hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-section a:not(.btn):hover::before {
    opacity: 1;
    transform: scale(1.3);
}

.footer-contact {
    display: grid;
    gap: .6rem;
    margin-bottom: 1rem;
}

.footer-contact span {
    display: flex;
    gap: .55rem;
    line-height: 1.45;
}

.footer-contact i {
    color: #ffd166;
}

.footer-newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .55rem;
}

.footer-newsletter .form-control {
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    background: rgba(255,255,255,.1);
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255,255,255,.58);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.14);
    font-size: .9rem;
}

.landing-hidden-credit {
    color: #fff;
    font-size: .85rem;
    line-height: 1;
    text-align: center;
    user-select: text;
}

.footer-bottom small {
    display: inline-block;
    margin-top: .25rem;
    color: rgba(255,255,255,.62);
}

@media (max-width: 991px) {
    .hero-section, .min-vh-hero { min-height: auto; }
    .hero-section { padding: 5rem 0; }
    .journal-hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
    .hero-proof { margin-top: 2rem !important; }
    .hero-callout { animation: none; }
    .site-navbar {
        min-height: 68px;
    }
    .site-navbar .navbar-collapse {
        margin-top: .85rem;
        padding: 1rem;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(16,32,51,.12);
    }
    .site-nav-list {
        align-items: stretch;
        gap: .35rem;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .site-nav-link {
        justify-content: space-between;
        border: 1px solid transparent;
        border-radius: 8px;
        padding: .78rem .9rem !important;
    }
    .site-nav-link::after {
        display: none;
    }
    .site-nav-link:hover {
        border-color: var(--line);
    }
    .site-nav-actions {
        margin-top: .85rem;
        display: grid;
        grid-template-columns: 44px 1fr;
    }
    .nav-search,
    .btn-submit-nav {
        width: 100%;
        justify-content: center;
    }
    .policy-nav-card {
        position: static;
    }
    .footer-top,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
    .footer-cta {
        width: 100%;
        justify-content: space-between;
    }
    .dashboard-sidebar { display: none; }
}

@media (max-width: 575px) {
    .journal-hero .lead { font-size: 1rem; line-height: 1.6; }
    .glass-panel { padding: 1.25rem; }
    .workflow-ribbon {
        width: 100%;
        border-radius: 8px;
        justify-content: center;
    }
    .discipline-card {
        min-height: auto;
        padding: 1rem;
    }
    .hero-proof span {
        width: 100%;
        justify-content: center;
    }
    .footer-cta,
    .footer-newsletter {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }
}

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

    .reveal-section,
    .reveal-up {
        opacity: 1;
        transform: none;
    }
}
/* Force scroll-reveal elements to be visible on mobile if JS fails */
@media (max-width: 768px) {
    .reveal-section,
    .reveal-up {
        opacity: 1 !important;
        transform: none !important;
    }
}
