:root {
      --bg: #f6fbf7;
      --surface: #ffffff;
      --line: #d8eadf;
      --ink: #10201a;
      --muted: #5f7168;
      --green: #008c3a;
      --green-soft: #dff5e7;
      --radius: 22px;
      --max: 1180px;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: Inter, system-ui, sans-serif;
      background: var(--bg);
      color: var(--ink);
      line-height: 1.6;
    }

    a { color: inherit; text-decoration: none; }
    .container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

    .nav {
      position: sticky;
      top: 0;
      z-index: 40;
      border-bottom: 1px solid rgba(216, 234, 223, .82);
      background: rgba(246, 251, 247, .82);
      backdrop-filter: blur(18px);
    }

    .nav-inner {
      height: 74px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 22px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 900;
      letter-spacing: -.04em;
    }

    .brand-logo {
      width: 42px;
      height: 42px;
      object-fit: contain;
    }

    .brand-text strong { display: block; line-height: 1; font-size: 1.05rem; }
    .brand-text span { display: block; color: var(--muted); font-size: .74rem; letter-spacing: .01em; margin-top: 3px; }

    .nav-links {
      display: flex;
      gap: 24px;
      align-items: center;
      color: var(--muted);
      font-size: .94rem;
      font-weight: 700;
    }

    .nav-links a {
      display: inline-flex;
      align-items: center;
      line-height: 1;
    }

    .nav-links a:hover,
    .nav-links a.active { color: var(--green); }

    .nav-art {
      display: block;
      width: 80px;
      height: 80px;
      object-fit: contain;
      flex: 0 0 80px;
    }

    .nav-item {
      position: relative;
      display: inline-flex;
      align-items: center;
    }

    .submenu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      display: none;
      min-width: 104px;
      padding: 8px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: var(--surface);
      box-shadow: 0 14px 32px rgba(0,0,0,.08);
      z-index: 60;
    }

    .nav-item:hover .submenu,
    .nav-item:focus-within .submenu {
      display: grid;
      gap: 4px;
    }

    .submenu a {
      padding: 8px 10px;
      border-radius: 10px;
      white-space: nowrap;
    }

    .submenu a:hover {
      background: var(--green-soft);
      text-decoration: none;
    }

    header {
      position: relative;
      overflow: hidden;
      min-height: 340px;
      padding: 84px 0 48px;
      isolation: isolate;
    }

    header::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      background-image: url("../images/site/mint-lab-horizontal-logo.svg");
      background-position: right max(20px, calc((100vw - var(--max)) / 2)) top 34px;
      background-size: min(620px, 50vw) auto;
      background-repeat: no-repeat;
      opacity: .34;
      -webkit-mask-image: linear-gradient(225deg, #000 0%, rgba(0,0,0,.78) 34%, rgba(0,0,0,.30) 68%, transparent 96%);
      mask-image: linear-gradient(225deg, #000 0%, rgba(0,0,0,.78) 34%, rgba(0,0,0,.30) 68%, transparent 96%);
      pointer-events: none;
    }

    header::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      background:
        linear-gradient(135deg, rgba(246, 251, 247, .96) 0%, rgba(246, 251, 247, .72) 42%, rgba(246, 251, 247, .18) 100%),
        linear-gradient(180deg, rgba(246, 251, 247, 0) 0%, rgba(246, 251, 247, .22) 76%, var(--bg) 100%);
      pointer-events: none;
    }

    header .container {
      position: relative;
      z-index: 1;
    }

    h1 {
      margin: 14px 0 18px;
      font-size: clamp(3rem, 6vw, 5.5rem);
      line-height: .92;
      letter-spacing: 0;
    }

    .highlight-line {
      margin: 0 0 18px;
      color: var(--green);
      font-size: clamp(1.5rem, 3vw, 2.3rem);
      font-weight: 900;
      line-height: 1.2;
    }

    .lead {
      max-width: 760px;
      color: var(--muted);
      font-size: 1.08rem;
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 18px;
    }

    .gallery-item {
      margin: 0;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 10px 32px rgba(0,0,0,.04);
      cursor: zoom-in;
      transition: transform .18s ease, box-shadow .18s ease;
    }

    .gallery-item:hover,
    .gallery-item:focus-visible {
      transform: translateY(-2px);
      box-shadow: 0 16px 42px rgba(0,0,0,.08);
      outline: none;
    }

    .gallery-item img {
      display: block;
      width: 100%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
      background: var(--green-soft);
    }

    .gallery-item figcaption {
      padding: 14px 16px 16px;
      color: var(--muted);
      font-weight: 700;
    }

    .empty-gallery {
      padding: 30px;
      border: 1px dashed var(--line);
      border-radius: 18px;
      color: var(--muted);
      background: rgba(255,255,255,.56);
    }

    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: grid;
      place-items: center;
      padding: 28px;
      background: rgba(7, 19, 14, .78);
      backdrop-filter: blur(10px);
    }

    .lightbox[hidden] {
      display: none;
    }

    .lightbox-open {
      overflow: hidden;
    }

    .lightbox-content {
      width: min(100%, 1080px);
      max-height: min(86vh, 820px);
      margin: 0;
      display: grid;
      gap: 14px;
    }

    .lightbox-content img {
      width: 100%;
      max-height: calc(86vh - 70px);
      object-fit: contain;
      border-radius: 18px;
      background: var(--surface);
      box-shadow: 0 28px 80px rgba(0,0,0,.28);
    }

    .lightbox-content figcaption {
      color: white;
      font-weight: 800;
      text-align: center;
    }

    .lightbox-close {
      position: fixed;
      top: 18px;
      right: 18px;
      width: 44px;
      height: 44px;
      border: 1px solid rgba(255,255,255,.72);
      border-radius: 999px;
      background: rgba(7, 19, 14, .76);
      color: white;
      font-size: 2rem;
      line-height: 1;
      cursor: pointer;
      box-shadow: 0 12px 32px rgba(0,0,0,.28);
    }

    .lightbox-close:hover,
    .lightbox-close:focus-visible {
      background: rgba(0, 140, 58, .92);
      outline: none;
    }

    .lightbox-nav {
      position: fixed;
      top: 50%;
      transform: translateY(-50%);
      width: 54px;
      height: 54px;
      border: 1px solid rgba(255,255,255,.72);
      border-radius: 999px;
      background: rgba(7, 19, 14, .76);
      color: white;
      font-size: 3rem;
      line-height: 1;
      cursor: pointer;
      box-shadow: 0 12px 32px rgba(0,0,0,.28);
    }

    .lightbox-prev {
      left: 18px;
    }

    .lightbox-next {
      right: 18px;
    }

    .lightbox-nav:hover,
    .lightbox-nav:focus-visible {
      background: rgba(0, 140, 58, .92);
      outline: none;
    }

    @media (max-width: 760px) {
      header {
        min-height: auto;
        padding: 58px 0 34px;
      }

      header::before {
        background-position: right 20px top 24px;
        background-size: 430px auto;
      }

      .lightbox {
        padding: 72px 16px 28px;
      }

      .lightbox-nav {
        top: auto;
        bottom: 16px;
        transform: none;
        width: 46px;
        height: 46px;
        font-size: 2.5rem;
      }

      .lightbox-prev {
        left: calc(50% - 58px);
      }

      .lightbox-next {
        right: calc(50% - 58px);
      }
    }

    .footer-inner { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }

    footer {
      border-top: 1px solid var(--line);
      margin-top: 80px;
      padding: 32px 0;
      color: var(--muted);
    }

    @media (max-width: 860px) {
      .nav-inner {
        height: auto;
        min-height: 74px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 14px 0;
      }

      .nav-links {
        gap: 14px;
        flex-wrap: wrap;
        font-size: .9rem;
      }

      .brand-text span { display: none; }
    }
