:root {
    --gray:      #363636;
    --orange:    #D9593C;
    --wine:      #803723;
    --terracota: #B75C3C;
    --cream:     #FAF7F4;
    --light:     #F3EDE7;
    --white:     #FFFFFF;
    --canela:    'Georgia', 'Times New Roman', serif;
    --poppins:   'Poppins', sans-serif;
    --max:       1180px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--poppins); color: var(--gray); background: var(--cream); -webkit-font-smoothing: antialiased; }
  a { text-decoration: none; color: inherit; }
  img { display: block; width: 100%; }
  .container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

  /* ─── ANIMATIONS ── */
  .fade-up   { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .fade-left { opacity: 0; transform: translateX(-22px); transition: opacity .6s ease, transform .6s ease; }
  .fade-right{ opacity: 0; transform: translateX(22px);  transition: opacity .6s ease, transform .6s ease; }
  .fade-up.visible, .fade-left.visible, .fade-right.visible { opacity: 1; transform: none; }

  /* ─── NAV (legacy — replaced by header.css) ──────────────── */
  /* NOTE: rule removed — nav tag now lives inside .site-header */

  /* ══════════════════════════════════════════
     HERO / FEATURED ARTICLE
  ══════════════════════════════════════════ */
  #hero {
    background: var(--cream);
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
  }
  .hero-inner {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 5vw, 5rem);
  }

  /* Top label row */
  .hero-label-row {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 2.5rem;
  }
  .hero-label-left { display: flex; align-items: center; gap: .75rem; }
  .hero-label-left::before { content: ''; display: block; width: 36px; height: 2px; background: var(--orange); }
  .hero-label-left span { font-size: .67rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: var(--orange); }
  .hero-label-right { font-size: .72rem; font-weight: 500; color: var(--gray); opacity: .4; letter-spacing: .08em; text-transform: uppercase; }

  /* Featured layout: two columns */
  .featured-grid {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
    border-radius: 6px; overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 32px rgba(54,54,54,.09);
    min-height: 520px;
  }

  /* Left: large image */
  .featured-image { position: relative; overflow: hidden; }
  .featured-image-bg {
    width: 100%; height: 100%; min-height: 440px;
    background: linear-gradient(155deg, #5c2818 0%, #2a1008 55%, #1a0804 100%);
    transition: transform .55s ease;
    position: relative;
  }
  .featured-grid:hover .featured-image-bg { transform: scale(1.03); }
  .featured-image-bg::before {
    content: ''; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 65% 55% at 60% 30%, rgba(217,89,60,.28), transparent),
      radial-gradient(ellipse 40% 40% at 15% 80%, rgba(183,92,60,.18), transparent);
  }
  .featured-image-pattern {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 48px, rgba(255,255,255,.015) 48px, rgba(255,255,255,.015) 49px);
    pointer-events: none;
  }

  /* Category badge on image */
  .feat-badge {
    position: absolute; top: 1.5rem; left: 1.5rem; z-index: 2;
    font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: #fff; background: rgba(217,89,60,.9);
    padding: .3rem .75rem; border-radius: 2px;
  }

  /* Issue / volume tag */
  .feat-vol {
    position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 2;
    font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.5); display: flex; align-items: center; gap: .45rem;
  }
  .feat-vol::before { content: ''; width: 14px; height: 1px; background: rgba(255,255,255,.4); }

  /* Right: content */
  .featured-content {
    padding: clamp(2rem, 4vw, 3.5rem);
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .feat-meta {
    display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem;
  }
  .feat-date { font-size: .72rem; font-weight: 500; color: var(--gray); opacity: .45; letter-spacing: .06em; }
  .feat-dot  { width: 3px; height: 3px; border-radius: 50%; background: var(--gray); opacity: .25; }
  .feat-read { font-size: .72rem; font-weight: 500; color: var(--gray); opacity: .45; }

  .feat-title {
    font-family: var(--canela); font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: normal; color: var(--gray); line-height: 1.2;
    margin-bottom: 1.25rem;
  }
  .feat-title em { font-style: italic; color: var(--terracota); }

  .feat-excerpt {
    font-size: .9rem; line-height: 1.8; color: var(--gray); opacity: .65;
    margin-bottom: 2rem; flex: 1;
  }

  .feat-footer { display: flex; flex-direction: column; gap: 1.75rem; }

  .feat-author { display: flex; align-items: center; gap: .85rem; }
  .feat-author-avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--terracota), var(--wine));
  }
  .feat-author-name  { font-size: .8rem; font-weight: 600; color: var(--gray); margin-bottom: .1rem; }
  .feat-author-role  { font-size: .68rem; color: var(--gray); opacity: .48; }

  /* Read more link */
  .feat-readmore {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--orange); transition: gap .2s;
  }
  .feat-readmore:hover { gap: .8rem; }
  .feat-readmore-arrow { font-size: 1rem; }

  /* Carousel dots */
  .feat-dots {
    display: flex; align-items: center; gap: .5rem;
    padding-top: .25rem;
  }
  .feat-dot-item {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(54,54,54,.2); border: none; cursor: pointer; padding: 0;
    transition: background .2s, width .3s;
  }
  .feat-dot-item.active { background: var(--orange); width: 22px; border-radius: 4px; }
  .feat-dot-item:hover:not(.active) { background: rgba(54,54,54,.4); }

  /* ══════════════════════════════════════════
     MORE ARTICLES
  ══════════════════════════════════════════ */
  #articles {
    padding: clamp(4rem, 7vw, 7rem) 0 clamp(5rem, 9vw, 9rem);
    background: var(--white);
  }

  .articles-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 2.75rem; gap: 1.5rem; flex-wrap: wrap;
  }
  .articles-header h2 {
    font-family: var(--canela); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: normal; color: var(--gray); line-height: 1.1;
  }

  /* Filter pills */
  .filter-pills { display: flex; gap: .4rem; flex-wrap: wrap; }
  .pill {
    font-family: var(--poppins); font-size: .71rem; font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase;
    padding: .45rem 1.1rem; border-radius: 100px;
    border: 1.5px solid rgba(54,54,54,.18);
    background: transparent; color: var(--gray); opacity: .65;
    cursor: pointer; transition: all .2s;
  }
  .pill:hover  { opacity: 1; border-color: var(--orange); color: var(--orange); }
  .pill.active { background: var(--orange); color: #fff; border-color: var(--orange); opacity: 1; }

  /* ── ARTICLES GRID ── */
  .articles-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  }

  /* Article card */
  .article-card {
    background: var(--cream); border-radius: 4px; overflow: hidden;
    display: flex; flex-direction: column;
    border: 1px solid rgba(54,54,54,.07);
    cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s;
  }
  .article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(54,54,54,.1); border-color: rgba(54,54,54,.12); }

  /* Card image */
  .ac-image { aspect-ratio: 3/2; position: relative; overflow: hidden; }
  .ac-image-bg {
    width: 100%; height: 100%;
    transition: transform .45s ease;
  }
  .article-card:hover .ac-image-bg { transform: scale(1.05); }

  .ac-image-bg.bg-ent  { background: linear-gradient(135deg, #5c2818, var(--wine)); }
  .ac-image-bg.bg-fin  { background: linear-gradient(135deg, var(--orange), #8a3822); }
  .ac-image-bg.bg-esl  { background: linear-gradient(135deg, var(--terracota), #3a1a0c); }
  .ac-image-bg.bg-news { background: linear-gradient(135deg, var(--gray), #5a2416); }
  .ac-image-bg.bg-stm  { background: linear-gradient(135deg, #6a2e1a, var(--orange)); }
  .ac-image-bg.bg-wlns { background: linear-gradient(135deg, #2a1008, var(--terracota)); }

  .ac-cat {
    position: absolute; top: .85rem; left: .85rem;
    font-size: .59rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: #fff; background: rgba(0,0,0,.38); backdrop-filter: blur(3px);
    padding: .24rem .62rem; border-radius: 2px;
  }

  /* Card body */
  .ac-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }

  .ac-meta { display: flex; align-items: center; gap: .55rem; margin-bottom: .75rem; }
  .ac-date { font-size: .68rem; font-weight: 500; color: var(--gray); opacity: .42; }
  .ac-sep  { width: 2px; height: 2px; border-radius: 50%; background: var(--gray); opacity: .25; }
  .ac-read { font-size: .68rem; font-weight: 500; color: var(--gray); opacity: .42; }

  .ac-title {
    font-family: var(--canela); font-size: clamp(1rem, 1.8vw, 1.18rem);
    font-weight: normal; color: var(--gray); line-height: 1.3;
    margin-bottom: .65rem;
    transition: color .2s;
  }
  .article-card:hover .ac-title { color: var(--orange); }

  .ac-excerpt {
    font-size: .82rem; line-height: 1.72; color: var(--gray); opacity: .6;
    flex: 1; margin-bottom: 1.1rem;
  }

  .ac-link {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--orange); transition: gap .2s;
    margin-top: auto;
  }
  .article-card:hover .ac-link { gap: .65rem; }

  /* ─── FOOTER ── */
  footer { background: #1a0a04; color: #fff; padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
  .footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
  .footer-logo { font-family: var(--canela); font-size: 1.4rem; color: #fff; line-height: 1.2; margin-bottom: .75rem; }
  .footer-logo span { display: block; font-family: var(--poppins); font-size: .6rem; font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--terracota); margin-top: 4px; }
  .footer-tagline { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.45); max-width: 220px; }
  .footer-col h4 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1rem; }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: .55rem; }
  .footer-col a { font-size: .83rem; color: rgba(255,255,255,.55); transition: color .2s; }
  .footer-col a:hover { color: var(--orange); }
  .social-links { display: flex; gap: .65rem; margin-bottom: 1.25rem; }
  .social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; font-size: .75rem; color: rgba(255,255,255,.6); transition: background .2s; }
  .social-link:hover { background: var(--orange); color: #fff; }
  .footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
  .footer-copy { font-size: .74rem; color: rgba(255,255,255,.28); }
  .footer-mission { font-family: var(--canela); font-size: .72rem; font-style: italic; color: rgba(255,255,255,.22); }

  /* ─── RESPONSIVE ── */
  @media (max-width: 960px) {
    .featured-grid { grid-template-columns: 1fr; }
    .featured-image-bg { min-height: 280px; }
    .articles-grid { grid-template-columns: 1fr 1fr; }
    .articles-header { flex-direction: column; align-items: flex-start; }
    .footer-top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 600px) {
    /* .nav-links / .nav-btn handled by header.css */
    .articles-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .hero-label-row { flex-direction: column; align-items: flex-start; gap: .5rem; }
  }