:root {
  --navy: #0b1f33;
  --navy-soft: #123553;
  --electric: #f3c623;
  --electric-dark: #d6aa00;
  --blue: #1f6feb;
  --pale: #f2f6fa;
  --light: #f8fafc;
  --ink: #132238;
  --muted: #65758b;
  --white: #fff;
  --line: #dfe7ef;
  --shadow: 0 28px 70px rgba(11, 31, 51, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.65;
  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 300;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 231, 239, 0.85);
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--electric);
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(243, 198, 35, 0.22);
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font: 800 19px Manrope, sans-serif;
  letter-spacing: -0.03em;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav > a:not(.btn):hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  color: var(--navy);
  background: var(--electric);
  border: 1px solid var(--electric);
  border-radius: 9px;
  font: 800 14px Inter, sans-serif;
  transition: 0.25s;
  cursor: pointer;
}

.btn:hover {
  background: #ffd84d;
  border-color: #ffd84d;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(243, 198, 35, 0.27);
}

.btn-small {
  padding: 11px 17px;
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 6px rgba(243, 198, 35, 0.14);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.12;
}

h1 span,
h2 span {
  color: var(--blue);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(31, 111, 235, 0.10), transparent 30%),
    linear-gradient(135deg, #fbfdff 0%, #f3f7fb 58%, #edf3f8 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero-orb-one {
  width: 420px;
  height: 420px;
  right: -110px;
  top: 90px;
  background: rgba(243, 198, 35, 0.16);
}

.hero-orb-two {
  width: 320px;
  height: 320px;
  left: -150px;
  bottom: 40px;
  background: rgba(31, 111, 235, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 730px;
  margin: 22px 0;
  font-size: clamp(43px, 5vw, 66px);
  letter-spacing: -0.045em;
}

.hero-copy > p {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 34px 0;
}

.text-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-card {
  position: relative;
  padding: 26px;
  color: #fff;
  background: var(--navy);
  border: 1px solid #27425b;
  border-radius: 20px;
  box-shadow: 0 40px 85px rgba(11, 31, 51, 0.28);
  transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 2px 20px;
  color: #91a6ba;
  font-size: 11px;
}

.hero-card-top strong {
  color: #fff;
}

.electric-panel {
  padding: 24px;
  color: var(--ink);
  background: #f7f9fb;
  border-radius: 14px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.panel-top small,
.power-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.panel-top strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #2ab673;
  box-shadow: 0 0 0 7px rgba(42, 182, 115, 0.12);
}

.breakers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 28px 0;
}

.breakers span {
  position: relative;
  height: 102px;
  border: 1px solid #c9d3de;
  border-radius: 8px;
  background: linear-gradient(#fff, #eaf0f5);
}

.breakers span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 22px;
  width: 18px;
  height: 42px;
  border-radius: 5px;
  background: #a8b7c5;
  transform: translateX(-50%);
}

.breakers span.on::after {
  background: var(--electric);
  box-shadow: 0 7px 18px rgba(243, 198, 35, 0.25);
}

.power-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.power-row > div {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.power-row strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

.hero-mini-card {
  position: absolute;
  right: -32px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 15px 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.hero-mini-card > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #fff8d7;
  border-radius: 9px;
}

.hero-mini-card small,
.hero-mini-card strong {
  display: block;
}

.hero-mini-card small {
  color: var(--muted);
  font-size: 10px;
}

.hero-mini-card strong {
  font-size: 12px;
}

.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -10px 40px rgba(11, 31, 51, 0.05);
}

.stats div {
  padding: 24px 28px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  color: var(--navy);
  font: 800 15px Manrope, sans-serif;
}

.stats span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

/* Generic sections */
.section {
  padding: 110px 0;
}

.section-head {
  max-width: 730px;
  margin-bottom: 55px;
}

.section-head h2 {
  margin: 15px 0;
  font-size: clamp(34px, 4vw, 49px);
  letter-spacing: -0.035em;
}

