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

:root {
    --bg: #faf8f5;
    --surface: #ffffff;
    --surface-alt: #f0ede8;
    --text-dark: #1c2b3a;
    --text-body: #374151;
    --text-muted: #6b7280;
    --accent: #2e6e8e;
    --accent-light: #e8f4f8;
    --border: #e2ddd8;
    --nav-bg: #1c2b3a;
    --header-bg: #1c2b3a;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
}

body {
    background: var(--bg);
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* NAV */
.nav-links {
    background: var(--nav-bg);
    text-align: center;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.nav-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; }

/* HERO HEADER */
header {
    background: var(--header-bg);
    background-image: linear-gradient(135deg, #1c2b3a 0%, #2e4a5e 50%, #1a3a4a 100%);
    padding: 80px 24px 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(46,110,142,0.3) 0%, transparent 70%);
    pointer-events: none;
}
header h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
    position: relative;
}
header p {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    max-width: 560px;
    margin: 0 auto 32px;
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
}
.btn {
    display: inline-block;
    padding: 12px 34px;
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    border-radius: 2px;
}
.btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
}

/* LAYOUT */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 24px;
}
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    letter-spacing: 5px;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-dark);
}
.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 16px auto 0;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

/* CARDS */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-sm);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.card:hover .card-img { transform: scale(1.03); }
.card-content { padding: 26px 28px 30px; }
.card-content span {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.card-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: var(--text-dark);
    line-height: 1.4;
}
.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* FOOTER */
footer {
    background: var(--nav-bg);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 40px 20px;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
}

/* ARTICLE PAGE */
.article-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

/* Article header sits inside header element on article pages */
.article-page-header {
    background: var(--header-bg);
    background-image: linear-gradient(135deg, #1c2b3a 0%, #2e4a5e 50%, #1a3a4a 100%);
    padding: 60px 24px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.article-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(46,110,142,0.3) 0%, transparent 70%);
    pointer-events: none;
}
.article-page-header .label {
    font-family: 'Cinzel', serif;
    color: rgba(255,255,255,0.55);
    letter-spacing: 3px;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 14px;
    text-transform: uppercase;
    position: relative;
}
.article-page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    letter-spacing: 3px;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 14px;
    position: relative;
}
.article-page-header .meta {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

/* ARTICLE BODY */
.article-body {
    padding-top: 44px;
}
.article-body p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
    text-align: left;
}
.article-body h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    margin-top: 48px;
    margin-bottom: 18px;
    color: var(--text-dark);
    padding-left: 14px;
    border-left: 3px solid var(--accent);
    line-height: 1.4;
}
.article-body h3 {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--accent);
}

/* GRAPH BOX */
.graph-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 24px;
    margin: 36px 0;
    box-shadow: var(--shadow-sm);
}
.graph-box h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.88rem;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}
.graph-box p.caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}

/* IMAGES */
.article-hero {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin: 36px 0;
    box-shadow: var(--shadow-md);
}
.article-inline-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin: 36px 0 10px;
    box-shadow: var(--shadow-sm);
}
.img-caption {
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    margin-bottom: 32px;
    text-align: center;
    font-style: italic;
}

/* INTERLINKS */
.interlinks {
    background: var(--accent-light);
    border: 1px solid #c5dfe8;
    border-radius: 8px;
    padding: 28px 32px;
    margin: 56px 0 20px;
}
.interlinks h4 {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.interlinks ul { list-style: none; }
.interlinks ul li {
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 2px solid var(--accent);
}
.interlinks ul li:last-child { margin-bottom: 0; }
.interlinks ul li a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s;
}
.interlinks ul li a:hover { color: var(--accent); }
.interlinks ul li span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ABOUT */
.about-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px 24px;
}
.about-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    letter-spacing: 3px;
    margin-bottom: 28px;
    text-transform: uppercase;
    color: var(--text-dark);
}
.about-content p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 22px;
}

/* FILM GRAIN - subtle */
.film-grain { display: none; }
.ambient-light { display: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
    header { padding: 60px 20px 70px; }
    .article-page-header { padding: 50px 20px 60px; }
    .article-hero { height: 240px; }
    .article-inline-img { height: 200px; }
    .grid-3 { grid-template-columns: 1fr; }
    .interlinks { padding: 22px 20px; }
}
