:root {
  --ink: #17201b;
  --muted: #607069;
  --line: #dce7df;
  --paper: #fbfdf9;
  --soft: #eef5ed;
  --forest: #173d2e;
  --leaf: #4f8f65;
  --gold: #c99b36;
  --clay: #b66e4a;
  --sky: #dceef6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 61, 46, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(23, 61, 46, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

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

.navbar {
  background: rgba(251, 253, 249, 0.92);
  border-bottom: 1px solid rgba(23, 32, 27, 0.08);
  backdrop-filter: blur(18px);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.navbar-brand strong,
h1,
h2,
h3 {
  font-family: Manrope, Inter, sans-serif;
  letter-spacing: 0;
}

.navbar-brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 0.1rem;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: var(--white);
  background: #130502;
  border: 1px solid rgba(201, 155, 54, 0.5);
  box-shadow: 0 10px 28px rgba(80, 22, 8, 0.22);
  font-weight: 800;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-link {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--forest);
}

.section-pad {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}

.compact {
  padding: 92px 0;
}

.band {
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 155, 54, 0.14), transparent 28%),
    linear-gradient(135deg, rgba(238, 245, 237, 0.92), rgba(220, 238, 246, 0.72));
}

.media-band {
  background:
    linear-gradient(135deg, rgba(23, 61, 46, 0.94), rgba(37, 75, 67, 0.95)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.08) 18px 19px);
  color: var(--white);
}

.hero {
  min-height: 100vh;
  padding-top: 150px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 143, 101, 0.26), transparent 30%),
    radial-gradient(circle at 78% 30%, rgba(201, 155, 54, 0.18), transparent 28%),
    linear-gradient(135deg, #fbfdf9 0%, #edf5ee 50%, #dceef6 100%);
}

.hero-grid,
.contact-layout,
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--forest);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

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

.media-band .eyebrow,
.contact-band .eyebrow {
  color: #e5f5ea;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  line-height: 0.95;
  font-weight: 800;
  margin: 0;
}

.hero p,
.section-heading p,
.contact-layout p,
footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero p {
  max-width: 650px;
  margin: 1.3rem 0 0;
}

.hero-actions,
.contact-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  border-radius: 8px;
  font-weight: 800;
  border-width: 1px;
  min-height: 44px;
}

.btn-primary {
  background: var(--forest);
  border-color: var(--forest);
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0f2f23;
  border-color: #0f2f23;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 720px;
}

.trust-row span {
  min-height: 88px;
  padding: 1rem;
  border: 1px solid rgba(23, 32, 27, 0.1);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.trust-row strong {
  display: block;
  color: var(--forest);
  font-size: 1.45rem;
}

.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.map-board {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 0.86;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 61, 46, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(23, 61, 46, 0.11) 1px, transparent 1px),
    linear-gradient(145deg, #f8fbf3, #dbeee2);
  background-size: 36px 36px, 36px 36px, auto;
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 32, 27, 0.12);
  overflow: hidden;
}

.map-board::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 2px dashed rgba(23, 61, 46, 0.2);
  transform: rotate(-7deg);
}

.zone {
  position: absolute;
  border: 1px solid rgba(23, 61, 46, 0.26);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
}

.zone-one {
  width: 36%;
  height: 22%;
  left: 12%;
  top: 16%;
}

.zone-two {
  width: 34%;
  height: 30%;
  right: 13%;
  top: 28%;
}

.zone-three {
  width: 48%;
  height: 24%;
  left: 20%;
  bottom: 13%;
}

.route-line {
  position: absolute;
  height: 9px;
  background: var(--clay);
  border-radius: 999px;
  transform-origin: left center;
}

.route-a {
  width: 78%;
  left: 6%;
  top: 58%;
  transform: rotate(-18deg);
}

.route-b {
  width: 62%;
  right: -10%;
  top: 45%;
  transform: rotate(47deg);
  background: var(--gold);
}

.pin {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 9px rgba(23, 61, 46, 0.14);
}

.pin-a {
  top: 23%;
  left: 26%;
}

.pin-b {
  top: 50%;
  right: 27%;
}

.pin-c {
  bottom: 21%;
  left: 47%;
}

.metric-panel {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  max-width: 245px;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(23, 32, 27, 0.14);
}

.metric-panel span,
.profile-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metric-panel strong,
.profile-panel strong {
  display: block;
  margin-top: 0.25rem;
  line-height: 1.45;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.3rem;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  max-width: none;
  gap: 2rem;
  align-items: end;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  font-weight: 800;
  margin: 0;
}

.service-grid,
.client-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.client-card,
.legal-card,
.project-card {
  border: 1px solid rgba(23, 32, 27, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(23, 32, 27, 0.07);
}

.service-card,
.client-card,
.legal-card {
  padding: 1.35rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--forest);
  font-weight: 900;
  margin-bottom: 1rem;
}

