/* ================================================
   SLATELAB Ghost Theme — screen.css
   Curated Tech · Motors · Design
   ================================================ */

:root {
    --void: #010101;
    --bg: #060606;
    --bg-raised: #0a0a0a;
    --bg-hover: #0f0f0f;
    --surface: #121212;
    --border: #1a1a1a;
    --border-hot: #222;
    --text: #d6d1ca;
    --text-dim: #6b6560;
    --text-kill: #4a4744;
    --text-muted: #2e2b28;
    --neon: #bfff00;
    --neon-dim: #8fbf00;
    --burn: #ff3d00;
    --display: 'Bebas Neue', Impact, sans-serif;
    --body: 'Archivo', system-ui, sans-serif;
    --mono: 'Space Mono', monospace;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--void);
    color: var(--text);
    font-family: var(--body);
    font-weight: 300;
    line-height: 1.55;
    overflow-x: hidden;
}

::selection { background: var(--neon); color: var(--void); }

/* Scan lines */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px);
    pointer-events: none;
    z-index: 10000;
}

/* Grain */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 10001;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--neon); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ─── TOPBAR ─── */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9000;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(1,1,1,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--display);
    font-size: 26px;
    letter-spacing: 4px;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.logo-s { color: var(--text); }
.logo-l { color: var(--neon); }
.logo-bar {
    width: 3px; height: 18px;
    background: var(--neon);
    margin-left: 4px;
    animation: blink-bar 1.2s step-end infinite;
}

@keyframes blink-bar {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links li a {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.25s;
}

.nav-links li a:hover { color: var(--neon); }

.nav-sub {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    background: var(--neon);
    color: var(--void);
    font-weight: 700;
    transition: all 0.25s;
}

.nav-sub:hover { background: var(--burn); color: #fff; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 40px 72px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(191,255,0,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -30%; left: -15%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,61,0,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.25;
    mask-image: linear-gradient(180deg, transparent 0%, black 40%, black 70%, transparent 100%);
}

.hero-tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--burn);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fade-up 0.7s var(--ease) 0.3s both;
}

.hero-tag::before { content: '//'; color: var(--text-kill); }

.hero h1 {
    font-family: var(--display);
    font-size: clamp(64px, 10vw, 160px);
    line-height: 0.88;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    animation: fade-up 0.7s var(--ease) 0.5s both;
}

.hero h1 .accent { color: var(--neon); }
.hero h1 .dim { color: var(--text-kill); }

.hero-desc {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-dim);
    max-width: 480px;
    line-height: 1.7;
    margin-top: 28px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
    animation: fade-up 0.7s var(--ease) 0.7s both;
}

.hero-strip {
    display: flex;
    gap: 1px;
    position: relative;
    z-index: 2;
    animation: fade-up 0.7s var(--ease) 0.9s both;
}

.h-stat {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 20px 28px;
}

.h-stat-val {
    font-family: var(--display);
    font-size: 36px;
    letter-spacing: 2px;
    color: var(--text);
    line-height: 1;
}

.h-stat-val.neon { color: var(--neon); }

.h-stat-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-kill);
    margin-top: 6px;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── MARQUEE ─── */
.marquee {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    overflow: hidden;
    background: var(--bg);
}

.marquee-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-item {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-kill);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-item .pip {
    width: 5px; height: 5px;
    background: var(--burn);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── SECTION HEAD ─── */
.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 56px 40px 20px;
    border-bottom: 1px solid var(--border);
}

.sec-head h2 {
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
}

.sec-head h2 .accent { color: var(--neon); }

.sec-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-kill);
}

/* ─── FEATURED ─── */
.featured {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    border-bottom: 1px solid var(--border);
    min-height: 500px;
}

.feat-vis {
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.feat-vis::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(191,255,0,0.03) 0%, transparent 40%);
}

.feat-vis::after {
    content: 'FEATURED';
    position: absolute;
    bottom: 20px; left: 20px;
    font-family: var(--display);
    font-size: 120px;
    letter-spacing: 8px;
    color: var(--border);
    line-height: 1;
    pointer-events: none;
}

.feat-img {
    width: 88%;
    max-height: 400px;
    object-fit: cover;
    border: 1px solid var(--border);
    filter: brightness(0.75) contrast(1.1);
    transition: filter 0.5s;
    position: relative;
    z-index: 1;
}

.feat-vis:hover .feat-img { filter: brightness(0.9) contrast(1.15); }

.feat-placeholder {
    width: 88%;
    aspect-ratio: 16/10;
    background: linear-gradient(160deg, #0e0e0e, #080808);
    border: 1px solid var(--border);
}

.feat-info {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feat-cat {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--burn);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feat-cat::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--burn);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: spin-diamond 4s linear infinite;
}

