:root {
    color-scheme: light;
    --brand-navy: #062b52;
    --brand-navy-2: #0c3d69;
    --brand-gold: #c9853b;
    --brand-gold-2: #dca157;
    --brand-cream: #fffaf2;
    --brand-serif: "Cormorant Garamond", Georgia, serif;
    --bg: #f4efe7;
    --bg-soft: #fffaf2;
    --surface: rgba(255, 250, 243, 0.92);
    --surface-strong: rgba(255, 253, 248, 0.97);
    --surface-deep: rgba(244, 237, 227, 0.95);
    --ink: #062b52;
    --muted: #657286;
    --line: rgba(8, 45, 83, 0.13);
    --accent: #c9853b;
    --accent-strong: #062b52;
    --accent-2: #efd3ae;
    --accent-soft: rgba(201, 133, 59, 0.13);
    --dark: #062b52;
    --dark-2: #0c3d69;
    --shadow: 0 18px 42px rgba(73, 62, 48, 0.11), -10px -10px 26px rgba(255, 255, 255, 0.72);
    --shadow-strong: 0 28px 68px rgba(72, 59, 44, 0.16), -14px -14px 36px rgba(255, 255, 255, 0.82);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --header-bg: rgba(255, 250, 242, 0.88);
    --grid-line: rgba(8, 45, 83, 0.045);
    --orb-one: rgba(201, 133, 59, 0.12);
    --orb-two: rgba(6, 43, 82, 0.08);
    --progress-fill: linear-gradient(90deg, #062b52, #c9853b, #0c3d69);
    --neuro-bg: #f4efe7;
    --neuro-plate: #fbf5ec;
    --neuro-plate-strong: #fffdf8;
    --neuro-highlight: rgba(255, 255, 255, 0.92);
    --neuro-shadow: rgba(108, 92, 72, 0.25);
    --neuro-shadow-soft: rgba(126, 104, 82, 0.16);
    --neuro-raised: 0 16px 36px rgba(87, 68, 48, 0.11), -8px -8px 22px rgba(255, 255, 255, 0.72);
    --neuro-raised-strong: 0 24px 58px rgba(79, 59, 39, 0.16), -12px -12px 30px rgba(255, 255, 255, 0.8);
    --neuro-inset: inset 5px 5px 13px rgba(126, 105, 84, 0.14), inset -5px -5px 13px rgba(255, 255, 255, 0.78);
    --neuro-inset-soft: inset 3px 3px 8px rgba(126, 105, 84, 0.1), inset -3px -3px 8px rgba(255, 255, 255, 0.66);
    --neuro-border: rgba(255, 255, 255, 0.58);
    --neuro-gradient: linear-gradient(145deg, #fffdf8, #efe5d7);
}

html[data-theme-mode="dark"] {
    color-scheme: dark;
    --bg: #06111f;
    --bg-soft: #0b1726;
    --surface: rgba(12, 24, 38, 0.92);
    --surface-strong: rgba(16, 30, 48, 0.97);
    --surface-deep: rgba(8, 17, 29, 0.97);
    --ink: #fff7ec;
    --muted: #b7c0cc;
    --line: rgba(221, 169, 96, 0.16);
    --accent: #e0a35a;
    --accent-strong: #f0be75;
    --accent-2: #f2d4a6;
    --accent-soft: rgba(224, 163, 90, 0.14);
    --dark: #f3f8ff;
    --dark-2: #dbe8ff;
    --shadow: 0 20px 46px rgba(0, 0, 0, 0.28), -8px -8px 20px rgba(55, 79, 111, 0.08);
    --shadow-strong: 0 30px 72px rgba(0, 0, 0, 0.36), -12px -12px 30px rgba(67, 95, 132, 0.1);
    --header-bg: rgba(8, 18, 31, 0.84);
    --grid-line: rgba(224, 163, 90, 0.045);
    --orb-one: rgba(224, 163, 90, 0.1);
    --orb-two: rgba(30, 75, 118, 0.18);
    --progress-fill: linear-gradient(90deg, #e0a35a, #fff0c7, #0c3d69);
    --neuro-bg: #07111f;
    --neuro-plate: #0d1828;
    --neuro-plate-strong: #111f34;
    --neuro-highlight: rgba(79, 109, 148, 0.16);
    --neuro-shadow: rgba(0, 0, 0, 0.42);
    --neuro-shadow-soft: rgba(0, 0, 0, 0.28);
    --neuro-raised: 0 18px 40px rgba(0, 0, 0, 0.28), -8px -8px 20px rgba(78, 108, 145, 0.08);
    --neuro-raised-strong: 0 28px 64px rgba(0, 0, 0, 0.36), -12px -12px 28px rgba(74, 103, 139, 0.1);
    --neuro-inset: inset 5px 5px 13px rgba(0, 0, 0, 0.28), inset -5px -5px 13px rgba(78, 108, 145, 0.09);
    --neuro-inset-soft: inset 3px 3px 8px rgba(0, 0, 0, 0.2), inset -3px -3px 8px rgba(78, 108, 145, 0.07);
    --neuro-border: rgba(154, 199, 255, 0.1);
    --neuro-gradient: linear-gradient(145deg, #121f33, #07111f);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-color: color-mix(in srgb, var(--accent-strong) 55%, transparent) color-mix(in srgb, var(--accent) 12%, transparent);
}

body {
    margin: 0;
    min-height: 100vh;
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(121, 201, 255, 0.12), transparent 22%),
        radial-gradient(circle at top right, rgba(24, 119, 255, 0.08), transparent 18%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
    transition: background 320ms ease, color 260ms ease;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 3px solid transparent;
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 62%, white), var(--accent-strong));
    background-clip: padding-box;
}

body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-strong), color-mix(in srgb, var(--accent-strong) 72%, black));
    background-clip: padding-box;
}

main,
.site-header,
.site-footer {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
.navbar-brand strong,
.footer-title,
.btn,
.meta-chip,
.filter-pill {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 3px;
    z-index: 1200;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    pointer-events: none;
}

.scroll-progress::after {
    content: "";
    display: block;
    width: var(--scroll-progress, 0%);
    height: 100%;
    background: var(--progress-fill);
    box-shadow: 0 0 18px rgba(83, 169, 255, 0.45);
    transition: width 120ms linear;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 92%);
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(52px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    display: none;
}

.bg-orb-one {
    width: 360px;
    height: 360px;
    top: 96px;
    right: -42px;
    background: var(--orb-one);
    animation: float-orb-one 15s ease-in-out infinite;
}

.bg-orb-two {
    width: 300px;
    height: 300px;
    bottom: 54px;
    left: -70px;
    background: var(--orb-two);
    animation: float-orb-two 18s ease-in-out infinite;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(14px);
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.site-header.scrolled {
    box-shadow: 0 14px 36px rgba(16, 42, 76, 0.08);
    border-bottom-color: var(--line);
}

.editorial-topbar {
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
}

.editorial-topbar-inner,
.editorial-topbar-left,
.editorial-topbar-right,
.editorial-topbar-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.editorial-topbar-inner {
    justify-content: space-between;
    min-height: 40px;
    font-size: 0.8rem;
}

.editorial-topbar-label {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.72rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 12%, white);
    color: var(--accent-strong);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.editorial-topbar-links {
    flex-wrap: wrap;
}

.editorial-topbar-links a,
.editorial-topbar-right a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 700;
    transition: color 220ms ease, transform 220ms ease;
}

.editorial-topbar-links a:hover,
.editorial-topbar-right a:hover {
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.navbar-brand {
    font-size: 1rem;
    color: var(--ink);
    min-width: fit-content;
}

.navbar {
    background: transparent;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 14px 32px rgba(24, 119, 255, 0.16);
}

.brand-mark-has-logo {
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.4rem;
}

.nav-link {
    color: var(--ink);
    font-weight: 700;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    font-size: 0.94rem;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    transition: transform 220ms ease;
}

.nav-link.active,
.nav-link:hover {
    color: var(--accent-strong);
}

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

.nav-link-category-featured {
    padding-inline: 0.55rem !important;
}

.primary-category-nav {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 94%, transparent);
}

.primary-category-scroller {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding: 0.9rem 0 1rem;
    scrollbar-width: none;
}

.primary-category-scroller::-webkit-scrollbar {
    display: none;
}

.primary-category-link {
    --category-accent: var(--accent-strong);
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.88rem 0.95rem;
    border-radius: 18px;
    text-decoration: none;
    color: var(--ink);
    background: color-mix(in srgb, var(--category-accent) 8%, white);
    border: 1px solid color-mix(in srgb, var(--category-accent) 14%, transparent);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

html[data-theme-mode="dark"] .primary-category-link {
    background: color-mix(in srgb, var(--category-accent) 8%, rgba(255, 255, 255, 0.02));
}

.primary-category-link:hover,
.primary-category-link.active {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--category-accent) 26%, transparent);
}

.primary-category-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--category-accent);
    flex-shrink: 0;
}

html[data-theme-mode="dark"] .primary-category-icon {
    background: rgba(255, 255, 255, 0.06);
}

.primary-category-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.primary-category-copy strong {
    font-size: 0.95rem;
}

.primary-category-copy small {
    color: var(--muted);
    font-weight: 600;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 98px;
    justify-content: center;
}

.theme-toggle-icon {
    transition: transform 220ms ease;
}

.theme-toggle:hover .theme-toggle-icon {
    transform: rotate(-12deg) scale(1.08);
}

.eyebrow,
.hero-panel-label,
.footer-card-label,
.ad-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-strong);
}

.section-space {
    padding: 2.75rem 0 5rem;
}

.hero-section {
    padding: 4.8rem 0 3.2rem;
}

.page-hero,
.article-hero {
    padding: 3.5rem 0 2rem;
}

.hero-title,
.page-hero h1,
.article-title {
    font-size: clamp(2.85rem, 5vw, 5.4rem);
    line-height: 0.93;
    margin-bottom: 1rem;
    max-width: 11.5ch;
}

.hero-description,
.page-hero p,
.article-excerpt {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 64ch;
}

.hero-grid,
.editorial-grid {
    display: grid;
    gap: 1.5rem;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
}

.hero-grid-magazine {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    align-items: start;
}

.hero-main-panel,
.hero-side-card,
.page-hero-panel,
.featured-story,
.post-card,
.category-card,
.info-panel,
.category-panel,
.search-panel,
.article-hero-shell,
.article-body,
.article-callout,
.article-side-card,
.cta-banner,
.footer-card,
.admin-card,
.stat-card,
.empty-state,
.category-preview-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    content-visibility: auto;
    contain-intrinsic-size: 320px;
    transition:
        background 260ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease,
        transform 260ms ease,
        color 260ms ease;
}

.hero-main-panel,
.page-hero-panel,
.hero-side-card,
.info-panel,
.category-panel,
.search-panel,
.article-callout,
.article-side-card,
.footer-card,
.admin-card,
.stat-card,
.empty-state,
.category-preview-card {
    padding: 1.6rem;
}

.hero-main-panel,
.page-hero-panel,
.article-hero-shell,
.category-hero-shell,
.category-preview-card {
    position: relative;
    overflow: hidden;
}

.hero-main-panel::before,
.page-hero-panel::before,
.article-hero-shell::before,
.category-hero-shell::before,
.category-preview-card::before {
    content: "";
    position: absolute;
    inset: -20% auto auto -10%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(116, 200, 255, 0.22), transparent 70%);
    pointer-events: none;
}

.hero-main-panel::after,
.page-hero-panel::after,
.article-hero-shell::after,
.category-hero-shell::after,
.category-preview-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -35% auto;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(45, 143, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.hero-main-panel > *,
.page-hero-panel > *,
.article-hero-shell > *,
.category-hero-shell > *,
.category-preview-card > * {
    position: relative;
    z-index: 1;
}

.hero-main-panel {
    padding: 2.45rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.9)),
        var(--surface-strong);
    box-shadow: var(--shadow-strong);
}

html[data-theme-mode="dark"] .hero-main-panel {
    background:
        linear-gradient(180deg, rgba(12, 28, 48, 0.96), rgba(11, 24, 41, 0.88)),
        var(--surface-strong);
}

.hero-side-panel,
.editorial-sidebar,
.sidebar-stack,
.category-list,
.admin-category-stack,
.footer-category-links {
    display: grid;
    gap: 1rem;
}

.hero-side-card.dark,
.panel-dark,
.admin-card-dark {
    background: linear-gradient(180deg, var(--dark-2), var(--dark));
    border-color: transparent;
    color: #f5fbff;
    box-shadow: var(--shadow-strong);
}

.hero-side-card.dark p,
.hero-side-card.dark li,
.panel-dark p,
.panel-dark li,
.admin-card-dark p,
.admin-card-dark li {
    color: rgba(241, 248, 255, 0.78);
}

.hero-side-card h2,
.section-head h2,
.cta-banner h2,
.featured-story h3,
.post-card h3,
.category-card h3,
.article-callout h3,
.article-side-card h3,
.admin-header h1,
.category-preview-card h3 {
    margin-bottom: 0.5rem;
}

.hero-side-card p,
.info-panel p,
.category-panel p,
.footer-card p,
.article-callout p,
.article-side-card p,
.page-hero-panel p,
.category-card p,
.cta-banner p,
.category-preview-card p {
    color: var(--muted);
}

.hero-checklist,
.footer-list {
    margin: 0;
    padding-left: 1.1rem;
}

.hero-checklist li,
.footer-list li {
    margin-bottom: 0.75rem;
}

.hero-kpis,
.hero-actions,
.featured-actions,
.author-line,
.post-meta,
.footer-bottom,
.cta-actions,
.admin-nav,
.category-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.95rem;
    align-items: center;
}

.hero-kpis {
    margin-top: 2rem;
}

.kpi-card {
    min-width: 170px;
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(59, 117, 169, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

html[data-theme-mode="dark"] .kpi-card {
    background: rgba(12, 28, 48, 0.68);
    border-color: rgba(129, 212, 255, 0.12);
}

.kpi-card strong {
    display: block;
    font-size: 1.55rem;
    margin-bottom: 0.2rem;
}

.kpi-card span,
.signal-strip span,
.post-card p,
.post-link,
.article-body,
.author-line,
.admin-card p,
.stat-card span,
.stat-card small,
.category-item-copy small {
    color: var(--muted);
}

.signal-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.signal-strip span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--line);
    font-weight: 600;
}

.signal-strip i {
    color: var(--accent-strong);
}

.section-head,
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-link {
    text-decoration: none;
    font-weight: 700;
    color: var(--accent-strong);
}

.section-link:hover {
    color: var(--ink);
}

.featured-story {
    overflow: hidden;
}

.featured-story-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.featured-copy {
    padding: 2.45rem;
}

.featured-copy p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 54ch;
}

.featured-media {
    position: relative;
    overflow: hidden;
}

.featured-media::after,
.post-card-media::after,
.article-cover::after,
.headline-story-media::after,
.archive-lead-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(10, 25, 43, 0.14));
    pointer-events: none;
}

.featured-media img,
.post-card-media img,
.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 480ms ease;
}

.post-card {
    overflow: hidden;
    height: 100%;
    position: relative;
}

.post-card::before,
.category-card::before,
.info-panel::before,
.category-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms ease;
}

.post-card:hover,
.category-card:hover,
.info-panel:hover,
.category-panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.post-card:hover::before,
.category-card:hover::before,
.info-panel:hover::before,
.category-panel:hover::before {
    opacity: 1;
}

.post-card:hover img,
.featured-story:hover img,
.article-cover:hover img {
    transform: scale(1.04);
}

.magazine-hero-section {
    padding-top: 3.5rem;
}

.magazine-intro-bar,
.digest-ribbon,
.archive-lead-story,
.sidebar-widget,
.headline-story-card,
.story-mini-card,
.story-inline-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.magazine-intro-bar {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.95rem 1.1rem;
}

.magazine-intro-copy p {
    margin: 0.2rem 0 0;
    color: var(--muted);
}

.magazine-intro-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.magazine-intro-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--line);
    font-weight: 700;
    color: var(--ink);
}

html[data-theme-mode="dark"] .magazine-intro-badges span {
    background: rgba(255, 255, 255, 0.04);
}

.headline-story-shell,
.headline-story-card,
.headline-story,
.headline-story-media,
.story-mini-media,
.archive-lead-media {
    position: relative;
}

.headline-story-card {
    overflow: hidden;
    padding: 1.6rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.8)),
        radial-gradient(circle at top right, rgba(116, 200, 255, 0.16), transparent 32%);
}

html[data-theme-mode="dark"] .headline-story-card {
    background:
        linear-gradient(180deg, rgba(12, 28, 48, 0.98), rgba(11, 24, 41, 0.88)),
        radial-gradient(circle at top right, rgba(83, 169, 255, 0.12), transparent 32%);
}

.headline-story {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 1.25rem;
    align-items: stretch;
    margin-top: 1.5rem;
}

.headline-story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.headline-story h2,
.archive-lead-copy h3 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 0.98;
    margin-bottom: 0.85rem;
}

.headline-story h2 a,
.archive-lead-copy h3 a,
.story-mini-copy h3 a,
.story-inline-copy h3 a {
    text-decoration: none;
    color: inherit;
}

.headline-story p,
.archive-lead-copy p,
.story-inline-copy p {
    color: var(--muted);
    font-size: 1.02rem;
}

.headline-story-actions,
.headline-story-metrics,
.stack-title-row,
.post-card-footer,
.post-card-signal,
.story-mini-footer,
.story-inline-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.headline-story-actions {
    margin-top: 1rem;
}

.headline-story-metrics,
.story-mini-footer,
.story-inline-footer,
.post-card-signal {
    color: var(--muted);
    font-size: 0.92rem;
}

.headline-story-media,
.archive-lead-media {
    min-height: 100%;
    overflow: hidden;
    border-radius: 28px;
}

.headline-story-media {
    min-height: 520px;
}

.headline-story-media img,
.story-mini-media img,
.archive-lead-media img,
.story-inline-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 420ms ease;
}

.headline-story:hover img,
.story-mini-card:hover img,
.archive-lead-story:hover img,
.story-inline-card:hover img {
    transform: scale(1.04);
}

.headline-story-media-shell {
    position: relative;
    padding-bottom: 1.1rem;
}

.post-card-cover-meta,
.archive-cover-overlay {
    position: absolute;
    inset: 1rem 1rem auto 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    z-index: 2;
}

.archive-cover-overlay {
    inset: auto 1rem 1rem 1rem;
    align-items: flex-end;
}

.cover-stat-badge,
.cover-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(8, 18, 32, 0.76);
    color: #f5fbff;
    font-weight: 700;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cover-stat-badge i {
    color: #ffbe4d;
}

.cover-badge {
    background: color-mix(in srgb, var(--category-accent, var(--accent-strong)) 65%, rgba(8, 18, 32, 0.84));
}

.cover-data-stack {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: grid;
    gap: 0.65rem;
    z-index: 2;
}

.cover-data-card {
    min-width: 110px;
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
    background: rgba(8, 18, 32, 0.76);
    color: #f5fbff;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.cover-data-card small {
    display: block;
    color: rgba(245, 251, 255, 0.72);
    margin-bottom: 0.2rem;
}

.cover-data-card strong {
    font-size: 1.1rem;
    font-family: "Space Grotesk", sans-serif;
}

.cover-rail {
    position: absolute;
    left: 1rem;
    right: 6.5rem;
    bottom: -0.15rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    z-index: 3;
}

.cover-rail-card {
    --category-accent: var(--accent-strong);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid color-mix(in srgb, var(--category-accent) 18%, transparent);
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

html[data-theme-mode="dark"] .cover-rail-card {
    background: rgba(12, 28, 48, 0.92);
}

.cover-rail-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.cover-rail-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--category-accent);
}

.cover-rail-card strong {
    font-size: 0.98rem;
    line-height: 1.15;
}

.cover-rail-card small {
    color: var(--muted);
}

.hero-story-stack,
.story-mini-stack,
.story-inline-stack,
.mini-headline-stack,
.mini-story-stack {
    display: grid;
    gap: 1rem;
}

.stack-title-row {
    justify-content: space-between;
}

.stack-title-row h2 {
    margin: 0.2rem 0 0;
}