.service-card h3,
.client-card h3,
.legal-card h3,
.project-card h3,
.media-layout h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.service-card p,
.client-card p,
.legal-card p,
.project-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  overflow: hidden;
}

.project-art,
.gallery-art {
  position: relative;
  min-height: 220px;
  background:
    linear-gradient(90deg, rgba(23, 61, 46, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(23, 61, 46, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, #eff7ef, #dceef6);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-art.has-image,
.gallery-art.has-image {
  padding: 0;
  background: #f3efe8;
}

.project-art.has-image::before,
.project-art.has-image::after,
.gallery-art.has-image::before,
.gallery-art.has-image::after {
  display: none;
}

.project-photo-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.55rem;
  min-height: 100px;
}

.project-image,
.gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.project-image {
  aspect-ratio: 4 / 3;
  min-height: 100px;
}

.gallery-image {
  aspect-ratio: 4 / 3;
}

.gallery-item:hover .gallery-image,
.project-card:hover .project-image {
  transform: scale(1.03);
}

.gallery-item:hover .gallery-art,
.project-card:hover .project-art {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(23, 61, 46, 0.12);
}

.project-art::before,
.gallery-art::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 32%;
  left: 13%;
  top: 35%;
  border-radius: 8px;
  background: rgba(23, 61, 46, 0.12);
  transform: rotate(-12deg);
}

.project-art::after,
.gallery-art::after {
  content: "";
  position: absolute;
  width: 46%;
  height: 14px;
  right: 9%;
  top: 48%;
  background: var(--gold);
  border-radius: 999px;
  transform: rotate(28deg);
}

.project-body {
  padding: 1.35rem;
}

.tag-row,
.facility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag,
.facility-row span {
  border: 1px solid rgba(23, 61, 46, 0.16);
  border-radius: 999px;
  padding: 0.42rem 0.65rem;
  color: var(--forest);
  background: var(--soft);
  font-weight: 800;
  font-size: 0.78rem;
}

.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.filter-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  min-height: 40px;
  padding: 0 1rem;
  font-weight: 800;
}

.filter-btn.active {
  color: var(--white);
  background: var(--forest);
  border-color: var(--forest);
}

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

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(23, 32, 27, 0.1);
}

.gallery-art {
  min-height: 190px;
}

.gallery-caption {
  padding: 1rem;
}

.gallery-caption strong {
  display: block;
}

.gallery-caption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1.2rem;
}

.video-stack,
.reel-stack {
  display: grid;
  gap: 1rem;
}

.video-frame,
.reel-frame,
.media-placeholder {
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: #0b1712;
}

.video-frame {
  aspect-ratio: 16 / 9;
}

.reel-frame {
  aspect-ratio: 9 / 16;
  min-height: 520px;
}

.media-placeholder {
  display: grid;
  place-content: center;
  min-height: 260px;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  text-align: center;
}

.media-placeholder strong {
  font-family: Manrope, Inter, sans-serif;
  font-size: 1.15rem;
}

.media-placeholder span {
  color: #b9c9c0;
  margin-top: 0.4rem;
}

.reel-placeholder {
  min-height: 520px;
}

.profile-panel,
.contact-form {
  border-radius: 8px;
  border: 1px solid rgba(23, 32, 27, 0.1);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.profile-panel {
  display: grid;
  gap: 1rem;
}

.profile-panel > div {
  padding: 1rem;
  background: var(--soft);
  border-radius: 8px;
}

.contact-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(23, 61, 46, 0.96), rgba(80, 102, 75, 0.96)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.08) 34px 35px);
}

.contact-band p {
  color: #dce7df;
}

.contact-form {
  color: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  color: var(--forest);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.form-note {
  min-height: 1.5rem;
  color: var(--muted);
  font-weight: 700;
  margin: 0.85rem 0 0;
}

footer {
  padding: 2rem 0;
  background: #0f2018;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

footer p {
  color: #b9c9c0;
  margin: 0.45rem 0 0;
}

footer a {
  display: inline-block;
  color: #dce7df;
  font-weight: 800;
  margin-left: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(201, 155, 54, 0.45);
}

@media (max-width: 991px) {
  .hero-grid,
  .contact-layout,
  .profile-layout,
  .section-heading.split,
  .media-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

  .service-grid,
  .client-grid,
  .legal-grid,
  .gallery-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navbar-collapse {
    padding: 1rem 0;
  }
}

@media (max-width: 640px) {
  .section-pad,
  .compact {
    padding: 78px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .project-photo-stack {
    grid-template-columns: 1fr;
  }

  .project-image,
  .gallery-image {
    min-height: 180px;
  }

  .trust-row,
  .service-grid,
  .client-grid,
  .legal-grid,
  .gallery-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 330px;
  }

  .reel-frame {
    min-height: 480px;
  }

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

  footer a {
    margin: 0 1rem 0.5rem 0;
  }
}
