@import url('/css/fonts.css');

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

body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── ARTICLE HEADER ─── */

.article-header {
    padding: 100px 40px 56px;
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    margin-bottom: 28px;
    transition: color 0.2s;
    min-height: 44px;
    touch-action: manipulation;
}

.article-back:hover { color: rgba(255,255,255,0.75); }

.article-back::before {
    content: '←';
    font-size: 14px;
    letter-spacing: 0;
}

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

.article-cat {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
}

/* byline adds a third item to .article-meta — let it wrap on narrow screens */
.article-meta:has(.article-author) { flex-wrap: wrap; row-gap: 8px; }

.article-author {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
}

.article-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.article-date {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
}

.article-title {
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.article-excerpt {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    font-weight: 400;
    font-style: italic;
    border-left: 2px solid rgba(255,255,255,0.12);
    padding-left: 18px;
}

/* ── ARTICLE BODY ─── */

.article-body {
    padding: 0 40px 100px;
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
}

.article-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 52px;
}

.article-body p {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255,255,255,0.82);
    font-weight: 400;
    margin-bottom: 28px;
}

.article-body p:last-child { margin-bottom: 0; }

.article-body h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 48px 0 18px;
    color: #fff;
}

.article-body h3 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    margin: 36px 0 14px;
    color: rgba(255,255,255,0.9);
}

.article-body blockquote {
    margin: 40px 0;
    padding: 24px 28px;
    border-left: 2px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.025);
}

.article-body blockquote p {
    font-size: 17px;
    font-style: italic;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0;
}

/* ── ARTICLE PHOTO ─── */

.article-photo {
    width: 100%;
    margin: 40px 0;
    display: block;
}

.article-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.article-photo-full {
    margin: 40px -40px;
    width: calc(100% + 80px);
}

.article-photo-full img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 520px;
    object-fit: cover;
}

.article-photo-caption {
    font-size: 11px;
    color: rgba(255,255,255,0.32);
    margin-top: 10px;
    line-height: 1.5;
    font-style: italic;
}

/* ── COMING SOON STATE ─── */

.article-coming-soon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 48px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 52px;
}

.coming-soon-label {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
}

.coming-soon-text {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: rgba(255,255,255,0.55);
}

.coming-soon-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.32);
    line-height: 1.7;
    font-weight: 400;
    max-width: 420px;
}

/* ── FOOTER NAV ─── */

/* This is a <nav>, so nav.css's bare `nav` selector would otherwise pin it to
   the top of the viewport as a second fixed bar. Neutralise those styles —
   class specificity (0,1,0) beats the element selector (0,0,1), so the reset
   holds regardless of stylesheet load order. */
.article-footer-nav {
    position: static;
    top: auto;
    z-index: auto;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
    padding: 0 40px 80px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 40px;
}

.article-footer-nav a {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    transition: color 0.2s;
}

.article-footer-nav a:hover { color: rgba(255,255,255,0.75); }

/* ── RESPONSIVE ─── */

@media (max-width: 768px) {
    .article-header { padding: 72px 24px 40px; }
    .article-body { padding: 0 24px 72px; }
    .article-footer-nav { padding: 0 24px 60px; padding-top: 36px; }
    .article-photo-full { margin: 40px -24px; width: calc(100% + 48px); }
}

@media (max-width: 480px) {
    .article-header { padding: 64px 16px 32px; }
    .article-body { padding: 0 16px 56px; }
    .article-footer-nav { padding: 0 16px 48px; padding-top: 28px; flex-direction: column; gap: 16px; }
    .article-title { letter-spacing: -1px; }
    .article-photo-full { margin: 40px -16px; width: calc(100% + 32px); }
}
