/* ==========================================================================
   CARMENONCHAIN.AI — Ghost Theme
   Design System + Full Stylesheet
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --bg: #060918;
    --text-primary: #F1F5F9;
    --text-secondary: #CBD5E1;
    --text-muted: #64748B;
    --purple: #7C3AED;
    --purple-light: #A78BFA;
    --cyan: #06B6D4;
    --pink: #EC4899;
    --green: #34D399;
    --amber: #FBBF24;
    --orange: #FB923C;
    --gradient: linear-gradient(135deg, #7C3AED 0%, #06B6D4 50%, #EC4899 100%);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
    --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    cursor: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; border: none; outline: none; }

/* ---------- Utilities ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-eyebrow {
    display: inline-block;
    font-family: var(--mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 48px;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gradient);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width .15s, height .15s;
}
.cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--purple-light);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .25s, height .25s, border-color .25s;
    opacity: .5;
}
@media (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
}

/* ---------- Atmospheric Orbs ---------- */
.atmos-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .18;
}
.orb--purple {
    width: 600px; height: 600px;
    background: var(--purple);
    top: -10%; left: -10%;
    animation: orbFloat1 18s ease-in-out infinite;
}
.orb--cyan {
    width: 500px; height: 500px;
    background: var(--cyan);
    top: 40%; right: -8%;
    animation: orbFloat2 22s ease-in-out infinite;
}
.orb--pink {
    width: 450px; height: 450px;
    background: var(--pink);
    bottom: -5%; left: 30%;
    animation: orbFloat3 20s ease-in-out infinite;
}
@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(60px, 80px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -60px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -50px); }
}

/* ---------- Particles ---------- */
.particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: .35;
    animation: particleRise linear infinite;
}
@keyframes particleRise {
    0% { transform: translateY(0) scale(1); opacity: .35; }
    80% { opacity: .15; }
    100% { transform: translateY(-110vh) scale(.4); opacity: 0; }
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(6, 9, 24, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(124, 58, 237, .08);
    transition: border-bottom-width .3s, border-color .3s;
}
.nav.scrolled {
    border-bottom: 2px solid rgba(124, 58, 237, .25);
}
.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    font-weight: 800;
    font-size: 1.15rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}
.nav__links {
    display: flex;
    gap: 32px;
}
.nav__links a {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .2s;
    position: relative;
}
.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform .25s;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
    font-size: .8rem;
    font-weight: 600;
    padding: 8px 20px;
    border: 1px solid var(--purple);
    border-radius: 8px;
    color: var(--purple-light);
    transition: background .25s, color .25s;
    white-space: nowrap;
}
.nav__cta:hover {
    background: var(--purple);
    color: #fff;
}
.nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    cursor: pointer;
    padding: 4px;
}
.nav__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(6, 9, 24, .95);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.mobile-menu__links a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color .2s;
}
.mobile-menu__links a:hover { color: var(--text-primary); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--gradient {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 24px rgba(124, 58, 237, .3);
}
.btn--gradient:hover {
    box-shadow: 0 6px 32px rgba(124, 58, 237, .45);
}
.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(124, 58, 237, .35);
}
.btn--ghost:hover {
    border-color: var(--purple-light);
    color: var(--text-primary);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    overflow: hidden;
    z-index: 2;
}
.hero__dotgrid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(124, 58, 237, .12) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
}
.hero__scanline {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: .4;
    z-index: 1;
    animation: scanline 4s linear infinite;
}
@keyframes scanline {
    0% { top: 0; }
    100% { top: 100%; }
}
.hero__shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.shape {
    position: absolute;
    opacity: .15;
}
.shape--triangle {
    top: 15%; right: 12%;
    width: 0; height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--purple-light);
    animation: shapeFloat 8s ease-in-out infinite;
}
.shape--ring {
    top: 60%; right: 25%;
    width: 40px; height: 40px;
    border: 3px solid var(--cyan);
    border-radius: 50%;
    animation: shapeFloat 10s ease-in-out infinite 1s;
}
.shape--square {
    bottom: 20%; left: 8%;
    width: 28px; height: 28px;
    border: 3px solid var(--pink);
    animation: shapeSpin 12s linear infinite;
}
.shape--diamond {
    top: 30%; left: 15%;
    width: 22px; height: 22px;
    background: var(--amber);
    transform: rotate(45deg);
    animation: shapeFloat 9s ease-in-out infinite 2s;
}
.shape--dot {
    bottom: 35%; right: 8%;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--green);
    animation: shapeFloat 7s ease-in-out infinite .5s;
}
@keyframes shapeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes shapeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 60px;
}
.hero__eyebrow {
    display: inline-block;
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--purple-light);
    background: rgba(124, 58, 237, .1);
    border: 1px solid rgba(124, 58, 237, .25);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.hero__headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}