.story-mini-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 0.95rem;
    padding: 0.9rem;
    overflow: hidden;
}

.story-mini-media {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.story-mini-copy h3 {
    font-size: 1.05rem;
    line-height: 1.12;
    margin-bottom: 0.55rem;
}

.digest-ribbon {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1.3rem;
    padding: 1rem 1.15rem;
}

.digest-label {
    min-width: 210px;
}

.digest-label strong {
    display: block;
    margin-top: 0.2rem;
    font-family: "Space Grotesk", sans-serif;
}

.digest-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.digest-item {
    --category-accent: var(--accent-strong);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.92rem 1rem;
    border-radius: 18px;
    background: color-mix(in srgb, var(--category-accent) 10%, white);
    border: 1px solid color-mix(in srgb, var(--category-accent) 16%, transparent);
    color: inherit;
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.digest-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.digest-item i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--category-accent);
}

.digest-item span {
    font-weight: 700;
}

.digest-item small {
    margin-left: auto;
    color: var(--muted);
    font-weight: 700;
}

.magazine-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
    gap: 1.5rem;
}

.sidebar-widget {
    padding: 1.3rem;
}

.widget-dark {
    background: linear-gradient(180deg, var(--dark-2), var(--dark));
    color: #f4f9ff;
    border-color: transparent;
    box-shadow: var(--shadow-strong);
}

.widget-dark p,
.widget-dark small,
.widget-dark .mini-headline-link small {
    color: rgba(241, 248, 255, 0.74);
}

.widget-dark .story-mini-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.widget-dark .story-mini-copy h3 a,
.widget-dark .story-mini-footer,
.widget-dark .post-meta span {
    color: #f4f9ff;
}

.mini-headline-link {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.85rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
    color: inherit;
}

.mini-headline-link:first-child {
    border-top: 0;
    padding-top: 0.2rem;
}

.mini-headline-link strong {
    display: block;
    margin-bottom: 0.2rem;
}

.mini-headline-count {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.story-inline-card,
.archive-lead-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem;
    overflow: hidden;
}

.story-inline-copy h3 {
    font-size: 1.45rem;
    line-height: 1.05;
    margin-bottom: 0.55rem;
}

.post-card-footer {
    justify-content: space-between;
    margin-top: 1rem;
}

.post-card-signal span,
.story-mini-footer span,
.story-inline-footer span,
.headline-story-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.post-card-signal i,
.story-mini-footer i,
.story-inline-footer i,
.headline-story-metrics i {
    color: var(--accent-strong);
}

.story-inline-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 22px;
}

.archive-lead-story {
    padding: 1.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.8)),
        radial-gradient(circle at top right, rgba(116, 200, 255, 0.12), transparent 32%);
}

html[data-theme-mode="dark"] .archive-lead-story {
    background:
        linear-gradient(180deg, rgba(12, 28, 48, 0.96), rgba(11, 24, 41, 0.86)),
        radial-gradient(circle at top right, rgba(83, 169, 255, 0.1), transparent 32%);
}

.archive-lead-media {
    aspect-ratio: 4 / 3;
}

.story-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.page-hero-panel-magazine {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.82)),
        radial-gradient(circle at top right, rgba(116, 200, 255, 0.16), transparent 30%);
}

html[data-theme-mode="dark"] .page-hero-panel-magazine {
    background:
        linear-gradient(180deg, rgba(12, 28, 48, 0.98), rgba(11, 24, 41, 0.88)),
        radial-gradient(circle at top right, rgba(83, 169, 255, 0.12), transparent 30%);
}

.social-showcase-compact {
    grid-template-columns: 1fr;
}

.post-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.cover-fallback {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, color-mix(in srgb, var(--category-accent) 32%, white), transparent 34%),
        radial-gradient(circle at bottom right, color-mix(in srgb, var(--category-accent) 20%, transparent), transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 72%, #0f2b48), #071421 78%);
}

.cover-fallback::before,
.cover-fallback::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.cover-fallback::before {
    width: 220px;
    height: 220px;
    top: -60px;
    right: -40px;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(4px);
}

.cover-fallback::after {
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%, rgba(3, 10, 18, 0.24)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 32px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 32px);
    opacity: 0.65;
}

.cover-fallback-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.2rem;
    color: #f5fbff;
}

.cover-fallback-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.78rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cover-fallback strong {
    display: block;
    margin-top: 0.9rem;
    max-width: 12ch;
    font-size: clamp(1.15rem, 2.1vw, 2rem);
    line-height: 0.98;
    font-family: "Space Grotesk", sans-serif;
}

.cover-fallback-mini strong {
    max-width: 100%;
    font-size: 1rem;
}

.cover-fallback-inline strong {
    max-width: 10ch;
    font-size: 1.35rem;
}

.cover-fallback-featured {
    min-height: 100%;
}

.headline-story-media-fallback {
    display: block;
}

.post-card-body {
    padding: 1.35rem;
}

.post-card h3 {
    font-size: 1.45rem;
    line-height: 1.08;
}

.post-card h3 a,
.post-link,
.category-card,
.category-item-rich,
.footer-category-link {
    text-decoration: none;
}

.post-link {
    display: inline-flex;
    gap: 0.2rem;
    align-items: center;
    font-weight: 700;
    color: var(--accent-strong);
}

.post-link:hover {
    color: var(--ink);
}

.post-meta {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
}

.meta-chip {
    --category-accent: var(--accent-strong);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--category-accent) 18%, white);
    color: var(--category-accent);
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--category-accent) 18%, transparent);
}

.category-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.category-grid-sidebar {
    grid-template-columns: 1fr;
}

.category-card {
    --category-accent: var(--accent-strong);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.45rem;
    color: inherit;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.72)),
        linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 16%, white), transparent 72%);
}

html[data-theme-mode="dark"] .category-card {
    background:
        linear-gradient(180deg, rgba(12, 28, 48, 0.92), rgba(11, 24, 41, 0.82)),
        linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 14%, transparent), transparent 72%);
}

.category-card::after {
    content: "";
    position: absolute;
    inset: auto -12% -26% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, color-mix(in srgb, var(--category-accent) 22%, transparent), transparent 70%);
    pointer-events: none;
}

.category-card-compact {
    padding: 1.15rem;
}

.category-card-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: color-mix(in srgb, var(--category-accent) 16%, white);
    color: var(--category-accent);
    font-size: 1.3rem;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--category-accent) 22%, transparent);
}

html[data-theme-mode="dark"] .category-card-icon,
html[data-theme-mode="dark"] .category-item-icon {
    background: color-mix(in srgb, var(--category-accent) 14%, rgba(255, 255, 255, 0.04));
}

.category-card-icon.small {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.category-card-total {
    min-width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 0 0 1px rgba(33, 85, 129, 0.08);
    font-weight: 700;
}

html[data-theme-mode="dark"] .category-card-total {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(163, 208, 255, 0.12);
}

.category-card-copy small {
    display: block;
    margin-top: 0.65rem;
}

.editorial-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.panel-rich {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 252, 255, 0.72)),
        linear-gradient(135deg, rgba(116, 200, 255, 0.12), transparent);
}

html[data-theme-mode="dark"] .panel-rich {
    background:
        linear-gradient(180deg, rgba(11, 24, 41, 0.92), rgba(12, 28, 48, 0.82)),
        linear-gradient(135deg, rgba(83, 169, 255, 0.08), transparent);
}

.category-item-rich,
.footer-category-link {
    --category-accent: var(--accent-strong);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.92rem 1rem;
    border-radius: 18px;
    background: color-mix(in srgb, var(--category-accent) 10%, white);
    border: 1px solid color-mix(in srgb, var(--category-accent) 18%, transparent);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.category-item-rich:hover,
.footer-category-link:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.category-item-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--category-accent);
    flex-shrink: 0;
}

.category-item-copy {
    display: flex;
    flex-direction: column;
}

.category-item-copy strong {
    font-size: 0.98rem;
}

.page-hero-panel {
    padding: 2rem;
}

.library-shell,
.article-shell {
    border-radius: var(--radius-xl);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-pill {
    --category-accent: var(--accent-strong);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    font-weight: 700;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

html[data-theme-mode="dark"] .filter-pill {
    background: rgba(255, 255, 255, 0.04);
}

.filter-pill:hover {
    transform: translateY(-2px);
}

.filter-pill.active {
    background: color-mix(in srgb, var(--category-accent) 16%, white);
    color: var(--category-accent);
    border-color: color-mix(in srgb, var(--category-accent) 24%, transparent);
}

.search-panel {
    padding: 1.4rem;
}

.ad-slot {
    width: 100%;
}

.ad-live,
.ad-placeholder {
    min-height: 126px;
    border-radius: 24px;
    border: 1px dashed color-mix(in srgb, var(--accent-strong) 24%, transparent);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(116, 200, 255, 0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.4rem;
}

html[data-theme-mode="dark"] .ad-live,
html[data-theme-mode="dark"] .ad-placeholder {
    background:
        linear-gradient(180deg, rgba(13, 28, 48, 0.9), rgba(83, 169, 255, 0.05));
}

.ad-placeholder {
    flex-direction: column;
    gap: 0.45rem;
    color: var(--muted);
}

.article-hero-shell {
    --category-accent: var(--accent-strong);
    padding: 1.65rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 251, 255, 0.78)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--category-accent) 16%, white), transparent 28%);
}

html[data-theme-mode="dark"] .article-hero-shell {
    background:
        linear-gradient(180deg, rgba(12, 28, 48, 0.96), rgba(11, 24, 41, 0.86)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--category-accent) 14%, transparent), transparent 28%);
}

.article-cover {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

.article-body {
    padding: 2rem;
    line-height: 1.85;
    font-size: 1.05rem;
}

.article-body h2,
.article-body h3 {
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
}

.article-body p,
.article-body li,
.article-body table,
.article-body blockquote {
    color: var(--ink);
}

.article-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--accent-strong);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border-radius: 0 16px 16px 0;
}

.article-body code {
    background: color-mix(in srgb, var(--accent-strong) 12%, transparent);
    padding: 0.18rem 0.36rem;
    border-radius: 6px;
}

.article-body pre {
    background: linear-gradient(180deg, #0f2138, #0b1628);
    color: #f8fbff;
    padding: 1rem;
    border-radius: 20px;
    overflow-x: auto;
    box-shadow: inset 0 0 0 1px rgba(129, 212, 255, 0.08);
}

.article-callout,
.article-side-card,
.category-hero-shell,
.category-preview-card {
    --category-accent: var(--accent-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 251, 255, 0.78)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--category-accent) 16%, white), transparent 28%);
}

html[data-theme-mode="dark"] .article-callout,
html[data-theme-mode="dark"] .article-side-card,
html[data-theme-mode="dark"] .category-hero-shell,
html[data-theme-mode="dark"] .category-preview-card {
    background:
        linear-gradient(180deg, rgba(12, 28, 48, 0.96), rgba(11, 24, 41, 0.84)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--category-accent) 14%, transparent), transparent 28%);
}

.article-callout {
    margin-top: 1.4rem;
}

.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.category-hero-shell {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-strong);
}

.category-hero-icon {
    width: 74px;
    height: 74px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--category-accent) 18%, white);
    color: var(--category-accent);
    font-size: 1.75rem;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--category-accent) 22%, transparent);
}

.category-hero-meta {
    color: var(--muted);
    margin-top: 0.65rem;
}

.cta-banner {
    padding: 2.1rem;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #6cc6ff, #3a99ff 58%, #8be1ff);
    color: #fff;
    box-shadow: var(--shadow-strong);
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 66%);
    pointer-events: none;
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner p,
.cta-banner .eyebrow {
    color: rgba(255, 255, 255, 0.86);
}

.article-meta-strip,
.article-share-inline,
.comment-form-footer,
.comment-list-head,
.comment-card-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.article-meta-strip {
    margin-top: 1.6rem;
    justify-content: space-between;
}

.article-rating-box,
.comment-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

html[data-theme-mode="dark"] .article-rating-box,
html[data-theme-mode="dark"] .comment-summary-pill {
    background: rgba(255, 255, 255, 0.04);
}

.article-rating-box strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.article-rating-box small,
.comment-summary-pill span,
.toolbelt-copy p,
.comment-list-head p,
.comment-form-card p,
.social-showcase p {
    color: var(--muted);
}

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    color: #ffbe4d;
    letter-spacing: 0.02em;
}

.rating-stars-large {
    font-size: 1.1rem;
}

.rating-stars-muted {
    opacity: 0.45;
}

.article-share-inline {
    justify-content: flex-end;
}

.share-chip,
.social-link-pill,
.comment-site-link,
.cookie-policy-link,
.share-action-card {
    text-decoration: none;
}

.share-chip-button,
button.share-action-card {
    appearance: none;
    font: inherit;
    cursor: pointer;
}

.share-chip,
.social-link-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 700;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

html[data-theme-mode="dark"] .share-chip,
html[data-theme-mode="dark"] .social-link-pill {
    background: rgba(255, 255, 255, 0.04);
}

.share-chip:hover,
.social-link-pill:hover,
.comment-site-link:hover,
.cookie-policy-link:hover {
    transform: translateY(-2px);
    color: var(--accent-strong);
    border-color: color-mix(in srgb, var(--accent-strong) 28%, transparent);
    box-shadow: var(--shadow);
}

.share-chip i,
.social-link-pill i,
.comment-site-link i {
    color: var(--accent-strong);
}

.social-showcase,
.article-toolbelt,
.comment-form-card,
.comment-list-card,
.cookie-modal-card,
.footer-bottom-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.social-showcase,
.article-toolbelt {
    position: relative;
    overflow: hidden;
}

.social-showcase::before,
.article-toolbelt::before {
    content: "";
    position: absolute;
    inset: -25% auto auto -12%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(116, 200, 255, 0.2), transparent 72%);
    pointer-events: none;
}

.social-showcase > *,
.article-toolbelt > * {
    position: relative;
    z-index: 1;
}

.social-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 1.4rem;
    padding: 1.8rem;
}

.social-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.social-link-grid-showcase {
    align-content: start;
}

.social-link-grid-showcase .social-link-pill {
    min-width: 160px;
    justify-content: center;
}

.article-toolbelt {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.25rem;
    margin-top: 1.6rem;
    padding: 1.6rem;
}

.toolbelt-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.share-action-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 72px;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

html[data-theme-mode="dark"] .share-action-card {
    background: rgba(255, 255, 255, 0.04);
}

.share-action-card:hover,
.share-action-card.is-copied {
    transform: translateY(-4px);
    color: var(--accent-strong);
    border-color: color-mix(in srgb, var(--accent-strong) 28%, transparent);
    box-shadow: var(--shadow-strong);
}

.share-action-card i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 14%, white);
    color: var(--accent-strong);
}

html[data-theme-mode="dark"] .share-action-card i {
    background: color-mix(in srgb, var(--accent) 12%, rgba(255, 255, 255, 0.05));
}

.comment-zone {
    margin-top: 2rem;
}

.comment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: 1.25rem;
}

.comment-form-card,
.comment-list-card {
    padding: 1.55rem;
}

.comment-form {
    display: grid;
    gap: 1rem;
}

.comment-form-footer {
    justify-content: space-between;
    margin-top: 1.1rem;
}

.rating-input-group {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.45rem;
}

.rating-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-label {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: #c8d7e7;
    cursor: pointer;
    transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

html[data-theme-mode="dark"] .rating-label {
    background: rgba(255, 255, 255, 0.04);
    color: #5f7591;
}

.rating-label:hover,
.rating-label:hover ~ .rating-label,
.rating-radio:checked + .rating-label,
.rating-radio:checked ~ .rating-label {
    color: #ffbe4d;
    background: rgba(255, 190, 77, 0.12);
    border-color: rgba(255, 190, 77, 0.28);
    transform: translateY(-2px);
}

.recaptcha-box {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.8rem;
    border-radius: 20px;
    border: 1px dashed color-mix(in srgb, var(--accent-strong) 28%, transparent);
    background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.recaptcha-panel {
    display: grid;
    gap: 0.9rem;
    padding: 0.95rem;
    border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    border-radius: 22px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 88%, transparent), color-mix(in srgb, var(--accent) 6%, transparent));
}

.recaptcha-panel-copy {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.recaptcha-panel-copy > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 16px;
    background: color-mix(in srgb, var(--accent-strong) 12%, transparent);
    color: var(--accent-strong);
}

.recaptcha-panel-copy strong,
.recaptcha-panel-copy small {
    display: block;
}

.recaptcha-panel-copy strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
}

.recaptcha-panel-copy small {
    color: var(--muted);
    font-weight: 800;
    line-height: 1.55;
}

.recaptcha-panel-ready {
    border-style: dashed;
}

.comment-list-head {
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comment-stream,
.comment-moderation-stack {
    display: grid;
    gap: 1rem;
}

.comment-stream {
    max-height: 720px;
    overflow: auto;
    padding-right: 0.25rem;
}

.comment-card,
.admin-comment-snippet {
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

html[data-theme-mode="dark"] .comment-card,
html[data-theme-mode="dark"] .admin-comment-snippet {
    background: rgba(255, 255, 255, 0.04);
}

.comment-card-head {
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.85rem;
}

.comment-card p {
    margin: 0;
    color: var(--ink);
    line-height: 1.75;
}

.comment-site-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    font-weight: 700;
    color: var(--accent-strong);
}

.comment-summary-pill {
    min-width: fit-content;
}

.compact-empty {
    padding: 2rem 1rem;
}

.comment-admin-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.comment-admin-card {
    height: 100%;
    padding: 1.3rem;
}

.admin-comment-snippet p {
    margin: 0.75rem 0;
    color: var(--muted);
    line-height: 1.65;
}

.footer-bottom-card {
    min-height: 100%;
    padding: 1rem 1.2rem;
}

.cookie-modal-card {
    background: var(--surface-strong);
    box-shadow: var(--shadow-strong);
}

.cookie-policy-link {
    color: var(--accent-strong);
    font-weight: 700;
}

.form-check-input {
    border-color: color-mix(in srgb, var(--accent-strong) 26%, transparent);
    box-shadow: none;
}

.form-check-input:checked {
    background-color: var(--accent-strong);
    border-color: var(--accent-strong);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent) 18%, transparent);
}

.admin-table a,
.admin-header a,
.comment-admin-card a {
    color: var(--ink);
}

.site-footer {
    padding: 5rem 0 2rem;
}

.footer-brand {
    display: inline-flex;
}

.footer-bottom {
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.3rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-pro {
    margin-top: 2.5rem;
}

.footer-pro-shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(1rem, 3vw, 1.35rem);
    border: 1px solid color-mix(in srgb, var(--accent-strong) 16%, transparent);
    border-radius: calc(var(--radius-xl) + 14px);
    background:
        radial-gradient(circle at 10% 12%, rgba(121, 201, 255, 0.18), transparent 30%),
        radial-gradient(circle at 92% 18%, rgba(24, 119, 255, 0.16), transparent 28%),
        linear-gradient(135deg, #101a2b, #07101c 58%, #0e1726);
    color: #eef6ff;
    box-shadow: 0 38px 110px rgba(7, 16, 28, 0.24);
}

.footer-pro-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent),
        repeating-linear-gradient(90deg, transparent 0 96px, rgba(121, 201, 255, 0.07) 96px 97px),
        repeating-linear-gradient(0deg, transparent 0 96px, rgba(121, 201, 255, 0.045) 96px 97px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 88%);
    pointer-events: none;
}

.footer-pro-shell::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    z-index: -1;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(121, 201, 255, 0.22), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
}

.footer-pro-top {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 1rem;
}

.footer-brand-panel,
.footer-lab-card,
.footer-pro-card,
.footer-pro-ad,
.footer-pro-bottom {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.footer-brand-panel {
    min-height: 100%;
    padding: clamp(1.25rem, 4vw, 2.3rem);
    border-radius: calc(var(--radius-xl) + 6px);
}

.footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: #fff;
    text-decoration: none;
}

.footer-brand-lockup small,
.footer-brand-lockup strong {
    display: block;
}

.footer-brand-lockup small {
    color: rgba(238, 246, 255, 0.62);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-brand-lockup strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.08rem;
}

