* { box-sizing: border-box; }
:root { --bg: #0047AB; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: #fff;
  text-transform: uppercase;
}

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid #1a1a1a; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { text-decoration: none; color: #fff; }
.brand-text { font-weight: 800; letter-spacing: 0.08em; padding: 6px 10px; display: inline-block; }

.site-nav { display: flex; gap: 20px; align-items: center; }
.site-nav a { color: #ccc; text-decoration: none; transition: color .2s ease; font-weight: 600; letter-spacing: 0.06em; }
.site-nav a:hover, .site-nav a:focus { color: #fff; }

.nav-toggle { display: none; position: relative; width: 40px; height: 40px; border: 1px solid #333; background: var(--bg); color: #fff; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .2s ease; }
.nav-toggle span:first-child { top: 14px; }
.nav-toggle span:last-child { bottom: 14px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; top: 64px; right: 16px; left: 16px; display: none; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid #1a1a1a; background: var(--bg); }
  .site-nav.open { display: flex; }
}

/* Hero */
.hero { display: grid; place-items: center; min-height: 70vh; text-align: center; padding: 80px 0; }
.hero h1 { font-size: clamp(28px, 7vw, 64px); line-height: 1; margin: 0 0 16px; letter-spacing: 0.06em; }
.tagline { color: #cfcfcf; font-size: clamp(12px, 2.2vw, 14px); margin: 0 0 24px; letter-spacing: 0.08em; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 1px solid #fff; background: transparent; color: #fff; text-decoration: none; transition: background .2s ease, color .2s ease; }
.button:hover { background: #fff; color: #000; }

/* Sections */
.section { padding: 60px 0; border-top: 1px solid #141414; background: var(--bg); }
.section.alt { background: #fff; color: #000; }
.section.alt h2 { color: #000; }
.section.alt p { color: #111; letter-spacing: 0.06em; }
.section.alt .button { border-color: #000; color: #000; }
.section.alt .button:hover { background: #000; color: #fff; }
.prose { max-width: 920px; }
.prose p { line-height: 1.6; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; font-size: 14px; letter-spacing: 0.08em; }
.section h2 { font-size: 18px; margin: 0 0 18px; letter-spacing: 0.08em; }
.section p { margin: 0 0 18px; color: #e4e4e4; font-size: 12px; letter-spacing: 0.08em; }
.list { margin: 0 0 18px; padding-left: 18px; }
.list li { margin: 6px 0; font-size: 12px; letter-spacing: 0.08em; }

.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .loc-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 520px) { .loc-grid { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 768px) {
  .loc-grid { grid-template-columns: 1fr; gap: 12px; }
  .container { padding: 0 12px; }
}
/* Force single column on phones (e.g., iPhone 15 Pro ~430px) */
@media (max-width: 600px) {
  .loc-grid { grid-template-columns: 1fr !important; }
}
.photo { display: block; }
.photo a { display: block; width: 100%; aspect-ratio: 4/3; border: 1px solid #2a2a2a; overflow: hidden; background: var(--bg); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(100%); }
.photo figcaption { position: static; padding: 6px 2px 0; background: transparent; color: #fff; font-size: 12px; border: 0; }
.photo.group .pile { position: absolute; right: 8px; bottom: 8px; display: grid; grid-auto-flow: column; gap: 4px; }
.photo.group .pile img { width: 36px; height: 36px; border: 1px solid #2a2a2a; object-fit: cover; filter: grayscale(100%); background: #000; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 50; padding: 20px; overflow: auto; }
.lightbox[hidden] { display: none; }
.lightbox img { width: 96vw; height: auto; max-height: 80vh; border: 1px solid #333; margin: 0 auto; display: block; object-fit: contain; }
.lightbox-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 1px solid #444; background: var(--bg); color: #fff; font-size: 22px; }
.lightbox-caption { margin-top: 8px; text-align: center; color: #fff; font-size: 12px; letter-spacing: .08em; padding: 6px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr; } }
.member { border: 1px solid #1a1a1a; padding: 16px; display: grid; gap: 8px; background: #000; }
.member h3 { margin: 0; font-size: 14px; letter-spacing: 0.08em; }
.member h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid #333; }
.section.alt .member { background: #fff; border-color: #dcdcdc; }
.section.alt .member h3 a { border-bottom-color: #000; }
.member p { margin: 0; font-size: 12px; color: #cfcfcf; }
.avatar { width: 64px; height: 64px; border: 1px solid #2a2a2a; display: grid; place-items: center; font-weight: 800; }
.avatar-img { overflow: hidden; }
.avatar-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); display: block; }
.section.alt .avatar { border-color: #dcdcdc; }

/* Footer */
.site-footer { padding: 32px 0; border-top: 1px solid #141414; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-inner a { color: #cfcfcf; text-decoration: none; }
.footer-inner a:hover { color: #fff; }

:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
