:root {
  --bg1: #e5fbf7;
  --bg2: #c9f3ee;
  --ink: #173839;
  --muted: #5c7c7e;
  --line: rgba(31, 99, 98, .18);
  --accent: #177d78;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { background: var(--bg2); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 8% 8%, rgba(255,255,255,.86), transparent 28rem),
    radial-gradient(circle at 92% 30%, rgba(97,218,206,.25), transparent 30rem),
    linear-gradient(145deg, var(--bg1), var(--bg2));
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 36px)); margin: auto; padding: 28px 0 34px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--muted); font-size: .9rem; }
.topbar a { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.46); }
.hero { padding: 88px 0 42px; max-width: 790px; }
.kicker { margin: 0 0 10px; color: var(--accent); font-weight: 850; letter-spacing: .18em; font-size: .76rem; }
.hero h1 { margin: 0; font-size: clamp(2rem, 6vw, 4.5rem); line-height: .88; letter-spacing: 0em; }
.hero p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.gallery { columns: 3 300px; column-gap: 18px; }
.gallery-card { break-inside: avoid; margin: 0 0 18px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.62); box-shadow: 0 16px 48px rgba(43,112,107,.10); }
.image-button { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.image-button img { width: 100%; height: auto; transition: transform .25s ease, filter .25s ease; }
.image-button:hover img { transform: scale(1.015); filter: saturate(1.04); }
figcaption { padding: 16px 18px 18px; color: #46696b; line-height: 1.65; font-size: .94rem; }
footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; color: var(--muted); font-size: .84rem; }
footer a { color: var(--accent); font-weight: 700; }
dialog { width: min(94vw, 1180px); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; background: #081011; box-shadow: 0 30px 100px rgba(0,0,0,.48); overflow: visible; }
dialog::backdrop { background: rgba(1,12,13,.82); backdrop-filter: blur(5px); }
#lightbox-image { width: 100%; max-height: 88vh; object-fit: contain; border-radius: 20px; }
#close-lightbox { position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: rgba(6,18,19,.92); cursor: pointer; font-size: 1.5rem; line-height: 1; }
@media (max-width: 700px) {
  .shell { width: min(100% - 24px, 1180px); padding-top: 18px; }
  .topbar { align-items: flex-start; font-size: .78rem; }
  .hero { padding: 60px 0 28px; }
  .gallery { columns: 1; }
  footer { flex-direction: column; gap: 8px; }
}