.footer-brand-panel h2 {
    max-width: 14ch;
    margin: 1.5rem 0 0.95rem;
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.footer-brand-panel p,
.footer-lab-card p,
.footer-pro-card p {
    color: rgba(238, 246, 255, 0.68);
    line-height: 1.72;
}

.footer-action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.footer-action-row .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-action-row .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.05);
}

.footer-lab-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    padding: clamp(1.15rem, 3vw, 1.65rem);
    border-radius: calc(var(--radius-xl) + 6px);
    background:
        radial-gradient(circle at 14% 18%, rgba(121, 201, 255, 0.2), transparent 34%),
        rgba(255, 255, 255, 0.07);
}

.footer-lab-card h3 {
    margin: 0.65rem 0 0.85rem;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.footer-signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1rem;
}

.footer-signal-grid span {
    min-height: 82px;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
}

.footer-signal-grid strong,
.footer-signal-grid small {
    display: block;
}

.footer-signal-grid strong {
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
}

.footer-signal-grid small {
    color: rgba(238, 246, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-pro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.7fr) minmax(280px, 0.9fr);
    gap: 1rem;
    margin-top: 1rem;
}

.footer-pro-card {
    min-height: 100%;
    padding: 1.15rem;
    border-radius: var(--radius-xl);
}

.footer-pro-card .footer-card-label {
    color: rgba(238, 246, 255, 0.64);
}

.footer-category-links-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.footer-pro .footer-category-link {
    min-height: 52px;
    padding: 0.68rem 0.78rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.075);
    border-color: color-mix(in srgb, var(--category-accent) 24%, rgba(255, 255, 255, 0.08));
    color: #eef6ff;
}

.footer-pro .footer-category-link i {
    color: var(--category-accent);
}

.footer-pro .footer-category-link:hover {
    background: color-mix(in srgb, var(--category-accent) 18%, rgba(255, 255, 255, 0.08));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.footer-link-stack {
    display: grid;
    gap: 0.55rem;
}

.footer-link-stack a,
.footer-bottom-links a {
    color: rgba(238, 246, 255, 0.78);
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-link-stack a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.78rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-weight: 800;
}

.footer-link-stack a:hover,
.footer-bottom-links a:hover {
    color: #fff;
}

.footer-link-stack a:hover {
    transform: translateX(4px);
}

.footer-social-grid .social-link-pill {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #eef6ff;
}

.footer-social-grid .social-link-pill i {
    color: var(--accent);
}

.footer-social-grid .social-link-pill:hover {
    color: #fff;
    border-color: rgba(121, 201, 255, 0.3);
    background: rgba(121, 201, 255, 0.12);
}

.footer-empty-note {
    color: rgba(238, 246, 255, 0.58);
    font-size: 0.9rem;
}

.footer-pro-ad {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: var(--radius-xl);
}

.footer-pro-ad .ad-placeholder,
.footer-pro-ad .ad-live {
    min-height: 112px;
    border-color: rgba(121, 201, 255, 0.28);
    background:
        linear-gradient(135deg, rgba(121, 201, 255, 0.1), rgba(255, 255, 255, 0.045)),
        rgba(255, 255, 255, 0.05);
    color: rgba(238, 246, 255, 0.76);
}

.footer-pro-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-lg);
    color: rgba(238, 246, 255, 0.62);
    font-size: 0.92rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    font-weight: 800;
}

.admin-nav {
    margin-bottom: 1.5rem;
}

.admin-header p,
.admin-table td,
.admin-table th,
.table {
    color: var(--muted);
}

.stat-card strong {
    display: block;
    font-size: 2.55rem;
    line-height: 1;
    margin: 0.5rem 0;
    color: var(--ink);
}

.admin-table thead th {
    border-bottom-color: var(--line);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-category-pill,
.mini-swatch {
    --category-accent: var(--accent-strong);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--category-accent) 14%, white);
    color: var(--category-accent);
    font-weight: 700;
    font-size: 0.84rem;
}

.category-admin-card {
    height: 100%;
}

.category-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-swatch {
    font-size: 0.78rem;
}

.category-preview-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1rem;
}

.editor-area,
.code-area {
    font-family: Consolas, "SFMono-Regular", monospace;
}

.flash-stack {
    padding-top: 1rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.form-control,
.form-select {
    border-radius: 16px;
    border-color: var(--line);
    padding: 0.85rem 1rem;
    box-shadow: none;
    background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
    color: var(--ink);
    transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease;
}

.form-control::placeholder {
    color: color-mix(in srgb, var(--muted) 86%, transparent);
}

.form-control:focus,
.form-select:focus {
    border-color: color-mix(in srgb, var(--accent-strong) 72%, transparent);
    box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent) 22%, transparent);
}

.btn {
    border-radius: 16px;
    font-weight: 700;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-dark {
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent-strong), color-mix(in srgb, var(--accent-strong) 74%, white));
    box-shadow: 0 12px 24px color-mix(in srgb, var(--accent-strong) 18%, transparent);
}

.btn-dark:hover,
.btn-dark:focus {
    border-color: transparent;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-strong) 90%, black), var(--accent));
}

.btn-outline-dark,
.theme-toggle {
    border-color: var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(8px);
}

html[data-theme-mode="dark"] .btn-outline-dark,
html[data-theme-mode="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.03);
}

.btn-outline-dark:hover,
.theme-toggle:hover {
    border-color: color-mix(in srgb, var(--accent-strong) 32%, transparent);
    color: var(--accent-strong);
    background: color-mix(in srgb, var(--accent) 12%, white);
}

html[data-theme-mode="dark"] .btn-outline-dark:hover,
html[data-theme-mode="dark"] .theme-toggle:hover {
    background: color-mix(in srgb, var(--accent) 10%, rgba(255, 255, 255, 0.02));
}

.btn-light {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.8);
    color: #103458;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.alert {
    backdrop-filter: blur(12px);
}

.text-body-secondary {
    color: var(--muted) !important;
}

.motion-ready .reveal-ready {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    filter: blur(6px);
    transition:
        opacity 720ms ease,
        transform 720ms cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 720ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .reveal-ready.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

@keyframes float-orb-one {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-22px, 18px, 0) scale(1.06);
    }
}

@keyframes float-orb-two {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(22px, -16px, 0) scale(1.08);
    }
}

.business-hero {
    padding: 3rem 0 2rem;
}

.landing-cover {
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    position: relative;
    isolation: isolate;
    padding: 7rem 0 4rem;
    background-image:
        linear-gradient(90deg, rgba(5, 12, 24, 0.82), rgba(5, 12, 24, 0.5) 48%, rgba(5, 12, 24, 0.18)),
        linear-gradient(180deg, rgba(5, 12, 24, 0.12), rgba(5, 12, 24, 0.82)),
        var(--landing-cover-image);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.landing-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
    z-index: -1;
}

.landing-cover-content {
    max-width: 760px;
}

.landing-cover .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.cover-animated-title {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25em;
    max-width: 840px;
    margin: 0.75rem 0 1rem;
    font-size: 4rem;
    line-height: 0.98;
    color: #fff;
}

.cover-animated-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: title-word-in 680ms ease forwards;
}

.cover-animated-title span:nth-child(2) {
    animation-delay: 120ms;
}

.cover-animated-title span:nth-child(3) {
    animation-delay: 240ms;
}

.cover-animated-title span:nth-child(4) {
    animation-delay: 360ms;
}

.landing-cover-content p {
    max-width: 660px;
    margin-bottom: 1.45rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.landing-cover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.landing-cover-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: var(--radius-md);
}

.landing-cover-actions .btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.featured-focus-card {
    --category-accent: var(--accent-strong);
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1.05fr);
    gap: 0;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--category-accent) 18%, var(--line));
    border-radius: calc(var(--radius-xl) + 10px);
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--category-accent) 18%, transparent), transparent 34%),
        linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 88%, white), var(--surface));
    box-shadow: var(--shadow-strong);
    animation: feature-panel-in 680ms cubic-bezier(.2, .8, .2, 1) both;
}

.featured-focus-card::before {
    content: "";
    position: absolute;
    inset: -18%;
    z-index: -2;
    background-image: var(--featured-cover);
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    filter: blur(34px) saturate(1.18);
    transform: scale(1.08);
}

.featured-focus-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, transparent 0 38%, color-mix(in srgb, var(--category-accent) 9%, transparent) 68%, transparent 100%),
        radial-gradient(circle at 18% 86%, rgba(255, 255, 255, 0.5), transparent 30%);
    pointer-events: none;
}

html[data-theme-mode="dark"] .featured-focus-card {
    background:
        radial-gradient(circle at 82% 18%, color-mix(in srgb, var(--category-accent) 16%, transparent), transparent 34%),
        linear-gradient(135deg, rgba(13, 25, 43, 0.96), rgba(8, 15, 27, 0.98));
}

html[data-theme-mode="dark"] .featured-focus-card::after {
    background:
        linear-gradient(115deg, transparent 0 38%, color-mix(in srgb, var(--category-accent) 12%, transparent) 68%, transparent 100%),
        radial-gradient(circle at 18% 86%, rgba(122, 200, 255, 0.1), transparent 32%);
}

.featured-focus-media {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 420px;
    margin: 1rem;
    overflow: hidden;
    border-radius: calc(var(--radius-xl) + 2px);
    background: var(--dark);
    text-decoration: none;
    box-shadow: 0 28px 70px rgba(10, 29, 55, 0.22);
}

.featured-focus-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(3, 10, 20, 0.12), rgba(3, 10, 20, 0.56)),
        radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--category-accent) 38%, transparent), transparent 34%);
    pointer-events: none;
}

.featured-focus-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 700ms cubic-bezier(.2, .8, .2, 1), filter 700ms ease;
}

.featured-focus-card:hover .featured-focus-media img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.07);
}

.featured-focus-badge,
.featured-focus-date {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    backdrop-filter: blur(12px);
}

.featured-focus-badge {
    top: 1rem;
    left: 1rem;
    padding: 0.52rem 0.72rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--category-accent) 72%, rgba(5, 12, 24, 0.72));
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.featured-focus-date {
    right: 1rem;
    bottom: 1rem;
    padding: 0.48rem 0.68rem;
    border-radius: var(--radius-md);
    background: rgba(5, 12, 24, 0.58);
    font-size: 0.82rem;
    font-weight: 700;
}

.featured-focus-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.45rem, 4vw, 3rem);
}

.featured-focus-meta {
    align-items: center;
}

.featured-focus-meta > span:not(.meta-chip) {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.featured-focus-copy h2 {
    max-width: 12ch;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 4.25rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.featured-focus-copy h2 a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--ink), color-mix(in srgb, var(--category-accent) 60%, var(--ink)));
    background-size: 0 3px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 240ms ease;
}

.featured-focus-card:hover .featured-focus-copy h2 a {
    background-size: 100% 3px;
}

.featured-focus-copy p {
    max-width: 62ch;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

.featured-focus-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.45rem 0;
}

.featured-focus-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    min-height: 54px;
    padding: 0.8rem 0.9rem;
    border: 1px solid color-mix(in srgb, var(--category-accent) 14%, var(--line));
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--category-accent) 6%, var(--surface));
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.featured-focus-stats i {
    color: var(--category-accent);
}

.featured-focus-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.featured-focus-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius-md);
    box-shadow: none;
}

.featured-focus-actions .btn-primary {
    border-color: color-mix(in srgb, var(--category-accent) 86%, #111827);
    background: linear-gradient(135deg, var(--category-accent), color-mix(in srgb, var(--category-accent) 74%, #111827));
}

.business-lead-card-horizontal {
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
}

.business-lead-card-horizontal .business-lead-media {
    height: 100%;
    min-height: 320px;
}

.business-hero-grid,
.business-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
    gap: 1.5rem;
    align-items: start;
}

.business-hero-copy {
    padding: 1.25rem 0;
}

.business-hero-copy h1 {
    max-width: 13ch;
    margin: 0.6rem 0 1rem;
    font-size: 3.35rem;
    line-height: 1.02;
}

.business-hero-copy p {
    max-width: 62ch;
    margin-bottom: 1.35rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.business-hero-actions,
.business-kpi-row,
.business-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.business-hero-actions .btn,
.business-panel .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: var(--radius-md);
}

.business-kpi-row {
    margin-top: 1.65rem;
}

.business-kpi-row div {
    min-width: 150px;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.business-kpi-row strong {
    display: block;
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.25rem;
}

.business-kpi-row span {
    color: var(--muted);
    font-size: 0.9rem;
}

.business-lead-card,
.business-panel {
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.business-lead-card {
    overflow: hidden;
}

.business-lead-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.business-lead-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.business-lead-copy {
    padding: 1.35rem;
}

.business-lead-copy h2 {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    line-height: 1.12;
}

.business-lead-copy h2 a {
    color: inherit;
    text-decoration: none;
}

.business-lead-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.business-card-footer {
    justify-content: space-between;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.business-topic-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.business-topic-strip a {
    --category-accent: var(--accent-strong);
    min-height: 96px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, var(--category-accent) 16%, transparent);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62)),
        color-mix(in srgb, var(--category-accent) 7%, var(--surface-strong));
    color: var(--ink);
    text-decoration: none;
    animation: topic-card-in 520ms ease both;
    animation-delay: calc(var(--topic-index, 0) * 65ms);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.business-topic-strip a::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--category-accent) 18%, transparent), transparent 34%),
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    opacity: 0;
    transform: translateX(-14%);
    transition: opacity 220ms ease, transform 420ms ease;
    pointer-events: none;
}

.business-topic-strip a::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--category-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 240ms ease;
}

html[data-theme-mode="dark"] .business-topic-strip a {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
        color-mix(in srgb, var(--category-accent) 7%, var(--surface-strong));
}

.business-topic-strip a:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--category-accent) 28%, transparent);
    box-shadow: var(--shadow);
}

.business-topic-strip a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.business-topic-strip a:hover::after {
    transform: scaleX(1);
}

.topic-icon-wrap {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 14%, white), rgba(255, 255, 255, 0.72));
    color: var(--category-accent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--category-accent) 14%, transparent);
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

html[data-theme-mode="dark"] .topic-icon-wrap {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--category-accent) 14%, rgba(255, 255, 255, 0.08)), rgba(255, 255, 255, 0.04));
}

.topic-icon-wrap i {
    font-size: 1.15rem;
    line-height: 1;
}

.business-topic-strip a:hover .topic-icon-wrap {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--category-accent) 22%, transparent);
}

.business-topic-strip span {
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.business-topic-strip small {
    position: relative;
    z-index: 1;
    color: var(--muted);
    font-weight: 700;
}

.business-section {
    padding: 2.5rem 0 4rem;
}

.sponsor-strip {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    overflow: hidden;
    padding: clamp(1rem, 3vw, 1.45rem);
    border: 1px solid color-mix(in srgb, var(--accent-strong) 14%, var(--line));
    border-radius: calc(var(--radius-xl) + 8px);
    background:
        radial-gradient(circle at 12% 15%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 32%),
        radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--accent-strong) 14%, transparent), transparent 35%),
        linear-gradient(135deg, var(--surface-strong), var(--surface));
    box-shadow: var(--shadow);
}

.sponsor-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent),
        repeating-linear-gradient(135deg, transparent 0 10px, color-mix(in srgb, var(--accent-strong) 5%, transparent) 10px 11px);
    opacity: 0.8;
    transform: translateX(-12%);
    transition: transform 520ms ease;
    pointer-events: none;
}

.sponsor-strip:hover::before {
    transform: translateX(0);
}

html[data-theme-mode="dark"] .sponsor-strip {
    background:
        radial-gradient(circle at 12% 15%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 32%),
        radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--accent-strong) 16%, transparent), transparent 35%),
        linear-gradient(135deg, rgba(13, 24, 40, 0.96), rgba(9, 16, 29, 0.98));
}

.sponsor-strip-copy {
    padding: 0.65rem;
}

.sponsor-strip-copy h2 {
    max-width: 12ch;
    margin: 0.35rem 0 0.7rem;
    font-size: clamp(1.65rem, 3vw, 2.5rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.sponsor-strip-copy p {
    max-width: 48ch;
    margin-bottom: 1rem;
    color: var(--muted);
    line-height: 1.65;
}

.sponsor-strip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sponsor-strip-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.42rem 0.7rem;
    border: 1px solid color-mix(in srgb, var(--accent-strong) 14%, var(--line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 800;
}

.sponsor-strip-slot .ad-slot,
.sponsor-strip-slot .ad-live,
.sponsor-strip-slot .ad-placeholder {
    width: 100%;
}

.sponsor-strip-slot .ad-live,
.sponsor-strip-slot .ad-placeholder {
    min-height: 188px;
    border-radius: calc(var(--radius-xl) + 2px);
}

.case-study-shell {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
    gap: 1.25rem;
    overflow: hidden;
    padding: clamp(1rem, 3vw, 1.4rem);
    border: 1px solid color-mix(in srgb, #7A5AF8 16%, var(--line));
    border-radius: calc(var(--radius-xl) + 10px);
    background:
        radial-gradient(circle at 8% 20%, rgba(122, 90, 248, 0.16), transparent 34%),
        radial-gradient(circle at 92% 88%, rgba(121, 201, 255, 0.2), transparent 36%),
        linear-gradient(135deg, var(--surface-strong), var(--surface));
    box-shadow: var(--shadow-strong);
}

.case-study-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent),
        repeating-linear-gradient(90deg, transparent 0 88px, color-mix(in srgb, #7A5AF8 6%, transparent) 88px 89px);
    opacity: 0.72;
    pointer-events: none;
}

html[data-theme-mode="dark"] .case-study-shell {
    background:
        radial-gradient(circle at 8% 20%, rgba(122, 90, 248, 0.18), transparent 34%),
        radial-gradient(circle at 92% 88%, rgba(87, 164, 255, 0.14), transparent 36%),
        linear-gradient(135deg, rgba(14, 23, 39, 0.98), rgba(8, 15, 27, 0.98));
}

.case-study-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: clamp(0.65rem, 2vw, 1.15rem);
}

.case-study-intro h2 {
    max-width: 12ch;
    margin: 0.4rem 0 0.85rem;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.case-study-intro p {
    color: var(--muted);
    line-height: 1.72;
}

.case-study-intro-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.55rem;
}

.case-study-intro-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-intro-actions span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.case-study-card {
    --category-accent: #7A5AF8;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--category-accent) 15%, var(--line));
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--surface-strong) 92%, white);
    box-shadow: 0 18px 44px rgba(19, 42, 78, 0.08);
    animation: feed-card-in 440ms ease both;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.case-study-card:nth-child(2) {
    animation-delay: 70ms;
}

.case-study-card:nth-child(3) {
    animation-delay: 140ms;
}

html[data-theme-mode="dark"] .case-study-card {
    background: rgba(11, 20, 35, 0.9);
}

.case-study-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--category-accent) 28%, transparent);
    box-shadow: var(--shadow-strong);
}

.case-study-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
    background: var(--dark);
    color: #fff;
    text-decoration: none;
}

.case-study-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 10, 20, 0.04), rgba(3, 10, 20, 0.66)),
        radial-gradient(circle at 20% 12%, color-mix(in srgb, var(--category-accent) 40%, transparent), transparent 35%);
    pointer-events: none;
}

.case-study-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 620ms cubic-bezier(.2, .8, .2, 1), filter 620ms ease;
}

.case-study-card:hover .case-study-card-media img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.08);
}

.case-study-card-media span {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: calc(100% - 1.7rem);
    padding: 0.45rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(5, 12, 24, 0.54);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 800;
}

.case-study-card-body {
    padding: 1rem;
}

.case-study-card-meta,
.case-study-card-signals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.case-study-card-meta {
    margin-bottom: 0.65rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.case-study-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
    line-height: 1.18;
}

.case-study-card h3 a {
    color: inherit;
    text-decoration: none;
}

.case-study-card p {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.62;
}

.case-study-card-signals {
    margin: 0.9rem 0;
}

.case-study-card-signals span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.36rem 0.52rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--category-accent) 9%, var(--surface));
    color: var(--ink);
    font-size: 0.76rem;
    font-weight: 800;
}

.case-study-card-signals i {
    color: var(--category-accent);
}

