:root {
  --navy: #023E6A;
  --navy-deep: #012848;
  --blue: #026AB2;
  --blue-mid: #1A86C9;
  --blue-light: #4BA3D6;
  --ice: #E8F3FA;
  --mist: #F4F7F9;
  --steel: #5C6B7A;
  --concrete: #8A939C;
  --line: #D5DCE2;
  --ink: #12161B;
  --charcoal: #1C2228;
  --white: #ffffff;
  --amber: #B45309;
  --shadow: 0 18px 40px rgba(2, 62, 106, 0.16);
  --radius: 14px;
  --header-h: 76px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.05rem;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
.wrap { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.wrap-wide { width: min(1280px, calc(100% - 2rem)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: var(--white);
  min-height: var(--header-h);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--white);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: .01em;
}
.brand img { width: 46px; height: 46px; border-radius: 50%; background: var(--white); }
.brand span { max-width: 15rem; line-height: 1.15; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform .2s, opacity .2s;
}
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.site-nav a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a.phone { white-space: nowrap; }
.site-nav .btn { margin-left: .2rem; }
.nav-backdrop { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: linear-gradient(180deg, var(--blue-mid), var(--blue));
  color: var(--white);
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  padding: .72rem 1.15rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(2, 106, 178, .28);
}
.btn:hover { background: var(--navy); color: var(--white); }
.btn-ghost {
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,.55);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-ghost.dark {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-ghost.dark:hover { background: var(--ice); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

/* Hero slideshow */
.hero-slide {
  position: relative;
  min-height: min(88vh, 820px);
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 25, 48, .28) 0%, rgba(2, 62, 106, .38) 40%, rgba(1, 20, 40, .82) 100%);
}
.slide.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(2,106,178,.35), transparent 55%),
    linear-gradient(180deg, var(--navy-deep), #34556f);
}
.photo-needed {
  border: 1px dashed rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  min-height: 180px;
  width: min(640px, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem;
  border-radius: var(--radius);
}
.photo-needed strong { display: block; margin-bottom: .35rem; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.photo.light, .tile.placeholder .photo-needed, .section .photo-needed {
  background: #eef2f5;
  border-color: #9AA4AE;
  color: var(--steel);
  width: 100%;
}
.photo.light strong, .section .photo-needed strong { color: var(--navy); }
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
  max-width: 44rem;
}
.hero-copy h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -.02em;
}
.hero-copy p { margin: 0; font-size: 1.15rem; color: rgba(255,255,255,.92); max-width: 38rem; }
.hero-controls {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 1.1rem;
  display: flex;
  justify-content: center;
  gap: .45rem;
}
.hero-controls button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  padding: 0;
}
.hero-controls button[aria-current="true"] { background: var(--white); transform: scale(1.15); }
.slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 2.6rem;
  z-index: 2;
  text-align: center;
  font-size: .86rem;
  color: rgba(255,255,255,.82);
  padding: 0 1rem;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), var(--blue));
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero .slide-scrim { background: linear-gradient(180deg, rgba(2,62,106,.25), rgba(1,20,40,.82)); }
.page-hero .wrap { position: relative; z-index: 1; padding: 5.5rem 0 2.4rem; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 .7rem;
}
.page-hero p { margin: 0; max-width: 40rem; }

