
:root {
  --green-950: #06110c;
  --green-900: #0b1f17;
  --green-800: #123524;
  --green-700: #1e5a3b;
  --green-500: #4f9a59;
  --gold: #f4c542;
  --gold-dark: #c99b22;
  --cream: #f7f3e8;
  --white: #ffffff;
  --ink: #101512;
  --muted: #66736b;
  --card: #ffffff;
  --shadow: 0 24px 70px rgba(0,0,0,.18);
  --soft-shadow: 0 12px 35px rgba(0,0,0,.12);
  --radius-xl: 34px;
  --radius-lg: 22px;
  --font-primary: 'Raleway', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

.white{
  color: #fff !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--ink);
  background: var(--cream);
  font-weight: 500;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  line-height: 1.7;
  color: var(--muted);
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: .065em;
  line-height: .95;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1180px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(6,17,12,.74);
  color: white;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0,0,0,.22);
  transition: .25s ease;
}

.site-header.scrolled {
  top: 0px;
  background: rgba(6,17,12,.93);
  border-radius: 0px;
  width: 100%;
  padding-left: 25px;
  padding-right: 25px;

}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--green-950);
  background: var(--gold);
  letter-spacing: -.04em;
}

.brand-text {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
}

.brand-text span {
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 0px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: rgba(255,255,255,.88);
}

.site-nav a:hover {
  background: rgba(255,255,255,.1);
  color: white;
}

.site-nav .nav-cta {
  background: var(--gold);
  color: var(--green-950);
}

.nav-toggle {
  display: none;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: white;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: end;
  padding: 160px 0 70px;
  color: white;
  overflow: hidden;
  background: var(--green-950);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 20%, rgba(244,197,66,.24), transparent 30%),
    linear-gradient(90deg, rgba(6,17,12,.94), rgba(6,17,12,.58) 45%, rgba(6,17,12,.20)),
    linear-gradient(0deg, rgba(6,17,12,.88), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(3.6rem, 10vw, 9.6rem);
  font-weight: 900;
  letter-spacing: .03em;
}

.hero p {
  max-width: 660px;
  margin: 26px 0 34px;
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  color: rgba(255,255,255,.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 0px;
  font-family: var(--font-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-950);
  box-shadow: 0 18px 40px rgba(244,197,66,.23);
}

.btn-dark {
  background: var(--green-950);
  color: white;
}

.btn-outline {
  color: white;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 56px auto 0;
}

.stat-card {
  padding: 22px;
  border-radius: 0px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}

.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 900;
}

.stat-card span {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.section {
  padding: 105px 0;
}

.section-header {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 42px;
}

.section-header h2 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 900;
}

.section-header p {
  max-width: 620px;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: var(--soft-shadow);
  background: var(--green-900);
  isolation: isolate;
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,17,12,.92), rgba(6,17,12,.12));
  z-index: 1;
}

.service-card:hover img {
  transform: scale(1.07);
}

.service-content {
  position: absolute;
  z-index: 2;
  inset: auto 24px 24px 24px;
  color: white;
}

.service-content h3 {
  font-size: 1.45rem;
  font-weight: 900;
}

.service-content p {
  color: rgba(255,255,255,.76);
  margin-bottom: 0;
}

.projects-band {
  background: var(--green-950);
  color: white;
  overflow: hidden;
}

.projects-band .section-header p {
  color: rgba(255,255,255,.72);
}

.project-carousel-shell {
  position: relative;
}

.project-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 46%);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 18px;
  scrollbar-width: none;
}

.project-carousel::-webkit-scrollbar {
  display: none;
}

.project-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 0px;
  background: #11241a;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.1);
}

.project-card img {
  height: 360px;
  width: 100%;
  object-fit: cover;
}

.project-card-body {
  padding: 28px;
}

.project-meta {
  color: var(--gold);
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.project-card h3 {
  margin: 12px 0;
  font-size: 1.9rem;
  font-weight: 900;
}

.project-card p {
  color: rgba(255,255,255,.72);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.carousel-btn {
  width: 54px;
  height: 54px;
  border-radius: 0px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 270px;
  gap: 16px;
}

.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 0px;
  overflow: hidden;
  cursor: pointer;
  background: var(--green-900);
  box-shadow: var(--soft-shadow);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.about-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  min-height: 600px;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: clamp(2.3rem, 5.5vw, 5rem);
  font-weight: 900;
}

.check-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-950);
}

.quote-strip {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: white;
  padding: 90px 0;
}

.quote-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(244,197,66,.22), transparent 32%);
}

.quote-inner {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.quote-inner h2 {
  font-size: clamp(2.5rem, 7vw, 6.4rem);
  font-weight: 900;
}

.cta-panel {
  border-radius: 0px;
  padding: 62px;
  background:
    radial-gradient(circle at 85% 15%, rgba(244,197,66,.26), transparent 30%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
  color: white;
  box-shadow: var(--shadow);
}

.cta-panel p {
  color: rgba(255,255,255,.75);
  max-width: 650px;
}

.page-hero {
  min-height: 62vh;
  display: grid;
  place-items: end start;
  padding: 150px 0 70px;
  background: linear-gradient(135deg, var(--green-950), var(--green-800));
  color: white;
}

.page-hero .container {
  width: min(1180px, calc(100% - 40px));
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(3rem, 9vw, 8.2rem);
  font-weight: 900;
}

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

.project-detail-hero {
  min-height: 72vh;
  padding: 150px 0 70px;
  display: grid;
  align-items: end;
  color: white;
  position: relative;
  overflow: hidden;
}

.project-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,17,12,.94), rgba(6,17,12,.38)), linear-gradient(0deg, rgba(6,17,12,.7), transparent);
}