.case-admin-banner,
.locked-category-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-color: color-mix(in srgb, var(--category-accent) 18%, var(--line));
    background:
        radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--category-accent) 13%, transparent), transparent 28%),
        var(--surface-strong);
}

.locked-category-card {
    padding: 0.95rem;
    border: 1px solid color-mix(in srgb, var(--category-accent) 18%, var(--line));
    border-radius: var(--radius-lg);
}

.locked-category-card strong,
.locked-category-card small {
    display: block;
}

.locked-category-card small {
    color: var(--muted);
}

#feed {
    scroll-margin-top: 120px;
}

.business-content-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
}

.business-content-layout-balanced {
    align-items: stretch;
}

.business-insight-stack,
.business-ranked-list {
    display: grid;
    gap: 1rem;
}

.business-sidebar {
    display: grid;
    gap: 1rem;
}

.business-panel {
    padding: 1.25rem;
}

.business-panel h3 {
    margin: 0.35rem 0 0.7rem;
    font-size: 1.35rem;
    line-height: 1.18;
}

.business-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.business-panel-accent {
    background:
        linear-gradient(180deg, var(--surface-strong), var(--surface-deep));
}

.business-ranked-list a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.9rem 0;
    border-top: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}

.business-ranked-list a:first-child {
    border-top: 0;
}

.business-ranked-list a > span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 800;
}

.business-ranked-list strong,
.business-ranked-list small {
    grid-column: 2;
}

.business-ranked-list strong {
    line-height: 1.25;
}

.business-ranked-list small {
    color: var(--muted);
}

.page-hero-panel-business {
    background: var(--surface-strong);
}

.business-category-grid .category-card {
    border-radius: var(--radius-xl);
}

.infinite-post-grid {
    min-height: 260px;
}

.infinite-post-item {
    animation: feed-card-in 420ms ease both;
}

.infinite-scroll-sentinel {
    height: 1px;
}

.infinite-scroll-status {
    min-height: 54px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
    color: var(--muted);
}

.infinite-scroll-status.is-visible {
    display: flex;
}

.infinite-scroll-status.is-done .spinner-border {
    display: none;
}

.infinite-scroll-enabled .infinite-pagination-fallback {
    display: none;
}

/* Neumorphic design system layer */
body {
    background:
        radial-gradient(circle at 10% 8%, rgba(121, 201, 255, 0.22), transparent 25%),
        radial-gradient(circle at 88% 12%, rgba(24, 119, 255, 0.1), transparent 24%),
        radial-gradient(circle at 50% 105%, rgba(255, 255, 255, 0.62), transparent 28%),
        linear-gradient(145deg, var(--bg-soft), var(--bg));
}

html[data-theme-mode="dark"] body {
    background:
        radial-gradient(circle at 10% 8%, rgba(87, 164, 255, 0.16), transparent 25%),
        radial-gradient(circle at 88% 12%, rgba(139, 213, 255, 0.1), transparent 24%),
        linear-gradient(145deg, var(--bg-soft), var(--bg));
}

.site-header {
    background: color-mix(in srgb, var(--neuro-plate) 76%, transparent);
    border-bottom-color: color-mix(in srgb, var(--neuro-border) 70%, transparent);
    backdrop-filter: blur(20px);
}

.site-header.scrolled {
    box-shadow: 0 16px 42px rgba(89, 121, 154, 0.14);
}

html[data-theme-mode="dark"] .site-header.scrolled {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.brand-mark,
.theme-toggle {
    box-shadow: var(--neuro-raised);
}

.brand-mark {
    border: 1px solid var(--neuro-border);
}

.nav-link-category-featured,
.filter-pill,
.meta-chip,
.cover-stat-badge,
.ad-pill {
    border-color: var(--neuro-border);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--neuro-plate-strong) 88%, white), color-mix(in srgb, var(--neuro-plate) 92%, transparent));
    box-shadow: var(--neuro-inset-soft);
}

html[data-theme-mode="dark"] .nav-link-category-featured,
html[data-theme-mode="dark"] .filter-pill,
html[data-theme-mode="dark"] .meta-chip,
html[data-theme-mode="dark"] .cover-stat-badge,
html[data-theme-mode="dark"] .ad-pill {
    background: linear-gradient(145deg, var(--neuro-plate-strong), var(--neuro-plate));
}

.nav-link-category-featured:hover,
.filter-pill:hover,
.filter-pill.active,
.meta-chip:hover {
    box-shadow: var(--neuro-raised);
    transform: translateY(-2px);
}

.btn {
    --btn-neuro-accent: var(--accent-strong);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 18px;
    border: 1px solid var(--neuro-border);
    box-shadow: var(--neuro-raised);
    transform: translateZ(0);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.28), transparent 56%);
    opacity: 0.82;
    pointer-events: none;
}

.btn:hover,
.btn:focus {
    transform: translateY(-3px);
    box-shadow: var(--neuro-raised-strong);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--neuro-inset);
}

.btn-primary,
.btn-dark,
.btn-light {
    border-color: color-mix(in srgb, var(--btn-neuro-accent) 32%, var(--neuro-border));
}

.btn-primary,
.btn-dark {
    --btn-neuro-accent: var(--accent-strong);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, white), color-mix(in srgb, var(--accent-strong) 86%, #0a56c2));
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-dark:hover,
.btn-dark:focus {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 88%, white), color-mix(in srgb, var(--accent-strong) 92%, #064ea8));
    color: #fff;
}

.btn-outline-primary,
.btn-outline-dark,
.btn-outline-secondary,
.theme-toggle,
.btn-light {
    color: var(--ink);
    background: var(--neuro-gradient);
    border-color: var(--neuro-border);
}

.btn-outline-primary:hover,
.btn-outline-dark:hover,
.btn-outline-secondary:hover,
.theme-toggle:hover,
.btn-light:hover {
    color: var(--accent-strong);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 12%, var(--neuro-plate-strong)), var(--neuro-plate));
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 10px 10px 26px rgba(0, 0, 0, 0.24), -10px -10px 28px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.form-control,
.form-select,
.form-check-input {
    border-color: var(--neuro-border);
    background: color-mix(in srgb, var(--neuro-plate) 96%, transparent);
    box-shadow: var(--neuro-inset-soft);
}

.form-control:focus,
.form-select:focus {
    border-color: color-mix(in srgb, var(--accent-strong) 35%, var(--neuro-border));
    background: color-mix(in srgb, var(--neuro-plate-strong) 94%, transparent);
    box-shadow: var(--neuro-inset), 0 0 0 0.22rem color-mix(in srgb, var(--accent) 18%, transparent);
}

.hero-main-panel,
.hero-side-card,
.page-hero-panel,
.featured-story,
.post-card,
.category-card,
.info-panel,
.category-panel,
.search-panel,
.article-hero-shell,
.article-body,
.article-callout,
.article-side-card,
.comment-form-card,
.comment-list-card,
.cookie-modal-card,
.admin-card,
.stat-card,
.empty-state,
.category-preview-card,
.archive-lead-story,
.sidebar-widget,
.headline-story-card,
.story-mini-card,
.story-inline-card,
.business-panel,
.featured-focus-card,
.sponsor-strip,
.case-study-shell,
.case-study-card,
.social-showcase,
.article-toolbelt {
    border-color: var(--neuro-border);
    background: var(--neuro-gradient);
    box-shadow: var(--neuro-raised);
}

html[data-theme-mode="dark"] .hero-main-panel,
html[data-theme-mode="dark"] .hero-side-card,
html[data-theme-mode="dark"] .page-hero-panel,
html[data-theme-mode="dark"] .featured-story,
html[data-theme-mode="dark"] .post-card,
html[data-theme-mode="dark"] .category-card,
html[data-theme-mode="dark"] .info-panel,
html[data-theme-mode="dark"] .category-panel,
html[data-theme-mode="dark"] .search-panel,
html[data-theme-mode="dark"] .article-hero-shell,
html[data-theme-mode="dark"] .article-body,
html[data-theme-mode="dark"] .article-callout,
html[data-theme-mode="dark"] .article-side-card,
html[data-theme-mode="dark"] .comment-form-card,
html[data-theme-mode="dark"] .comment-list-card,
html[data-theme-mode="dark"] .cookie-modal-card,
html[data-theme-mode="dark"] .admin-card,
html[data-theme-mode="dark"] .stat-card,
html[data-theme-mode="dark"] .empty-state,
html[data-theme-mode="dark"] .category-preview-card,
html[data-theme-mode="dark"] .archive-lead-story,
html[data-theme-mode="dark"] .sidebar-widget,
html[data-theme-mode="dark"] .headline-story-card,
html[data-theme-mode="dark"] .story-mini-card,
html[data-theme-mode="dark"] .story-inline-card,
html[data-theme-mode="dark"] .business-panel,
html[data-theme-mode="dark"] .featured-focus-card,
html[data-theme-mode="dark"] .sponsor-strip,
html[data-theme-mode="dark"] .case-study-shell,
html[data-theme-mode="dark"] .case-study-card,
html[data-theme-mode="dark"] .social-showcase,
html[data-theme-mode="dark"] .article-toolbelt {
    background: var(--neuro-gradient);
}

.post-card:hover,
.category-card:hover,
.info-panel:hover,
.category-panel:hover,
.story-inline-card:hover,
.story-mini-card:hover,
.case-study-card:hover,
.business-panel:hover {
    transform: translateY(-6px);
    box-shadow: var(--neuro-raised-strong);
}

.post-card-media,
.story-inline-media,
.story-mini-media,
.archive-lead-media,
.case-study-card-media,
.featured-focus-media,
.article-cover {
    border-radius: calc(var(--radius-xl) - 6px);
    box-shadow: var(--neuro-inset-soft);
}

.post-card-body,
.business-lead-copy,
.featured-focus-copy,
.case-study-card-body,
.archive-lead-copy {
    position: relative;
}

.category-card-icon,
.category-item-icon,
.topic-icon-wrap,
.category-hero-icon,
.stat-card strong,
.featured-focus-stats span,
.case-study-card-signals span,
.business-kpi-row div,
.comment-summary-pill,
.article-rating-box,
.share-chip,
.social-link-pill {
    border-color: var(--neuro-border);
    background: var(--neuro-gradient);
    box-shadow: var(--neuro-raised);
}

.category-card-total,
.cover-badge,
.featured-focus-date,
.featured-focus-badge,
.post-card-cover-meta {
    box-shadow: var(--neuro-raised);
}

.business-topic-strip a,
.primary-category-link,
.digest-item,
.footer-category-link,
.category-item-rich,
.locked-category-card,
.case-admin-banner {
    border-color: color-mix(in srgb, var(--category-accent, var(--accent-strong)) 16%, var(--neuro-border));
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--category-accent, var(--accent-strong)) 8%, var(--neuro-plate-strong)), var(--neuro-plate));
    box-shadow: var(--neuro-raised);
}

.business-topic-strip a:hover,
.primary-category-link:hover,
.digest-item:hover,
.footer-category-link:hover,
.category-item-rich:hover {
    box-shadow: var(--neuro-raised-strong);
}

.ad-live,
.ad-placeholder,
.footer-pro-ad,
.infinite-scroll-status {
    border-color: color-mix(in srgb, var(--accent-strong) 18%, var(--neuro-border));
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 8%, var(--neuro-plate-strong)), var(--neuro-plate));
    box-shadow: var(--neuro-inset-soft);
}

.footer-pro-shell {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 24px 28px 70px rgba(17, 37, 61, 0.34), -12px -12px 38px rgba(255, 255, 255, 0.48);
}

html[data-theme-mode="dark"] .footer-pro-shell {
    box-shadow: 24px 28px 70px rgba(0, 0, 0, 0.46), -12px -12px 38px rgba(83, 117, 156, 0.1);
}

.footer-brand-panel,
.footer-lab-card,
.footer-pro-card,
.footer-pro-bottom {
    box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.2), -8px -8px 24px rgba(255, 255, 255, 0.08);
}

.landing-cover-actions .btn,
.featured-focus-actions .btn,
.case-study-intro-actions .btn,
.footer-action-row .btn {
    min-height: 54px;
    padding-inline: 1.25rem;
}

.featured-focus-actions .btn-outline-primary {
    border-color: color-mix(in srgb, var(--category-accent) 28%, var(--neuro-border));
    color: color-mix(in srgb, var(--category-accent) 80%, var(--ink));
}

.featured-focus-actions .btn-outline-primary:hover,
.featured-focus-actions .btn-outline-primary:focus {
    color: color-mix(in srgb, var(--category-accent) 88%, #0b1727);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--category-accent) 14%, var(--neuro-plate-strong)), var(--neuro-plate));
}

.featured-focus-actions .btn-primary {
    box-shadow: 12px 14px 30px color-mix(in srgb, var(--category-accent) 24%, transparent), -10px -10px 24px var(--neuro-highlight);
}

/* Refined footer: compact, light and business-focused */
.site-footer.footer-lite {
    padding: 3rem 0 1.4rem;
    margin-top: 1.5rem;
}

.footer-lite-shell {
    position: relative;
    overflow: hidden;
    padding: clamp(1rem, 2.5vw, 1.35rem);
    border: 1px solid var(--neuro-border);
    border-radius: calc(var(--radius-xl) + 8px);
    background:
        radial-gradient(circle at 12% 0%, rgba(121, 201, 255, 0.22), transparent 34%),
        radial-gradient(circle at 88% 100%, rgba(24, 119, 255, 0.11), transparent 35%),
        var(--neuro-gradient);
    box-shadow: var(--neuro-raised-strong);
}

html[data-theme-mode="dark"] .footer-lite-shell {
    background:
        radial-gradient(circle at 12% 0%, rgba(87, 164, 255, 0.16), transparent 34%),
        radial-gradient(circle at 88% 100%, rgba(139, 213, 255, 0.09), transparent 35%),
        var(--neuro-gradient);
}

.footer-lite-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
    gap: 1rem;
    align-items: stretch;
}

.footer-lite-brand,
.footer-lite-cta,
.footer-lite-card,
.footer-lite-ad,
.footer-lite-bottom {
    border: 1px solid var(--neuro-border);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--neuro-plate-strong) 92%, white), var(--neuro-plate));
    box-shadow: var(--neuro-raised);
}

html[data-theme-mode="dark"] .footer-lite-brand,
html[data-theme-mode="dark"] .footer-lite-cta,
html[data-theme-mode="dark"] .footer-lite-card,
html[data-theme-mode="dark"] .footer-lite-ad,
html[data-theme-mode="dark"] .footer-lite-bottom {
    background: linear-gradient(145deg, var(--neuro-plate-strong), var(--neuro-plate));
}

.footer-lite-brand,
.footer-lite-cta,
.footer-lite-card {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.footer-lite-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink);
    text-decoration: none;
}

.footer-lite-lockup small,
.footer-lite-lockup strong {
    display: block;
}

.footer-lite-lockup small {
    color: var(--accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-lite-lockup strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.08rem;
}

.footer-lite-brand h2 {
    max-width: 760px;
    margin: 1rem 0 0.65rem;
    font-size: clamp(1.7rem, 3.6vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.footer-lite-brand p,
.footer-lite-cta p,
.footer-lite-card p {
    max-width: 62ch;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.footer-lite-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-lite-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.footer-lite-actions .btn {
    min-height: 48px;
}

.footer-lite-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(220px, 0.68fr) minmax(280px, 0.9fr);
    gap: 1rem;
    margin-top: 1rem;
}

.footer-lite-categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.footer-lite-categories a,
.footer-lite-links a,
.footer-lite-socials a {
    color: var(--ink);
    text-decoration: none;
}

.footer-lite-categories a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 46px;
    padding: 0.65rem 0.75rem;
    border: 1px solid color-mix(in srgb, var(--category-accent) 18%, var(--neuro-border));
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--category-accent) 8%, var(--neuro-plate-strong)), var(--neuro-plate));
    box-shadow: var(--neuro-inset-soft);
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-lite-categories a:hover {
    transform: translateY(-2px);
    box-shadow: var(--neuro-raised);
}

.footer-lite-categories i {
    color: var(--category-accent);
}

.footer-lite-links,
.footer-lite-socials {
    display: grid;
    gap: 0.55rem;
}

.footer-lite-links a,
.footer-lite-socials a,
.footer-lite-socials span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.68rem 0;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
    color: var(--muted);
    font-weight: 800;
}

.footer-lite-links a:hover,
.footer-lite-socials a:hover {
    color: var(--accent-strong);
}

.footer-lite-socials i {
    color: var(--accent-strong);
}

.footer-lite-ad {
    margin-top: 1rem;
    padding: 0.75rem;
}

.footer-lite-ad .ad-placeholder,
.footer-lite-ad .ad-live {
    min-height: 96px;
    border-radius: var(--radius-lg);
    color: var(--muted);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, var(--neuro-plate-strong)), var(--neuro-plate));
    box-shadow: var(--neuro-inset-soft);
}

.footer-lite-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-lite-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.footer-lite-bottom a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.footer-lite-bottom a:hover {
    color: var(--accent-strong);
}

@media (max-width: 991.98px) {
    .footer-lite-hero,
    .footer-lite-grid {
        grid-template-columns: 1fr;
    }

    .footer-lite-brand h2 {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .site-footer.footer-lite {
        padding: 2rem 0 1rem;
    }

    .footer-lite-shell {
        border-radius: var(--radius-xl);
    }

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

    .footer-lite-actions,
    .footer-lite-actions .btn,
    .footer-lite-bottom {
        width: 100%;
    }

    .footer-lite-bottom {
        align-items: flex-start;
    }
}

/* Clean breathing pass: fewer boxes, more editorial spacing */
.hero-main-panel,
.hero-side-card,
.page-hero-panel,
.featured-story,
.post-card,
.category-card,
.info-panel,
.category-panel,
.search-panel,
.article-hero-shell,
.article-body,
.article-callout,
.article-side-card,
.comment-form-card,
.comment-list-card,
.admin-card,
.stat-card,
.empty-state,
.category-preview-card,
.archive-lead-story,
.sidebar-widget,
.headline-story-card,
.story-mini-card,
.story-inline-card,
.business-panel,
.featured-focus-card,
.sponsor-strip,
.case-study-shell,
.case-study-card,
.social-showcase,
.article-toolbelt {
    border-color: color-mix(in srgb, var(--line) 72%, transparent);
    box-shadow: var(--shadow);
}

.post-card:hover,
.category-card:hover,
.info-panel:hover,
.category-panel:hover,
.story-inline-card:hover,
.story-mini-card:hover,
.case-study-card:hover,
.business-panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.business-section,
.section-space {
    padding-block: clamp(2.6rem, 6vw, 4.8rem);
}

.section-space.pt-0,
.business-section.pt-0 {
    padding-top: 0;
}

.category-card-icon,
.category-item-icon,
.topic-icon-wrap,
.category-hero-icon,
.stat-card strong,
.featured-focus-stats span,
.case-study-card-signals span,
.business-kpi-row div,
.comment-summary-pill,
.article-rating-box,
.share-chip,
.social-link-pill {
    box-shadow: var(--neuro-inset-soft);
}

.btn,
.business-topic-strip a,
.digest-item,
.category-item-rich {
    box-shadow: var(--shadow);
}

.btn:hover,
.business-topic-strip a:hover,
.digest-item:hover,
.category-item-rich:hover {
    box-shadow: var(--shadow-strong);
}

.site-header .navbar-nav {
    gap: clamp(0.85rem, 1.45vw, 1.35rem) !important;
}

.site-header .nav-link-category-featured {
    position: relative;
    padding: 0.55rem 0.08rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
    transform: none !important;
}

.site-header .nav-link-category-featured::after {
    left: 0;
    right: 0;
    bottom: 0.2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-strong));
    box-shadow: 0 6px 18px rgba(38, 120, 255, 0.22);
}

.site-header .nav-link-category-featured:hover,
.site-header .nav-link-category-featured.active {
    color: var(--accent-strong);
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.site-header .nav-link-category-featured:hover::after,
.site-header .nav-link-category-featured.active::after {
    transform: scaleX(1);
}

html[data-theme-mode="dark"] .site-header .nav-link-category-featured {
    background: transparent !important;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.22rem;
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 62%, transparent);
}

