  /* ==========================================================
     GOOGLE FONT — local (downloaded) files
     ----------------------------------------------------------
     1. Go to fonts.google.com, pick a font, click "Get font",
        then "Download all". Unzip it.
     2. Copy the .woff2 files (usually in the "static" folder)
        into a folder called "fonts" next to this HTML file.
     3. Uncomment the block below and adjust the file names to
        match yours. Regular (400) + bold (700) is enough here.

  @font-face {
    font-family: "My Google Font";
    src: url("fonts/my-font-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: "My Google Font";
    src: url("fonts/my-font-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
     4. Then change --font-main below to "My Google Font".
     ========================================================== */

  :root {
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --sidebar-width: 200px;
  }

  /* ---------- Overall layout: sidebar + main ---------- */
  body {
    margin: 0;
    font-family: var(--font-main);
    background: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.6;
  }

  .page {
    display: flex;
    min-height: 100vh;
  }

  /* ---------- Left sidebar navigation ---------- */
  .sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: #ffffff;
    border-right: 1px solid #d2d2d7;
    padding: 24px 16px;
    box-sizing: border-box;
  }

  .sidebar .site-name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 24px;
  }

  .sidebar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sidebar nav li {
    margin-bottom: 6px;
  }

  .sidebar nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #1d1d1f;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.15s ease;
  }

  .sidebar nav a:hover,
  .sidebar nav a:focus-visible {
    background: #ececf0;
  }

  .sidebar nav a.current {
    background: #e8e8ed;
    font-weight: 600;
  }

  /* Stack sidebar on top for narrow screens */
  @media (max-width: 640px) {
    .page { flex-direction: column; }
    .sidebar { width: 100%; border-right: none; border-bottom: 1px solid #d2d2d7; }
  }

  /* ---------- Main content column ---------- */
  .content {
    flex: 1;
    padding: 48px 24px;
    display: flex;
    flex-direction: column;
  }

  h1 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 32px;
  }

  /* ---------- Gallery grid ----------
     Each source image is 1920x1080 (16:9), scaled down responsively. */
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;                       /* room for the 10px drop shadow */
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
  }

  .gallery-item {
    margin: 0;
  }

  .gallery-trigger {
    cursor: zoom-in;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #808080;       /* 2px medium grey frame */
    box-sizing: border-box;          /* border drawn inside the rounded corners */
    /* ~10px grey shadow, displaced to the lower right => the light
       appears to come from the upper-left corner. */
    box-shadow: 10px 10px 10px rgba(128, 128, 128, 0.45);
    background: #e8e8ed;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
  }

  .gallery-trigger:hover,
  .gallery-trigger:focus-visible {
    box-shadow: 6px 6px 12px rgba(128, 128, 128, 0.55);
    transform: translate(1px, 1px);  /* image lifts slightly toward the light */
    outline: none;
  }

  .gallery-trigger img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .gallery-caption {
    margin-top: 14px;                /* cleared from the shadow */
    font-size: 14px;
    color: #6e6e73;
    text-align: center;
  }

  /* ---------- Footer ---------- */
  footer {
    margin-top: auto;                /* pushes footer to the bottom */
    padding: 28px 0 8px;
    border-top: 1px solid #d2d2d7;
    text-align: center;
    font-size: 14px;
    color: #6e6e73;
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  footer a {
    color: #6e6e73;
  }

  footer a:hover,
  footer a:focus-visible {
    color: #1d1d1f;
  }

  /* ---------- Lightbox ---------- */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .lightbox.is-open {
    display: flex;
  }

  .lightbox.is-visible {
    opacity: 1;
  }

  .lightbox-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 86vh;
  }

  .lightbox-frame img {
    max-width: 92vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    border: 2px solid #808080;       /* 2px medium grey border, full-size image */
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.97);
    transition: transform 0.25s ease, opacity 0.15s ease;
  }

  .lightbox.is-visible .lightbox-frame img {
    transform: scale(1);
  }

  .lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    text-align: center;
  }

  .lightbox-counter {
    position: absolute;
    top: -44px;
    left: 0;
    right: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-align: center;
  }

  /* Prev / Next arrows */
  .nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 26px;
    line-height: 52px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .nav-btn:hover,
  .nav-btn:focus-visible {
    background: rgba(255, 255, 255, 0.3);
  }

  .nav-prev { left: 20px; }
  .nav-next { right: 20px; }

  .lightbox-close {
    position: fixed;
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 26px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .lightbox-close:hover,
  .lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.3);
  }
  
  .about {
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.about h2 {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 600;
}

.about-portrait img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #808080;
  box-shadow: 10px 10px 10px rgba(128, 128, 128, 0.45);
  margin: 0 auto;
}

.about-portrait figcaption {
  margin-top: 14px;
  font-size: 14px;
  color: #6e6e73;
  text-align: center;
}

  /* My additions */

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}