@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
    --ink: #0d0d0d;
    --paper: #f4f1eb;
    --offwhite: #faf8f4;
    --accent-red: #c0392b;
    --accent-gold: #c9a84c;
    --muted: #6b6560;
    --border: #d4cfc6;
    --card-bg: #ffffff;
    --header-bg: #0d0d0d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
}

/* ─── MASTHEAD BAR ─── */
.masthead-bar {
    background: var(--header-bg);
    color: rgba(255,255,255,0.45);
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
}

.masthead-bar .ticker span { color: var(--accent-gold); margin-right: 0.4rem; }

header {
    background: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-main {
    padding: 1.4rem 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 3px solid var(--accent-red);
}

.logo { text-align: center; margin-bottom: 1.1rem; }

.logo-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo-name em { color: var(--accent-red); font-style: italic; }

nav { display: flex; gap: 0; align-items: center; }

nav a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.3rem;
    transition: all 0.2s;
    border-top: 2px solid transparent;
}

nav a:hover { color: white; border-top-color: var(--accent-red); background: rgba(255,255,255,0.04); }

/* ─── HERO ─── */
.hero {
    background: var(--ink);
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(192,57,43,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-kicker {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.hero-kicker::before, .hero-kicker::after {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--accent-red);
    opacity: 0.6;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: 0 auto 1.4rem;
    animation: fadeUp 0.8s ease-out both;
}

.hero h1 em { font-style: italic; color: var(--accent-gold); }

.hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.75;
    animation: fadeUp 0.8s ease-out 0.15s both;
}

.disclaimer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.4);
    padding: 0.45rem 1.1rem;
    font-size: 0.75rem;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.04em;
    animation: fadeUp 0.8s ease-out 0.3s both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── FILTER STRIP ─── */
.filter-strip {
    background: var(--offwhite);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 93px;
    z-index: 90;
}

.filter-tabs {
    display: flex;
    padding: 0 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.tab {
    padding: 0.85rem 1.4rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab:hover { color: var(--ink); }
.tab.active { color: var(--accent-red); border-bottom-color: var(--accent-red); }

/* ─── MAGAZINE GRID ─── */
.news-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2px;
    background: var(--border);
    border: 2px solid var(--border);
    animation: fadeUp 0.6s ease-out 0.2s both;
}

.news-card:first-child { grid-column: span 8; }
.news-card:nth-child(2), .news-card:nth-child(3) { grid-column: span 4; }
.news-card:nth-child(n+4) { grid-column: span 4; }

.news-card {
    background: var(--card-bg);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: background 0.2s;
}

.news-card:hover { background: var(--offwhite); }
.news-card.hidden { display: none; }

.news-card:first-child .news-image { height: 400px; }

.news-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    filter: saturate(0.8);
}

.news-card:hover .news-image { transform: scale(1.04); filter: saturate(1); }

.news-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 3px solid transparent;
    transition: border-color 0.2s;
}

.news-card:hover .news-content { border-top-color: var(--accent-red); }

.news-category {
    font-family: 'DM Mono', monospace;
    font-size: 0.66rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-red);
    margin-bottom: 0.6rem;
}

.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0.7rem;
}

.news-card:first-child .news-title { font-size: 1.85rem; }

.news-excerpt {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    font-size: 0.73rem;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
}

.read-more {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding-bottom: 1px;
    border-bottom: 1px solid var(--ink);
    transition: gap 0.2s;
}

.read-more:hover { gap: 0.5rem; }

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    background: var(--card-bg);
}

.no-news h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--ink); margin-bottom: 1rem; }
.no-news p { color: var(--muted); }

/* ─── ABOUT ─── */
.about-section {
    background: var(--ink);
    padding: 5rem 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: 'SKYWATCH';
    font-family: 'Playfair Display', serif;
    font-size: 14rem;
    font-weight: 900;
    color: rgba(255,255,255,0.025);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: -0.05em;
}

.about-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.about-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.about-inner h2 span { color: var(--accent-gold); font-style: italic; }

.about-inner p { font-size: 0.98rem; line-height: 1.8; color: rgba(255,255,255,0.55); margin-bottom: 1rem; }
.about-inner a { color: var(--accent-gold); text-decoration: none; font-weight: 600; }
.about-inner strong { color: rgba(255,255,255,0.85); }

/* ─── FOOTER ─── */
footer {
    background: #080808;
    color: white;
    padding: 3.5rem 2rem 2rem;
    border-top: 3px solid var(--accent-red);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.footer-section h3 {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-section a:hover { color: white; }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.25);
    font-size: 0.74rem;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.04em;
    line-height: 1.9;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .news-card:first-child,
    .news-card:nth-child(2), .news-card:nth-child(3),
    .news-card:nth-child(n+4) { grid-column: span 12; }
    .news-card:first-child .news-image { height: 260px; }
    .news-card:first-child .news-title { font-size: 1.55rem; }
    .logo-name { font-size: 2.3rem; }
}

@media (max-width: 600px) {
    .header-main { padding: 1rem 1rem 0; }
    nav { flex-wrap: wrap; justify-content: center; }
    nav a { padding: 0.55rem 0.9rem; font-size: 0.7rem; }
    .hero { padding: 3rem 1rem 2.5rem; }
    .news-container { padding: 2rem 1rem; }
}
