*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0d1b2a; --navy-mid: #1a2e45;
  --cream: #f5f0e8; --warm-white: #faf8f4;
  --accent: #c8964a; --accent-light: #e8b96a;
  --text-primary: #0d1b2a; --text-secondary: #4a5568; --text-light: #8a9ab0;
  --border: rgba(13,27,42,0.09);
}
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--warm-white); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 3rem; background: rgba(250,248,244,0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 2px 24px rgba(13,27,42,0.08); }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); }

/* MOBILE MENU */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; background: var(--navy); flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 300; color: var(--cream); text-decoration: none; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--accent-light); }
.mobile-close { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; color: var(--cream); font-size: 1.75rem; cursor: pointer; }

/* HERO */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.hero-text { padding: 9rem 4rem 6rem 3rem; display: flex; flex-direction: column; justify-content: center; animation: fadeUp 0.9s ease both; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--accent); }
h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 4.5vw, 5.2rem); font-weight: 300; line-height: 1.05; color: var(--navy); margin-bottom: 1.5rem; }
h1 em { font-style: italic; color: var(--accent); }
.hero-desc { font-size: 1rem; font-weight: 300; color: var(--text-secondary); max-width: 40ch; line-height: 1.85; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; background: var(--navy); color: var(--cream); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--navy); transition: all 0.25s; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; background: transparent; color: var(--navy); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--navy); transition: all 0.25s; }
.btn-ghost:hover { background: var(--navy); color: var(--cream); transform: translateY(-2px); }
.hero-image { position: relative; overflow: hidden; animation: fadeIn 1.2s ease both 0.3s; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; filter: grayscale(15%); }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--warm-white) 0%, transparent 12%), linear-gradient(to top, rgba(13,27,42,0.4) 0%, transparent 45%); }
.hero-badge { position: absolute; bottom: 2.5rem; left: 2rem; z-index: 2; display: flex; align-items: center; gap: 0.75rem; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); padding: 0.75rem 1.25rem; color: #fff; }
.hero-badge-icon { font-size: 1.4rem; }
.hero-badge-text { font-size: 0.75rem; font-weight: 300; }
.hero-badge-text strong { display: block; font-weight: 500; font-size: 0.88rem; }

/* CREDENTIALS */
.credentials { background: var(--navy); padding: 0; display: flex; }
.cred { flex: 1; text-align: center; padding: 2.25rem 1rem; border-right: 1px solid rgba(255,255,255,0.07); }
.cred:last-child { border-right: none; }
.cred-val { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--accent-light); display: block; }
.cred-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-top: 0.3rem; display: block; }

/* ARTICLES */
.articles-section { padding: 6rem 3rem; }
.section-hd { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3.5rem; gap: 2rem; flex-wrap: wrap; }
.section-label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.section-label::before { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--accent); }
h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 300; line-height: 1.1; color: var(--navy); }
.year-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.year-tab { padding: 0.42rem 1.1rem; font-size: 0.73rem; font-weight: 500; letter-spacing: 0.07em; background: none; border: 1.5px solid var(--border); color: var(--text-secondary); cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.year-tab:hover { border-color: var(--navy); color: var(--navy); }
.year-tab.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }

/* Featured */
.featured-article { display: grid; grid-template-columns: 1.15fr 0.85fr; border: 1px solid var(--border); margin-bottom: 2.5rem; text-decoration: none; overflow: hidden; transition: box-shadow 0.3s; }
.featured-article:hover { box-shadow: 0 12px 40px rgba(13,27,42,0.1); }
.featured-img { height: 360px; overflow: hidden; background: var(--navy-mid); position: relative; }
.featured-img img { width: 100%; height: 100%; object-fit: contain; padding: 3rem; background: var(--navy-mid); transition: transform 0.5s; }
.featured-article:hover .featured-img img { transform: scale(1.04); }
.feat-tag { position: absolute; top: 1.25rem; left: 1.25rem; padding: 0.3rem 0.85rem; background: var(--accent); color: #fff; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.featured-body { padding: 2.75rem; display: flex; flex-direction: column; justify-content: center; }
.feat-meta { font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 1rem; }
.feat-title { font-family: 'Cormorant Garamond', serif; font-size: 2.1rem; font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
.feat-excerpt { font-size: 0.88rem; font-weight: 300; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.75rem; }
.read-cta { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.read-cta svg { transition: transform 0.2s; }
.featured-article:hover .read-cta svg, .article-card:hover .read-cta svg { transform: translateX(4px); }

/* Year group */
.year-group { margin-bottom: 1rem; }
.year-heading { font-family: 'Cormorant Garamond', serif; font-size: 0.85rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-light); padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); margin-bottom: 1.75rem; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.75rem; }
.article-card { border: 1px solid var(--border); overflow: hidden; text-decoration: none; display: block; transition: transform 0.3s, box-shadow 0.3s; background: var(--warm-white); }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(13,27,42,0.09); }
.card-img-wrap { height: 185px; overflow: hidden; background: var(--navy-mid); position: relative; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 1.75rem; background: var(--navy-mid); transition: transform 0.5s; }
.article-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-tag { position: absolute; top: 1rem; left: 1rem; padding: 0.27rem 0.7rem; background: var(--accent); color: #fff; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.card-body { padding: 1.5rem; }
.card-date { font-size: 0.67rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.55rem; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--navy); line-height: 1.25; margin-bottom: 0.6rem; }
.card-excerpt { font-size: 0.82rem; font-weight: 300; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }

/* FOOTER */
footer { background: var(--navy); padding: 3.5rem 3rem 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 1.5rem; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; color: var(--cream); text-decoration: none; letter-spacing: 0.04em; }
.footer-logo span { color: var(--accent-light); }
.footer-tagline { font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.32); margin-top: 0.4rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav-title { font-size: 0.63rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 0.2rem; }
.footer-nav a { font-size: 0.82rem; font-weight: 300; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy { font-size: 0.68rem; color: rgba(255,255,255,0.2); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.reveal { opacity:0; transform:translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity:1; transform:none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 8rem 1.75rem 3rem; }
  .hero-image { height: 60vw; min-height: 260px; }
  .hero-image::after { background: linear-gradient(to top, var(--warm-white) 0%, transparent 30%); }
  .credentials { flex-wrap: wrap; }
  .cred { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .cred:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .articles-section { padding: 4rem 1.5rem; }
  .section-hd { flex-direction: column; align-items: flex-start; }
  .featured-article { grid-template-columns: 1fr; }
  .featured-img { height: 220px; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 2rem; }
  footer { padding: 2.5rem 1.5rem 1.5rem; }
}
@media (max-width: 500px) {
  .hero-text { padding: 7rem 1.25rem 2.5rem; }
}
