   :root {
      --bg:         #1e1f23;
      --panel:      #26272c;
      --text:       #e6e6e6;
      --muted:      #a0a3aa;
      --accent:     #7aa2f7;
      --max-width: 75ch;
    }

    [data-theme="light"] {
      --bg:         #f8f6f3;
      --panel:      #f4f4f3;
      --text:       #24262b;
      --muted:      #8a8f98;
      --accent:     #3a5fb8;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: Inter, system-ui, sans-serif;
      /* background: var(--bg); */
      background:
        linear-gradient(0deg, rgba(0,0,0,0.015), rgba(0,0,0,0.015)),
        var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    a {
      color: var(--accent);
      text-decoration: none;
    }

    /* Social Links */
    .social-links {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .social-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 1.25rem;
      font-weight: 500;
      text-decoration: none;
      color: var(--text); /* ← THIS */
    }
    
    .social-link:hover {
      color: var(--accent);
    }

    .social-link i {
      width: 1.25em;      /* fixed column */
      text-align: center; /* icon centered */
    }

    /* Images */
    .banner {
      width: 100%;
      height: auto;
    }
    
    .preview {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 1rem;
    }
    
    .preview img {
      width: 80%;
      max-width: 100%;
      height: auto;
      display: block;
      cursor: pointer;
    }
    
    .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }

    .gallery img {
      width: 100%;
      height: auto;
      display: block;
      cursor: pointer;
    }
    
    /* Lightbox */
    
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .lightbox img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    .lightbox-close {
      position: absolute;
      top: 1rem;
      right: 1rem;

      width: 43px;
      height: 43px;

      border-radius: 50%;
      background: black;
      border: none;

      color: white;
      font-size: 1.5rem;
      line-height: 1;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;

      cursor: pointer;
    }

    #lightbox video {
      max-width: 90vw;
      max-height: 80vh;
      width: auto;
      height: auto;
    }

    /* Back to Top */
    .back-to-top {
      position: fixed;
      font-size: 1.5rem;
      bottom: 1.5rem;
      right: 1.5rem;
      padding: 0.75rem 1rem;
      border-radius: 999px;
      background: black;
      color: white;
      text-decoration: none;
}




    /* Layout */
    .layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      min-height: 100vh;
    }

    aside {
      background: var(--panel);
        box-shadow:
          0 1px 2px rgba(0,0,0,0.04),
          0 4px 12px rgba(0,0,0,0.06);
      padding: 1.5rem;
	  padding-top: 2rem;
    }

    main {
      padding: 2rem 1.5rem;
    }

    .content {
      max-width: var(--max-width); /* 68ch */
      margin-left: 0;  /* left-aligned */
      padding: 0 1rem;
    }

    /* Sidebar nav */
    
    nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    nav li {
      margin-bottom: 0.75rem;
	  margin-left: 0.4rem;
    }

    nav a {
      color: var(--text); 
    }

    nav a:hover {
      color: var(--accent);
    }
	
    nav h3 {
      margin-bottom: .75rem;
      margin-top: 0rem;
      font-weight: 500;
    }
    
    .nav-divider {
      margin: 1rem 0;
      opacity: 0.3;
    }
    
    /* Sidebar Panel */
    
    .panel {
      display: flex;
      flex-direction: column;
    }


    /* Mobile menu toggle */
    .menu-toggle {
      display: none;
    }

    .hamburger {
      display: none;
      font-size: 1.5rem;
      cursor: pointer;
    }


    /* Theme Toggle Switch */
    .theme-toggle {
      display: inline-flex;
      align-items: center;
      align-self: flex-start;
      gap: 4px;

      padding: 4px;
      border-radius: 999px;

      background: #1a1a1a;          /* dark track */
      border: 1px solid #3a3a3a;

      cursor: pointer;
    }

    .toggle-option {
      width: 28px;
      height: 28px;

      display: flex;
      align-items: center;
      justify-content: center;

      font-size: 14px;
      line-height: 1;

      color: #9a9a9a;
      border-radius: 999px;
    }

    .toggle-option.is-active {
      background: #3a3a3a;
      color: #ffffff;

      box-shadow:
        0 1px 2px rgba(0,0,0,0.4);
    }

    .theme-toggle.is-light {
      background: #f4f2f0;
      border-color: #d8d5d1;
    }

    .theme-toggle.is-light .toggle-option {
      color: #6f6f6f;
    }

    .theme-toggle.is-light .toggle-option.is-active {
      background: #ffffff;
      color: #1f1f1f;

      box-shadow:
        0 1px 2px rgba(0,0,0,0.08);
}

    /* Responsive */
    @media (max-width: 768px) {
      .layout {
        grid-template-columns: 1fr;
        overflow-x: hidden;
      }
      
      .content {
        max-width: 95vw;   /* fit almost full screen */
        margin: 0 auto;    /* center for small screens */
      }

      aside {
        position: fixed;
        padding-top: 4rem;
        inset: 0 auto 0 0;
        width: 240px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 10;
      }

      .menu-toggle:checked + aside {
        transform: translateX(0);
      }

      .hamburger {
        display: block;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 20;
      }

      .gallery {
        grid-template-columns: 1fr;
      }

      main {
        padding-top: 4rem;
      }
    }