.language-switcher a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.05rem;
    min-height: 2rem;
    border-radius: 999px;
    color: var(--muted);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--accent-strong);
    background: color-mix(in srgb, var(--accent) 12%, var(--surface-strong));
    box-shadow: 0 8px 18px rgba(63, 151, 255, 0.12);
}

.theme-toggle-floating {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1090;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3.25rem;
    padding: 0.3rem 0.85rem 0.3rem 0.35rem;
    border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    border-radius: 999px;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.88), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 88%, transparent), color-mix(in srgb, var(--neuro-plate) 92%, transparent));
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 900;
    box-shadow: 0 18px 44px rgba(54, 98, 142, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(18px) saturate(1.12);
}

.theme-toggle-floating .theme-toggle-icon {
    display: grid;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--accent), var(--accent-strong));
    color: #fff;
    box-shadow: 0 10px 24px rgba(38, 120, 255, 0.28);
}

.theme-toggle-floating:hover,
.theme-toggle-floating:focus {
    color: var(--accent-strong);
    transform: translateY(-2px);
    box-shadow: 0 24px 54px rgba(54, 98, 142, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme-mode="dark"] .theme-toggle-floating {
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.08), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 88%, transparent), color-mix(in srgb, var(--neuro-plate) 94%, transparent));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-footer.footer-clean {
    margin-top: clamp(2.5rem, 6vw, 5rem);
    padding: 0;
    border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    background:
        radial-gradient(circle at 8% 0%, rgba(121, 201, 255, 0.17), transparent 30%),
        radial-gradient(circle at 92% 20%, rgba(38, 120, 255, 0.09), transparent 28%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--neuro-plate) 96%, transparent));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

html[data-theme-mode="dark"] .site-footer.footer-clean {
    background:
        radial-gradient(circle at 8% 0%, rgba(87, 164, 255, 0.13), transparent 30%),
        radial-gradient(circle at 92% 20%, rgba(92, 211, 255, 0.07), transparent 28%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 82%, transparent), color-mix(in srgb, var(--neuro-plate) 96%, transparent));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-footer.footer-clean > .container {
    max-width: none;
    width: 100%;
    padding-inline: 0;
}

.footer-clean-shell {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: clamp(2rem, 5vw, 4.6rem) max(1.25rem, calc((100vw - 1320px) / 2)) 1.45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

html[data-theme-mode="dark"] .footer-clean-shell {
    background: transparent;
}

.footer-clean-top,
.footer-clean-grid,
.footer-clean-ad,
.footer-clean-bottom {
    max-width: 1320px;
    margin-inline: auto;
}

.footer-clean-top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: clamp(1.2rem, 4vw, 3rem);
    align-items: end;
    padding-bottom: clamp(1.4rem, 3vw, 2rem);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.footer-clean-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink);
    text-decoration: none;
}

.footer-clean-lockup small,
.footer-clean-lockup strong {
    display: block;
}

.footer-clean-lockup small {
    color: var(--accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.footer-clean-lockup strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
}

.footer-clean-brand h2 {
    max-width: 720px;
    margin: 1rem 0 0.7rem;
    font-size: clamp(1.7rem, 3.8vw, 3.45rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.footer-clean-brand p,
.footer-clean-note p,
.footer-clean-column p {
    max-width: 62ch;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.72;
}

.footer-clean-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.2rem;
}

.footer-clean-note {
    max-width: 440px;
}

.footer-clean-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    padding-block: clamp(1.4rem, 3vw, 2rem);
}

.footer-clean-column > span {
    display: block;
    margin-bottom: 0.85rem;
    color: var(--accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-clean-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem 1rem;
}

.footer-clean-categories a,
.footer-clean-links a,
.footer-clean-socials a {
    color: var(--ink);
    text-decoration: none;
}

.footer-clean-categories a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-weight: 800;
}

.footer-clean-categories i {
    color: var(--category-accent);
}

.footer-clean-links,
.footer-clean-socials {
    display: grid;
    gap: 0.6rem;
}

.footer-clean-links a,
.footer-clean-socials a,
.footer-clean-socials span {
    color: var(--muted);
    font-weight: 800;
}

.footer-clean-categories a:hover,
.footer-clean-links a:hover,
.footer-clean-socials a:hover {
    color: var(--accent-strong);
}

.footer-clean-socials i {
    color: var(--accent-strong);
    margin-right: 0.4rem;
}

.footer-clean-ad {
    padding-block: 0.9rem 1.1rem;
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.footer-clean-ad .ad-placeholder,
.footer-clean-ad .ad-live {
    min-height: 84px;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--accent) 7%, transparent);
    box-shadow: none;
}

.footer-clean-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding-top: 0.95rem;
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-clean-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.footer-clean-bottom a {
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.footer-clean-bottom a:hover {
    color: var(--accent-strong);
}

.author-sidebar-widget {
    overflow: hidden;
}

.author-sidebar-list {
    display: grid;
    gap: 0;
    margin-top: 1rem;
}

.author-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.82rem 0;
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    color: var(--ink);
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.author-sidebar-item:first-child {
    border-top: 0;
    padding-top: 0.25rem;
}

.author-sidebar-item:hover {
    color: var(--accent-strong);
    transform: translateX(3px);
}

.author-sidebar-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.9), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 20%, var(--surface)), color-mix(in srgb, var(--accent-strong) 15%, var(--neuro-plate)));
    color: var(--accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 900;
    letter-spacing: -0.03em;
    box-shadow: 0 10px 22px rgba(63, 151, 255, 0.12);
}

.author-sidebar-copy {
    display: grid;
    min-width: 0;
    gap: 0.14rem;
}

.author-sidebar-copy strong {
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1rem;
}

.author-sidebar-copy small {
    color: var(--muted);
    font-weight: 800;
}

.post-author-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-block: 0.4rem 0.8rem;
    color: var(--ink);
    text-decoration: none;
}

.post-author-profile-link h3 {
    margin-bottom: 0.05rem;
}

.post-author-profile-link small {
    color: var(--accent-strong);
    font-weight: 900;
}

.post-author-profile-link:hover {
    color: var(--accent-strong);
}

.author-hero-shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1.2rem, 4vw, 2.4rem);
    align-items: center;
    padding: clamp(1.4rem, 4vw, 2.4rem);
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    border-radius: calc(var(--radius-xl) + 8px);
    background:
        radial-gradient(circle at 8% 0%, rgba(116, 200, 255, 0.2), transparent 34%),
        linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--neuro-plate) 92%, transparent));
    box-shadow: var(--shadow);
}

.author-hero-avatar {
    display: grid;
    width: clamp(96px, 16vw, 148px);
    height: clamp(96px, 16vw, 148px);
    place-items: center;
    border-radius: 38px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.86), transparent 32%),
        linear-gradient(145deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 900;
    letter-spacing: -0.08em;
    box-shadow: 0 24px 58px rgba(38, 120, 255, 0.28);
}

.author-hero-photo {
    overflow: hidden;
    background: var(--surface-strong);
}

.author-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-hero-copy h1 {
    margin-bottom: 0.65rem;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
}

.author-hero-copy p {
    max-width: 68ch;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.author-metric-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.author-metric-row span {
    padding: 0.95rem;
    border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    border-radius: 20px;
    background: color-mix(in srgb, var(--surface-strong) 70%, transparent);
    color: var(--muted);
    font-weight: 800;
}

.author-metric-row strong {
    display: block;
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.45rem;
}

.author-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 2.4rem);
    align-items: start;
}

.author-side-panel,
.author-posts-panel {
    padding: clamp(1.1rem, 3vw, 1.5rem);
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    border-radius: var(--radius-xl);
    background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
    box-shadow: var(--shadow);
}

.author-side-panel {
    position: sticky;
    top: 110px;
}

.author-side-panel p {
    color: var(--muted);
}

.author-focus-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.author-focus-list > span {
    color: var(--accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.author-focus-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
}

.author-focus-list i {
    color: var(--category-accent);
}

.author-focus-list a:hover {
    color: var(--accent-strong);
}

@media (max-width: 991.98px) {
    .footer-clean-top,
    .footer-clean-grid {
        grid-template-columns: 1fr;
    }

    .footer-clean-note,
    .footer-clean-brand h2 {
        max-width: 100%;
    }

    .author-hero-shell,
    .author-layout {
        grid-template-columns: 1fr;
    }

    .author-side-panel {
        position: static;
    }

    .author-metric-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .footer-clean-shell {
        padding: 1.6rem 1rem 1rem;
        border-radius: 0;
    }

    .footer-clean-actions,
    .footer-clean-actions .btn,
    .footer-clean-bottom {
        width: 100%;
    }

    .author-metric-row {
        grid-template-columns: 1fr;
    }

    .author-hero-avatar {
        border-radius: 28px;
    }
}

@keyframes title-word-in {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes feed-card-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes feature-panel-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes topic-card-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1199.98px) {
    .hero-grid,
    .editorial-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid-magazine,
    .magazine-section-grid,
    .headline-story,
    .archive-lead-story,
    .business-hero-grid,
    .business-content-layout,
    .business-lead-card-horizontal {
        grid-template-columns: 1fr;
    }

    .cover-rail {
        right: 1rem;
        grid-template-columns: 1fr;
    }

    .social-showcase,
    .article-toolbelt,
    .comment-layout {
        grid-template-columns: 1fr;
    }

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

    .business-topic-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .case-study-shell {
        grid-template-columns: 1fr;
    }

    .case-study-intro h2 {
        max-width: 100%;
    }

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

@media (max-width: 991.98px) {
    .featured-story-hero,
    .hero-grid,
    .editorial-grid,
    .category-hero-shell {
        grid-template-columns: 1fr;
    }

    .featured-copy {
        padding: 1.6rem;
    }

    .editorial-topbar-inner,
    .editorial-topbar-left {
        flex-direction: column;
        align-items: flex-start;
    }

    .editorial-topbar-right {
        width: 100%;
        justify-content: flex-start;
    }

    .primary-category-link {
        min-width: 172px;
    }

    .business-hero-copy h1 {
        max-width: 16ch;
        font-size: 2.75rem;
    }

    .landing-cover {
        min-height: 560px;
        padding: 6rem 0 3rem;
    }

    .cover-animated-title {
        font-size: 3rem;
    }

    .business-topic-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-focus-card,
    .sponsor-strip {
        grid-template-columns: 1fr;
    }

    .footer-pro-top,
    .footer-pro-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-panel h2 {
        max-width: 100%;
    }

    .featured-focus-media {
        min-height: 360px;
    }

    .featured-focus-copy h2,
    .sponsor-strip-copy h2 {
        max-width: 100%;
    }

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

    .story-inline-card {
        grid-template-columns: 1fr;
    }

    .headline-story-media {
        min-height: 420px;
    }

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

    .section-head,
    .admin-header,
    .cta-banner,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-stream {
        max-height: none;
        overflow: visible;
    }

    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 3rem;
    }

    .hero-title,
    .page-hero h1,
    .article-title {
        max-width: 100%;
    }

    .hero-main-panel,
    .page-hero-panel,
    .article-body,
    .cta-banner,
    .hero-side-card,
    .featured-copy,
    .search-panel,
    .admin-card,
    .stat-card,
    .article-hero-shell,
    .article-callout,
    .article-side-card,
    .category-hero-shell {
        padding: 1.2rem;
    }

    .signal-strip,
    .category-grid-home,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .magazine-intro-bar,
    .digest-ribbon {
        grid-template-columns: 1fr;
    }

    .magazine-intro-bar,
    .digest-ribbon,
    .editorial-topbar-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .editorial-topbar {
        display: none;
    }

    .primary-category-nav {
        background: transparent;
    }

    .primary-category-scroller {
        padding-top: 0.75rem;
        padding-bottom: 0.85rem;
    }

    .primary-category-link {
        min-width: 158px;
        padding: 0.78rem 0.84rem;
    }

    .business-hero {
        padding-top: 2.2rem;
    }

    .landing-cover {
        min-height: 520px;
        padding: 5rem 0 2.4rem;
        background-image:
            linear-gradient(180deg, rgba(5, 12, 24, 0.42), rgba(5, 12, 24, 0.88)),
            var(--landing-cover-image);
    }

    .cover-animated-title {
        font-size: 2.45rem;
    }

    .landing-cover-content p {
        font-size: 1rem;
    }

    .landing-cover-actions,
    .landing-cover-actions .btn {
        width: 100%;
    }

    .business-hero-copy {
        padding-top: 0;
    }

    .business-hero-copy h1 {
        font-size: 2.25rem;
    }

    .business-hero-actions,
    .business-hero-actions .btn,
    .business-kpi-row,
    .business-kpi-row div,
    .business-topic-strip a {
        width: 100%;
    }

    .business-topic-strip {
        grid-template-columns: 1fr;
    }

    .featured-focus-card {
        min-height: auto;
        border-radius: var(--radius-xl);
    }

    .featured-focus-media {
        min-height: 300px;
        margin: 0.75rem;
        border-radius: var(--radius-lg);
    }

    .featured-focus-copy {
        padding: 1.15rem;
    }

    .featured-focus-stats {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .featured-focus-actions,
    .featured-focus-actions .btn {
        width: 100%;
    }

    .sponsor-strip {
        border-radius: var(--radius-xl);
    }

    .sponsor-strip-slot .ad-live,
    .sponsor-strip-slot .ad-placeholder {
        min-height: 154px;
    }

    .site-footer {
        padding: 3.25rem 0 1.25rem;
    }

    .footer-pro-shell {
        border-radius: var(--radius-xl);
    }

    .footer-category-links-compact,
    .footer-signal-grid {
        grid-template-columns: 1fr;
    }

    .footer-action-row,
    .footer-action-row .btn,
    .footer-pro-bottom {
        width: 100%;
    }

    .footer-pro-bottom {
        align-items: flex-start;
    }

    .case-study-shell {
        border-radius: var(--radius-xl);
    }

    .case-study-grid {
        grid-template-columns: 1fr;
    }

    .case-study-intro-actions,
    .case-study-intro-actions .btn,
    .case-admin-banner {
        width: 100%;
    }

    .case-admin-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .business-lead-copy,
    .business-panel {
        padding: 1rem;
    }

    .story-mini-card,
    .story-mini-grid,
    .digest-items {
        grid-template-columns: 1fr;
    }

    .cover-data-stack,
    .archive-cover-overlay,
    .post-card-cover-meta {
        inset-inline: 0.85rem;
    }

    .cover-data-stack {
        right: 0.85rem;
        left: auto;
        bottom: 0.85rem;
    }

    .cover-rail {
        position: static;
        margin-top: 0.85rem;
    }

    .headline-story-card,
    .story-inline-card,
    .archive-lead-story,
    .sidebar-widget {
        padding: 1.1rem;
    }

    .article-meta-strip,
    .article-share-inline,
    .comment-form-footer,
    .comment-card-head,
    .comment-list-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-showcase,
    .article-toolbelt,
    .comment-form-card,
    .comment-list-card,
    .footer-bottom-card {
        padding: 1.2rem;
    }

    .toolbelt-actions {
        grid-template-columns: 1fr;
    }

    .social-link-grid-showcase .social-link-pill,
    .share-action-card,
    .story-inline-media,
    .archive-lead-media,
    .headline-story-media {
        width: 100%;
    }

    .headline-story-media {
        min-height: 340px;
    }

    .hero-kpis {
        display: grid;
        grid-template-columns: 1fr;
    }

    .theme-toggle-label {
        display: none;
    }

    .theme-toggle {
        min-width: auto;
        padding-inline: 0.9rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .motion-ready .reveal-ready,
    .motion-ready .reveal-ready.is-visible {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

@media (max-width: 1199.98px) {
    .site-header {
        background: color-mix(in srgb, var(--surface-strong) 91%, transparent);
        backdrop-filter: blur(18px) saturate(1.12);
    }

    .site-header .navbar > .container {
        padding-block: 0.75rem !important;
    }

    .site-header .navbar-brand {
        min-width: 0;
        gap: 0.75rem !important;
    }

    .site-header .navbar-brand .brand-mark {
        width: 46px;
        height: 46px;
        box-shadow: 0 12px 26px rgba(63, 151, 255, 0.18);
    }

    .site-header .navbar-brand strong {
        display: block;
        max-width: 56vw;
        overflow: hidden;
        font-size: 1rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-header .navbar-toggler {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border-radius: 999px;
        background: color-mix(in srgb, var(--surface-strong) 82%, transparent);
        box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 78%, transparent);
    }

    .site-header .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent) 22%, transparent);
    }

    .site-header .navbar-collapse {
        width: 100%;
        margin-top: 0.95rem;
        padding: 1rem;
        border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
        border-radius: 28px;
        background:
            radial-gradient(circle at 8% 0%, rgba(116, 200, 255, 0.18), transparent 34%),
            linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 94%, transparent), color-mix(in srgb, var(--neuro-plate) 92%, transparent));
        box-shadow: 0 22px 54px rgba(47, 86, 124, 0.15);
    }

    html[data-theme-mode="dark"] .site-header .navbar-collapse {
        background:
            radial-gradient(circle at 8% 0%, rgba(87, 164, 255, 0.12), transparent 34%),
            linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--neuro-plate) 94%, transparent));
        box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
    }

    .site-header .navbar-nav {
        align-items: stretch !important;
        gap: 0 !important;
    }

    .site-header .navbar-nav .nav-item {
        width: 100%;
    }

    .site-header .nav-link-category-featured {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.88rem 1.55rem 0.88rem 0.15rem !important;
        border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent) !important;
        background: transparent !important;
        box-shadow: none !important;
        font-size: 1.02rem;
    }

    .site-header .nav-link-category-featured::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 0.2rem;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: color-mix(in srgb, var(--accent) 70%, transparent);
        opacity: 0;
        transform: translateY(-50%) scale(0.4);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-header .nav-link-category-featured::after {
        left: 0;
        right: auto;
        bottom: -1px;
        width: 42px;
    }

    .site-header .nav-link-category-featured:hover::before,
    .site-header .nav-link-category-featured.active::before {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    .site-header .navbar-nav .nav-item:has(.language-switcher) {
        width: auto;
    }

    .site-header .navbar-nav .nav-item:has(.language-switcher) {
        display: inline-flex;
        margin-top: 0.9rem;
        margin-right: 0.55rem;
    }

    .site-header .language-switcher {
        background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
    }
}

@media (max-width: 575.98px) {
    .site-header .navbar > .container {
        padding-inline: 1rem;
    }

    .site-header .navbar-collapse {
        padding: 0.75rem 0.9rem 0.9rem;
        border-radius: 24px;
    }

    .site-header .nav-link-category-featured {
        padding-block: 0.78rem !important;
        font-size: 0.98rem;
    }

    .theme-toggle-floating {
        right: 0.85rem;
        bottom: 0.85rem;
        min-height: 3rem;
        padding-right: 0.35rem;
    }

    .theme-toggle-floating .theme-toggle-label {
        display: none;
    }

    .theme-toggle-floating .theme-toggle-icon {
        width: 2.35rem;
        height: 2.35rem;
    }
}

/* Neil-style editorial refresh: cleaner search, cards, newsletter and reading flow */
.landing-cover {
    min-height: clamp(620px, 82vh, 820px);
    display: flex;
    align-items: center;
    background-position: center;
}

.landing-cover::after {
    background:
        linear-gradient(90deg, rgba(5, 13, 25, 0.92) 0%, rgba(5, 13, 25, 0.76) 42%, rgba(5, 13, 25, 0.28) 100%),
        linear-gradient(180deg, rgba(5, 13, 25, 0.28), rgba(5, 13, 25, 0.82));
}

.landing-cover-content {
    max-width: 760px;
}

.hero-search-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    max-width: 720px;
    margin-top: 1.5rem;
    padding: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

.hero-search-panel > i {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    color: var(--accent-strong);
}

.hero-search-panel input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #132033;
    font-size: 1rem;
    font-weight: 800;
}

.hero-search-panel button,
.newsletter-form button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 900;
    padding: 0.9rem 1.35rem;
    box-shadow: 0 16px 34px rgba(38, 120, 255, 0.32);
}

