.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > a span {
  margin-left: 0.3rem;
  color: #c5a04d;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 1.15rem);
  left: 50%;
  z-index: 40;
  width: min(22rem, 80vw);
  padding: 0.65rem;
  background: rgba(0, 42, 32, 0.97);
  border: 1px solid rgba(197, 160, 77, 0.24);
  box-shadow: 0 24px 70px rgba(0, 20, 15, 0.42);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 0.65rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms;
}

.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  inset: -1.2rem 0 auto;
  height: 1.2rem;
}

.nav-dropdown-projects {
  width: min(17rem, 80vw);
}

.project-chapters > article {
  scroll-margin-top: 6rem;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.desktop-nav .nav-dropdown-panel a,
.inner-nav .nav-dropdown-panel a {
  display: block;
  padding: 0.72rem 0.9rem;
  color: rgba(245, 243, 236, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(245, 243, 236, 0.08);
}

.desktop-nav .nav-dropdown-panel a:last-child,
.inner-nav .nav-dropdown-panel a:last-child {
  border-bottom: 0;
}

.desktop-nav .nav-dropdown-panel a:hover,
.desktop-nav .nav-dropdown-panel a:focus-visible,
.inner-nav .nav-dropdown-panel a:hover,
.inner-nav .nav-dropdown-panel a:focus-visible {
  color: #c5a04d;
  background: rgba(245, 243, 236, 0.05);
}

.mobile-subnav {
  display: grid;
  gap: 0;
  margin: -0.25rem 0 0.5rem 3.25rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(197, 160, 77, 0.34);
}

.mobile-nav .mobile-subnav a {
  padding: 0.42rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(245, 243, 236, 0.58);
}

.solutions-page {
  background: #f3f0e8;
  color: #09372c;
}

.solutions-hero {
  position: relative;
  min-height: min(78rem, 88vh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: clamp(8rem, 14vw, 13rem) clamp(1.4rem, 6vw, 7rem)
    clamp(4rem, 8vw, 7.5rem);
  color: #f5f3ec;
  background: #002a20;
}

.solutions-hero-image,
.solutions-hero-shade,
.solutions-hero-grid {
  position: absolute;
  inset: 0;
}

.solutions-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.68) contrast(1.06);
}

.solutions-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(0, 30, 23, 0.96) 0%,
      rgba(0, 42, 32, 0.72) 48%,
      rgba(0, 27, 21, 0.24) 100%
    ),
    linear-gradient(0deg, rgba(0, 26, 20, 0.72), transparent 58%);
}

.solutions-hero-grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(245, 243, 236, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 236, 0.12) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.solutions-hero-copy {
  position: relative;
  z-index: 2;
  width: min(58rem, 92%);
}

.solutions-hero h1 {
  margin: 1.15rem 0 1.4rem;
  font-size: clamp(3.25rem, 7.6vw, 8.25rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.solutions-hero h1 em {
  color: #c5a04d;
  font-style: normal;
  font-weight: 500;
}

.solutions-hero-copy > p:last-child {
  width: min(42rem, 100%);
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.75;
  color: rgba(245, 243, 236, 0.72);
}

.solutions-overview {
  display: grid;
  grid-template-columns: 0.7fr 1.5fr;
  gap: clamp(2rem, 8vw, 9rem);
  padding: clamp(5rem, 10vw, 10rem) clamp(1.4rem, 6vw, 7rem);
  border-bottom: 1px solid rgba(0, 61, 46, 0.14);
}

.solutions-overview h2,
.solutions-model h2,
.solutions-cta h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 4.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.solutions-overview > div > p,
.solutions-model > p,
.solutions-cta > p {
  width: min(48rem, 100%);
  font-size: clamp(1rem, 1.2vw, 1.17rem);
  line-height: 1.85;
  color: rgba(9, 55, 44, 0.68);
}

.solutions-jump {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(1.4rem, 6vw, 7rem) clamp(5rem, 9vw, 8rem);
}

.solutions-jump a {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 61, 46, 0.14);
  margin: -1px 0 0 -1px;
  color: #09372c;
  font-weight: 650;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.solutions-jump a span {
  color: #b18c3c;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.solutions-jump a:hover,
.solutions-jump a:focus-visible {
  color: #f5f3ec;
  background: #003d2e;
}

.solution-chapter {
  scroll-margin-top: 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 51rem;
  background: #f7f5ee;
  border-top: 1px solid rgba(0, 61, 46, 0.12);
}

.solution-chapter-reverse .solution-visual {
  order: 2;
}

.solution-visual {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  background: #002a20;
}

.solution-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 61, 46, 0.16), transparent 46%),
    linear-gradient(0deg, rgba(0, 30, 23, 0.36), transparent 44%);
}

.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.solution-chapter:hover .solution-visual img {
  transform: scale(1.025);
}

.solution-copy {
  align-self: center;
  padding: clamp(3.4rem, 7vw, 7.5rem);
}

