:root {
      --olive: #a3a375;
      --ink: #263428;
      --deep: #304b3b;
      --cream: #f7efd9;
      --peach: #e9ac8c;
      --accent: #9b4b38;
      --border: #b7a77d;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { margin: 0; background: var(--olive); color: var(--ink); font-family: Georgia, 'Times New Roman', serif; line-height: 1.55; }
    a { color: #6d3428; }
    a:hover, a:focus-visible { color: #314d37; }
    .page { max-width: 1400px; margin: auto; padding: 18px; display: grid; grid-template-columns: minmax(180px, 24%) minmax(0, 1fr); gap: 24px; align-items: start; }
    .sticky { position: sticky; top: 18px; }
    .sidebar { background: #e5e2c9; border: 2px solid #788361; border-radius: 14px; padding: 13px; box-shadow: 0 5px 18px #293e2520; }
    .sidebar-image { display: block; width: 100%; height: auto; border-radius: 7px; }
    nav h2 { margin: 16px 0 10px; font-size: 1.15rem; }
    nav a { display: block; padding: 7px 10px; margin-bottom: 3px; border-radius: 6px; text-decoration: none; color: #304c36; font-family: Arial, sans-serif; font-size: .96rem; }
    nav a:hover, nav a:focus-visible { background: #cdd5b7; text-decoration: underline; }
    main { min-width: 0; }
    .hero { position: relative; background: var(--cream); border: 3px double var(--accent); border-radius: 16px; padding: 28px 22px 24px; text-align: center; box-shadow: 0 6px 22px #4837252b; }
    .eyebrow { text-transform: uppercase; letter-spacing: .16em; font: bold .8rem Arial, sans-serif; color: var(--accent); }
    h1 { margin: 4px 0 18px; font-size: clamp(2.1rem, 5vw, 3.5rem); color: var(--deep); line-height: 1.1; }
    .hero-image { display: block; width: min(80%, 650px); height: auto; margin: 0 auto 18px; }
    .intro { margin: 0 auto; max-width: 660px; font-size: 1.09rem; }
    .gallery-section { margin-top: 23px; padding: 20px; border-radius: 16px; background: #f7efd9e8; border: 1px solid var(--border); }
    .section-kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font: bold .75rem Arial, sans-serif; margin: 0; }
    h2 { color: var(--deep); }
    .gallery-section h2 { margin: 2px 0 4px; font-size: clamp(1.5rem, 3vw, 2rem); }
    .gallery-intro { margin: 0 0 20px; }
    .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
    .gallery-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #b8a889; border-radius: 9px; background: #fff9ec; text-decoration: none; color: var(--ink); box-shadow: 0 3px 8px #34312a1a; transition: transform .18s ease, box-shadow .18s ease; }
    .gallery-card:hover, .gallery-card:focus-visible { transform: translateY(-3px); box-shadow: 0 8px 18px #34312a35; }
    .gallery-card img { display: block; width: 100%; height: auto; object-fit: contain; background: #eee2cb; }
    .card-number { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; font: bold .84rem Arial, sans-serif; color: #5c4735; }
    .closing-image { display: block; margin: 24px auto 5px; width: min(75%, 650px); height: auto; }
    .closing { text-align: center; }
    dialog { border: 1px solid #c9b28c; border-radius: 12px; background: #fcf5e7; padding: 14px; width: min(92vw, 920px); max-height: 94vh; box-shadow: 0 20px 90px #0009; }
    dialog::backdrop { background: #111c17d9; }
    .dialog-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; font: bold .95rem Arial, sans-serif; }
    .dialog-controls button { cursor: pointer; padding: 8px 13px; border: 1px solid #8c7b66; border-radius: 6px; color: var(--ink); background: #f0e1c3; font-size: 1rem; }
    .dialog-controls button:hover { background: #e5d0aa; }
    #lightbox-image { display: block; width: 100%; max-height: 78vh; object-fit: contain; }
    .site-footer { max-width: 1400px; margin: 0 auto; padding: 0 18px 20px; }
    @media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
    @media (max-width: 650px) {
      .page { grid-template-columns: minmax(0, 1fr); padding: 10px; gap: 16px; }
      .sticky { position: static; }
      .sidebar-image { max-width: 210px; margin: auto; }
      nav { text-align: center; }
      nav a { display: inline-block; margin: 2px; padding: 6px 8px; }
      .hero { padding: 22px 12px; }
      .hero-image { width: min(100%, 440px); }
      .gallery-section { padding: 13px; }
      .gallery { gap: 9px; }
      .closing-image { width: 90%; }
    }
    @media (max-width: 370px) { .gallery { grid-template-columns: 1fr; } }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery-card { transition: none; } }