@keyframes spin-diamond {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.feat-info h3 {
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 16px;
}

.feat-info p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 380px;
}

.btn-edge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    background: transparent;
    color: var(--neon);
    border: 1px solid var(--neon);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.btn-edge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--neon);
    transform: translateX(-101%);
    transition: transform 0.35s var(--ease);
    z-index: -1;
}

.btn-edge:hover { color: var(--void); }
.btn-edge:hover::before { transform: translateX(0); }

/* ─── CARD GRID ─── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.card {
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    position: relative;
    transition: background 0.4s;
    cursor: pointer;
    overflow: hidden;
}

.card:nth-child(3n) { border-right: none; }

.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--neon);
    transition: width 0.5s var(--ease);
}

.card:hover { background: var(--bg-hover); }
.card:hover::after { width: 100%; }

.card-img {
    width: 100%;
    aspect-ratio: 3/2;
    background-color: var(--bg);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
    margin-bottom: 18px;
    filter: brightness(0.75) contrast(1.05);
    transition: filter 0.4s, transform 0.5s var(--ease);
    overflow: hidden;
}

.card:hover .card-img { filter: brightness(0.9) contrast(1.1); transform: scale(1.02); }

.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.card-cat {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--neon);
}

.card-date {
    font-family: var(--mono);
    font-size: 9px;
    color: var(--text-kill);
}

.card h4 {
    font-family: var(--display);
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
}

.card h4 a { color: var(--text); transition: color 0.25s; }
.card h4 a:hover { color: var(--neon); }

.card-desc {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 12px;
}

.card-price {
    font-family: var(--display);
    font-size: 18px;
    letter-spacing: 1px;
}

.card-price .cur { font-size: 12px; color: var(--text-dim); }

/* ─── POST PAGE ─── */
.post-full { padding-top: 56px; }

.post-hero {
    width: 100%;
    max-height: 60vh;
    overflow: hidden;
    position: relative;
}

.post-hero img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.post-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--void));
}

.post-content-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 40px 80px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.post-date {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-kill);
}

.post-title {
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 24px;
}

.post-excerpt {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.post-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.post-body h2 {
    font-family: var(--display);
    font-size: 32px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 48px 0 16px;
    color: var(--text);
}

.post-body h3 {
    font-family: var(--display);
    font-size: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 36px 0 12px;
    color: var(--text);
}

.post-body p { margin-bottom: 20px; }

.post-body a { color: var(--neon); border-bottom: 1px solid var(--neon); transition: opacity 0.25s; }
.post-body a:hover { opacity: 0.7; }

.post-body img {
    border: 1px solid var(--border);
    margin: 32px 0;
    filter: brightness(0.8) contrast(1.05);
}

.post-body blockquote {
    border-left: 3px solid var(--neon);
    padding: 12px 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text-dim);
}

.post-body ul, .post-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.post-body li { margin-bottom: 8px; }

.post-body code {
    font-family: var(--mono);
    font-size: 14px;
    background: var(--bg-raised);
    padding: 2px 6px;
    border-radius: 3px;
}

.post-body pre {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 20px;
    margin: 24px 0;
    overflow-x: auto;
}

.post-body pre code {
    background: none;
    padding: 0;
}

/* Post tags */
.post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.post-tag {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: all 0.25s;
}

.post-tag:hover { border-color: var(--neon); color: var(--neon); }

/* Post author */
.post-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.author-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.author-name {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
    display: block;
}

.author-bio {
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
    display: block;
}

