:root {
  --container-max: 1250px;
  --nav-h: 110px;
  --lime: #c1d83c;
}

/* ============ SERVICES PAGE SECTION (projects-hero used as layout) ============ */

.projects-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 90px;
}

/* circles behind */
.bg-orbits {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* make circles actually visible */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(146, 199, 81, 0.25);
  box-shadow: 0 0 30px rgba(146, 199, 81, 0.08);
}
.orbit::after {
  content: "";
  position: absolute;
  top: -4px; /* sits on edge */
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #c1d83c;
  border-radius: 50%;
  box-shadow:
    0 0 8px #c1d83c,
    0 0 16px #c1d83c;
}

/* positions + sizes */
.orbit.o1 {
  width: 520px;
  height: 520px;
  top: -180px;
  left: -160px;
  animation-duration: 18s;
}
.orbit.o2 {
  width: 720px;
  height: 720px;
  top: -260px;
  right: -260px;
  animation-duration: 28s;
}
.orbit.o4 {
  width: 900px;
  height: 900px;
  bottom: -420px;
  left: 20%;
  opacity: 0.18;
  animation-duration: 40s;
}
@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.orbit {
  animation: orbitSpin 18s linear infinite;
}
.hero-content3 p3 {
  font-size: 45px;
  line-height: 1.1;
  font-weight: 800;
  max-width: 600px;
  padding: 40px 0 10px 0;
}

/* content above circles */
.projects-hero-content {
  width: 100%;
}

/* intro copy */
.project-wording1 {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 22px;
  padding: 10px 0;
}

.project-wording1 p {
  text-align: center;
  line-height: 1.55;
}

/* head */
.projects-tiles-head {
  margin: 18px 0 18px;
}

.projects-kicker {
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.7;
}

.projects-title {
  margin-top: 8px;
  font-size: clamp(26px, 3vw, 44px);
  letter-spacing: 1px;
}

/* grid (glass plate) */
.projects-tiles-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 110px;
  gap: 18px;

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  padding: 18px;
}

/* tile base */
.project-tile {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  background: #0a1012;
  color: #0a1012;
  outline: none;
}

/* image */
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 220ms ease;
}

/* overlay */
.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.55)
  );
  opacity: 0.9;
  transition: opacity 220ms ease;
  pointer-events: none;
}

/* tags */
.project-tile-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 10px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: black;
  font-weight: 600;
}

/* CTA */
.project-tile-cta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(209, 255, 69, 0.96);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

/* hover/focus */
.project-tile:hover img,
.project-tile:focus-visible img {
  transform: scale(1.08);
}

.project-tile:hover .project-tile-cta,
.project-tile:focus-visible .project-tile-cta {
  transform: translateY(0);
  opacity: 1;
  z-index: 2;
}

.project-tile:focus-visible {
  box-shadow: 0 0 0 3px rgba(209, 255, 69, 0.75);
}

/* sizes */
.project-tile--lg {
  grid-column: 1 / span 6;
  grid-row: span 4;
}
.project-tile--sm {
  grid-column: 7 / span 3;
  grid-row: span 2;
}
.project-tile--sm2 {
  grid-column: 10 / span 3;
  grid-row: span 2;
}
.project-tile--lime {
  grid-column: 7 / span 6;
  grid-row: span 2;
  background: #c1d83c;
}
.project-tile--wide {
  grid-column: 1 / span 12;
  grid-row: span 3;
}

/* lime tile */
.project-tile--lime::after {
  display: none;
}
.project-tile--lime img {
  display: none;
}

.project-lime-box {
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  color: #0a1012;
}

.project-lime-kicker {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

.project-lime-title {
  font-size: 22px;
  letter-spacing: 1px;
}

.project-lime-sub {
  font-size: 14px;
  opacity: 0.9;
  max-width: 48ch;
}

.project-lime-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

/* ============ RESPONSIVE ============ */

.services-accordion {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 10px;
  background: var(--bg);
}

/* each dropdown block */
.svc {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

/* heading */
.svc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  padding: 10px 6px;
  transition: color 0.25s ease;
}

.svc summary:hover {
  color: var(--lime);
}

.svc summary::-webkit-details-marker {
  display: none;
}

/* custom arrow */
.svc summary::before {
  content: "▸";
  color: var(--lime);
  font-size: 16px;
  transition: transform 0.25s ease;
}

.svc[open] summary::before {
  transform: rotate(90deg);
}

/* content list */
.svc ul {
  margin: 10px 0 14px 34px;
  padding: 0;
}

.svc li {
  margin: 10px 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
}

/* smooth open animation */
.svc > ul {
  animation: fadeSlide 0.35s ease both;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services section 2 */
.qs-light {
  position: relative;
  padding: 90px 24px;

  color: #0a1012;
  overflow: hidden;
}

/* subtle topo-ish background (light, not distracting) */
.qs-light::before {
  content: "";
  position: absolute;
  inset: -1px;
  /* background:
    radial-gradient(
      900px circle at 20% 15%,
      rgba(209, 255, 69, 0.18),
      transparent 55%
    ),
    radial-gradient(
      900px circle at 80% 70%,
      rgba(0, 0, 0, 0.06),
      transparent 60%
    );
  opacity: 0.55; */
  pointer-events: none;
}

.qs-light__inner {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: stretch;
  padding: 20px;
}

.qs-light__content {
  padding: 10px 0;
}

.qs-light__kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
}

.qs-light__title {
  margin: 0 0 26px;
  font-size: clamp(34px, 4vw, 20px);
  line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 800;
  color: #0a1012;
}

/* two columns like your WHAT WE DO section */
.qs-light__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 46px;
  max-width: 900px;
}

.qs-light__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* bullet + link row */
.qs-light__list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.3;
}

.qs-light__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c1d83c;
  box-shadow: 0 0 14px rgba(209, 255, 69, 0.35);
}

/* link style */
.qs-light__list a {
  text-decoration: none;
  color: rgba(10, 16, 18, 0.88);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.qs-light__list a:hover {
  color: #0a1012;
  transform: translateX(4px);
}

/* CTA */
.qs-light__cta {
  margin-top: 28px;
}

.qs-light__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #0a1012;
  color: #c1d83c;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.qs-light__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

/* Right image panel */
.qs-light__media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  min-height: 520px;
  background: #0a1012;
}

.qs-light__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.02);
}

/* Optional: a soft overlay for readability harmony */
.qs-light__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(209, 255, 69, 0.08),
    rgba(0, 0, 0, 0.18)
  );
  pointer-events: none;
}

/* Remove the grey wash behind the QS block */
.qs-light::before {
  content: none !important;
}

/* SERVICES PAGE: kill the grey panel behind QS section */
.page-services .qs-light__inner {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Optional: if the whole section looks tinted */
.page-services .qs-light {
  background: #fff !important;
  background-image: none !important;
}

/* Optional: remove the "grey vibe" from the image side too */
.page-services .qs-light__media img {
  filter: none !important;
}
.page-services .qs-light__media::after {
  content: none !important;
}
