@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

/* ============ TOKENS ============ */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-soft: #eff4ff;

  --radius: 8px;
  --max: 1120px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ============ RESET ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
}

/* ============ NAV (full width) ============ */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

nav .nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

nav .logo {
  margin-right: auto;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

nav .logo a {
  color: var(--text);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s;
}

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

/* ============ LAYOUT ============ */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type {
  border-bottom: none;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

section h2 {
  font-size: 32px;
  margin-bottom: 32px;
}

/* ============ HERO ============ */
.hero {
  background: var(--surface);
  padding: 96px 0 88px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-photo {
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.hero-text h1 {
  font-size: 52px;
  letter-spacing: -0.03em;
}

.hero-role {
  margin-top: 10px;
  font-size: 20px;
  color: var(--muted);
}

.hero-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 9px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

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

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  background: var(--surface);
  color: var(--accent);
  border-color: var(--accent);
}

/* hero video: hidden until script.js confirms the file loaded */
.hero-media {
  display: none;
  flex: 0 0 340px;
  margin-left: auto;
}

.hero-media.is-ready {
  display: block;
}

.hero-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (max-width: 1080px) {
  .hero-content {
    flex-wrap: wrap;
  }
  .hero-media {
    flex: 1 1 100%;
    max-width: 520px;
    margin-left: 268px; /* line up under the text: photo (220) + gap (48) */
  }
}

/* ============ STATS STRIP ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 56px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat {
  padding: 20px 24px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: none;
}

.stat-value {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============ ABOUT ============ */
.about-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  font-size: 17px;
  color: var(--muted);
  max-width: 62ch;
}

.about-text p + p {
  margin-top: 16px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 34%;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 16px;
}

/* ============ FEATURED PROJECT ============ */
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  margin-bottom: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.featured:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.featured-media {
  position: relative;
  min-height: 440px;
  background: #eef1f5;
  overflow: hidden;
}

.featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 0.4s ease;
}

.featured:hover .featured-media img {
  transform: scale(1.02);
}

.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
}

.featured-label {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.featured-body h3 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.featured-body > p:not(.featured-label) {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.featured-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.featured-specs li {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 9px;
}

.featured .btn {
  align-self: flex-start;
}

.featured:hover .btn {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

@media (prefers-reduced-motion: reduce) {
  .featured-media img {
    transition: none;
  }
  .featured:hover .featured-media img {
    transform: none;
  }
}

/* ============ PROJECT GRID ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

a.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.card-media {
  aspect-ratio: 4 / 3;
  background: #eef1f5;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* shown when a project photo is missing */
.card-media.missing {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-media.missing::after {
  content: "Photo coming soon";
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--subtle);
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
}

.card-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.card-placeholder {
  border-style: dashed;
  background: transparent;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  text-align: center;
  padding: 24px;
}

.card-placeholder p {
  margin: 0;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 13px;
}

/* ============ CONTACT ============ */
.contact-intro {
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
}

.contact-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 820px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
  min-width: 0;
}

.contact-item:hover {
  border-color: var(--accent);
}

.contact-item .social-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  /* source SVGs are white; render them dark */
  filter: brightness(0);
  opacity: 0.75;
}

.contact-item span {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.contact-item small {
  display: block;
  font-size: 13px;
  color: var(--subtle);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--subtle);
  font-size: 14px;
}

/* ============ PROJECT PAGES ============ */
.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.project-page section {
  padding: 56px 0 80px;
  border-bottom: none;
}

.project-page h1 {
  font-size: 40px;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 0 0 40px;
  align-items: start;
}

.project-images.single-column {
  grid-template-columns: 1fr;
}

.project-image-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-image-figure.full-width {
  grid-column: 1 / -1;
}

.project-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.project-img-caption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.5;
}

.project-img-caption:empty {
  display: none;
}

.project-text {
  max-width: 70ch;
}

.project-text h2 {
  font-size: 22px;
  margin: 36px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.project-text > .spec-table {
  margin-bottom: 32px;
}

.project-text h2:first-child,
.result-stats + h2,
.spec-table + h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.project-text p,
.project-text li {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
}

.result-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.result-stats div {
  flex: 1;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}

.result-stats strong {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  color: var(--text);
}

.result-stats span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-text ul {
  padding-left: 22px;
}

/* ---- project layout: sticky gallery + write-up ---- */
.project-page.container {
  max-width: 1200px;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.project-body .project-text {
  max-width: 62ch;
}

.gallery {
  position: sticky;
  top: 88px;
  min-width: 0;
}

.gallery-stage {
  position: relative;
  height: min(62vh, 580px);
  background: #eef1f5;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-media {
  width: 100%;
  height: 100%;
}

.gallery-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f172a;
}

.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery-open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: gallery-fade 0.25s ease;
}