.project-detail-hero .container {
  position: relative;
  z-index: 1;
}

.project-detail-hero h1 {
  max-width: 1000px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: start;
}

.detail-copy h2 {
  margin-top: 34px;
  font-size: 2rem;
  font-weight: 900;
}

.detail-sidebar {
  position: sticky;
  top: 110px;
  border-radius: 0px;
  padding: 30px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.detail-sidebar h3 {
  font-size: 1.25rem;
  font-weight: 900;
}

.detail-sidebar ul {
  margin: 18px 0 26px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.contact-card,
.form-card {
  border-radius: 0px;
  background: white;
  padding: 34px;
  box-shadow: var(--soft-shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .76rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9ded9;
  border-radius: 0px;
  min-height: 52px;
  padding: 13px 14px;
  font-family: var(--font-primary);
  font-weight: 600;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(79,154,89,.13);
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #f1f5ef;
}

.captcha-code {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .16em;
  color: var(--green-800);
}

.notice {
  padding: 16px 18px;
  border-radius: 18px;
  margin-bottom: 18px;
  font-weight: 800;
}

.notice.success {
  background: #e7f6e9;
  color: #1c6b2a;
}

.notice.error {
  background: #fff0ed;
  color: #9f2a18;
}

.footer {
  padding: 70px 0 24px;
  background: var(--green-950);
  color: white;
}

.footer-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr .8fr;
  gap: 30px;
}

.footer-brand {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 12px;
}

.footer p,
.footer a {
  color: rgba(255,255,255,.72);
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 46px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.58);
  font-size: .9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.82);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 86vh;
  border-radius: 0px;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0px;
  background: white;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 76px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 28px;
    background: rgba(6,17,12,.96);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { text-align: center; }

  .section-header,
  .about-split,
  .quote-inner,
  .detail-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .project-carousel {
    grid-auto-columns: 86%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 245px;
  }

  .gallery-item:first-child {
    grid-row: span 1;
  }

  .quote-inner {
    text-align: left;
  }

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

  .cta-panel {
    padding: 36px 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .brand-text { display: none; }
  .hero { padding-top: 130px; }
  .section { padding: 74px 0; }
  .hero h1,
  .page-hero h1,
  .project-detail-hero h1 {
    font-size: 3.25rem;
  }
}


/* Real client photo upgrades */
.hero-media img,
.service-card img,
.project-card img,
.gallery-item img,
.about-photo img,
.project-detail-hero img {
  object-fit: cover;
}

.hero-media img {
  filter: saturate(1.05) contrast(1.03);
}

.service-card,
.project-card,
.gallery-item,
.about-photo {
  background: #07100c;
}

.project-card img {
  object-position: center;
}

.gallery-item img {
  object-position: center;
}

.project-detail-hero img {
  filter: saturate(1.05) contrast(1.02);
}

/* Improves mixed vertical/horizontal client photos in carousel cards */
.project-card img {
  aspect-ratio: 16 / 11;
  height: auto;
}

/* SEO/accessibility friendly hidden utility */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* Featured project premium upgrades */
.project-card.featured-project {
  position: relative;
  border-color: rgba(244, 197, 66, .34);
}

.featured-badge {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-950);
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.project-detail-hero .featured-badge {
  position: static;
  margin-bottom: 18px;
}

@media (min-width: 901px) {
  .projects-grid .project-card.featured-project:first-child,
  .projects-grid .project-card.featured-project:nth-child(2) {
    min-height: 100%;
  }
}


/* Brand logo + desktop transparent nav update */
.brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: 220px;
}

.brand-logo img {
  width: clamp(190px, 18vw, 330px);
  height: auto;
  display: block;
}

@media (min-width: 901px) {
  .site-header {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding-left: 0;
    padding-right: 0;
  }

  .site-header.scrolled {
    background: rgba(6,17,12,.93);
    box-shadow: 0 16px 50px rgba(0,0,0,.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding-left: 50px;
    padding-right: 50px;
  }

  .site-header:not(.scrolled) .site-nav a {
    color: rgba(255,255,255,.96);
    text-shadow: 0 2px 18px rgba(0,0,0,.45);
  }

  .site-header:not(.scrolled) .site-nav .nav-cta {
    background: rgba(244,197,66,.95);
    color: var(--green-950);
    text-shadow: none;
    box-shadow: 0 12px 34px rgba(0,0,0,.18);
  }
}

@media (max-width: 900px) {
  .brand-logo {
    min-width: 0;
  }

  .brand-logo img {
    width: 210px;
    max-width: 58vw;
  }
}


/* Dynamic project gallery using real project images */
.project-gallery-item {
  position: relative;
  isolation: isolate;
}

.project-gallery-item .gallery-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 0px;
  color: #fff;
  text-align: left;
  background: rgba(6, 17, 12, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(10px);
  transition: .25s ease;
}

.project-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(6,17,12,.45), transparent 55%);
  opacity: 0;
  transition: .25s ease;
}

.project-gallery-item:hover .gallery-overlay,
.project-gallery-item:hover::after {
  opacity: 1;
}

.project-gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay span {
  color: var(--gold);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gallery-overlay strong {
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .project-gallery-item .gallery-overlay,
  .project-gallery-item::after {
    opacity: 1;
  }

  .project-gallery-item .gallery-overlay {
    transform: none;
  }
}