.solution-number {
  margin: 0 0 3.5rem;
  color: #a47f31;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.solution-copy h2 {
  max-width: 42rem;
  margin: 0.8rem 0 1.4rem;
  font-size: clamp(2.25rem, 4vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.052em;
}

.solution-copy > p:not(.solution-number):not(.section-label) {
  max-width: 42rem;
  color: rgba(9, 55, 44, 0.7);
  line-height: 1.78;
}

.solution-copy h3 {
  margin: 2rem 0 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #9a772f;
}

.solution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.solution-tags span {
  padding: 0.55rem 0.72rem;
  border: 1px solid rgba(0, 61, 46, 0.18);
  color: rgba(9, 55, 44, 0.78);
  font-size: 0.72rem;
}

.solution-outcome {
  margin: 2.2rem 0 1.8rem;
  padding: 1.3rem 1.45rem;
  border-left: 3px solid #c5a04d;
  background: rgba(0, 61, 46, 0.045);
}

.solution-outcome strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.solution-outcome p {
  margin: 0;
  color: rgba(9, 55, 44, 0.68);
  line-height: 1.65;
}

.solutions-model {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.4rem, 6vw, 7rem);
  color: #f5f3ec;
  background: #002a20;
}

.solutions-model {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem 8vw;
}

.solutions-model > p {
  grid-column: 2;
  color: rgba(245, 243, 236, 0.65);
}

.solutions-chain {
  display: flex;
  align-items: center;
  align-self: end;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.solutions-chain span {
  color: #c5a04d;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solutions-chain i {
  width: 2.5rem;
  height: 1px;
  background: rgba(245, 243, 236, 0.28);
}

.solutions-cta {
  padding: clamp(5.5rem, 11vw, 11rem) clamp(1.4rem, 6vw, 7rem);
  background: #c5a04d;
}

.solutions-cta > p {
  margin-bottom: 2rem;
  color: rgba(0, 42, 32, 0.72);
}

.solutions-cta .arrow-link {
  color: #002a20;
  border-color: rgba(0, 42, 32, 0.34);
}

@media (max-width: 980px) {
  .solutions-overview,
  .solution-chapter,
  .solutions-model {
    grid-template-columns: 1fr;
  }

  .solutions-jump {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-chapter-reverse .solution-visual {
    order: 0;
  }

  .solution-visual {
    min-height: min(72vw, 38rem);
  }

  .solutions-model > p {
    grid-column: auto;
  }
}

@media (max-width: 700px) {
  .desktop-nav .nav-dropdown {
    display: none;
  }

  .solutions-hero {
    min-height: 82svh;
    padding-top: max(7.5rem, env(safe-area-inset-top));
  }

  .solutions-hero-shade {
    background: linear-gradient(
      0deg,
      rgba(0, 30, 23, 0.96),
      rgba(0, 42, 32, 0.54)
    );
  }

  .solutions-hero-copy {
    width: 100%;
  }

  .solutions-jump {
    grid-template-columns: 1fr;
  }

  .solution-chapter {
    min-height: 0;
  }

  .solution-visual {
    min-height: 72vw;
  }

  .solution-copy {
    padding: 3.4rem 1.4rem 4.4rem;
  }

  .solution-number {
    margin-bottom: 2.5rem;
  }

  .solutions-chain i {
    width: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-panel,
  .solution-visual img {
    transition: none;
  }
}

/* Site-wide navigation consistency */
.site-header,
.inner-header {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: 78px;
  padding: 0 clamp(18px, 3.2vw, 52px);
  background: rgba(0, 37, 28, 0.88);
  border-bottom: 1px solid rgba(245, 243, 236, 0.12);
  box-shadow: 0 10px 40px rgba(0, 24, 18, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.site-header {
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 30px);
}

.inner-header {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 30px);
}

.header-brand {
  width: 72px;
}

.inner-logo {
  width: 62px;
}

.desktop-nav,
.inner-nav {
  min-width: 0;
  justify-content: center;
  align-items: center;
  gap: clamp(9px, 1.25vw, 20px);
}

.desktop-nav > a,
.desktop-nav > .nav-dropdown > a,
.inner-nav > a,
.inner-nav > .nav-dropdown > a {
  font-size: clamp(8px, 0.68vw, 10px);
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.header-action,
.inner-contact {
  min-height: 38px;
  padding: 0 13px;
  white-space: nowrap;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .site-header,
  .inner-header {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .header-action,
  .inner-contact {
    display: none;
  }

  .desktop-nav,
  .inner-nav {
    justify-content: flex-end;
    gap: clamp(8px, 1.1vw, 14px);
  }
}

@media (max-width: 980px) {
  .site-header,
  .inner-header,
  .site-header.is-scrolled {
    grid-template-columns: 1fr auto;
    height: 76px;
    padding: max(env(safe-area-inset-top), 0px) 18px 0;
  }

  .header-brand {
    width: 68px;
  }

  .inner-logo {
    width: 58px;
  }

  .desktop-nav,
  .inner-nav,
  .header-action,
  .inner-contact {
    display: none;
  }

  .menu-trigger,
  .inner-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}