@keyframes gallery-fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
}

.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-stage:hover .gallery-nav,
.gallery-nav:focus-visible {
  opacity: 1;
}

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

@media (hover: none) {
  .gallery-nav { opacity: 1; }
}

.gallery-count {
  position: absolute;
  right: 12px;
  top: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 4px;
  padding: 3px 8px;
  pointer-events: none;
}

.gallery-caption {
  min-height: 1.5em;
  margin-top: 10px;
  font-size: 14px;
  color: var(--subtle);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 56px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #eef1f5;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s, border-color 0.15s;
}

.gallery-thumb {
  position: relative;
}

.gallery-thumb.is-video::after {
  content: "\25B6";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  background: rgba(15, 23, 42, 0.35);
}

.gallery-thumb video,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  opacity: 1;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--accent);
}

.gallery.single .gallery-nav,
.gallery.single .gallery-count,
.gallery.single .gallery-thumbs {
  display: none;
}

.gallery.empty .gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery.empty .gallery-stage > * {
  display: none;
}

.gallery.empty .gallery-stage::after {
  content: "Photos coming soon";
  font-family: var(--mono);
  font-size: 13px;
  color: var(--subtle);
}

/* ---- lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.96);
  padding: 24px 72px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  margin: 0;
  text-align: center;
}

.lightbox-media video,
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 4px;
  margin: 0 auto;
}

.lightbox figcaption {
  margin-top: 12px;
  color: #cbd5e1;
  font-size: 14px;
}

.lightbox .gallery-nav {
  opacity: 1;
}

.lightbox .gallery-nav.prev { left: 16px; }
.lightbox .gallery-nav.next { right: 16px; }

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

body.lightbox-open {
  overflow: hidden;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 9px 16px 9px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  transition: color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.back-link span {
  display: inline-block;
  transition: transform 0.15s;
}

.back-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.back-link:hover span {
  transform: translateX(-3px);
}

.back-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.back-link-top {
  margin: 0 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  .back-link span {
    transition: none;
  }
}

/* ============ RESUME PAGE ============ */
.resume-info-main {
  max-width: 900px;
  margin: 40px auto 0;
  width: calc(100% - 48px);
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.resume-info-main p {
  font-size: 15px;
}

.resume-info-main strong {
  color: var(--text);
}

.download-btn {
  display: inline-block;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s;
}

.download-btn:hover {
  background: var(--accent-hover);
}

.resume-info {
  text-align: center;
}

.pdf-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px 60px;
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resume-actions .btn {
  padding: 9px 16px;
  font-size: 15px;
}

.pdf-pages {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pdf-page {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.pdf-frame {
  width: 100%;
  height: calc(100vh - 220px);
  min-height: 600px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pdf-note {
  font-size: 14px;
  color: var(--subtle);
  text-align: center;
}

.pdf-status {
  padding: 48px 20px;
  text-align: center;
  color: var(--subtle);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .featured-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .featured-body {
    padding: 28px 28px 32px;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-list {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .project-layout {
    /* minmax(0, ...) stops the scrolling thumbnail strip from widening the page */
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .gallery {
    position: static;
  }
  .gallery-stage {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  nav .nav-inner {
    height: auto;
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  nav .logo {
    width: 100%;
  }
  .wrap,
  .container {
    padding: 0 16px;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 56px 0;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .hero-media {
    margin-left: 0;
    width: 100%;
  }
  .hero-photo {
    width: 150px;
    height: 150px;
  }
  .hero-text h1 {
    font-size: 38px;
  }
  .hero-role {
    font-size: 17px;
  }
  section h2 {
    font-size: 26px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    margin-top: 40px;
  }
  .stat {
    padding: 14px 12px;
  }
  .stat-value {
    font-size: 24px;
  }
  .stat-label {
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
  .featured-body h3 {
    font-size: 24px;
  }
  .featured-body {
    padding: 22px 20px 26px;
  }
  .project-page h1 {
    font-size: 30px;
  }
  .project-images {
    grid-template-columns: 1fr;
  }
  .lightbox {
    padding: 64px 12px;
  }
  .lightbox .gallery-nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }
}