/* Sections */
.section { padding: 4.2rem 0; }
.section h2, .section h1, footer.site h2, .cta-band h2 {
  font-family: var(--display);
  letter-spacing: -.015em;
  color: var(--navy);
  margin: 0 0 .8rem;
}
.section h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.lead { font-size: 1.12rem; color: #33404a; max-width: 46rem; }
.section.ice { background: linear-gradient(180deg, var(--ice), #f7fbfe); }
.section.mist { background: var(--mist); }
.section.steel {
  background: linear-gradient(180deg, #2a333b, var(--charcoal));
  color: var(--white);
}
.section.steel h2, .section.steel a { color: var(--white); }
.section.steel .lead { color: rgba(255,255,255,.86); }
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 48%, var(--blue) 100%);
  color: var(--white);
  padding: 3.6rem 0;
}
.cta-band h2, .cta-band p { color: var(--white); }

/* Image tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.6rem;
}
.tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: #dfe6ec;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.tile img { width: 100%; height: 280px; object-fit: cover; }
.tile .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.1rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(1,20,40,.88));
}
.tile h3 { margin: 0 0 .25rem; font-family: var(--display); color: var(--white); }
.tile p { margin: 0; color: rgba(255,255,255,.88); font-size: .95rem; }
.tile.placeholder { min-height: 280px; display: flex; }
.tile.placeholder .photo-needed { border: 0; background: transparent; color: var(--steel); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}
.gallery a, .gallery .shot {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfe6ec;
  min-height: 220px;
}
.gallery img { width: 100%; height: 260px; object-fit: cover; cursor: zoom-in; }
.gallery figcaption, .shot figcaption {
  margin: 0;
  padding: .7rem .9rem 1rem;
  font-size: .9rem;
  color: var(--steel);
  background: var(--white);
}
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
}
.split img, .split .photo-needed { border-radius: var(--radius); min-height: 280px; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 8px 20px rgba(18,22,27,.04);
}
.card h3 { margin: 0 0 .4rem; font-family: var(--display); color: var(--navy); }
.card p { margin: 0; color: #3c4852; }
.columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.columns h3 { font-family: var(--display); color: var(--navy); margin: 0 0 .5rem; font-size: 1.05rem; }
.columns ul { margin: 0; padding-left: 1.1rem; color: #33404a; }
.client-names { color: #33404a; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 .4rem;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8,12,16,.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: 8px; }
.lightbox button {
  background: var(--white);
  color: var(--navy);
  border: 0;
  border-radius: 8px;
  padding: .45rem .8rem;
  font-weight: 700;
  cursor: pointer;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
}
.lightbox p {
  position: absolute;
  bottom: 1rem;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,.9);
  margin: 0;
}

/* Forms */
.form-shell {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.6rem;
  border: 1px solid var(--line);
}
.form-field { margin: 0 0 1rem; }
.form-field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  border: 1px solid #c5ced6;
  border-radius: 8px;
  padding: .7rem .8rem;
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
.form-field textarea { min-height: 7rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--blue-light);
  border-color: var(--blue);
}
.form-help { margin: .35rem 0 0; color: var(--steel); font-size: .92rem; }
.form-error { color: var(--amber); font-weight: 650; margin: .35rem 0 0; }
.thanks { background: var(--ice); border-radius: var(--radius); padding: 1.3rem; }
.upload-box {
  border: 1px dashed var(--blue);
  background: var(--ice);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 0 0 1rem;
}
.upload-box h3 { margin: 0 0 .35rem; font-family: var(--display); color: var(--navy); font-size: 1.05rem; }
.upload-list { margin: .7rem 0 0; padding: 0; list-style: none; }
.upload-list li { display: flex; justify-content: space-between; gap: .6rem; font-size: .95rem; padding: .25rem 0; }
.upload-list button { background: none; border: 0; color: var(--navy); font-weight: 700; cursor: pointer; }

/* Footer */
footer.site {
  background: var(--charcoal);
  color: #d7dee4;
  padding: 2.6rem 0 1.6rem;
}
footer.site h2 { color: var(--white); font-size: 1.2rem; }
footer.site a { color: #d7dee4; }
footer.site .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
footer.site .fine { margin-top: 1.6rem; font-size: .88rem; color: #9aa4ae; }

@media (max-width: 900px) {
  .tiles, .gallery, .cards, .columns, .split, .split.reverse, footer.site .grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: .6rem 1rem 1.2rem;
    gap: 0;
    box-shadow: 0 16px 30px rgba(0,0,0,.25);
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a, .site-nav .btn {
    padding: .85rem 0;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .site-nav .btn { margin-top: .4rem; text-align: center; }
  .hero-copy { padding: 5.5rem 0 5rem; }
  .hero-slide { min-height: 100svh; }
}
@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr; }
  .brand span { font-size: .95rem; max-width: 11rem; }
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  background: #e6eef4;
  border-radius: 999px;
  padding: .28rem .65rem;
  margin: 0 0 .45rem;
}
.gallery figcaption .tag,
.project-copy .tag { display: block; width: max-content; margin-bottom: .45rem; }

/* Home client strip and Projects client explorer */
#clients { scroll-margin-top: calc(var(--header-h) + 12px); }
.client-strip {
  list-style: none;
  margin: 1.2rem 0 1.15rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .7rem;
}
.client-strip li {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  border-radius: 10px;
  padding: .8rem .85rem;
  text-align: center;
  font-family: var(--display);
  font-weight: 650;
  font-size: .98rem;
  line-height: 1.25;
}
.client-strip-link { margin: 0; }
.client-strip-link a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.client-strip-link a:hover,
.client-strip-link a:focus-visible { color: var(--ice); }
.client-explorer { margin-top: 1.4rem; }
.client-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.2rem;
  margin-bottom: 1.1rem;
}
.client-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  flex: 1 1 28rem;
}
.client-tabs [role="tab"] {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: .42rem .85rem;
  font: inherit;
  font-size: .92rem;
  font-weight: 650;
  cursor: pointer;
  line-height: 1.3;
}
.client-tabs [role="tab"] .tab-count {
  display: inline-block;
  margin-left: .2rem;
  font-weight: 700;
  font-size: .8rem;
  color: var(--steel);
}
.client-tabs [role="tab"][aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.client-tabs [role="tab"][aria-selected="true"] .tab-count {
  color: rgba(255,255,255,.82);
}
.client-tabs [role="tab"]:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.client-tabs [role="tab"][aria-selected="true"]:hover {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy-deep);
}
.client-tabs [role="tab"]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.client-search {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 0 1 16rem;
  min-width: 12rem;
}
.client-search label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
}
.client-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .55rem .75rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.client-search input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.client-status {
  margin: 0 0 .7rem;
  min-height: 1.2em;
  font-size: .92rem;
  color: var(--steel);
}
.client-status:empty { display: none; }
.client-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem .85rem;
}
.client-grid li {
  margin: 0;
  padding: .62rem .8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.3;
}
.client-empty {
  margin: 1rem 0 0;
  color: var(--steel);
}
@media (max-width: 900px) {
  .client-strip { grid-template-columns: repeat(3, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-search { flex: 1 1 100%; }
}
@media (max-width: 620px) {
  .client-strip,
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Project cards and detail galleries */
#project-gallery { scroll-margin-top: calc(var(--header-h) + 12px); }

[data-project-index][hidden],
.project-card-grid[hidden],
[data-project-detail][hidden] {
  display: none !important;
}
.project-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.4rem;
}
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(18,22,27,.04);
  min-height: 100%;
}
.project-card:hover,
.project-card:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(2,62,106,.12);
}
.project-card:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.project-card-media {
  background: #dfe6ec;
  min-height: 180px;
}
.project-card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.project-card-media .photo-needed { min-height: 200px; border-radius: 0; border: 0; }
.project-card-copy { padding: 1rem 1.05rem 1.15rem; }
.project-card-copy h3 {
  margin: 0 0 .4rem;
  font-family: var(--display);
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}
.project-card-copy p { margin: 0; color: #3c4852; font-size: .95rem; }
.project-card-meta {
  margin-top: .55rem !important;
  color: var(--steel) !important;
  font-weight: 650;
  font-size: .86rem !important;
}
.project-back { margin: 0 0 1rem; }
.project-back a { font-weight: 700; }
.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  margin: .8rem 0 1rem;
  padding: 0;
}
.project-facts li {
  background: #eef2f5;
  color: var(--navy);
  border-radius: 999px;
  padding: .28rem .75rem;
  font-size: .86rem;
  font-weight: 650;
}
.project-detail-block { margin-top: 1.2rem; }
.project-detail-block + .project-detail-block {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.project-section { margin-top: 2rem; }
.project-section h3 {
  margin: 0 0 .4rem;
  font-family: var(--display);
  color: var(--navy);
}
.project-section-note { margin: 0 0 .8rem; color: var(--steel); }
.project-detail-block .actions { margin-top: 1.6rem; }

/* Client names that link to a project gallery */
.client-grid li.has-gallery,
.client-strip li.has-gallery { padding: 0; }
.client-project-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .4rem;
  color: var(--navy);
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  padding: .62rem .8rem;
  min-height: 100%;
  border-radius: 8px;
}
.client-project-link:hover,
.client-project-link:focus-visible { color: var(--blue); }
.client-project-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.client-link-icon {
  flex: 0 0 auto;
  color: var(--blue);
}
.client-strip .client-project-link {
  justify-content: center;
  color: var(--white);
  padding: .8rem .85rem;
  border-radius: 10px;
  text-align: center;
}
.client-strip .client-project-link:hover,
.client-strip .client-project-link:focus-visible { color: var(--ice); }
.client-strip .client-link-icon { color: var(--ice); }

/* Lightbox arrows and captions */
.lightbox-stage { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox-stage img { max-width: 100%; max-height: 78vh; border-radius: 8px; }
.lightbox-stage figcaption {
  margin: .7rem 0 0;
  color: #fff;
}
.lightbox-stage p { margin: 0; color: #fff; }
.lightbox-count { margin-top: .25rem !important; font-size: .86rem; color: rgba(255,255,255,.8) !important; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--navy);
  border: 0;
  border-radius: 8px;
  padding: .5rem .75rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
}
.lightbox button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .project-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .project-card-grid { grid-template-columns: 1fr; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; transform: none; }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
}