:root {
  --navy: #172238;
  --navy2: #0d1525;
  --lime: #d3d92b;
  --ink: #141b28;
  --muted: #667085;
  --light: #f2f2ed;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 18px 55px rgba(13, 21, 37, .12);
}

* { scroll-margin-top: 96px; }

body {
  overflow-x: hidden;
  background: #fafaf7;
}

::selection {
  color: var(--navy2);
  background: var(--lime);
}

.container {
  width: min(1240px, calc(100% - 56px));
}

.site-header,
.site-header.scrolled {
  top: 0;
  width: 100%;
  margin: 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #e5e7e2;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 34%;
  height: 3px;
  background: var(--lime);
}

.nav-wrap {
  width: min(1240px, calc(100% - 56px));
  height: 96px;
  padding: 0;
}

.brand img {
  width: auto;
  height: 80px;
  border-radius: 0;
}

.main-nav,
.site-header.scrolled .main-nav {
  gap: 24px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.main-nav a:not(.btn):after {
  bottom: -11px;
  height: 2px;
}

.btn {
  padding: 14px 22px;
  border: 1px solid var(--lime);
  border-radius: 2px;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 12px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 7px 7px 0 rgba(211, 217, 43, .22);
}

.btn-outline {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .6);
}

.btn-dark {
  color: #fff;
  background: var(--navy2);
  border-color: var(--navy2);
}

.hero {
  min-height: 850px;
  margin-top: 96px;
  padding-top: 0;
  border-radius: 0;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(9, 16, 30, .96) 0%, rgba(15, 26, 44, .82) 54%, rgba(15, 26, 44, .18) 100%);
}

.hero:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 7%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, .16);
}

.hero-content {
  padding: 20px 0 130px 48px;
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(50px, 6.7vw, 90px);
  line-height: 1;
  letter-spacing: -.055em;
}

.hero p {
  max-width: 620px;
  padding-left: 22px;
  border-left: 4px solid var(--lime);
}

.eyebrow {
  padding: 0;
  color: var(--lime);
  background: transparent;
  border: 0;
  border-radius: 0;
}

.eyebrow:before {
  content: "";
  display: inline-block;
  width: 38px;
  height: 2px;
  margin: 0 12px 4px 0;
  background: currentColor;
}

.eyebrow.dark {
  color: #777b00;
  background: transparent;
  border: 0;
}