.hero-popular-searches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.hero-popular-searches a {
    padding: 0.38rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
}

.hero-popular-searches a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.np-featured-card {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 70px rgba(70, 102, 135, 0.14);
}

.np-featured-card .featured-focus-media {
    min-height: 360px;
    border-radius: 18px 0 0 18px;
}

.np-featured-card .featured-focus-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.4rem, 4vw, 2.6rem);
}

.featured-author-line,
.post-card-author,
.story-inline-author,
.article-author-line {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    text-decoration: none;
}

.featured-author-line {
    margin: 0.5rem 0 1rem;
}

.featured-author-line img,
.post-card-author img,
.story-inline-author img,
.article-author-line img {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 12px 26px rgba(48, 82, 118, 0.16);
}

.featured-author-line strong,
.post-card-author strong,
.article-author-line strong {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 900;
}

.featured-author-line small,
.post-card-author small,
.article-author-line small {
    color: var(--muted);
    font-weight: 800;
}

.post-card-author {
    margin: 1rem 0 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.story-inline-author img {
    width: 34px;
    height: 34px;
}

.business-content-layout-single {
    display: block;
}

.business-content-layout-single .business-main-column {
    max-width: 1120px;
    margin-inline: auto;
}

.newsletter-shell,
.contact-shell,
.modal-launch-card {
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    background:
        radial-gradient(circle at 0% 0%, rgba(116, 200, 255, 0.18), transparent 32%),
        color-mix(in srgb, var(--surface-strong) 86%, transparent);
    box-shadow: var(--shadow);
}

.newsletter-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: center;
    padding: clamp(1.35rem, 4vw, 2.4rem);
    border-radius: calc(var(--radius-xl) + 8px);
}

.newsletter-copy h2,
.contact-copy h2 {
    max-width: 720px;
    margin-bottom: 0.7rem;
    font-size: clamp(2rem, 4.6vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.newsletter-copy p,
.contact-copy p,
.modal-launch-section .section-head p {
    max-width: 62ch;
    color: var(--muted);
}

.newsletter-form {
    display: grid;
    gap: 0.7rem;
}

.newsletter-form input {
    min-height: 3.6rem;
    border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    padding-inline: 1.1rem;
    font-weight: 800;
}

.newsletter-form small {
    color: var(--muted);
    font-weight: 800;
}

.modal-launch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.modal-launch-card {
    display: grid;
    gap: 0.75rem;
    min-height: 230px;
    padding: 1.35rem;
    border-radius: var(--radius-xl);
    color: var(--ink);
    text-align: left;
}

.modal-launch-card > i {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 18px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    color: var(--accent-strong);
    font-size: 1.35rem;
}

.modal-launch-card strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
}

.modal-launch-card span,
.modal-launch-card small {
    color: var(--muted);
    font-weight: 800;
}

.modal-launch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.growth-modal .modal-content {
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    border-radius: var(--radius-xl);
    background: var(--surface-strong);
    box-shadow: var(--shadow-strong);
}

.growth-modal .modal-body {
    color: var(--muted);
    line-height: 1.75;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    padding: clamp(1.35rem, 4vw, 2.4rem);
    border-radius: calc(var(--radius-xl) + 8px);
}

.contact-form .form-control {
    min-height: 3.25rem;
}

.category-cover-hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(500px, 72vh, 760px);
    display: flex;
    align-items: center;
    isolation: isolate;
    background-image:
        linear-gradient(90deg, rgba(5, 13, 25, 0.9), rgba(5, 13, 25, 0.5), rgba(5, 13, 25, 0.15)),
        var(--category-cover);
    background-size: cover;
    background-position: center;
}

.category-cover-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, var(--bg));
    z-index: -1;
}

.category-cover-content {
    max-width: 760px;
    color: #fff;
    padding-block: clamp(5rem, 12vw, 8rem);
}

.category-cover-icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 22px;
    background: color-mix(in srgb, var(--category-accent) 28%, rgba(255, 255, 255, 0.12));
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 20px 46px color-mix(in srgb, var(--category-accent) 35%, transparent);
}

.category-cover-content h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.category-cover-content p {
    max-width: 64ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
}

.category-cover-meta,
.category-cover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.category-cover-meta span {
    padding: 0.55rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
}

.article-shell-wide {
    max-width: 1180px;
    margin-inline: auto;
}

.article-reading-layout {
    display: block;
}

.article-main-column {
    max-width: 1040px;
    margin-inline: auto;
}

.article-body {
    padding: clamp(1.25rem, 4vw, 2.4rem);
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.85;
}

.article-body p,
.article-body li,
.article-body table,
.article-body blockquote {
    max-width: 82ch;
    margin-inline: auto;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    max-width: 82ch;
    margin-inline: auto;
}

.article-author-line {
    margin-top: 1rem;
}

.comment-zone {
    max-width: 1040px;
    margin-inline: auto;
}

html[data-theme-mode="dark"] .newsletter-form input {
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 991.98px) {
    .np-featured-card,
    .newsletter-shell,
    .contact-shell,
    .modal-launch-grid {
        grid-template-columns: 1fr;
    }

    .np-featured-card .featured-focus-media {
        border-radius: 18px 18px 0 0;
    }

    .landing-cover {
        min-height: 680px;
    }
}

@media (max-width: 575.98px) {
    .hero-search-panel {
        grid-template-columns: auto minmax(0, 1fr);
        border-radius: 26px;
        padding: 0.65rem;
    }

    .hero-search-panel button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .category-cover-content h1 {
        font-size: clamp(2.7rem, 17vw, 4.5rem);
    }

    .article-body,
    .comment-form-card,
    .comment-list-card,
    .article-toolbelt {
        padding: 1rem;
    }

    .modal-launch-card {
        min-height: auto;
    }
}

/* Clean studio footer refresh */
.site-footer.footer-studio {
    position: relative;
    overflow: hidden;
    margin-top: clamp(3rem, 7vw, 6rem);
    padding: 0;
    border-top: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    background:
        radial-gradient(circle at 12% 10%, rgba(121, 201, 255, 0.22), transparent 32%),
        radial-gradient(circle at 88% 0%, rgba(24, 119, 255, 0.1), transparent 30%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--neuro-plate) 96%, transparent));
}

.site-footer.footer-studio::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--accent-strong) 10%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--accent-strong) 8%, transparent) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 76%);
    pointer-events: none;
}

html[data-theme-mode="dark"] .site-footer.footer-studio {
    background:
        radial-gradient(circle at 12% 10%, rgba(87, 164, 255, 0.14), transparent 32%),
        radial-gradient(circle at 88% 0%, rgba(139, 213, 255, 0.08), transparent 30%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent), #07111f);
}

.footer-studio-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 1320px);
    margin-inline: auto;
    padding-block: clamp(1rem, 2.5vw, 1.6rem) 1rem;
}

.footer-studio-main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
    gap: clamp(1.25rem, 5vw, 5rem);
    align-items: end;
}

.footer-studio-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ink);
    text-decoration: none;
}

.footer-studio-lockup small,
.footer-studio-lockup strong {
    display: block;
}

.footer-studio-lockup small {
    color: var(--accent-strong);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-studio-lockup strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.02rem;
}

.footer-studio-brand h2 {
    max-width: 760px;
    margin: 1.15rem 0 0.85rem;
    font-size: clamp(2.15rem, 5vw, 5rem);
    line-height: 0.92;
    letter-spacing: -0.075em;
}

.footer-studio-brand p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.footer-studio-newsletter {
    padding: clamp(1.1rem, 3vw, 1.6rem);
    border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
    border-radius: calc(var(--radius-xl) + 2px);
    background:
        linear-gradient(145deg, color-mix(in srgb, #fff 62%, transparent), color-mix(in srgb, var(--surface) 92%, transparent));
    box-shadow:
        0 22px 54px rgba(87, 126, 166, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

html[data-theme-mode="dark"] .footer-studio-newsletter {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 86%, transparent), color-mix(in srgb, var(--neuro-plate) 94%, transparent));
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.footer-studio-newsletter h3 {
    margin: 0.25rem 0 0.9rem;
    font-size: clamp(1.45rem, 2.6vw, 2.25rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.footer-studio-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
}

.footer-studio-form input {
    min-height: 3.25rem;
    border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 84%, transparent);
    color: var(--ink);
    padding-inline: 1rem;
    font-weight: 800;
    outline: none;
}

.footer-studio-form input:focus {
    border-color: color-mix(in srgb, var(--accent-strong) 48%, transparent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.footer-studio-form .btn {
    min-height: 3.25rem;
    padding-inline: 1.2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    border: 0;
    box-shadow: 0 14px 28px rgba(24, 119, 255, 0.2);
}

.footer-studio-newsletter small {
    display: block;
    margin-top: 0.65rem;
    color: var(--muted);
    font-weight: 800;
}

.footer-studio-utility {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.footer-studio-links,
.footer-studio-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
}

.footer-studio-links a {
    color: var(--muted);
    font-weight: 900;
    text-decoration: none;
}

.footer-studio-links a:hover {
    color: var(--accent-strong);
}

.footer-studio-socials a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 70%, transparent);
    color: var(--accent-strong);
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(88, 128, 168, 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.footer-studio-socials a:hover {
    color: #fff;
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 16px 34px rgba(24, 119, 255, 0.24);
}

.footer-studio-socials span {
    color: var(--muted);
    font-weight: 800;
}

.footer-studio-ad {
    margin-top: 1.05rem;
}

.footer-studio-ad .ad-placeholder,
.footer-studio-ad .ad-live {
    min-height: 74px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, transparent), color-mix(in srgb, var(--surface-strong) 84%, transparent));
    box-shadow: none;
}

.footer-studio-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-studio-bottom a {
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
}

.footer-studio-bottom a:hover {
    color: var(--accent-strong);
}

@media (max-width: 991.98px) {
    .footer-studio-main {
        grid-template-columns: 1fr;
    }

    .footer-studio-newsletter {
        max-width: 640px;
    }
}

@media (max-width: 767.98px) {
    .site-footer.footer-studio {
        margin-top: 2.25rem;
    }

    .footer-studio-shell {
        width: min(100% - 1.25rem, 1320px);
        padding-block: 1rem;
    }

    .footer-studio-utility,
    .footer-studio-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Editorial article reading refresh */
.article-shell-wide {
    max-width: min(100%, 1280px);
}

.article-main-column {
    max-width: 1120px;
}

.article-body {
    position: relative;
    max-width: 940px;
    margin: clamp(1rem, 3vw, 2rem) auto 0;
    padding: clamp(0.25rem, 2vw, 1.25rem) clamp(0.25rem, 3vw, 2rem);
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    color: var(--ink);
    font-size: clamp(1.08rem, 1.45vw, 1.22rem);
    line-height: 1.88;
}

.article-body::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: clamp(-0.4rem, -1vw, -0.15rem);
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--accent), transparent 72%);
    opacity: 0.65;
}

.article-body > * {
    max-width: 760px;
    margin-inline: auto;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
}

.article-body h2 {
    position: relative;
    margin-top: clamp(2.4rem, 5vw, 4.2rem);
    margin-bottom: 0.9rem;
    font-size: clamp(2.1rem, 4vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -0.065em;
}

.article-body h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 5px;
    margin-top: 0.72rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-strong), var(--accent));
}

.article-body h3 {
    margin-top: 2.2rem;
    margin-bottom: 0.75rem;
    color: color-mix(in srgb, var(--ink) 88%, var(--muted));
    font-size: clamp(1.55rem, 2.6vw, 2.35rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.article-body p {
    margin-bottom: 1.25rem;
    color: color-mix(in srgb, var(--ink) 78%, var(--muted));
}

.article-body p:first-of-type {
    color: var(--ink);
    font-size: clamp(1.16rem, 1.8vw, 1.34rem);
    line-height: 1.75;
}

.article-body ol,
.article-body ul {
    display: grid;
    gap: 0.72rem;
    margin-block: 1.25rem 2rem;
    padding: 0;
}

.article-body ol {
    counter-reset: article-step;
    list-style: none;
}

.article-body ol > li {
    counter-increment: article-step;
}

.article-body ol > li,
.article-body ul > li {
    position: relative;
    min-height: 3.1rem;
    padding: 0.82rem 1rem 0.82rem 3.9rem;
    border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), color-mix(in srgb, var(--surface) 86%, transparent));
    color: var(--ink);
    box-shadow: 0 12px 26px rgba(87, 126, 166, 0.08);
}

html[data-theme-mode="dark"] .article-body ol > li,
html[data-theme-mode="dark"] .article-body ul > li {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 72%, transparent), color-mix(in srgb, var(--neuro-plate) 92%, transparent));
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.article-body ol > li::before,
.article-body ul > li::before {
    position: absolute;
    top: 0.72rem;
    left: 0.82rem;
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.88rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(24, 119, 255, 0.2);
}

.article-body ol > li::before {
    content: counter(article-step);
}

.article-body ul > li::before {
    content: "";
    width: 0.78rem;
    height: 0.78rem;
    top: 1.28rem;
    left: 1.45rem;
}

.article-body blockquote {
    margin-block: 2rem;
    padding: clamp(1.2rem, 3vw, 1.7rem);
    border: 0;
    border-left: 6px solid var(--accent-strong);
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 36%),
        color-mix(in srgb, var(--surface-strong) 82%, transparent);
    color: var(--ink);
    box-shadow: 0 18px 42px rgba(87, 126, 166, 0.1);
}

.article-body a {
    color: var(--accent-strong);
    font-weight: 900;
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.18em;
}

.article-body img,
.article-body table,
.article-body pre {
    max-width: min(100%, 940px);
}

.article-toolbelt {
    max-width: 940px;
    margin: clamp(2rem, 4vw, 3.4rem) auto 0;
    padding: clamp(1rem, 3vw, 1.45rem);
    border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    border-radius: 28px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 82%, transparent), color-mix(in srgb, var(--accent) 8%, transparent));
    box-shadow: 0 18px 46px rgba(87, 126, 166, 0.1);
}

.article-toolbelt h3 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    letter-spacing: -0.045em;
}

.article-toolbelt p {
    color: var(--muted);
}

.share-action-card {
    min-height: 58px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
    box-shadow: none;
}

.comment-zone {
    margin-top: clamp(2.8rem, 6vw, 4.5rem);
}

@media (max-width: 767.98px) {
    .article-body {
        max-width: 100%;
        margin-top: 0.5rem;
        padding-inline: 0.25rem;
        font-size: 1.04rem;
    }

    .article-body::before {
        display: none;
    }

    .article-body > * {
        max-width: 100%;
    }

    .article-body h2 {
        font-size: clamp(1.85rem, 10vw, 2.75rem);
    }

    .article-body ol > li,
    .article-body ul > li {
        padding-right: 0.85rem;
    }

    .article-toolbelt,
    .toolbelt-actions {
        grid-template-columns: 1fr;
    }
}

/* Full-width comment flow */
.article-shell-wide {
    max-width: min(100%, 1320px);
}

.comment-zone {
    width: 100%;
    max-width: 1320px;
    margin: clamp(3rem, 7vw, 5.5rem) auto 0;
}

.comment-zone .section-head {
    margin-bottom: 1.15rem;
}

.comment-zone .section-head h2 {
    max-width: 720px;
    font-size: clamp(2.2rem, 4.6vw, 4.75rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
}

.comment-layout {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: clamp(1rem, 3vw, 1.6rem);
}

.comment-form-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: clamp(1.2rem, 4vw, 3rem);
    align-items: start;
    padding: clamp(1.35rem, 4vw, 2.4rem);
    border-radius: calc(var(--radius-xl) + 8px);
}

.comment-form-card::before {
    content: "";
    position: absolute;
    inset: -24% auto auto -10%;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent), transparent 68%);
    pointer-events: none;
}

.comment-form-card > span,
.comment-form-card > h3,
.comment-form-card > p,
.comment-form-card > form {
    position: relative;
    z-index: 1;
}

.comment-form-card > span,
.comment-form-card > h3,
.comment-form-card > p {
    grid-column: 1;
}

.comment-form-card > h3 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

.comment-form-card > p {
    max-width: 38ch;
    margin: 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.comment-form-card > form {
    grid-column: 2;
    grid-row: 1 / span 3;
    width: 100%;
}

.comment-form .form-label {
    color: color-mix(in srgb, var(--ink) 86%, var(--muted));
    font-weight: 900;
}

.comment-form textarea.form-control {
    min-height: 170px;
}

.comment-form-footer {
    align-items: center;
    justify-content: space-between;
}

.comment-list-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: calc(var(--radius-xl) + 4px);
}

.comment-list-head {
    align-items: end;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}

.comment-list-head h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    letter-spacing: -0.055em;
}

.comment-stream {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 1rem;
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.comment-card {
    min-height: 160px;
    padding: 1.25rem;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), color-mix(in srgb, var(--surface-strong) 88%, transparent));
    box-shadow: 0 16px 36px rgba(87, 126, 166, 0.09);
}

html[data-theme-mode="dark"] .comment-card {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--surface-strong) 82%, transparent), color-mix(in srgb, var(--neuro-plate) 94%, transparent));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

@media (max-width: 991.98px) {
    .comment-form-card {
        grid-template-columns: 1fr;
    }

    .comment-form-card > span,
    .comment-form-card > h3,
    .comment-form-card > p,
    .comment-form-card > form {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 575.98px) {
    .comment-zone {
        margin-top: 2.4rem;
    }

    .comment-zone .section-head {
        align-items: flex-start;
    }

    .comment-zone .section-head h2 {
        font-size: clamp(2rem, 13vw, 3rem);
    }

    .comment-form-card,
    .comment-list-card {
        padding: 1rem;
        border-radius: 24px;
    }

    .rating-label {
        width: 40px;
        height: 40px;
    }

    .comment-form-footer,
    .comment-form-footer .btn {
        width: 100%;
    }
}

/* Visual calibration: less neumorphic, more editorial */
:root {
    --surface: rgba(247, 251, 255, 0.92);
    --surface-strong: rgba(255, 255, 255, 0.94);
    --surface-deep: rgba(238, 246, 254, 0.92);
    --line: rgba(63, 104, 145, 0.13);
    --shadow: 0 16px 38px rgba(31, 65, 102, 0.08);
    --shadow-strong: 0 24px 56px rgba(31, 65, 102, 0.12);
    --neuro-highlight: rgba(255, 255, 255, 0.72);
    --neuro-shadow: rgba(31, 65, 102, 0.12);
    --neuro-shadow-soft: rgba(31, 65, 102, 0.08);
    --neuro-raised: 0 14px 34px rgba(31, 65, 102, 0.075);
    --neuro-raised-strong: 0 22px 48px rgba(31, 65, 102, 0.11);
    --neuro-inset: inset 0 1px 0 rgba(255, 255, 255, 0.62);
    --neuro-inset-soft: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    --neuro-border: rgba(63, 104, 145, 0.12);
    --neuro-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 249, 255, 0.82));
}

html[data-theme-mode="dark"] {
    --surface: rgba(14, 25, 41, 0.92);
    --surface-strong: rgba(18, 31, 50, 0.94);
    --surface-deep: rgba(10, 19, 32, 0.94);
    --line: rgba(151, 187, 230, 0.13);
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
    --shadow-strong: 0 26px 58px rgba(0, 0, 0, 0.32);
    --neuro-highlight: rgba(255, 255, 255, 0.06);
    --neuro-shadow: rgba(0, 0, 0, 0.28);
    --neuro-shadow-soft: rgba(0, 0, 0, 0.2);
    --neuro-raised: 0 16px 38px rgba(0, 0, 0, 0.22);
    --neuro-raised-strong: 0 24px 54px rgba(0, 0, 0, 0.3);
    --neuro-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    --neuro-inset-soft: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    --neuro-border: rgba(151, 187, 230, 0.12);
    --neuro-gradient: linear-gradient(180deg, rgba(20, 35, 55, 0.94), rgba(13, 24, 40, 0.94));
}

