:root {
  --navy: #1B2A4A;
  --accent: #0F6E5E;
  --accent-light: #E8F2F0;
  --ink: #1B2A4A;
  --sub: #8A8F98;
  --line: #E4E6EA;
  --bg: #FCFCFB;
  --max: 1280px;
  --gutter: 48px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Site switcher (scrolls away, not sticky) */
.site-switch {
  background: var(--accent-light);
}

.site-switch-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 30px;
}

.switch-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--sub);
  text-decoration: none;
  transition: color 0.15s ease;
}

.switch-link.active {
  font-weight: 700;
  color: var(--navy);
}

.switch-link:hover { color: var(--accent); }

.switch-sep {
  font-size: 11px;
  color: #B7CCC7;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* Hero header */
.hero {
  text-align: center;
  padding: 88px 0 40px;
}

.hero-name {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.hero-role {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-desc {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--sub);
}

/* Filter subnav */
.filters-bar {
  position: sticky;
  top: 0;
  background: rgba(252, 252, 251, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.filters-inner {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.filter-btn {
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--sub);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.filter-btn:hover {
  color: var(--accent);
}

.filter-btn.active {
  color: var(--navy);
  background: var(--accent-light);
  font-weight: 600;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter) 40px;
  padding: 64px 0 120px;
}

.tile {
  cursor: pointer;
}

.tile-image-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--accent-light);
  border-radius: 2px;
}

.tile-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tile:hover .tile-image-wrap img {
  transform: scale(1.02);
}

.tile-caption {
  margin-top: 16px;
}

.tile-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.tile-sub {
  font-size: 13px;
  color: var(--sub);
  margin-top: 3px;
}

.tile-count {
  font-size: 12px;
  color: var(--sub);
}

/* Responsive */
@media (max-width: 860px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 40px 0 90px;
  }
  .wrap { padding: 0 20px; }
  .hero { padding: 56px 0 28px; }
  .hero-name { font-size: 30px; }
  .filters-inner { padding-top: 12px; padding-bottom: 12px; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(252, 252, 251, 0.98);
  z-index: 100;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px 24px;
}

.lightbox.open {
  display: flex;
}

.lb-content {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-content img {
  max-width: 92vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
}

.lb-caption {
  margin-top: 18px;
  text-align: center;
}

.lb-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.lb-sub {
  font-size: 13px;
  color: var(--sub);
  margin-top: 3px;
}

.lb-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 32px;
  line-height: 1;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 42px;
  color: var(--ink);
  cursor: pointer;
  padding: 12px 18px;
  opacity: 0.55;
  transition: opacity 0.15s ease;
}

.lb-nav:hover { opacity: 1; }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }

@media (max-width: 640px) {
  .lb-nav { font-size: 30px; padding: 8px 10px; }
  .lb-close { top: 16px; right: 16px; }
}
