/* styles.css */

:root {
    --bg: #f9fafb;
    --bg-alt: #ffffff;
    --border: #e5e7eb;
    --text: #111827;
    --muted: #6b7280;
    --accent: #FA4616;
    --accent-blue: #0021A5;
    --accent-soft: #ffe5df;
    --accent-blue-soft: #e6eaf5;
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.06);
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, rgba(0, 33, 165, 0.08) 0, #f9fafb 55%);
    color: var(--text);
    line-height: 1.6;
  }
  
  a {
    color: var(--accent-blue);
    text-decoration: none;
  }
  
  a:hover {
    color: var(--accent);
    text-decoration: underline;
  }
  
  /* Layout */
  
  .site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  header {
    border-bottom: 2px solid var(--accent-blue);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .brand {
    font-weight: 600;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
    text-transform: uppercase;
    color: var(--accent-blue);
  }
  
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .nav-link {
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.15s ease;
  }
  
  .nav-link:hover {
    border-color: var(--accent-blue-soft);
    background: var(--accent-blue-soft);
    color: var(--accent-blue);
    text-decoration: none;
  }
  
  .nav-link.active {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
    color: #ffffff;
  }
  
  /* Main content */
  
  main {
    flex: 1;
  }
  
  .main-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
  }
  
  /* Hero / sections */
  
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
  }
  
  @media (max-width: 800px) {
    .hero {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  
  .hero-title {
    font-size: clamp(2rem, 3vw, 2.4rem);
    margin: 0 0 0.5rem;
    color: var(--accent-blue);
  }
  
  .hero-subtitle {
    margin: 0;
    font-size: 1.05rem;
    color: var(--muted);
  }
  
  .chip-row {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  
  .chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--accent-blue);
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    color: var(--accent-blue);
  }
  
  .chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent-blue);
    margin-right: 0.35rem;
  }
  
  .hero-card {
    background: var(--bg-alt);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--accent-blue);
    box-shadow: var(--shadow-soft);
    font-size: 0.92rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 33, 165, 0.15);
  }

  .hero-card-content {
    margin-bottom: 1.25rem;
  }
  
  /* Sections */
  
  .section {
    margin-top: 3rem;
  }
  
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    color: var(--accent-blue);
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.2rem;
  }
  
  .card-list {
    display: grid;
    gap: 1rem;
  }
  
  .card {
    background: var(--bg-alt);
    border-radius: 0.9rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    box-shadow: 0 4px 15px rgba(15,23,42,0.03);
    transition: all 0.2s ease;
  }

  .card:hover {
    box-shadow: 0 6px 20px rgba(15,23,42,0.08);
    transform: translateY(-2px);
  }

  .card h3 a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
  }
  
  .card h3 {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
  }
  
  .card-meta {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .abstract {
    font-size: 0.9rem;
    color: var(--muted);
    font-style: italic;
    line-height: 1.7;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
  
  .card-links {
    margin-top: 0.4rem;
    font-size: 0.88rem;
  }

  .card-links a {
    color: var(--accent-blue);
    font-weight: 500;
  }

  .card-links a:hover {
    color: var(--accent);
  }
  
  /* Buttons */
  
  .btn-row {
    margin-top: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
    transition: all 0.15s ease;
  }
  
  .btn.secondary {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
  }
  
  .btn.secondary:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
  }
  
  .btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 33, 165, 0.3);
    text-decoration: none;
  }
  
  /* Lists */
  
  ul.clean {
    list-style: none;
    padding-left: 0;
  }
  
  ul.clean li::before {
    content: "•";
    color: var(--accent-blue);
    display: inline-block;
    width: 1em;
    margin-left: -1em;
  }
  
  /* Contact */
  
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 2rem;
  }
  
  @media (max-width: 800px) {
    .contact-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }
  
  .contact-list {
    font-size: 0.95rem;
  }
  
  .label {
    font-weight: 500;
  }
  
  /* Footer */
  
  footer {
    border-top: 1px solid var(--border);
    padding: 1.2rem 1.5rem;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
  }
  
  /* Utility */
  
  .muted {
    color: var(--muted);
    font-size: 0.9rem;
  }
  