/* ==========================================
       1. DESIGN SYSTEM & VARIABLES (Matches Home)
       ========================================== */
    :root {






      --shadow: 0 10px 28px rgba(0,0,0,.28);

      --r2: 14px;
      --max: 1120px;
      --gap: 18px;

    }

    .afs-projects {
      font-family: var(--font);
      color: var(--ink);
      background: radial-gradient(1200px 600px at 70% 0%, rgba(244,160,0,.08), transparent 55%),
                  linear-gradient(180deg, var(--bg), var(--bg2));
      padding: 18px 16px 22px;
      min-height: 100vh;
    }
    .wrap { max-width: var(--max); margin: 0 auto; }
    a { color: inherit; }

    /* ==========================================
       2. HERO SECTION
       ========================================== */
    .hero {
      border-radius: var(--r);
      overflow: hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--stroke);
      background: rgba(255,255,255,.03);
      margin-bottom: 26px;
    }
    .hero-body {
      padding: 30px 18px 34px;
      text-align: center;
    }
    .kicker {
      color: var(--accent);
      font-weight: 900;
      letter-spacing: .4px;
      margin: 0 0 6px;
      font-size: 14px;
      text-transform: uppercase;
    }
    .hero h1 {
      margin: 0 0 12px;
      font-size: clamp(24px, 3.8vw, 36px);
      line-height: 1.1;
    }
    .sub {
      margin: 0 auto;
      color: var(--muted);
      font-size: clamp(14px, 2vw, 16px);
      line-height: 1.5;
      max-width: 78ch;
    }

    /* ==========================================
       3. BUTTON STYLES
       ========================================== */
    .btn {
      display: inline-block;
      text-decoration: none;
      font-weight: 900;
      border-radius: 999px;
      padding: 10px 16px;
      border: 2px solid var(--accent);
      color: var(--accent);
      background: transparent;
      transition: transform .08s ease, background .15s ease, color .15s ease;
      font-size: 14px;
      letter-spacing: .2px;
    }
    .btn:hover { background: var(--accent); color: #1a2c3c; transform: translateY(-1px); }
    .btn.secondary {
      border-color: rgba(255,255,255,.22);
      color: var(--ink);
    }
    .btn.secondary:hover { background: rgba(255,255,255,.10); color: var(--ink); border-color: rgba(255,255,255,.28); }

    /* ==========================================
       4. PROJECT CARDS & GRID
       ========================================== */
    .grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: var(--gap);
      align-items: stretch;
    }
    .card {
      background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
      border: 1px solid var(--stroke);
      border-radius: var(--r2);
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(0,0,0,.18);
      display: flex;
      flex-direction: column;
      transition: border-color 0.2s ease;
    }
    .card:hover {
      border-color: rgba(244, 160, 0, 0.4);
    }
    .thumb {
      width: 100%;
      aspect-ratio: 16/9;
      background: #0f1f2c;
      display: block;
      overflow: hidden;
    }
    .thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.3s ease;
    }
    .card:hover .thumb img {
      transform: scale(1.05);
    }
    .card-body {
      padding: 14px 14px 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
    }
    .card-title { margin: 0; font-weight: 900; font-size: 16px; color: var(--ink); }
    .card-text { margin: 0; color: var(--muted); line-height: 1.5; font-size: 14px; }
    .card-actions {
      margin-top: auto;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      align-items: center;
    }
    .link {
      font-weight: 900;
      color: var(--accent);
      text-decoration: none;
    }
    .link:hover { text-decoration: underline; }

    .cta-bar {
      margin: 30px 0;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }

    /* ==========================================
       5. FOOTER STYLES
       ========================================== */
    .embed-footer {
      margin-top: 36px;
      border-radius: var(--r);
      border: 1px solid var(--stroke);
      background: rgba(255,255,255,.03);
      box-shadow: var(--shadow);
      padding: 18px 16px;
      text-align: center;
    }
    .embed-footer .footer-nav {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      margin: 0 0 10px;
      font-weight: 900;
    }
    .embed-footer .footer-nav a {
      color: var(--accent);
      text-decoration: none;
    }
    .embed-footer .footer-nav a:hover { text-decoration: underline; }
    .embed-footer .footer-meta {
      color: var(--muted);
      font-size: 13.5px;
      line-height: 1.5;
      margin: 0 auto;
      max-width: 95ch;
    }

    /* ==========================================
       6. RESPONSIVE DESIGN BREAKPOINTS
       ========================================== */
    @media (max-width: 980px) {
      .grid-3 { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 640px) {
      .grid-3 { grid-template-columns: 1fr; }
      .hero-body { padding: 24px 14px 28px; }
    }
    .copyright-footer {
      margin-top: 18px;
      text-align: center;
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.3px;
    }