.hero-stats {
  bottom: 0;
  overflow: visible;
  color: #fff;
  background: rgba(13, 21, 37, .9);
  border: 0;
  border-top: 4px solid var(--lime);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.hero-stats div {
  padding: 28px 30px;
  border-color: rgba(255, 255, 255, .15);
}

.hero-stats strong { color: var(--lime); }
.hero-stats span { color: rgba(255, 255, 255, .68); }

.section { padding: 120px 0; }
.section:nth-of-type(even):not(.projects):not(.section-dark) { background: #f2f2ed; }

.content h2,
.section-heading h2,
.vision-grid h2,
.contact h2,
.cta h2 {
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.05;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 60px;
}

.two-col { gap: 96px; }

.image-card:after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  width: 55%;
  height: 55%;
  background: var(--lime);
}

.image-card img {
  min-height: 560px;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(.9) contrast(1.03);
}

.image-label {
  left: 0;
  bottom: 0;
  border-radius: 0;
}

.check-grid span {
  padding: 13px;
  background: #fff;
  border-left: 3px solid var(--lime);
}

.check-grid span:before { display: none; }

.section-dark {
  background: var(--navy);
}

.section-dark:after {
  width: 18%;
  background: repeating-linear-gradient(-45deg, var(--lime), var(--lime) 2px, transparent 2px, transparent 15px);
  opacity: .25;
}

.values {
  padding: 48px;
  border-radius: 0;
  border-top: 5px solid var(--lime);
}

.service-grid { gap: 1px; background: #dfe2dc; }

.service-card,
.service-card.featured {
  min-height: 340px;
  padding: 42px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 0;
}

.service-card.featured { background: var(--lime); }
.service-card.featured p { color: #4e5211; }
.service-card:hover { z-index: 2; transform: translateY(-9px); box-shadow: var(--shadow); }

.service-number {
  color: var(--navy2);
  font-size: 32px;
}

.service-card h3 { margin-top: 56px; }

.competencies {
  margin-top: 50px;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.projects { background: var(--navy2); }

.project-grid { gap: 28px; }

.project-card {
  border-radius: 0;
  border-bottom: 5px solid var(--lime);
  box-shadow: none;
  transition: transform .35s ease;
}

.project-card:hover { transform: translateY(-10px); }

.project-image { height: 290px; }

.table-wrap {
  margin-top: 60px;
  border-radius: 0;
  border-top: 5px solid var(--lime);
}

th { background: #e2e645; }
tbody tr { transition: background .2s ease; }
tbody tr:hover { background: #f4f5dc; }

.page-hero {
  min-height: 540px;
  margin-top: 96px;
  padding: 190px 0 90px;
  border-radius: 0;
  background-position: center 55%;
}

.page-hero:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 8px;
  background: var(--lime);
}

.page-hero h1 {
  max-width: 960px;
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1;
}

.gallery { background: #edeee8; }

.gallery-hero {
  min-height: 470px;
  background-image: linear-gradient(90deg, rgba(7, 13, 25, .94), rgba(12, 24, 42, .58)), url('../images/gallary (9).jpeg');
}

.gallery-hero p {
  max-width: 570px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
}

.gallery-hero-index {
  position: absolute;
  right: 5vw;
  bottom: 45px;
  color: var(--lime);
  font-size: clamp(54px, 9vw, 130px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.08em;
  opacity: .9;
}

.gallery-page {
  padding: 64px 0 80px;
  background: #f5f6f2;
  color: var(--ink);
}

.gallery-intro,
.video-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 30px;
}

.gallery-intro h2,
.video-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -.045em;
}

.gallery-intro p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.gallery-kicker {
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.gallery-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 300px;
  gap: 14px;
}

.gallery-wall .gallery-item {
  position: relative;
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #dfe2dc;
  border: 1px solid #e1e3dd;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(13, 21, 37, .07);
}

.gallery-wall .gallery-item:nth-child(4n + 2),
.gallery-wall .gallery-item:nth-child(4n + 3) {
  grid-column: auto;
  grid-row: auto;
}

.gallery-wall .gallery-featured {
  grid-column: auto;
  grid-row: auto;
}

.gallery-wall .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) brightness(.92);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

.gallery-wall .gallery-item:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(5, 10, 20, .78));
  opacity: .7;
  transition: opacity .35s ease;
  pointer-events: none;
}

.gallery-wall .gallery-item:hover img {
  transform: scale(1.065);
  filter: saturate(1.08) brightness(1);
}

.gallery-wall .gallery-item:hover:after { opacity: 1; }

.gallery-wall figcaption {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  pointer-events: none;
}

.gallery-wall figcaption span {
  color: var(--lime);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.gallery-wall figcaption strong {
  padding-bottom: 3px;
  color: rgba(255, 255, 255, .8);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateY(12px);
  opacity: 0;
  transition: .35s ease;
}

.gallery-wall .gallery-item:hover figcaption strong {
  transform: none;
  opacity: 1;
}

.video-heading {
  margin-top: 70px;
  padding-top: 32px;
  border-top: 1px solid #d9dcd4;
}

.video-heading > span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gallery-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-videos .gallery-video {
  position: relative;
  grid-column: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #050a14;
  border-radius: 8px;
}

.gallery-videos .gallery-video:first-child {
  grid-row: auto;
}

.gallery-videos video {
  display: block;
  width: 100%;
  height: 100%;
  height: 260px;
  min-height: 260px;
  object-fit: cover;
}

.gallery-videos .gallery-video:first-child video { min-height: 260px; }

.gallery-videos figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 11px;
  color: var(--navy2);
  background: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  pointer-events: none;
}

.cta {
  position: relative;
  padding: 78px 0;
  overflow: hidden;
  background: var(--lime);
}

.cta:after {
  content: "LEHUMO";
  position: absolute;
  right: -25px;
  bottom: -70px;
  color: rgba(255, 255, 255, .3);
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
}

.cta-inner { position: relative; z-index: 1; }

.contact-form {
  border-radius: 0;
  border-top: 5px solid var(--lime);
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 0;
  border-bottom: 2px solid #d8dcd4;
  border-radius: 0;
  background: #f7f8f5;
}

footer { background: var(--navy2); }

.footer-grid > div:first-child {
  padding: 20px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 5px solid var(--lime);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.65,.32,1);
}

.reveal.visible { opacity: 1; transform: none; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 30px;
  visibility: hidden;
  opacity: 0;
  background: rgba(7, 12, 22, .95);
  transition: opacity .25s ease, visibility .25s ease;
}

.gallery-lightbox.open { visibility: visible; opacity: 1; }
.gallery-lightbox img { max-width: min(1180px, 94vw); max-height: 86vh; border: 5px solid #fff; }
.gallery-lightbox button { position: absolute; top: 25px; right: 30px; color: #fff; font-size: 40px; line-height: 1; border: 0; background: transparent; cursor: pointer; }

@media (max-width: 1080px) {
  .main-nav { gap: 13px; font-size: 11px; }
  .btn-small { padding: 11px 12px; }
}

@media (max-width: 900px) {
  .nav-wrap { width: calc(100% - 36px); }
  .main-nav { top: 96px; text-transform: none; font-size: 14px; letter-spacing: 0; }
  .hero-content { padding-left: 0; }
  .hero:before { display: none; }
  .two-col { gap: 55px; }
  .gallery-hero { min-height: 430px; }
  .gallery-hero-index { font-size: 76px; }
  .gallery-intro { align-items: start; flex-direction: column; gap: 20px; }
  .gallery-wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .gallery-wall .gallery-item,
  .gallery-wall .gallery-item:nth-child(4n + 2),
  .gallery-wall .gallery-item:nth-child(4n + 3) { grid-column: span 1; grid-row: span 1; }
  .gallery-wall .gallery-featured { grid-column: span 1; grid-row: span 1; }
  .gallery-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 30px, 1240px); }
  .nav-wrap { width: calc(100% - 24px); height: 78px; }
  .brand img { height: 66px; }
  .main-nav { top: 78px; }
  .hero { min-height: 850px; margin-top: 78px; }
  .hero h1 { font-size: 44px; }
  .hero-content { padding-bottom: 230px; }
  .page-hero { min-height: 430px; margin-top: 78px; padding: 150px 0 70px; }
  .page-hero h1 { font-size: 44px; }
  .section { padding: 82px 0; }
  .image-card img { min-height: 400px; }
  .image-card:after { right: -8px; bottom: -8px; }
  .service-card { min-height: 280px; padding: 30px; }
  .cta:after { font-size: 72px; bottom: -25px; }
  .gallery-hero { min-height: 390px; }
  .gallery-hero-index { right: 16px; bottom: 25px; font-size: 54px; }
  .gallery-page { padding: 46px 0 64px; }
  .gallery-wall { grid-template-columns: 1fr; grid-auto-rows: 330px; gap: 8px; }
  .gallery-wall .gallery-item,
  .gallery-wall .gallery-item:nth-child(n),
  .gallery-wall .gallery-featured { grid-column: auto; grid-row: auto; }
  .video-heading { align-items: start; flex-direction: column; gap: 16px; margin-top: 55px; }
  .gallery-videos { grid-template-columns: 1fr; }
  .gallery-videos .gallery-video:first-child { grid-row: auto; }
  .gallery-videos .gallery-video:first-child video,
  .gallery-videos video { min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Minimal gallery composition adapted from the selected reference layout. */
.template-gallery {
  padding: 126px 0 68px;
  color: var(--ink);
  background: #fff;
}

.gallery-shell {
  width: min(1240px, calc(100% - 48px));
}

.template-gallery-heading {
  margin: 0 auto 22px;
  text-align: center;
}

.template-gallery-heading .gallery-kicker,
.template-video-heading .gallery-kicker {
  color: #777b00;
  font-size: 10px;
  letter-spacing: .18em;
}

.gallery-heading-mark {
  display: flex;
  justify-content: center;
  gap: 3px;
  height: 9px;
  margin: 9px 0 11px;
}

.gallery-heading-mark i {
  display: block;
  width: 14px;
  height: 3px;
  background: var(--lime);
  transform: skewX(-35deg);
}

.template-gallery-heading h1 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.template-gallery-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.template-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.template-photo {
  aspect-ratio: 1.3 / 1;
  margin: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #e8e9e4;
}

.template-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .35s ease;
}

.template-photo:hover img {
  transform: scale(1.045);
  filter: brightness(.9);
}

.gallery-action {
  margin-top: 22px;
  text-align: center;
}

.gallery-action .btn {
  min-width: 116px;
  padding: 10px 17px;
}

.template-video-section {
  margin-top: 56px;
  padding-top: 38px;
  border-top: 1px solid #e2e4de;
}

.template-video-heading {
  margin-bottom: 20px;
  text-align: center;
}

.template-video-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(27px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: -.035em;
}

.template-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.template-video {
  aspect-ratio: 1.3 / 1;
  margin: 0;
  overflow: hidden;
  background: var(--navy2);
}

.template-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .template-photo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .template-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .template-gallery { padding: 102px 0 58px; }
  .gallery-shell { width: min(100% - 24px, 1240px); }
  .template-photo-grid,
  .template-video-grid { gap: 7px; }
  .template-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .template-gallery-heading { margin-bottom: 18px; }
  .template-video-section { margin-top: 48px; padding-top: 32px; }
}

@media (max-width: 520px) {
  .template-photo-grid,
  .template-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .template-photo-grid,
  .template-video-grid { grid-template-columns: 1fr; }
  .template-photo,
  .template-video { aspect-ratio: 1.25 / 1; }
}