body {
    background:
        radial-gradient(circle at 10% -8%, rgba(121, 201, 255, 0.13), transparent 28%),
        radial-gradient(circle at 92% 10%, rgba(24, 119, 255, 0.07), transparent 26%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.hero-main-panel,
.hero-side-card,
.page-hero-panel,
.featured-story,
.post-card,
.category-card,
.info-panel,
.category-panel,
.search-panel,
.article-hero-shell,
.comment-form-card,
.comment-list-card,
.cookie-modal-card,
.admin-card,
.stat-card,
.empty-state,
.category-preview-card,
.archive-lead-story,
.sidebar-widget,
.headline-story-card,
.story-mini-card,
.story-inline-card,
.business-panel,
.featured-focus-card,
.sponsor-strip,
.case-study-shell,
.case-study-card,
.social-showcase,
.article-toolbelt,
.newsletter-shell,
.contact-shell,
.modal-launch-card,
.footer-studio-newsletter {
    border-color: color-mix(in srgb, var(--line) 82%, transparent);
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--surface) 96%, transparent));
    box-shadow: var(--shadow);
}

html[data-theme-mode="dark"] .hero-main-panel,
html[data-theme-mode="dark"] .hero-side-card,
html[data-theme-mode="dark"] .page-hero-panel,
html[data-theme-mode="dark"] .featured-story,
html[data-theme-mode="dark"] .post-card,
html[data-theme-mode="dark"] .category-card,
html[data-theme-mode="dark"] .info-panel,
html[data-theme-mode="dark"] .category-panel,
html[data-theme-mode="dark"] .search-panel,
html[data-theme-mode="dark"] .article-hero-shell,
html[data-theme-mode="dark"] .comment-form-card,
html[data-theme-mode="dark"] .comment-list-card,
html[data-theme-mode="dark"] .cookie-modal-card,
html[data-theme-mode="dark"] .admin-card,
html[data-theme-mode="dark"] .stat-card,
html[data-theme-mode="dark"] .empty-state,
html[data-theme-mode="dark"] .category-preview-card,
html[data-theme-mode="dark"] .archive-lead-story,
html[data-theme-mode="dark"] .sidebar-widget,
html[data-theme-mode="dark"] .headline-story-card,
html[data-theme-mode="dark"] .story-mini-card,
html[data-theme-mode="dark"] .story-inline-card,
html[data-theme-mode="dark"] .business-panel,
html[data-theme-mode="dark"] .featured-focus-card,
html[data-theme-mode="dark"] .sponsor-strip,
html[data-theme-mode="dark"] .case-study-shell,
html[data-theme-mode="dark"] .case-study-card,
html[data-theme-mode="dark"] .social-showcase,
html[data-theme-mode="dark"] .article-toolbelt,
html[data-theme-mode="dark"] .newsletter-shell,
html[data-theme-mode="dark"] .contact-shell,
html[data-theme-mode="dark"] .modal-launch-card,
html[data-theme-mode="dark"] .footer-studio-newsletter {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 92%, transparent), color-mix(in srgb, var(--surface) 96%, transparent));
}

.post-card:hover,
.category-card:hover,
.info-panel:hover,
.category-panel:hover,
.story-inline-card:hover,
.story-mini-card:hover,
.case-study-card:hover,
.business-panel:hover,
.modal-launch-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.form-control,
.form-select,
.form-check-input,
.newsletter-form input,
.footer-studio-form input,
.hero-search-panel input {
    border-color: color-mix(in srgb, var(--line) 86%, transparent);
    background: color-mix(in srgb, var(--surface-strong) 86%, transparent);
    box-shadow: none;
}

.form-control:focus,
.form-select:focus,
.newsletter-form input:focus,
.footer-studio-form input:focus,
.hero-search-panel input:focus {
    border-color: color-mix(in srgb, var(--accent-strong) 42%, var(--line));
    background: color-mix(in srgb, var(--surface-strong) 96%, transparent);
    box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent) 16%, transparent);
}

.btn,
.share-chip,
.social-link-pill,
.share-action-card,
.theme-toggle-floating,
.language-switcher,
.category-card-total,
.comment-summary-pill,
.article-rating-box,
.rating-label {
    box-shadow: 0 10px 24px rgba(31, 65, 102, 0.08);
}

.btn:hover,
.share-chip:hover,
.social-link-pill:hover,
.share-action-card:hover,
.theme-toggle-floating:hover,
.theme-toggle-floating:focus {
    box-shadow: 0 14px 32px rgba(31, 65, 102, 0.12);
}

.post-card-media,
.story-inline-media,
.story-mini-media,
.archive-lead-media,
.case-study-card-media,
.featured-focus-media,
.article-cover {
    box-shadow: 0 10px 26px rgba(11, 30, 52, 0.12);
}

.article-body ol > li,
.article-body ul > li,
.comment-card {
    box-shadow: 0 10px 26px rgba(31, 65, 102, 0.06);
}

.comment-form-card::before,
.footer-studio::before,
.social-showcase::before,
.article-toolbelt::before {
    opacity: 0.45;
}

.bg-grid {
    opacity: 0.13;
}

/* Latest insights editorial block */
.insights-editorial {
    position: relative;
    overflow: hidden;
    padding: clamp(1.1rem, 3vw, 1.6rem);
    border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
    border-radius: calc(var(--radius-xl) + 8px);
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 34%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 94%, transparent), color-mix(in srgb, var(--surface) 96%, transparent));
    box-shadow: var(--shadow);
}

.insights-editorial::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 55%, color-mix(in srgb, var(--accent) 8%, transparent) 74%, transparent 100%);
    pointer-events: none;
}

.insights-editorial > * {
    position: relative;
    z-index: 1;
}

.insights-editorial-head {
    align-items: end;
    padding: clamp(0.4rem, 2vw, 0.8rem) clamp(0.2rem, 1vw, 0.5rem) clamp(1rem, 3vw, 1.5rem);
}

.insights-editorial-head h2 {
    max-width: 850px;
    font-size: clamp(2.3rem, 5.6vw, 5.5rem);
    line-height: 0.92;
    letter-spacing: -0.08em;
}

.insights-editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(1rem, 3vw, 1.4rem);
}

.insight-lead-card,
.insight-side-card {
    border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
    background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
    box-shadow: 0 14px 34px rgba(31, 65, 102, 0.075);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.insight-lead-card:hover,
.insight-side-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--category-accent) 24%, var(--line));
    box-shadow: 0 22px 48px rgba(31, 65, 102, 0.11);
}

.insight-lead-card {
    display: grid;
    overflow: hidden;
    border-radius: calc(var(--radius-xl) + 2px);
}

.insight-lead-media,
.insight-side-media {
    position: relative;
    overflow: hidden;
    display: block;
    background: var(--dark);
}

.insight-lead-media {
    min-height: clamp(300px, 38vw, 490px);
}

.insight-lead-media::after,
.insight-side-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 10, 20, 0.04), rgba(3, 10, 20, 0.28)),
        radial-gradient(circle at 14% 10%, color-mix(in srgb, var(--category-accent) 26%, transparent), transparent 34%);
    pointer-events: none;
}

.insight-lead-media img,
.insight-side-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition: transform 620ms cubic-bezier(.2, .8, .2, 1), filter 620ms ease;
}

.insight-lead-card:hover .insight-lead-media img,
.insight-side-card:hover .insight-side-media img {
    filter: saturate(1.06) contrast(1.03);
    transform: scale(1.045);
}

.insight-lead-media .meta-chip {
    position: absolute;
    z-index: 2;
    left: 1rem;
    bottom: 1rem;
    color: #fff;
    background: color-mix(in srgb, var(--category-accent) 64%, rgba(5, 12, 24, 0.58));
    border-color: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
}

.insight-lead-copy {
    padding: clamp(1.15rem, 3vw, 1.8rem);
}

.insight-lead-copy h3 {
    margin: 0.65rem 0 0.85rem;
    font-size: clamp(2rem, 4.3vw, 4.15rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
}

.insight-lead-copy h3 a,
.insight-side-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.insight-lead-copy p,
.insight-side-copy p {
    color: var(--muted);
    line-height: 1.72;
}

.insight-lead-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
}

.insight-side-stack {
    display: grid;
    gap: clamp(0.9rem, 2vw, 1.1rem);
}

.insight-side-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    overflow: hidden;
    min-height: 180px;
    border-radius: var(--radius-xl);
    padding: 0.85rem;
}

.insight-side-media {
    min-height: 100%;
    border-radius: calc(var(--radius-xl) - 8px);
}

.insight-side-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding-block: 0.2rem;
}

.insight-side-copy h3 {
    margin: 0.45rem 0 0.55rem;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.insight-side-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0.7rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 1199.98px) {
    .insights-editorial-grid {
        grid-template-columns: 1fr;
    }

    .insight-side-stack {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .insight-side-card {
        grid-template-columns: 1fr;
    }

    .insight-side-media {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 767.98px) {
    .insights-editorial {
        padding: 0.85rem;
        border-radius: 26px;
    }

    .insights-editorial-head {
        align-items: flex-start;
    }

    .insights-editorial-head h2 {
        font-size: clamp(2rem, 13vw, 3.4rem);
    }

    .insight-side-stack {
        grid-template-columns: 1fr;
    }

    .insight-lead-copy h3 {
        font-size: clamp(1.85rem, 11vw, 3rem);
    }

    .insight-side-card {
        grid-template-columns: 120px minmax(0, 1fr);
        min-height: 150px;
    }

    .insight-side-copy p {
        display: none;
    }
}

@media (max-width: 479.98px) {
    .insight-side-card {
        grid-template-columns: 1fr;
    }

    .insight-side-media {
        aspect-ratio: 16 / 9;
    }
}

/* Reading page: paper-like article body with screen-friendly contrast */
.article-shell-wide {
    max-width: min(100%, 1240px);
}

.article-main-column {
    max-width: 100%;
}

.article-body {
    --reader-paper: #fffdf8;
    --reader-ink: #182233;
    --reader-muted: #3f4f63;
    --reader-line: rgba(35, 62, 91, 0.12);
    --reader-soft: #f6f9fc;
    position: relative;
    max-width: min(100%, 980px);
    margin: clamp(1.6rem, 4vw, 3rem) auto 0;
    padding: clamp(2rem, 5vw, 4.8rem) clamp(1.25rem, 5vw, 5.2rem);
    border: 1px solid var(--reader-line) !important;
    border-radius: 28px !important;
    background:
        linear-gradient(90deg, rgba(24, 119, 255, 0.035), transparent 18%),
        var(--reader-paper) !important;
    box-shadow:
        0 34px 90px rgba(34, 62, 92, 0.13),
        0 2px 0 rgba(255, 255, 255, 0.9) inset !important;
    color: var(--reader-ink);
    font-size: clamp(1.08rem, 1.22vw, 1.17rem);
    line-height: 1.82;
    letter-spacing: 0.004em;
    text-rendering: optimizeLegibility;
}

.article-body::before {
    content: "";
    display: block;
    position: absolute;
    inset: clamp(1.4rem, 4vw, 3rem) auto clamp(1.4rem, 4vw, 3rem) clamp(0.85rem, 2vw, 1.6rem);
    width: 1px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, rgba(35, 62, 91, 0.13), transparent);
    opacity: 1;
}

html[data-theme-mode="dark"] .article-body {
    --reader-paper: #111827;
    --reader-ink: #e8edf5;
    --reader-muted: #b5c0ce;
    --reader-line: rgba(188, 210, 238, 0.13);
    --reader-soft: #172033;
    background:
        linear-gradient(90deg, rgba(87, 164, 255, 0.055), transparent 18%),
        var(--reader-paper) !important;
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.38),
        0 1px 0 rgba(255, 255, 255, 0.055) inset !important;
    color: var(--reader-ink);
}

html[data-theme-mode="dark"] .article-body::before {
    background: linear-gradient(180deg, transparent, rgba(188, 210, 238, 0.13), transparent);
}

.article-body > * {
    max-width: 72ch;
    margin-inline: auto;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--reader-ink);
    letter-spacing: -0.045em;
}

.article-body h2 {
    margin-top: clamp(2.2rem, 4.5vw, 3.8rem);
    margin-bottom: 0.8rem;
    font-size: clamp(1.9rem, 3.2vw, 2.75rem);
    line-height: 1.08;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h2::after {
    width: 46px;
    height: 3px;
    margin-top: 0.58rem;
    background: linear-gradient(90deg, var(--accent-strong), color-mix(in srgb, var(--accent) 55%, transparent));
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    font-size: clamp(1.45rem, 2.35vw, 2.05rem);
    line-height: 1.14;
}

.article-body p,
.article-body li {
    color: var(--reader-muted);
}

.article-body p {
    margin-bottom: 1.18rem;
}

.article-body p:first-of-type {
    color: var(--reader-ink);
    font-size: clamp(1.12rem, 1.45vw, 1.25rem);
    line-height: 1.76;
}

.article-body strong,
.article-body b {
    color: var(--reader-ink);
}

.article-body ol,
.article-body ul {
    display: block;
    max-width: 68ch;
    margin-block: 1.2rem 2rem;
    padding: 0;
}

.article-body ol > li,
.article-body ul > li {
    min-height: auto;
    margin: 0.62rem 0;
    padding: 0.78rem 1rem 0.78rem 3.5rem;
    border: 1px solid var(--reader-line);
    border-radius: 16px;
    background: var(--reader-soft);
    box-shadow: none;
    color: var(--reader-ink);
}

.article-body ol > li::before,
.article-body ul > li::before {
    top: 0.72rem;
    left: 0.85rem;
    box-shadow: none;
}

.article-body ul > li::before {
    top: 1.15rem;
    left: 1.34rem;
}

.article-body blockquote {
    max-width: 70ch;
    border-left-color: var(--accent-strong);
    background: color-mix(in srgb, var(--accent) 7%, var(--reader-soft));
    box-shadow: none;
}

.article-body code {
    background: color-mix(in srgb, var(--accent) 12%, var(--reader-soft));
    color: var(--reader-ink);
}

.article-body a {
    color: var(--accent-strong);
}

@media (max-width: 767.98px) {
    .article-body {
        margin-top: 1rem;
        padding: 1.45rem 1.15rem;
        border-radius: 22px !important;
        font-size: 1.04rem;
        line-height: 1.78;
    }

    .article-body::before {
        display: none;
    }

    .article-body > *,
    .article-body ol,
    .article-body ul {
        max-width: 100%;
    }

    .article-body h2 {
        font-size: clamp(1.65rem, 9vw, 2.35rem);
    }

    .article-body ol > li,
    .article-body ul > li {
        padding: 0.72rem 0.85rem 0.72rem 3.1rem;
    }
}

/* Mobile post reader: clean content canvas, no card border */
@media (max-width: 767.98px) {
    .article-hero,
    .article-reading-section {
        background: #fffdf8;
    }

    html[data-theme-mode="dark"] .article-hero,
    html[data-theme-mode="dark"] .article-reading-section {
        background: #101827;
    }

    .article-hero {
        padding: 0;
    }

    .article-hero > .container,
    .article-reading-section > .container {
        width: 100%;
        max-width: none;
        padding-inline: 0;
    }

    .article-hero-shell {
        padding: 1.1rem 1.05rem 1.35rem !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fffdf8 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    html[data-theme-mode="dark"] .article-hero-shell {
        background: #101827 !important;
    }

    .article-hero-shell::before,
    .article-hero-shell::after {
        display: none;
    }

    .article-title {
        font-size: clamp(2.1rem, 12vw, 3.15rem);
        line-height: 0.98;
        letter-spacing: -0.06em;
    }

    .article-excerpt {
        font-size: 1rem;
        line-height: 1.65;
    }

    .article-meta-strip {
        display: grid;
        gap: 0.9rem;
    }

    .article-rating-box {
        width: 100%;
        justify-content: flex-start;
        padding: 0.85rem 0.95rem;
        border-radius: 18px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(31, 65, 102, 0.08);
    }

    html[data-theme-mode="dark"] .article-rating-box {
        background: #141f32;
    }

    .article-share-inline {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
        justify-content: stretch;
    }

    .article-share-inline .btn,
    .article-share-inline .share-chip {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        padding: 0.68rem 0.8rem;
        border-radius: 999px;
        font-size: 0.92rem;
        box-shadow: 0 8px 18px rgba(31, 65, 102, 0.08);
    }

    .article-cover {
        margin-top: 1.15rem;
        border-radius: 18px;
        box-shadow: none;
    }

    .article-reading-section {
        padding: 0 0 2.5rem;
    }

    .article-reading-section .article-shell-wide,
    .article-reading-section .article-main-column {
        max-width: none;
        width: 100%;
    }

    .article-reading-section .article-body {
        --reader-paper: #fffdf8;
        max-width: none;
        margin: 0;
        padding: 1.45rem 1.15rem 2.25rem;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fffdf8 !important;
        box-shadow: none !important;
    }

    html[data-theme-mode="dark"] .article-reading-section .article-body {
        --reader-paper: #101827;
        --reader-soft: #172033;
        background: #101827 !important;
    }

    .article-reading-section .article-body > *,
    .article-reading-section .article-body ol,
    .article-reading-section .article-body ul {
        max-width: 100%;
    }

    .article-toolbelt {
        margin: 1.5rem 1rem 0;
    }

    .comment-zone {
        width: calc(100% - 2rem);
    }
}

/* Lab downloads section */
.lab-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(520px, 72vh, 760px);
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(5, 12, 24, 0.9), rgba(5, 12, 24, 0.52), rgba(5, 12, 24, 0.16)),
        var(--lab-cover);
    background-position: center;
    background-size: cover;
}

.lab-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 38%;
    background: linear-gradient(180deg, transparent, var(--bg));
}

.lab-hero-content {
    max-width: 780px;
    padding-block: clamp(5rem, 12vw, 8rem);
    color: #fff;
}

.lab-hero-content .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.lab-hero-content h1 {
    margin: 0.7rem 0 1rem;
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
}

.lab-hero-content p {
    max-width: 65ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.75;
}

.lab-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
    border-radius: calc(var(--radius-xl) + 8px);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.lab-featured-media,
.lab-resource-media {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--dark);
}

.lab-featured-media {
    min-height: 420px;
}

.lab-featured-media img,
.lab-resource-media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: block;
    object-fit: cover;
    transition: transform 520ms ease, filter 520ms ease;
}

.lab-featured-card:hover img,
.lab-resource-card:hover img {
    filter: saturate(1.06) contrast(1.03);
    transform: scale(1.045);
}

.lab-featured-media span,
.lab-resource-media span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.52rem 0.8rem;
    border-radius: 999px;
    background: rgba(5, 12, 24, 0.62);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.lab-featured-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.25rem, 4vw, 2.4rem);
}

.lab-featured-copy p,
.lab-resource-body p {
    color: var(--muted);
    line-height: 1.72;
}

.lab-resource-credit {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1rem;
    color: var(--ink);
    font-weight: 800;
}

.lab-resource-credit img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
}

.lab-resource-credit i {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.lab-resource-credit a {
    color: var(--accent-strong);
    text-decoration: none;
}

.lab-featured-actions,
.lab-resource-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
}

.lab-featured-actions span,
.lab-resource-footer span {
    color: var(--muted);
    font-weight: 800;
}

