:root {
  --navy: #1B2A4A;
  --accent: #0F6E5E;
  --accent-light: #E8F2F0;
  --grey: #555555;
  --grey-light: #8A8F98;
  --line: #E4E6EA;
  --bg: #FCFCFB;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.wrap-narrow {
  max-width: 760px;
}

/* 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(--grey-light);
  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;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 252, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--grey);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--accent); }

.nav-resume { padding: 8px 18px; font-size: 13.5px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* Hero */
.hero {
  padding: 120px 0 80px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.12;
  margin: 0 0 26px;
  max-width: 820px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 19px;
  color: var(--grey);
  max-width: 620px;
  margin: 0;
}

/* Trusted by */
.trusted-by {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trusted-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-light);
  font-weight: 600;
  margin: 0 0 16px;
}

.logo-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  padding: 0;
  margin: 0;
}

.logo-row li {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  opacity: 0.75;
}

.logo-item {
  display: flex;
  align-items: center;
  height: 26px;
}

.client-logo {
  height: 22px;
  width: auto;
  display: block;
  fill: var(--navy);
  opacity: 0.75;
}

.logo-text {
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  opacity: 0.75;
}

/* Section shared */
section { padding: 88px 0; }

.section-label {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 28px;
}

.section-label.small { margin-bottom: 20px; }

/* About */
.about .lede {
  font-size: 21px;
  font-family: var(--font-serif);
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 24px;
}

.about p {
  font-size: 16.5px;
  color: var(--grey);
  margin-bottom: 22px;
}

.about p:last-child { margin-bottom: 0; }
.about em { color: var(--navy); font-style: italic; }

/* Experience */
.role {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.role:first-of-type { padding-top: 0; }

.role-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 12px;
}

.role h3 {
  font-size: 19px;
  margin: 0 0 3px;
  font-weight: 700;
}

.role-org {
  margin: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
}

.role-dates {
  margin: 0;
  color: var(--grey-light);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.role p {
  font-size: 15.5px;
  color: var(--grey);
  margin: 0;
}

.role-note {
  font-size: 13px;
  color: var(--grey-light);
  font-style: italic;
  margin-top: 10px !important;
}

.more-roles[hidden] { display: none; }
.more-roles { margin-top: 24px; }

.see-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.see-more-btn:hover { text-decoration: underline; }

.prior-experience {
  margin-top: 48px;
}

.prior-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prior-list li {
  font-size: 15px;
  color: var(--grey);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.prior-list li:last-child { border-bottom: none; }

.prior-list strong {
  color: var(--navy);
}

.prior-list span {
  color: var(--grey-light);
  font-size: 13.5px;
}

/* Expertise */
.expertise {
  background: var(--accent-light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

.expertise-item h4 {
  font-size: 15.5px;
  margin: 0 0 10px;
  color: var(--navy);
}

.expertise-item p {
  font-size: 14.5px;
  color: var(--grey);
  margin: 0;
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

.work-tile {
  cursor: pointer;
}

.work-tile-image {
  width: 100%;
  aspect-ratio: 1800 / 1215;
  overflow: hidden;
  background: var(--accent-light);
  border-radius: 3px;
}

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

.work-tile:hover .work-tile-image img,
.work-tile:focus-visible .work-tile-image img {
  transform: scale(1.02);
}

.work-tile-caption {
  margin-top: 14px;
}

.work-tile-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}

.work-tile-sub {
  font-size: 13.5px;
  color: var(--grey-light);
  margin-top: 2px;
}

.work-more {
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
}

.work-more:hover { text-decoration: underline; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(252, 252, 251, 0.98);
  z-index: 200;
  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: 3px;
}

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

.lb-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
}

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

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

/* Contact */
.contact-lede {
  font-size: 20px;
  font-family: var(--font-serif);
  color: var(--navy);
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  color: var(--grey-light);
}

/* Responsive */
@media (max-width: 760px) {
  .nav { display: none; }
  .hero { padding: 80px 0 56px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  section { padding: 56px 0; }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .role-head { flex-direction: column; }
  .work-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .btn { padding: 12px 20px; font-size: 14px; }
}