/* ─── NEWSLETTER ─── */
.newsletter {
    padding: 80px 40px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.nl-inner {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.nl-inner h2 {
    font-family: var(--display);
    font-size: clamp(36px, 4vw, 56px);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.nl-inner h2 .accent { color: var(--neon); }

.nl-inner p {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 28px;
    line-height: 1.7;
}

.nl-form { display: flex; justify-content: center; }

.nl-btn {
    padding: 14px 28px;
    background: var(--neon);
    border: none;
    color: var(--void);
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s;
}

.nl-btn:hover { background: var(--burn); color: #fff; }

/* ─── FOOTER ─── */
footer {
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    border-bottom: 1px solid var(--border);
}

.foot-brand .logo { margin-bottom: 12px; }
.foot-brand p { font-size: 12px; color: var(--text-kill); line-height: 1.6; }

.foot-col h5 {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 14px;
}

.foot-col a, .foot-col li {
    display: block;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-kill);
    padding: 4px 0;
    transition: color 0.25s;
    list-style: none;
}

.foot-col a:hover, .foot-col li a:hover { color: var(--neon); }
.foot-col ul { list-style: none; }

.foot-bottom {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--text-kill);
}

/* ─── PAGINATION ─── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 48px 40px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pagination a {
    color: var(--neon);
    padding: 10px 20px;
    border: 1px solid var(--neon);
    transition: all 0.25s;
}

.pagination a:hover { background: var(--neon); color: var(--void); }

/* ─── SCROLL REVEAL ─── */
.rv {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.rv.vis { opacity: 1; transform: translateY(0); }

/* ─── GHOST SPECIFIC ─── */
.kg-card { margin: 32px 0; }
.kg-image-card img { border: 1px solid var(--border); filter: brightness(0.8) contrast(1.05); }
.kg-bookmark-card { border: 1px solid var(--border); background: var(--bg); }
.kg-gallery-image img { border: 1px solid var(--border); }

/* Required Ghost width classes */
.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin: 32px calc(50% - 42.5vw);
}

.kg-width-full {
    position: relative;
    width: 100vw;
    min-width: 100%;
    margin: 32px calc(50% - 50vw);
}

.kg-width-wide img,
.kg-width-full img {
    width: 100%;
}

/* Ghost gallery */
.kg-gallery-container {
    display: flex;
    flex-direction: column;
    margin: 32px 0;
}

.kg-gallery-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.kg-gallery-row img {
    flex: 1;
    height: 100%;
    object-fit: cover;
}

/* Ghost bookmark card */
.kg-bookmark-container {
    display: flex;
    border: 1px solid var(--border);
    background: var(--bg);
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
}

.kg-bookmark-content {
    padding: 20px;
    flex: 1;
}

.kg-bookmark-title {
    font-family: var(--display);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kg-bookmark-description {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 8px;
    line-height: 1.5;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-family: var(--mono);
    font-size: 9px;
    color: var(--text-kill);
}

.kg-bookmark-icon {
    width: 16px;
    height: 16px;
}

.kg-bookmark-thumbnail {
    width: 200px;
    min-height: 100%;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ghost toggle card */
.kg-toggle-card {
    background: var(--bg);
    border: 1px solid var(--border);
    margin: 24px 0;
    padding: 20px;
}

.kg-toggle-heading-text {
    font-family: var(--display);
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kg-toggle-content {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-top: 12px;
}

/* Ghost callout card */
.kg-callout-card {
    border-left: 3px solid var(--neon);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--bg);
}

/* Ghost button card */
.kg-button-card {
    margin: 32px 0;
    text-align: center;
}

.kg-button-card a {
    display: inline-flex;
    padding: 12px 24px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    background: var(--neon);
    color: var(--void);
    transition: background 0.25s;
}

.kg-button-card a:hover {
    background: var(--burn);
    color: #fff;
}

/* Ghost header card */
.kg-header-card {
    padding: 80px 40px;
    text-align: center;
    background: var(--bg);
    margin: 32px 0;
}

/* Ghost product card */
.kg-product-card {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 24px;
    margin: 32px 0;
}

/* Ghost file card */
.kg-file-card {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 16px 20px;
    margin: 24px 0;
}

/* Ghost audio card */
.kg-audio-card {
    border: 1px solid var(--border);
    background: var(--bg);
    padding: 16px 20px;
    margin: 24px 0;
}

/* Ghost video card */
.kg-video-card {
    margin: 32px 0;
}

.kg-video-card video {
    width: 100%;
    border: 1px solid var(--border);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .featured { grid-template-columns: 1fr; }
    .feat-vis { border-right: none; border-bottom: 1px solid var(--border); }
    .feat-vis::after { font-size: 60px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 .card:nth-child(3n) { border-right: 1px solid var(--border); }
    .grid-3 .card:nth-child(2n) { border-right: none; }
    footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar { padding: 0 16px; }
    .nav-links, .nav-sub { display: none; }
    .hero { padding: 0 16px 48px; }
    .hero h1 { font-size: clamp(48px, 14vw, 100px); }
    .hero-strip { flex-wrap: wrap; }
    .sec-head { padding: 40px 16px 16px; flex-direction: column; align-items: flex-start; gap: 4px; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-3 .card { border-right: none !important; }
    .featured-info { padding: 32px 16px; }
    .feat-vis { padding: 32px 16px; }
    .feat-info { padding: 32px 16px; }
    .newsletter { padding: 48px 16px; }
    footer { padding: 32px 16px; grid-template-columns: 1fr 1fr; }
    .foot-bottom { padding: 12px 16px; flex-direction: column; gap: 4px; }
    .post-content-wrap { padding: 32px 16px 60px; }
}
