:root {
  --max-width: 1000px;
  --accent: #6b6b6b;
  --muted: #8f8f8f;
  --bg: #ffffff;
  --card-border: #e0e0e0;
  --page-padding: 24px;
  --intro-bg: #fafafa;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: var(--bg); color: #222; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 30px 20px; display: flex; flex-direction: column; }

header { display: flex; align-items: center; flex-direction: column; padding: 18px 0 6px; text-align: center; }

.logo-mark { width: 36px; height: 24px; border-left: 3px solid #333; border-bottom: 3px solid #333; transform: rotate(45deg); margin-bottom: 8px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }

h1.site-title { font-size: 26px; letter-spacing: 4px; margin: 0 0 6px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }

p.tagline { color: var(--muted); margin: 0; font-size: 14px; text-shadow: 0 1px 1px rgba(0,0,0,0.1); }

.hero { margin-top: 18px; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,0.15), 0 6px 15px rgba(0,0,0,0.1); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.hero:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,0.25), 0 8px 20px rgba(0,0,0,0.15); }
.hero .image { display: block; width: 100%; height: auto; transition: transform 0.5s ease; }
.hero:hover .image { transform: scale(1.02); }

.intro { text-align: left; margin-top: 20px; padding: 30px 20px; background-color: var(--intro-bg); border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.intro h2 { font-size: 22px; color: var(--accent); text-align: center; margin-bottom: 18px; }
.intro p { color: #333; line-height: 1.7; font-size: 15px; max-width: 900px; margin: 0 0 14px 0; }
.intro ul { margin: 10px 0 20px 20px; }
.intro li { margin-bottom: 6px; }

.inner-banner { display: flex; align-items: center; gap: 18px; margin: 18px 0; padding: 12px; background: linear-gradient(90deg, #ffffff, #fafafa); border-radius: 10px; cursor: pointer; text-decoration: none; color: inherit; border: 1px solid rgba(0,0,0,0.04); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.inner-banner:hover { transform: translateY(-4px); box-shadow: 0 8px 18px rgba(0,0,0,0.06); }
.inner-banner img { width: 240px; max-width: 40%; height: auto; border-radius: 8px; object-fit: cover; display: block; }
.banner-label { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }
.banner-sub { margin-top: 6px; color: var(--muted); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; padding: 28px 0 40px; justify-items: center; }
.grid .cell { background: #fff; border-radius: 10px; min-height: 160px; box-shadow: 0 6px 16px rgba(0,0,0,0.08), inset 0 0 10px rgba(255,255,255,0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.grid .cell:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.2); }
.thumb { width: 100%; height: auto; border-radius: 8px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; display: block; }
.thumb:hover { transform: scale(1.05); box-shadow: 0 8px 16px rgba(0,0,0,0.2); }

.note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 30px; }

#overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); justify-content: center; align-items: center; z-index: 1000; }
#overlay img { max-width: 90%; max-height: 90%; border-radius: 10px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 920px) { .inner-banner { flex-direction: row; } .inner-banner img { width: 40%; } }
@media (max-width: 720px) { .intro h2 { font-size: 20px; } .inner-banner { flex-direction: column; align-items: flex-start; } .inner-banner img { width: 100%; } }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; gap: 12px; } }