.lab-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.lab-resource-card {
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
    border-radius: var(--radius-xl);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.lab-resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.lab-resource-media {
    aspect-ratio: 16 / 10;
}

.lab-resource-body {
    padding: 1.15rem;
}

.lab-resource-body h3 {
    margin-bottom: 0.6rem;
    font-size: 1.45rem;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.lab-resource-body h3 a {
    color: inherit;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .lab-featured-card,
    .lab-resource-grid {
        grid-template-columns: 1fr;
    }

    .lab-featured-media {
        min-height: 300px;
    }
}

@media (max-width: 575.98px) {
    .lab-hero {
        min-height: 560px;
    }

    .lab-hero-content h1 {
        font-size: clamp(2.65rem, 16vw, 4.5rem);
    }

    .lab-featured-copy,
    .lab-resource-body {
        padding: 1rem;
    }
}

/* Hero CTA polish: cleaner chips, sharper buttons, calmer glass */
.landing-cover .hero-popular-searches {
    gap: 0.62rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.96rem;
    line-height: 1;
}

.landing-cover .hero-popular-searches span {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    margin-right: 0.12rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.landing-cover .hero-popular-searches span::before {
    content: "";
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 999px;
    background: linear-gradient(145deg, #9edcff, #2b8cff);
    box-shadow: 0 0 0 6px rgba(100, 185, 255, 0.13), 0 0 26px rgba(83, 177, 255, 0.52);
}

.landing-cover .hero-popular-searches a {
    position: relative;
    overflow: hidden;
    padding: 0.62rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
        rgba(10, 21, 38, 0.18);
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 26px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px) saturate(150%);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.landing-cover .hero-popular-searches a::after {
    content: "";
    position: absolute;
    inset: 1px auto 1px -40%;
    width: 38%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-14deg);
    opacity: 0;
    transition: left 420ms ease, opacity 180ms ease;
}

.landing-cover .hero-popular-searches a:hover,
.landing-cover .hero-popular-searches a:focus-visible {
    border-color: rgba(147, 211, 255, 0.82);
    background:
        linear-gradient(145deg, rgba(107, 185, 255, 0.34), rgba(255, 255, 255, 0.12)),
        rgba(10, 21, 38, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 14px 34px rgba(18, 112, 232, 0.28);
    color: #fff;
    transform: translateY(-2px);
}

.landing-cover .hero-popular-searches a:hover::after,
.landing-cover .hero-popular-searches a:focus-visible::after {
    left: 112%;
    opacity: 1;
}

.landing-cover-actions {
    gap: 0.95rem;
    margin-top: 1.4rem;
}

.landing-cover-actions .btn {
    position: relative;
    overflow: hidden;
    min-height: 60px;
    padding: 0.82rem 1.35rem !important;
    border-radius: 20px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease, background 190ms ease;
}

.landing-cover-actions .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 22% 0%, rgba(255, 255, 255, 0.52), transparent 34%);
    opacity: 0.65;
    pointer-events: none;
}

.landing-cover-actions .btn > i {
    position: relative;
    z-index: 1;
    display: inline-grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 0.95rem;
    font-size: 1rem;
    transition: transform 190ms ease, background 190ms ease, color 190ms ease;
}

.landing-cover-actions .btn-light {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(226, 244, 255, 0.9)),
        #fff;
    color: #102033;
    text-shadow: none;
}

.landing-cover-actions .btn-light > i {
    background: linear-gradient(145deg, rgba(44, 145, 255, 0.14), rgba(44, 145, 255, 0.06));
    color: var(--accent-strong);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.landing-cover-actions .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
        rgba(255, 255, 255, 0.04);
    color: #fff;
    backdrop-filter: blur(18px) saturate(145%);
}

.landing-cover-actions .btn-outline-light > i {
    background: rgba(255, 255, 255, 0.12);
    color: #dff3ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.landing-cover-actions .btn:hover,
.landing-cover-actions .btn:focus-visible {
    transform: translateY(-3px);
}

.landing-cover-actions .btn-light:hover,
.landing-cover-actions .btn-light:focus-visible {
    border-color: rgba(150, 217, 255, 0.92);
    box-shadow: 0 22px 54px rgba(73, 170, 255, 0.34), 0 0 0 6px rgba(117, 203, 255, 0.12);
}

.landing-cover-actions .btn-outline-light:hover,
.landing-cover-actions .btn-outline-light:focus-visible {
    border-color: rgba(188, 229, 255, 0.76);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
        rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(255, 255, 255, 0.08);
    color: #fff;
}

.landing-cover-actions .btn:hover > i,
.landing-cover-actions .btn:focus-visible > i {
    transform: translateY(-1px) rotate(-4deg) scale(1.04);
}

@media (max-width: 575.98px) {
    .landing-cover .hero-popular-searches {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
    }

    .landing-cover .hero-popular-searches::-webkit-scrollbar {
        display: none;
    }

    .landing-cover .hero-popular-searches span,
    .landing-cover .hero-popular-searches a {
        white-space: nowrap;
    }

    .landing-cover-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .landing-cover-actions .btn {
        justify-content: center;
        min-height: 56px;
        width: 100%;
    }
}

/* Official Marketing Studies brand system */
.navbar-brand.has-official-logo {
    max-width: min(58vw, 270px);
}

.brand-logo-shell {
    display: block;
    width: clamp(178px, 18vw, 260px);
    height: clamp(48px, 5vw, 66px);
}

.brand-official .brand-logo {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(6, 43, 82, 0.1));
}

html[data-theme-mode="dark"] .brand-official .brand-logo,
html[data-theme-mode="dark"] .footer-studio-logo {
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
}

h1,
h2,
.cover-animated-title,
.article-title,
.category-cover-content h1,
.lab-hero-content h1,
.page-hero-panel h1,
.newsletter-copy h2,
.contact-copy h2 {
    font-family: var(--brand-serif);
    font-weight: 700;
    letter-spacing: -0.045em;
}

.navbar-brand strong,
.nav-link,
.btn,
.eyebrow,
.post-link,
.section-link {
    letter-spacing: -0.015em;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(201, 133, 59, 0.12), transparent 24%),
        radial-gradient(circle at 92% 10%, rgba(6, 43, 82, 0.08), transparent 22%),
        linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.site-header {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--brand-cream) 86%, transparent), color-mix(in srgb, var(--brand-cream) 72%, transparent));
}

html[data-theme-mode="dark"] .site-header {
    background:
        linear-gradient(180deg, rgba(7, 19, 33, 0.9), rgba(7, 19, 33, 0.78));
}

.nav-link.active,
.nav-link:hover,
.section-link,
.post-link {
    color: var(--accent);
}

.nav-link::after {
    background: linear-gradient(90deg, var(--brand-gold), color-mix(in srgb, var(--brand-gold) 42%, transparent));
}

.landing-cover::after {
    background:
        radial-gradient(circle at 20% 34%, rgba(201, 133, 59, 0.28), transparent 24%),
        linear-gradient(90deg, rgba(3, 23, 43, 0.94) 0%, rgba(5, 31, 58, 0.82) 46%, rgba(5, 31, 58, 0.36) 100%),
        linear-gradient(180deg, rgba(5, 20, 36, 0.2), rgba(5, 20, 36, 0.88));
}

.hero-search-panel button,
.newsletter-form button,
.btn-primary,
.btn-dark,
.contact-form .btn {
    border-color: color-mix(in srgb, var(--brand-gold) 38%, var(--brand-navy));
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-gold));
    color: #fff;
    box-shadow: 0 18px 38px rgba(6, 43, 82, 0.22), 0 8px 22px rgba(201, 133, 59, 0.16);
}

.hero-search-panel button:hover,
.newsletter-form button:hover,
.btn-primary:hover,
.btn-dark:hover,
.contact-form .btn:hover {
    background: linear-gradient(135deg, #082f59, #d99b52);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-primary,
.btn-outline-dark {
    border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
    color: var(--ink);
}

.btn-outline-primary:hover,
.btn-outline-dark:hover {
    border-color: var(--brand-gold);
    background: color-mix(in srgb, var(--brand-gold) 12%, transparent);
    color: var(--ink);
}

.landing-cover .hero-popular-searches span::before {
    background: linear-gradient(145deg, #f0c17d, var(--brand-gold));
    box-shadow: 0 0 0 6px rgba(201, 133, 59, 0.14), 0 0 26px rgba(201, 133, 59, 0.5);
}

.landing-cover .hero-popular-searches a:hover,
.landing-cover .hero-popular-searches a:focus-visible {
    border-color: rgba(236, 190, 124, 0.82);
    background:
        linear-gradient(145deg, rgba(201, 133, 59, 0.3), rgba(255, 255, 255, 0.1)),
        rgba(7, 30, 53, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 14px 34px rgba(201, 133, 59, 0.22);
}

.landing-cover-actions .btn-light {
    border-color: rgba(255, 246, 232, 0.85);
    background:
        linear-gradient(145deg, rgba(255, 252, 247, 0.98), rgba(244, 230, 208, 0.92)),
        #fffaf2;
    color: var(--brand-navy);
}

.landing-cover-actions .btn-light > i {
    background: linear-gradient(145deg, rgba(201, 133, 59, 0.16), rgba(6, 43, 82, 0.08));
    color: var(--brand-gold);
}

.landing-cover-actions .btn-light:hover,
.landing-cover-actions .btn-light:focus-visible {
    border-color: rgba(229, 176, 96, 0.92);
    box-shadow: 0 22px 54px rgba(201, 133, 59, 0.28), 0 0 0 6px rgba(201, 133, 59, 0.12);
}

.meta-chip,
.filter-pill.active,
.category-cover-icon,
.theme-toggle-floating {
    border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
}

.theme-toggle-floating {
    background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.footer-studio-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.footer-studio-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
}

.footer-studio-logo {
    width: min(320px, 62vw);
    max-height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(6, 43, 82, 0.1));
}

.footer-studio-brand-row p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.65;
    text-align: right;
}

.footer-studio-socials a:hover,
.footer-studio-links a:hover {
    color: var(--accent);
}

@media (max-width: 991.98px) {
    .footer-studio-brand-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-studio-brand-row p {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand.has-official-logo {
        max-width: 66vw;
    }

    .brand-logo-shell {
        width: min(64vw, 214px);
        height: 56px;
    }

    .footer-studio-logo {
        width: min(78vw, 280px);
    }
}

/* Serious Marketing Studies finish: no decorative gradients */
:root {
    --progress-fill: #c9853b;
    --neuro-gradient: #fffaf2;
}

html[data-theme-mode="dark"] {
    --progress-fill: #e0a35a;
    --neuro-gradient: #0b1726;
}

body,
html[data-theme-mode="dark"] body {
    background: var(--bg) !important;
}

.bg-grid,
.bg-orb,
.scroll-progress {
    background-image: none !important;
}

.scroll-progress::after {
    background: var(--progress-fill) !important;
    box-shadow: none;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: var(--surface-deep);
}

body::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb:hover {
    background: var(--brand-navy);
    background-clip: padding-box;
}

html[data-theme-mode="dark"] body::-webkit-scrollbar-thumb,
html[data-theme-mode="dark"] *::-webkit-scrollbar-thumb {
    background: var(--brand-gold);
    background-clip: padding-box;
}

.site-header,
html[data-theme-mode="dark"] .site-header,
.site-footer.footer-studio,
html[data-theme-mode="dark"] .site-footer.footer-studio {
    background: var(--surface-strong) !important;
}

.site-footer.footer-studio::before,
.page-hero-panel::before,
.page-hero-panel::after,
.article-hero-shell::before,
.article-hero-shell::after,
.post-card::before,
.case-study-shell::before,
.insights-editorial::before,
.article-body::before,
.article-body h2::after,
.landing-cover .hero-popular-searches a::after,
.landing-cover-actions .btn::before {
    display: none !important;
}

.nav-link::after,
.article-body h2::after {
    background: var(--brand-gold) !important;
}

.landing-cover::after,
.category-cover-hero::after,
.lab-hero::after,
.post-card-media::after,
.archive-lead-media::after,
.case-study-card-media::after,
.insight-lead-media::after,
.article-cover::after {
    background: rgba(4, 24, 43, 0.7) !important;
}

.landing-cover,
.category-cover-hero,
.lab-hero {
    background-color: var(--brand-navy);
}

.page-hero-panel,
.page-hero-panel-business,
.article-hero-shell,
.article-body,
.post-card,
.archive-lead-story,
.story-inline-card,
.story-mini-card,
.case-study-shell,
.case-study-card,
.insights-editorial,
.insight-lead-card,
.insight-side-card,
.newsletter-shell,
.contact-shell,
.comment-form-card,
.comment-list-card,
.sidebar-widget,
.search-panel,
.library-shell,
.category-card,
.lab-featured-card,
.lab-resource-card,
.empty-state,
.ad-placeholder,
.cookie-modal-card,
.footer-studio-ad,
.footer-studio-socials a,
.theme-toggle-floating,
.language-switcher,
.filter-pill,
.meta-chip,
.cover-stat-badge,
.ad-pill {
    background: var(--surface-strong) !important;
    background-image: none !important;
}

html[data-theme-mode="dark"] .page-hero-panel,
html[data-theme-mode="dark"] .page-hero-panel-business,
html[data-theme-mode="dark"] .article-hero-shell,
html[data-theme-mode="dark"] .article-body,
html[data-theme-mode="dark"] .post-card,
html[data-theme-mode="dark"] .archive-lead-story,
html[data-theme-mode="dark"] .story-inline-card,
html[data-theme-mode="dark"] .story-mini-card,
html[data-theme-mode="dark"] .case-study-shell,
html[data-theme-mode="dark"] .case-study-card,
html[data-theme-mode="dark"] .insights-editorial,
html[data-theme-mode="dark"] .insight-lead-card,
html[data-theme-mode="dark"] .insight-side-card,
html[data-theme-mode="dark"] .newsletter-shell,
html[data-theme-mode="dark"] .contact-shell,
html[data-theme-mode="dark"] .comment-form-card,
html[data-theme-mode="dark"] .comment-list-card,
html[data-theme-mode="dark"] .sidebar-widget,
html[data-theme-mode="dark"] .search-panel,
html[data-theme-mode="dark"] .library-shell,
html[data-theme-mode="dark"] .category-card,
html[data-theme-mode="dark"] .lab-featured-card,
html[data-theme-mode="dark"] .lab-resource-card,
html[data-theme-mode="dark"] .empty-state,
html[data-theme-mode="dark"] .ad-placeholder,
html[data-theme-mode="dark"] .cookie-modal-card,
html[data-theme-mode="dark"] .footer-studio-ad,
html[data-theme-mode="dark"] .footer-studio-socials a,
html[data-theme-mode="dark"] .theme-toggle-floating,
html[data-theme-mode="dark"] .language-switcher,
html[data-theme-mode="dark"] .filter-pill,
html[data-theme-mode="dark"] .meta-chip,
html[data-theme-mode="dark"] .cover-stat-badge,
html[data-theme-mode="dark"] .ad-pill {
    background: var(--surface-strong) !important;
    background-image: none !important;
}

.hero-search-panel,
.newsletter-form input,
.newsletter-form,
.contact-form .form-control,
.comment-form .form-control,
.form-control,
.form-select {
    background: #fffaf2 !important;
    background-image: none !important;
}

html[data-theme-mode="dark"] .hero-search-panel,
html[data-theme-mode="dark"] .newsletter-form input,
html[data-theme-mode="dark"] .newsletter-form,
html[data-theme-mode="dark"] .contact-form .form-control,
html[data-theme-mode="dark"] .comment-form .form-control,
html[data-theme-mode="dark"] .form-control,
html[data-theme-mode="dark"] .form-select {
    background: #101d2f !important;
    background-image: none !important;
}

.btn-primary,
.btn-dark,
.hero-search-panel button,
.newsletter-form button,
.contact-form .btn,
.comment-form .btn,
.case-study-intro-actions .btn,
.landing-cover-actions .btn-light {
    background: var(--brand-navy) !important;
    background-image: none !important;
    border-color: var(--brand-navy) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(6, 43, 82, 0.18) !important;
}

.btn-primary:hover,
.btn-dark:hover,
.hero-search-panel button:hover,
.newsletter-form button:hover,
.contact-form .btn:hover,
.comment-form .btn:hover,
.case-study-intro-actions .btn:hover,
.landing-cover-actions .btn-light:hover {
    background: #0c3d69 !important;
    border-color: #0c3d69 !important;
}

.landing-cover-actions .btn-outline-light,
.btn-outline-primary,
.btn-outline-dark,
.filter-pill,
.share-chip,
.article-share-inline .btn {
    background: transparent !important;
    background-image: none !important;
    border-color: var(--brand-gold) !important;
    color: var(--ink) !important;
}

.landing-cover-actions .btn-outline-light,
.landing-cover .hero-popular-searches a {
    color: #fff !important;
}

.landing-cover-actions .btn > i,
.landing-cover-actions .btn-light > i,
.landing-cover-actions .btn-outline-light > i,
.landing-cover .hero-popular-searches span::before,
.article-body ol > li::before,
.article-body ul > li::before,
.post-card-signal i,
.case-study-card-signals i,
.category-cover-icon,
.lab-resource-media span,
.lab-featured-media span {
    background: var(--brand-gold) !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: none !important;
}

.landing-cover .hero-popular-searches a,
.landing-cover .hero-popular-searches a:hover,
.landing-cover .hero-popular-searches a:focus-visible {
    background: rgba(4, 24, 43, 0.72) !important;
    background-image: none !important;
    border-color: rgba(255, 255, 255, 0.36) !important;
    box-shadow: none !important;
}

.meta-chip,
.filter-pill.active,
.cover-badge,
.cover-stat-badge {
    color: var(--ink) !important;
    border-color: color-mix(in srgb, var(--brand-gold) 42%, var(--line)) !important;
}

.article-body {
    background: #fffdf8 !important;
}

html[data-theme-mode="dark"] .article-body {
    background: #fffdf8 !important;
    color: #102033 !important;
}

html[data-theme-mode="dark"] .article-body h2,
html[data-theme-mode="dark"] .article-body h3,
html[data-theme-mode="dark"] .article-body h4,
html[data-theme-mode="dark"] .article-body p,
html[data-theme-mode="dark"] .article-body li {
    color: #102033 !important;
}

/* Article header actions: ordered, compact and professional */
.article-meta-strip {
    display: grid !important;
    grid-template-columns: minmax(260px, max-content) minmax(320px, 1fr);
    align-items: start !important;
    justify-content: start !important;
    column-gap: clamp(1rem, 3vw, 2rem);
    row-gap: 1rem;
    max-width: 980px;
}

.article-rating-box {
    width: min(100%, 380px);
    justify-content: flex-start;
}

.article-share-inline {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 0.55rem !important;
    width: min(100%, 420px);
}

.article-share-inline .btn,
.article-share-inline .share-chip {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0 !important;
    border-radius: 50% !important;
    font-size: 0.93rem;
    line-height: 1;
    box-shadow: none !important;
}

.article-share-inline .btn {
    flex: 0 0 auto;
}

.article-share-inline .share-chip {
    flex: 0 0 auto;
}

.article-share-inline i {
    margin: 0;
    font-size: 1.05rem;
}

@media (max-width: 1199.98px) {
    .article-meta-strip {
        grid-template-columns: 1fr;
    }

    .article-share-inline {
        width: 100%;
        max-width: 420px;
    }
}

@media (max-width: 575.98px) {
    .article-meta-strip {
        gap: 0.85rem;
    }

    .article-rating-box {
        width: 100%;
    }

    .article-share-inline {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.55rem !important;
        max-width: none;
    }

    .article-share-inline .btn,
    .article-share-inline .share-chip {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        justify-content: center;
    }
}

/* Cleaner article share icons */
.article-share-inline {
    gap: 0.45rem !important;
    width: auto;
    max-width: 360px;
}

.article-share-inline .btn,
.article-share-inline .share-chip,
.article-share-inline .share-chip-button {
    display: inline-grid !important;
    place-items: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 1px solid rgba(6, 43, 82, 0.16) !important;
    border-radius: 50% !important;
    background: #fffdf8 !important;
    color: var(--brand-navy) !important;
    box-shadow: 0 8px 18px rgba(6, 43, 82, 0.06) !important;
    text-decoration: none !important;
}

html[data-theme-mode="dark"] .article-share-inline .btn,
html[data-theme-mode="dark"] .article-share-inline .share-chip,
html[data-theme-mode="dark"] .article-share-inline .share-chip-button {
    border-color: rgba(224, 163, 90, 0.28) !important;
    background: #fffdf8 !important;
    color: var(--brand-navy) !important;
}

.article-share-inline .btn::before,
.article-share-inline .share-chip::before,
.article-share-inline .share-chip::after {
    display: none !important;
}

.article-share-inline .btn i,
.article-share-inline .share-chip i {
    display: block;
    margin: 0 !important;
    font-size: 0.96rem;
    line-height: 1;
}

.article-share-inline .btn:hover,
.article-share-inline .btn:focus-visible,
.article-share-inline .share-chip:hover,
.article-share-inline .share-chip:focus-visible {
    border-color: var(--brand-navy) !important;
    background: var(--brand-navy) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 575.98px) {
    .article-share-inline {
        max-width: none;
    }

    .article-share-inline .btn,
    .article-share-inline .share-chip,
    .article-share-inline .share-chip-button {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
    }
}