.section-head p {
  color: var(--muted);
}

.section-head.split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 31px 27px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: #b6c9dc;
  box-shadow: var(--shadow);
}

.service-card.featured {
  border: 2px solid var(--electric);
  box-shadow: 0 20px 50px rgba(243, 198, 35, 0.11);
}

.tag {
  position: absolute;
  right: 16px;
  top: 15px;
  padding: 5px 9px;
  color: var(--navy);
  background: var(--electric);
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-number {
  position: absolute;
  right: 18px;
  bottom: -18px;
  color: #f0f4f8;
  font: 800 80px Manrope, sans-serif;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #fff8d8;
  border-radius: 10px;
  font: 800 17px monospace;
}

.service-card h3 {
  margin: 22px 0 10px;
  font-size: 21px;
}

.service-card p {
  min-height: 90px;
  color: var(--muted);
  font-size: 13px;
}

.service-card ul {
  position: relative;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.service-card li {
  margin: 9px 0;
}

.service-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--blue);
  font-weight: 800;
}

/* Why */
.why {
  background: var(--light);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 85px;
  align-items: center;
}

.why-visual {
  display: grid;
  gap: 14px;
}

.why-card {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 2px 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.why-card-main {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.why-card > span {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--electric);
  border-radius: 10px;
  font-weight: 800;
}

.why-card strong {
  font-family: Manrope, sans-serif;
}

.why-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.why-card-main p {
  color: #a9bbcd;
}

.why-copy h2 {
  margin: 16px 0 24px;
  font-size: clamp(35px, 4vw, 50px);
}

.why-copy > p {
  color: var(--muted);
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
}

.check-list span {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}

/* Projects */
.work {
  color: #fff;
  background: var(--navy);
}

.work .section-head p,
.work .project-info p {
  color: #a9bbcd;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project {
  overflow: hidden;
  background: var(--navy-soft);
  border-radius: 16px;
}

.project-visual {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 25px;
  overflow: hidden;
  color: #fff;
}

.project-visual::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -85px;
  bottom: -100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.project-home {
  background:
    radial-gradient(circle at 80% 20%, rgba(243, 198, 35, 0.35), transparent 25%),
    linear-gradient(135deg, #1d3b58, #0e2438);
}

.project-panel {
  background:
    linear-gradient(160deg, rgba(255,255,255,.06), transparent 45%),
    linear-gradient(135deg, #5c4b09, #171f27);
}

.project-ev {
  background:
    radial-gradient(circle at 75% 30%, rgba(31, 111, 235, 0.55), transparent 28%),
    linear-gradient(135deg, #102c45, #071827);
}

.project-label {
  width: max-content;
  padding: 6px 9px;
  color: var(--navy);
  background: var(--electric);
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-visual small,
.project-visual strong {
  position: relative;
  z-index: 2;
  display: block;
}

.project-visual small {
  margin-bottom: 8px;
  color: rgba(255,255,255,.67);
  font-size: 10px;
}

.project-visual strong {
  max-width: 260px;
  font: 800 25px/1.15 Manrope, sans-serif;
}

.project-arrow {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 24px;
}

.project-info {
  padding: 25px 27px 28px;
}

.project-info h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.project-info p {
  margin: 0;
  font-size: 13px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.project-tags li {
  padding: 6px 9px;
  color: #9fc7ff;
  background: rgba(31, 111, 235, 0.12);
  border: 1px solid rgba(111, 171, 255, 0.18);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

/* Zones */
.zones {
  background: #fff;
}

.zones-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.zones-copy h2 {
  margin: 16px 0 24px;
  font-size: clamp(35px, 4vw, 50px);
}

.zones-copy > p {
  color: var(--muted);
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.zone-list span {
  padding: 9px 12px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.map-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(243, 198, 35, 0.15), transparent 30%),
    #eef3f8;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(11,31,51,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,51,.13) 1px, transparent 1px);
  background-size: 44px 44px;
}

.map-card::before,
.map-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(31,111,235,.2);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.map-card::before {
  width: 230px;
  height: 230px;
}

.map-card::after {
  width: 350px;
  height: 350px;
}

.map-center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
}

.map-pin {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: var(--electric);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(11,31,51,.18);
}

.map-center strong {
  font: 800 18px Manrope, sans-serif;
}

.map-center small {
  color: var(--muted);
}

.map-city {
  position: absolute;
  z-index: 3;
  padding: 6px 9px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 10px;
  font-weight: 700;
}

.city-one { left: 15%; top: 22%; }
.city-two { left: 18%; bottom: 18%; }
.city-three { right: 17%; bottom: 24%; }
.city-four { right: 14%; top: 28%; }

/* FAQ */
.faq {
  background: var(--light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 19px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq-list summary {
  position: relative;
  padding-right: 28px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -4px;
  color: var(--blue);
  font-size: 22px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Contact */
.contact {
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(31,111,235,.18), transparent 30%),
    var(--navy);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.contact-copy h2 {
  margin: 18px 0;
  font-size: clamp(35px, 4.5vw, 53px);
}

.contact-copy > p {
  color: #a9bbcd;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 35px;
}

.contact-details a {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-details b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--electric);
  border-radius: 9px;
}

.contact-details span,
.contact-details small {
  display: block;
}

.contact-details small {
  color: #a9bbcd;
}

.contact-form {
  padding: 38px;
  color: var(--ink);
  background: #fff;
  border-radius: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px;
  color: var(--ink);
  background: #f9fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.1);
}

.contact-form .btn {
  width: 100%;
}

.contact-form > small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.contact-form > small a {
  text-decoration: underline;
}

.contact-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.contact-status.is-success {
  color: #178f5b;
}

/* Footer */
footer {
  color: #fff;
  background: #071725;
}

.footer-main {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 45px 0;
  border-bottom: 1px solid #1a3348;
}

.footer-main p {
  color: #839bb0;
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 25px;
  margin-left: auto;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  color: #7894ad;
  font-size: 10px;
}

.footer-bottom a {
  margin-left: 18px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1000px) {
  .main-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 30px 25px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .why-grid,
  .zones-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-card {
    max-width: 650px;
    margin: auto;
    transform: none;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects {
    grid-template-columns: 1fr 1fr;
  }

  .section-head.split {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-card {
    padding: 17px;
  }

  .hero-mini-card {
    position: static;
    margin-top: 14px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 65px;
  }

  .stats div {
    padding: 18px 14px;
  }

  .stats div:nth-child(2) {
    border-right: 0;
  }

  .section {
    padding: 78px 0;
  }

  .service-grid,
  .projects,
  .check-list {
    grid-template-columns: 1fr;
  }

  .service-card p {
    min-height: auto;
  }

  .project-visual {
    min-height: 250px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    margin-left: 0;
    flex-wrap: wrap;
  }

  .footer-bottom {
    gap: 10px;
  }

  .footer-bottom a {
    margin: 0 14px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* =========================
   PHOTOS DES RÉALISATIONS
   ========================= */
.project-photo {
  position: relative;
  isolation: isolate;
  background: #10263b;
}

.project-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(5, 18, 30, 0.08) 25%,
    rgba(5, 18, 30, 0.82) 100%
  );
}

.project-photo::after {
  display: none;
}

.project-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.45s ease;
}

.project:hover .project-photo > img {
  transform: scale(1.045);
}

.project-photo .project-label,
.project-photo-caption {
  position: relative;
  z-index: 2;
}

.project-photo-caption {
  margin-top: auto;
}

.project-photo-caption small,
.project-photo-caption strong {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.footer-credit {
  margin-left: 6px;
}

.footer-credit strong {
  color: var(--electric);
  font-weight: 800;
}