.hero__headline .hw {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: wordReveal .5s ease forwards;
}
.hero__headline .hw:nth-child(1) { animation-delay: .1s; }
.hero__headline .hw:nth-child(2) { animation-delay: .2s; }
.hero__headline .hw:nth-child(3) { animation-delay: .3s; }
.hero__headline .hw:nth-child(4) { animation-delay: .45s; }
.hero__headline .hw:nth-child(5) { animation-delay: .55s; }
.hero__headline .hw:nth-child(6) { animation-delay: .65s; }
@keyframes wordReveal {
    to { opacity: 1; transform: translateY(0); }
}
.hero__tagline {
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 300;
    color: var(--purple-light);
    margin-bottom: 20px;
}
.hero__sub {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}
.hero__ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero__avatar-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__avatar {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    object-fit: cover;
}

/* ---------- Ticker Bar ---------- */
.ticker {
    position: relative;
    z-index: 2;
    background: rgba(6, 9, 24, .6);
    border-top: 1px solid rgba(124, 58, 237, .12);
    border-bottom: 1px solid rgba(124, 58, 237, .12);
    padding: 14px 0;
    overflow: hidden;
}
.ticker__track {
    display: flex;
    gap: 24px;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
    width: max-content;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker__item {
    font-family: var(--mono);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ticker__sep {
    color: var(--text-muted);
    font-size: .65rem;
}
.ticker__item--cyan { color: var(--cyan); }
.ticker__item--purple { color: var(--purple-light); }
.ticker__item--pink { color: var(--pink); }
.ticker__item--amber { color: var(--amber); }
.ticker__item--green { color: var(--green); }
.ticker__item--orange { color: var(--orange); }

/* ---------- Posts Section ---------- */
.posts-section {
    position: relative;
    z-index: 2;
    padding: 100px 0 80px;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.post-card {
    background: rgba(15, 20, 40, .65);
    border: 1px solid rgba(124, 58, 237, .1);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform .35s ease, box-shadow .35s ease;
    transform-style: preserve-3d;
    perspective: 600px;
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, .12);
}
.post-card__image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.post-card:hover .post-card__image img {
    transform: scale(1.05);
}
.post-card__body {
    padding: 24px;
}
.post-card__tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    background: rgba(124, 58, 237, .12);
    color: var(--purple-light);
}
.post-card__tag--ai-ethics { background: rgba(236, 72, 153, .12); color: var(--pink); }
.post-card__tag--ai-regulation { background: rgba(124, 58, 237, .12); color: var(--purple-light); }
.post-card__tag--onchain-infrastructure { background: rgba(6, 182, 212, .12); color: var(--cyan); }
.post-card__tag--privacy-decentralization { background: rgba(251, 191, 36, .12); color: var(--amber); }
.post-card__tag--builders-lens { background: rgba(52, 211, 153, .12); color: var(--green); }
.post-card__tag--intelligence-layer { background: rgba(251, 146, 60, .12); color: var(--orange); }

.post-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.post-card__title a { transition: color .2s; }
.post-card__title a:hover { color: var(--purple-light); }
.post-card__excerpt {
    font-size: .875rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.post-card__date {
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--text-muted);
}
.post-card__read {
    font-size: .8rem;
    font-weight: 600;
    color: var(--purple-light);
    transition: color .2s, transform .2s;
    display: inline-block;
}
.post-card__read:hover {
    color: var(--cyan);
    transform: translateX(4px);
}
.post-card__gradient-line {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.post-card:hover .post-card__gradient-line {
    transform: scaleX(1);
}
.posts-more {
    text-align: center;
    margin-top: 48px;
}

/* ---------- Newsletter Section ---------- */
.newsletter {
    position: relative;
    z-index: 2;
    padding: 80px 0 120px;
}
.newsletter__card {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}
.newsletter__glow {
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: var(--gradient);
    opacity: .15;
    filter: blur(20px);
    animation: breathGlow 3s ease-in-out infinite;
}
@keyframes breathGlow {
    0%, 100% { opacity: .12; transform: scale(1); }
    50% { opacity: .22; transform: scale(1.02); }
}
.newsletter__gradient-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.newsletter__inner {
    position: relative;
    background: rgba(10, 14, 32, .9);
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
}
.newsletter__title {
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 14px;
}
.newsletter__sub {
    font-size: .95rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.newsletter__form-row {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}
.newsletter__input {
    flex: 1;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(124, 58, 237, .2);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: .9rem;
    transition: border-color .2s;
}
.newsletter__input::placeholder { color: var(--text-muted); }
.newsletter__input:focus { border-color: var(--purple-light); }
.newsletter__btn {
    padding: 14px 24px;
    white-space: nowrap;
}
.newsletter__message {
    margin-top: 12px;
    min-height: 20px;
}
.newsletter__success {
    color: var(--green);
    font-size: .85rem;
}
.newsletter__error {
    color: var(--pink);
    font-size: .85rem;
}
.newsletter__fine {
    margin-top: 20px;
    font-size: .75rem;
    font-weight: 300;
    color: var(--text-muted);
}

/* ---------- Reveal Animations ---------- */
.reveal-section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-line {
    height: 2px;
    background: var(--gradient);
    margin-bottom: 48px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s ease;
}
.reveal-line.visible {
    transform: scaleX(1);
}

/* ---------- Post Full (Single Post) ---------- */
.post-full {
    position: relative;
    z-index: 2;
}
.post-full__header {
    padding: 140px 0 40px;
    text-align: center;
}
.post-full__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    margin-top: 16px;
}
.post-full__excerpt {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 24px;
}
.post-full__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: var(--mono);
    font-size: .78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.post-full__author { color: var(--text-secondary); }
.post-full__reading-time { color: var(--purple-light); }

.post-full__image {
    max-width: 1000px;
    margin: 0 auto 48px;
    border-radius: 16px;
    overflow: hidden;
}
.post-full__image figcaption {
    font-size: .8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    padding: 0 24px;
}

/* ---------- Content (Ghost editor output) ---------- */
.content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 48px 0 16px;
}
.content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 36px 0 12px;
}
.content p { margin-bottom: 20px; }
.content a {
    color: var(--purple-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}
.content a:hover { color: var(--cyan); }
.content blockquote {
    border-left: 3px solid var(--purple);
    padding: 12px 24px;
    margin: 24px 0;
    color: var(--text-secondary);
    font-style: italic;
    background: rgba(124, 58, 237, .05);
    border-radius: 0 12px 12px 0;
}
.content code {
    font-family: var(--mono);
    font-size: .88em;
    background: rgba(124, 58, 237, .1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--cyan);
}
.content pre {
    background: rgba(10, 14, 32, .8);
    border: 1px solid rgba(124, 58, 237, .15);
    border-radius: 12px;
    padding: 20px 24px;
    overflow-x: auto;
    margin: 24px 0;
}
.content pre code {
    background: none;
    padding: 0;
}
.content ul, .content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.content li { margin-bottom: 8px; }
.content img {
    border-radius: 12px;
    margin: 24px 0;
}
.content hr {
    border: none;
    height: 2px;
    background: var(--gradient);
    margin: 48px 0;
    opacity: .3;
}
.content figcaption {
    font-size: .8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

/* ---------- Post Tags ---------- */
.post-full__footer { padding: 20px 0 60px; }
.post-full__divider { margin-bottom: 24px; }
.post-full__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.post-full__tag-link {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .06em;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, .2);
    color: var(--purple-light);
    transition: background .2s, color .2s;
}
.post-full__tag-link:hover {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

/* ---------- Page ---------- */
.page .post-full__header {
    padding: 140px 0 40px;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    z-index: 2;
    padding: 0 0 48px;
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}
.footer__tagline {
    font-size: .85rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 10px;
    max-width: 320px;
}
.footer__nav {
    display: flex;
    gap: 24px;
    padding-top: 6px;
}
.footer__nav a {
    font-size: .85rem;
    color: var(--text-muted);
    transition: color .2s;
}
.footer__nav a:hover { color: var(--text-primary); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(124, 58, 237, .08);
    padding-top: 24px;
}
.footer__powered a {
    color: var(--purple-light);
    transition: color .2s;
}
.footer__powered a:hover { color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero__sub { margin-left: auto; margin-right: auto; }
    .hero__ctas { justify-content: center; }
    .hero__avatar-wrap { order: -1; }
    .hero__avatar { max-width: 280px; }
    .posts-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .nav__links { display: none; }
    .nav__cta { display: none; }
    .nav__hamburger { display: flex; }
    .footer__inner { flex-direction: column; align-items: center; text-align: center; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 600px) {
    .newsletter__form-row { flex-direction: column; }
    .newsletter__inner { padding: 32px 24px; }
    .hero__eyebrow { font-size: .65rem; }
}

/* ---------- Accessibility: Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero__headline .hw {
        opacity: 1;
        transform: none;
    }
    .reveal-section {
        opacity: 1;
        transform: none;
    }
    .reveal-line {
        transform: scaleX(1);
    }
}
