@charset "utf-8";
/* CSS Document */

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background-color: var(--bg);
      color: var(--fg);
    }

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

    header {
      border-bottom: 1px solid var(--border);
      background: #050505;
    }

    .nav {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0.75rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .nav-title {
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 0.95rem;
      color: var(--accent);
    }

    .nav-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1.25rem;
      font-size: 0.9rem;
    }

    main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 1.5rem 4rem;
    }

    .page-intro {
      margin-bottom: 2.5rem;
    }

    .page-intro h1 {
      font-size: 2.25rem;
      margin: 0 0 0.75rem;
      color: var(--accent);
    }

    .page-intro p {
      max-width: 780px;
      line-height: 1.6;
      margin: 0 0 0.75rem;
    }

    .section {
      padding-block: 2rem;
      border-top: 1px solid var(--border);
    }

    .section:last-of-type {
      border-bottom: 1px solid var(--border);
    }

    .section h2 {
      font-size: 1.8rem;
      margin: 0 0 0.75rem;
      color: var(--accent);
    }

    .section h3 {
      font-size: 1.2rem;
      margin: 1.25rem 0 0.5rem;
    }

    .section p {
      max-width: 780px;
      line-height: 1.7;
      margin: 0 0 0.75rem;
    }

    .section ul {
      max-width: 780px;
      line-height: 1.7;
      padding-left: 1.25rem;
      margin: 0.25rem 0 0.75rem;
    }

    .section li {
      margin-bottom: 0.35rem;
    }

    .highlight {
      color: var(--muted);
      font-size: 0.95rem;
    }

	/* Reusable split-section layout (text left, image right) */
	.split {
	  display: grid;
	  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	  gap: 2.5rem;
	  align-items: center;
	}

	.split-media {
	  justify-self: center;
	}

	.split-media img {
	  display: block;
	  width: 100%;
	  max-width: 380px; /* adjust per section */
	  height: auto;
	  border-radius: 16px;
	}

    @media (max-width: 768px) {
      .nav {
        flex-direction: column;
        align-items: flex-start;
      }
      .nav-links {
        flex-wrap: wrap;
      }
	  .split {
		grid-template-columns: 1fr;
	  }
	  .split-media {
		order: -1; /* image first on mobile */
	  }
	  .split-media img {
		max-width: 520px;
	  }
    }


	  
  /* Receipts / layout sketch */
  figure.receipts {
    margin: 1rem 0 0;
    max-width: 780px;
  }

  .receipt-thumb {
    display: inline-block;
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: #050505;
  }

  .receipt-thumb img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 780px;
    transition: transform 160ms ease, filter 160ms ease;
  }

  .receipt-thumb:hover img {
    transform: scale(1.01);
    filter: brightness(1.05);
  }

  .receipt-caption {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* CSS-only lightbox (full-size image on click) */
  .lightbox {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(0, 0, 0, 0.92);
    padding: 1.25rem;
    z-index: 9999;
  }

  .lightbox:target {
    display: grid;
  }

  .lightbox img {
    max-width: min(1200px, 94vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #050505;
  }

  .lightbox-close {
    position: fixed;
    top: 12px;
    right: 16px;
    font-size: 28px;
    line-height: 1;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid #333;
    background: rgba(5, 5, 5, 0.85);
    color: var(--fg);
    text-decoration: none;
  }

  .lightbox-close:hover {
    filter: brightness(1.1);
    text-decoration: none;
  }