.project-list-section {
  padding: 105px 0;
  background: #f4f4f1;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.project-row {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  min-height: 530px;
  background: #fff;
  box-shadow: 0 18px 55px #052b3b0d;
}

.project-row:nth-child(even) .project-cover { order: 2; }
.project-row:nth-child(even) .project-info { order: 1; }

.project-cover {
  position: relative;
  min-width: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  text-align: left;
  color: #fff;
}

.project-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, #042c3dbd);
}

.project-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.project-cover:hover img,
.project-cover:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.04);
}

.project-cover > span {
  position: absolute;
  z-index: 1;
  left: 34px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-cover > span b { font-size: 14px; letter-spacing: .02em; }
.project-cover > span i {
  font: 500 9px var(--font-geist-mono);
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d7e2e6;
}

.project-cover > strong {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 31px;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff66;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  transition: background .25s ease, border-color .25s ease;
}

.project-cover:hover > strong,
.project-cover:focus-visible > strong {
  background: var(--accent);
  border-color: var(--accent);
}

.project-info {
  padding: 58px 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-number {
  font: 600 10px var(--font-geist-mono);
  letter-spacing: .12em;
  color: var(--accent);
}

.project-info h2 {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.02;
  margin: 25px 0 14px;
}

.project-subheading {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.project-work {
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

.project-work > b {
  font: 600 9px var(--font-geist-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.project-work ul { list-style: none; margin: 18px 0 0; padding: 0; }
.project-work li {
  font-size: 13px;
  line-height: 1.5;
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid #e8e8e4;
}
.project-work li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

.project-gallery-link {
  align-self: flex-start;
  margin-top: 30px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid var(--navy);
  background: none;
  color: var(--navy);
  font: 600 11px var(--font-geist-sans);
  text-transform: uppercase;
  letter-spacing: .07em;
  cursor: pointer;
}
.project-gallery-link span { color: var(--accent); margin-left: 12px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #031c27ef;
  display: grid;
  place-items: center;
  padding: 55px 105px 36px;
  backdrop-filter: blur(8px);
  animation: lightbox-in .25s ease;
}

.lightbox-content { width: min(1080px, 100%); min-width: 0; }
.lightbox-stage {
  height: min(67vh, 700px);
  display: grid;
  place-items: center;
  background: #02151d;
}
.lightbox-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }

.lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  color: #fff;
  padding: 20px 0 17px;
}
.lightbox-meta span {
  font: 500 9px var(--font-geist-mono);
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #9fb2ba;
}
.lightbox-meta h3 { font-size: 22px; margin: 5px 0 0; }
.lightbox-meta > b { font: 500 10px var(--font-geist-mono); letter-spacing: .12em; color: #d7e2e6; }

.lightbox-thumbs { display: flex; gap: 10px; }
.lightbox-thumbs button {
  width: 72px;
  height: 52px;
  border: 2px solid transparent;
  padding: 0;
  background: #0a3444;
  opacity: .48;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}
.lightbox-thumbs button.is-active { border-color: var(--accent); opacity: 1; }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: 1px solid #ffffff42;
  background: #052b3b;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-close:hover,
.lightbox-arrow:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-close { right: 28px; top: 24px; width: 45px; height: 45px; font-size: 31px; font-weight: 200; line-height: 1; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 20px; }
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 850px) {
  .project-list-section { padding: 78px 0; }
  .project-row { grid-template-columns: 1fr; min-height: 0; }
  .project-row:nth-child(even) .project-cover,
  .project-row:nth-child(even) .project-info { order: initial; }
  .project-cover { min-height: 420px; }
  .project-info { padding: 48px 42px 52px; }
  .lightbox { padding: 70px 65px 28px; }
  .lightbox-close { right: 15px; top: 15px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-stage { height: 60vh; }
}

@media (max-width: 520px) {
  .project-list { gap: 22px; }
  .project-cover { min-height: 310px; }
  .project-cover > span { left: 23px; bottom: 22px; }
  .project-cover > strong { right: 20px; bottom: 21px; }
  .project-info { padding: 38px 26px 42px; }
  .project-info h2 { font-size: 38px; }
  .project-work { margin-top: 32px; }
  .lightbox { padding: 74px 12px 20px; align-items: start; }
  .lightbox-content { width: 100%; }
  .lightbox-stage { height: 50vh; }
  .lightbox-arrow { top: 42%; width: 42px; height: 42px; background: #052b3bcc; }
  .lightbox-prev { left: 7px; }
  .lightbox-next { right: 7px; }
  .lightbox-meta { align-items: start; padding: 16px 2px 13px; }
  .lightbox-meta h3 { font-size: 18px; }
  .lightbox-meta span { display: none; }
  .lightbox-thumbs button { width: 60px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { animation: none; }
  .project-cover img { transition: none; }
}

/* Homepage photography and FAQ refinements */
.brand-light {
  background: transparent;
  padding: 0;
}

.brand-light img {
  width: 270px;
  height: auto;
}

.benefit-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, #052f4052 100%);
  pointer-events: none;
}

.benefit-visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.82) contrast(1.05);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.benefit-visual:hover > img {
  transform: scale(1.025);
  filter: saturate(.95) contrast(1.05);
}

.benefit-visual .visual-tag { z-index: 2; }

.project-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.78) contrast(1.05);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.project-card:hover .project-art img {
  transform: scale(1.035);
  filter: saturate(.95) contrast(1.05);
}

.project-home .project-art img { object-position: center; }
.project-maintenance .project-art img { object-position: center 38%; }

.faq-list details {
  transition: background .25s ease;
}

.faq-list details:hover,
.faq-list details[open] {
  background: #ffffff08;
}

.faq-list summary {
  padding-inline: 16px;
}

.faq-list details[open] summary b {
  transform: rotate(45deg);
}

.faq-list .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
}

.faq-list details[open] .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  animation: faq-reveal .32s ease both;
}

.faq-list .faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 54px 25px;
}

@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .benefit-visual > img,
  .project-art img,
  .faq-list details,
  .faq-list details[open] .faq-answer {
    transition: none;
    animation: none;
  }
}
