﻿:root {
  /* Background surfaces — unchanged */
  --ink: #141812;
  --ink-rgb: 20, 24, 18;
  --sand: #efe7d8;
  --sand-rgb: 239, 231, 216;

  /* Brand identity accents */
  --brand-green: #265230;
  --brand-green-rgb: 38, 82, 48;
  --brand-gold: #bd9253;
  --brand-gold-rgb: 189, 146, 83;

  --gold: var(--brand-gold);
  --gold-rgb: 189, 146, 83;
  --gold-soft: rgba(189, 146, 83, 0.85);
  --gold-deep: #9a7340;
  --forest: var(--brand-green);
  --forest-soft: #2f643c;
  --forest-deep: var(--brand-green);

  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.88);
  --white-muted: rgba(255, 255, 255, 0.64);
  --text-on-light: #3d4f40;
  --text-muted: var(--text-on-light);

  /* Legacy aliases */
  --cream: var(--sand);
  --cream-deep: #e5dccb;

  --glass-dark: rgba(var(--ink-rgb), 0.58);
  --glass-light: rgba(255, 255, 255, 0.9);
  --border-dark: rgba(var(--brand-gold-rgb), 0.28);
  --border-light: rgba(var(--brand-green-rgb), 0.14);

  --header-h: 7rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cairo", sans-serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ink);
}

body {
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    url("../assets/images/hero-slide-a.jpg") center / cover no-repeat;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.46) 0%,
      rgba(0, 0, 0, 0.34) 32%,
      rgba(0, 0, 0, 0.3) 58%,
      rgba(0, 0, 0, 0.44) 100%
    );
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

/* ——— Header ——— */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: 1.35rem clamp(1.25rem, 4vw, 3.5rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease,
    min-height 0.35s ease;
  animation: fade-down 0.9s var(--ease-out) both;
}

.site-header.is-scrolled {
  min-height: 4.35rem;
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
  background: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(38, 82, 48, 0.08);
  box-shadow: 0 8px 22px rgba(20, 24, 18, 0.07);
  backdrop-filter: blur(20px) saturate(1.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
}

.brand__logo {
  height: clamp(4.75rem, 8vw, 6.75rem);
  width: auto;
  mix-blend-mode: screen;
  transition: height 0.35s ease, filter 0.35s ease;
}

.site-header.is-scrolled .brand__logo {
  height: clamp(2.65rem, 4.2vw, 3.5rem);
  mix-blend-mode: normal;
}

.nav {
  justify-self: center;
  min-width: 0;
  max-width: 100%;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 1.6vw, 1.55rem);
}

.nav__item {
  position: relative;
}

.nav__item.has-dropdown {
  padding-bottom: 1.1rem;
  margin-bottom: -1.1rem;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.05vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--white-soft);
  transition: color 0.3s ease;
}

.site-header.is-scrolled .nav__link {
  color: var(--brand-green);
}

.site-header.is-scrolled .nav__link:hover,
.site-header.is-scrolled .nav__link:focus-visible,
.site-header.is-scrolled .nav__link.is-active,
.site-header.is-scrolled .nav__item:hover > .nav__link {
  color: var(--brand-gold);
}

.nav__item.has-dropdown > .nav__link::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.75;
  order: 1;
  margin-inline-start: 0.15rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%) scale(0);
  opacity: 0;
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.35s ease;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active,
.nav__item:hover > .nav__link {
  color: var(--white);
}

.nav__link.is-active::after,
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__item:hover > .nav__link::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% - 0.15rem);
  left: 50%;
  z-index: 40;
  min-width: 15rem;
  padding: 0.55rem;
  margin: 0;
  background: rgba(var(--brand-green-rgb), 0.94);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0.7rem;
  box-shadow:
    0 18px 40px rgba(var(--brand-green-rgb), 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s var(--ease-out),
    visibility 0.2s ease;
  transition-delay: 0.12s;
}

.site-header.is-scrolled .nav__dropdown {
  background: var(--brand-green);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(var(--brand-green-rgb), 0.28);
}

.nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 1.25rem;
}

.nav__item:hover > .nav__dropdown,
.nav__item:focus-within > .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.nav__dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white-soft);
  white-space: normal;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.nav__dropdown a:hover,
.nav__dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: 0.85rem;
  min-width: 2.5rem;
}

.lang-switch {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s var(--ease-out);
}

.site-header.is-scrolled .lang-switch {
  color: var(--brand-green);
  border-color: rgba(var(--brand-green-rgb), 0.45);
}

.site-header.is-scrolled .lang-switch:hover,
.site-header.is-scrolled .lang-switch:focus-visible {
  background: rgba(var(--brand-green-rgb), 0.08);
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--brand-green);
}

.lang-switch:hover,
.lang-switch:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: scale(1.05);
}

html[lang="en"] {
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

html[lang="en"] .hero__cta-arrow {
  transform: scaleX(-1);
  transform-origin: center;
}

html[lang="en"] .hero__cta:hover .hero__cta-icon,
html[lang="en"] .hero__cta:focus-visible .hero__cta-icon {
  transform: translateX(2px);
}

html[lang="en"] .hero__cta:hover .hero__cta-icon svg,
html[lang="en"] .hero__cta:focus-visible .hero__cta-icon svg {
  transform: translateX(3px);
}

.menu-toggle {
  display: none;
  width: 2rem;
  height: 1.35rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.15rem 0;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.35s var(--ease-out), width 0.35s ease;
}

.menu-toggle span:first-child {
  width: 100%;
}

.menu-toggle span:last-child {
  width: 62%;
  margin-inline-start: auto;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(0.28rem) rotate(40deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  width: 100%;
  transform: translateY(-0.28rem) rotate(-40deg);
}

.mobile-nav {
  position: fixed;
  z-index: 99;
  inset-inline: 1rem;
  top: calc(var(--header-h) - 0.35rem);
  max-height: min(70svh, 32rem);
  overflow-y: auto;
  display: grid;
  gap: 0.1rem;
  padding: 0.85rem 1rem;
  background: rgba(var(--brand-green-rgb), 0.42);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  animation: fade-down 0.35s var(--ease-out) both;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav > a,
.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-align: start;
  color: var(--white-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav__toggle::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.mobile-nav__toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.mobile-nav__sub {
  display: grid;
  padding: 0.15rem 0 0.55rem;
}

.mobile-nav__sub[hidden] {
  display: none;
}

.mobile-nav__sub a {
  padding: 0.65rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--white-muted);
  border-bottom: 0;
}

.mobile-nav__sub a:hover,
.mobile-nav > a:hover,
.mobile-nav__toggle:hover {
  color: var(--white);
  background: rgba(var(--brand-gold-rgb), 0.16);
}

/* ——— Hero content ——— */

.hero__content {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: min(46rem, calc(100% - 2.5rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 4vw, 3.35rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--white);
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
  animation: rise 1s 0.15s var(--ease-out) both;
}

.hero__title span[data-i18n="hero.title"] {
  display: block;
}

.hero__title span[data-i18n="hero.titleAccent"] {
  display: block;
  color: var(--white);
}

.hero__rule {
  width: 2.75rem;
  height: 1px;
  margin: 1.35rem auto 1.2rem;
  background: rgba(255, 255, 255, 0.55);
  transform-origin: center center;
  animation: draw-rule 0.8s 0.45s var(--ease-out) both;
}

.hero__text {
  max-width: 32rem;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--white-soft);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
  animation: rise 1s 0.35s var(--ease-out) both;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  animation: rise 1s 0.5s var(--ease-out) both;
}

.hero__cta-icon {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s var(--ease-out);
}

.hero__cta-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.35s var(--ease-out);
}

.hero__cta-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero__cta:hover .hero__cta-icon,
.hero__cta:focus-visible .hero__cta-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  transform: translateX(-2px);
}

.hero__cta:hover .hero__cta-icon svg,
.hero__cta:focus-visible .hero__cta-icon svg {
  transform: translateX(-3px);
  color: var(--gold);
}

/* ——— Hero project filter ——— */

.hero-filter {
  position: absolute;
  inset-inline: 0;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  z-index: 6;
  width: min(60rem, calc(100% - 2rem));
  margin-inline: auto;
  animation: rise 1s 0.55s var(--ease-out) both;
}

.hero-filter__bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
  gap: 0.4rem;
  width: 100%;
  padding: 0.38rem;
  border-radius: 0.85rem;
  background: rgba(8, 12, 10, 0.38);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-filter__field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.08rem;
  min-width: 0;
  padding: 0.38rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.hero-filter__field.is-open {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(189, 146, 83, 0.45);
}

.hero-filter__field span {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.hero-filter__field.is-custom select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hero-filter__trigger {
  display: block;
  width: 100%;
  border: 0;
  outline: none;
  padding: 0;
  padding-inline-start: 1.1rem;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='rgba(255,255,255,0.75)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat left 0.15rem center / 0.7rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

html[dir="ltr"] .hero-filter__trigger {
  background-position: right 0.15rem center;
  padding-inline-start: 0;
  padding-inline-end: 1.1rem;
}

.hero-filter__field.is-open .hero-filter__trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 6.5 6 1.5 11 6.5' stroke='rgba(255,255,255,0.85)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hero-filter__menu {
  position: absolute;
  inset-inline: 0;
  bottom: calc(100% + 0.45rem);
  z-index: 8;
  display: grid;
  gap: 0.18rem;
  min-width: 100%;
  padding: 0.35rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(29, 61, 40, 0.92);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-filter__menu[hidden] {
  display: none;
}

.hero-filter__option {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0.55rem;
  padding: 0.55rem 0.7rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.hero-filter__option:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.hero-filter__option.is-active {
  background: linear-gradient(145deg, #d4a964, var(--gold));
  color: #fff;
}

.hero-filter__field select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='rgba(255,255,255,0.75)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat left 0.15rem center / 0.7rem;
  padding-inline-end: 0;
  padding-inline-start: 1.1rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
}

.hero-filter__field select option {
  background: #1d3d28;
  color: #fff;
}

.hero-filter__submit {
  border: 0;
  border-radius: 0.65rem;
  min-width: 5.4rem;
  padding: 0.55rem 1.15rem;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.hero-filter__submit:hover {
  background: #d4a964;
  transform: translateY(-1px);
}

html[dir="ltr"] .hero-filter__field select {
  background-position: right 0.15rem center;
  padding-inline-start: 0;
  padding-inline-end: 1.1rem;
}

@media (max-width: 900px) {
  .hero-filter {
    bottom: 1.25rem;
  }

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

  .hero-filter__submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .hero-filter__bar {
    grid-template-columns: 1fr 1fr;
  }

  .hero-filter__field {
    padding: 0.3rem 0.55rem;
  }

  .hero-filter__field span {
    font-size: 0.6rem;
  }

  .hero-filter__field select,
  .hero-filter__trigger {
    font-size: 0.78rem;
  }
}

@media (max-height: 760px) and (min-width: 641px) {
  .hero__content {
    top: 50%;
  }

  .hero__cta {
    display: none;
  }

  .hero-filter {
    bottom: 1.25rem;
  }
}

/* ——— Scroll hint ——— */

.scroll-hint {
  display: none;
}

.projects-hero .scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.85rem;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transform: translateX(-50%);
  text-decoration: none;
}

.projects-hero .scroll-hint span {
  animation: fade-down 0.9s 0.6s var(--ease-out) both;
}

.projects-hero .scroll-hint i {
  animation: fade-down 0.9s 0.75s var(--ease-out) both;
}

.scroll-hint span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--white-muted);
}

.scroll-hint i {
  position: relative;
  display: block;
  width: 1px;
  height: 3.25rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55),
    rgba(197, 164, 126, 0.2)
  );
}

.scroll-hint i::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  bottom: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold-soft);
  transform: translateX(50%);
  animation: pulse-dot-rtl 2.2s ease-in-out infinite;
}

/* ——— Motion ——— */

@keyframes fade-down {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes draw-rule {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes pulse-dot-rtl {
  0%,
  100% {
    transform: translateX(50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(50%) translateY(5px);
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— Responsive ——— */

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .lang-switch {
    width: 2.35rem;
    height: 2.35rem;
  }

  .hero__content {
    width: min(34rem, calc(100% - 2.5rem));
    top: 56%;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 5.75rem;
  }

  .brand__logo {
    height: 4.25rem;
  }

  .site-header.is-scrolled {
    min-height: 3.85rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .site-header.is-scrolled .brand__logo {
    height: 2.75rem;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: calc(var(--header-h) + 0.4rem);
    padding-bottom: 0.85rem;
  }

  .hero__content {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: calc(100% - 2rem);
    margin-inline: auto;
    margin-bottom: 0.7rem;
    flex: 1 1 auto;
    justify-content: center;
    min-height: 0;
  }

  .hero__title {
    font-size: clamp(1.55rem, 6.8vw, 2rem);
  }

  .hero__rule,
  .hero__text {
    display: none;
  }

  .hero-filter {
    position: relative;
    inset: auto;
    bottom: auto;
    width: calc(100% - 1.25rem);
    flex-shrink: 0;
  }

  .hero__cta {
    display: none;
  }

  .scroll-hint {
    display: none;
  }

  .projects-hero .scroll-hint {
    bottom: 1.35rem;
  }
}

/* ——— About ——— */

.about {
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: var(--text-on-light);
  background: var(--sand);
  margin-bottom: -2px;
}

.about__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--sand) 0%,
    var(--sand) 12%,
    rgba(var(--sand-rgb), 0.94) 28%,
    rgba(var(--sand-rgb), 0.7) 50%,
    rgba(var(--sand-rgb), 0.36) 72%,
    rgba(var(--sand-rgb), 0.12) 88%,
    transparent 100%
  );
}

.about__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(52rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding:
    clamp(3.25rem, 6vw, 4.75rem)
    0
    clamp(7.5rem, 16vw, 10.5rem);
}

.about__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.about__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.about__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.about__meta-line {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  transform-origin: center center;
}

.about__title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-deep);
}

.about__copy {
  display: grid;
  gap: 0.85rem;
  max-width: 46rem;
  margin-inline: auto;
}

.about__copy p {
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
}

.about__note-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink);
}

/* ——— Reveal animations ——— */

.reveal,
.reveal-note {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}

.reveal-note {
  transform: translateY(28px);
}

.reveal.is-inview,
.reveal-note.is-inview {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal:nth-child(3) { transition-delay: 0.25s; }
.about__copy .reveal:nth-child(1) { transition-delay: 0.2s; }
.about__copy .reveal:nth-child(2) { transition-delay: 0.35s; }
.reveal-note.is-inview { transition-delay: 0.45s; }

.about__meta.is-inview .about__meta-line {
  animation: draw-rule 0.8s 0.2s var(--ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-note {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .about__content {
    width: min(100% - 2rem, 72rem);
  }
}

@media (max-width: 640px) {
  .about__content {
    padding-top: 2.75rem;
    padding-bottom: 7.5rem;
  }

  .about__title {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
}

/* ——— Journey / Leadership ——— */

.journey {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--white-soft);
  background: var(--ink);
  border-top: 0;
  box-shadow: none;
}

.journey__bg {
  position: absolute;
  inset: -3%;
  z-index: 0;
  background-image: url("../assets/images/journey-bg.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scale(1.08);
  transition: transform 2.4s var(--ease-out);
  animation: journey-pan 28s ease-in-out infinite alternate;
  filter: saturate(0.92) brightness(1.05);
}

.journey.is-inview .journey__bg {
  transform: scale(1.02);
}

.journey__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(var(--ink-rgb), 0.58) 0%,
      rgba(var(--ink-rgb), 0.32) 35%,
      rgba(var(--ink-rgb), 0.38) 70%,
      rgba(var(--ink-rgb), 0.64) 100%
    ),
    linear-gradient(
      90deg,
      rgba(var(--ink-rgb), 0.22) 0%,
      transparent 50%,
      rgba(var(--ink-rgb), 0.22) 100%
    );
}

.journey__glow {
  position: absolute;
  inset-inline: 10%;
  bottom: -20%;
  z-index: 1;
  height: 55%;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--gold-rgb), 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
  animation: journey-glow 6s ease-in-out infinite alternate;
}

.journey__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(78rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0 clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
}

.journey__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: clamp(1.15rem, 2.5vw, 1.75rem);
}

.journey__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.7rem;
}

.journey__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
}

.journey__meta-line {
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
}

.journey__title {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.journey__lead {
  max-width: 42rem;
  margin-inline: auto;
  font-size: clamp(0.9rem, 1.05vw, 0.98rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--white-muted);
}

.journey__rail {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: clamp(1.15rem, 2.5vw, 1.75rem);
  padding: 1.1rem 0 0.25rem;
  text-align: center;
}

.journey__track {
  position: absolute;
  inset-inline: 8%;
  top: 0.35rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.journey__track-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--gold),
    rgba(var(--gold-rgb), 0.35)
  );
  transition: width 1.6s var(--ease-out) 0.2s;
}

.journey.is-inview .journey__track-fill {
  width: 100%;
}

.journey__step {
  position: relative;
  padding: 1.15rem 0.9rem 0.9rem;
  background: var(--glass-dark);
  border: 1px solid var(--border-dark);
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out),
    border-color 0.35s ease,
    background 0.35s ease;
  transition-delay: calc(0.15s * var(--i));
}

.journey.is-inview .journey__step {
  opacity: 1;
  transform: translateY(0);
}

.journey__step::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(var(--gold-rgb), 0.18);
  transform: translateX(-50%);
}

.journey__step:hover {
  background: rgba(var(--ink-rgb), 0.72);
  border-color: rgba(var(--gold-rgb), 0.5);
}

.journey__year {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.journey__step h3 {
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.journey__step p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--white-muted);
}

.journey__stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.journey__stat {
  position: relative;
  padding: 0.85rem 0.7rem;
  background: var(--glass-dark);
  border: 1px solid var(--border-dark);
  border-radius: 0.9rem;
  backdrop-filter: blur(10px);
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s ease;
}

.journey__stat::after {
  content: "";
  position: absolute;
  inset-inline: 18%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out);
  transition-delay: calc(0.12s * var(--i));
}

.journey.is-inview .journey__stat::after {
  transform: scaleX(1);
}

.journey__stat:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--gold-rgb), 0.5);
}

.journey__stat-year {
  display: block;
  margin-bottom: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.journey__stat-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gold);
}

.journey__stat-value small {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

.journey__stat-value--soon {
  letter-spacing: 0.18em;
  opacity: 0.55;
}

.journey__stat-desc {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--white-muted);
}

.journey__stat--soon {
  opacity: 0.72;
}

@keyframes journey-pan {
  from {
    background-position: 30% 40%;
  }
  to {
    background-position: 70% 45%;
  }
}

@keyframes journey-glow {
  from {
    opacity: 0.55;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey__bg,
  .journey__glow {
    animation: none !important;
  }
}

@media (max-width: 1100px) {
  .journey__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .journey__rail {
    grid-template-columns: 1fr 1fr;
  }

  .journey__track {
    display: none;
  }
}

@media (max-width: 560px) {
  .journey__rail,
  .journey__stats {
    grid-template-columns: 1fr;
  }
}

/* ——— Projects (home) ——— */

.projects {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--ink);
  padding: clamp(2.25rem, 4vw, 3.5rem) 0 clamp(2.75rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 90% 70% at 50% -18%, rgba(255, 255, 255, 0.95) 0%, transparent 58%),
    radial-gradient(ellipse 55% 48% at 100% 8%, rgba(255, 250, 240, 0.85) 0%, transparent 62%),
    radial-gradient(ellipse 48% 42% at 0% 92%, rgba(255, 255, 255, 0.7) 0%, transparent 60%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, transparent 42%, rgba(255, 248, 236, 0.5) 100%),
    linear-gradient(180deg, #fbf7f1 0%, #efe7d8 48%, #f6efe4 100%);
}

.projects::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.18) 22%,
      transparent 40%,
      rgba(255, 255, 255, 0.08) 62%,
      rgba(255, 252, 245, 0.5) 100%
    );
}

.projects::after {
  content: "";
  position: absolute;
  inset: -18% auto auto 8%;
  width: min(36rem, 62vw);
  height: min(22rem, 42vw);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 248, 236, 0.28) 42%,
    transparent 74%
  );
}

.projects__inner {
  position: relative;
  z-index: 2;
  width: min(78rem, calc(100% - 3rem));
  margin-inline: auto;
  padding-inline: 0;
}

.projects__intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(72rem, 100%);
  margin-inline: auto;
  margin-bottom: clamp(1.35rem, 2.8vw, 2rem);
  text-align: center;
}

.projects__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.projects__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.projects__meta-line {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
  transform-origin: center center;
}

.projects__title {
  position: relative;
  display: inline-block;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-deep);
}

.projects__lead {
  margin: 0 0 0.85rem;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(var(--ink-rgb), 0.72);
  white-space: nowrap;
}

.projects__meta.is-inview .projects__meta-line {
  animation: draw-rule 0.8s 0.2s var(--ease-out) both;
}

.projects__all {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(var(--ink-rgb), 0.48);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.projects__all:hover {
  color: var(--gold-deep);
}

.projects__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
  margin-top: 0.35rem;
}

.projects__arrow {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1px solid rgba(var(--brand-green-rgb), 0.18);
  background: #fff;
  color: var(--forest-deep);
  box-shadow: 0 8px 18px rgba(var(--ink-rgb), 0.06);
  transition:
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.projects__arrow svg {
  width: 1.05rem;
  height: 1.05rem;
}

.projects__arrow:hover {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  transform: translateY(-2px);
}

html[dir="ltr"] .projects__arrow svg {
  transform: scaleX(-1);
}

.projects__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.projects__gallery {
  width: 100%;
  overflow: hidden;
  padding-block: 0.35rem 1.05rem;
  background: transparent;
}

.projects__marquee {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  will-change: transform;
  transition: transform 0.7s var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  .projects__marquee {
    transition: none;
  }
}

.project-card-home {
  position: relative;
  flex: 0 0 min(21.5rem, 78vw);
  aspect-ratio: 4 / 5.05;
  overflow: hidden;
  border-radius: 2.1rem;
  background: #d8d3c8;
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  box-shadow: 0 14px 28px rgba(var(--ink-rgb), 0.08);
}

.project-card-home__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project-card-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out);
}

.project-card-home[data-chip="lands"] .project-card-home__media img {
  object-position: center 62%;
}

.project-card-home:hover .project-card-home__media img,
.project-card-home:focus-within .project-card-home__media img {
  transform: scale(1.06);
}

.project-card-home__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 48%,
    rgba(10, 16, 12, 0.55) 100%
  );
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.project-card-home:hover .project-card-home__media::after,
.project-card-home:focus-within .project-card-home__media::after {
  opacity: 0;
}

.project-card-home__panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 2.1rem 1.7rem 5rem;
  border-radius: inherit;
  overflow: hidden;
  background: rgba(var(--brand-green-rgb), 0.62);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.project-card-home:hover .project-card-home__panel,
.project-card-home:focus-within .project-card-home__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-card-home__panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
}

.project-card-home__panel p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.project-card-home__panel a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.project-card-home__panel a:hover {
  color: #e0c08a;
}

.project-card-home__caption {
  position: absolute;
  z-index: 4;
  inset-inline-start: 1.25rem;
  bottom: 1.4rem;
  margin: 0;
  max-width: calc(100% - 5.5rem);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  transition: opacity 0.3s var(--ease-out);
}

.project-card-home:hover .project-card-home__caption,
.project-card-home:focus-within .project-card-home__caption {
  opacity: 0;
}

.project-card-home__toggle {
  position: absolute;
  z-index: 6;
  inset-inline-end: 1.1rem;
  bottom: 1.1rem;
  display: grid;
  place-items: center;
  width: 3.05rem;
  height: 3.05rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #141812;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    background 0.3s var(--ease-out);
}

.project-card-home__toggle:hover {
  transform: scale(1.06);
}

.project-card-home:hover .project-card-home__toggle {
  background: #fff;
}

.project-card-home__plus {
  position: relative;
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

.project-card-home__plus::before,
.project-card-home__plus::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  background: #141812;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.project-card-home__plus::before {
  width: 0.95rem;
  height: 2px;
}

.project-card-home__plus::after {
  width: 2px;
  height: 0.95rem;
}

.project-card-home:hover .project-card-home__plus::after,
.project-card-home:focus-within .project-card-home__plus::after {
  transform: translate(-50%, -50%) scaleY(0);
}

@media (max-width: 980px) {
  .projects__inner {
    width: min(100% - 2rem, 78rem);
  }

  .projects__lead {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .projects__marquee {
    gap: 0.9rem;
  }

  .project-card-home {
    flex-basis: min(18.5rem, 82vw);
    border-radius: 1.7rem;
  }
}

/* ——— Impact ——— */

.impact {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(92svh, 46rem);
  overflow: clip;
  background: var(--sand);
  color: var(--ink);
}

.impact__panel {
  position: relative;
  min-height: 100%;
}

.impact__panel--copy {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 8vw, 6.5rem) clamp(1.75rem, 5vw, 5rem);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(var(--gold-rgb), 0.1), transparent 60%),
    var(--sand);
}

.impact__copy {
  width: min(34rem, 100%);
}

.impact__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.impact__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.impact__meta-line {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
}

.impact__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--forest-deep);
}

.impact__text {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  font-weight: 500;
  line-height: 2;
  color: var(--ink);
}

.impact__more {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest-deep);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.impact__more::after {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease-out);
}

html[dir="ltr"] .impact__more::after {
  order: -1;
}

.impact__more:hover {
  color: var(--gold-deep);
}

.impact__more:hover::after {
  width: 2.25rem;
}

.impact__panel--visual {
  background: var(--forest);
  overflow: hidden;
}

.impact__media {
  position: absolute;
  inset: -4%;
  background-image: url("../assets/images/journey-bg.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  filter: saturate(0.75) brightness(0.72);
  transition: transform 2.4s var(--ease-out);
}

.impact.is-inview .impact__media,
.impact.is-entering .impact__media {
  transform: scale(1.02);
  animation: impact-media-in 1.3s var(--ease-out) both;
}

.impact__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(var(--brand-green-rgb), 0.82) 0%,
      rgba(var(--brand-green-rgb), 0.55) 48%,
      rgba(var(--ink-rgb), 0.45) 100%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(var(--ink-rgb), 0.28) 100%
    );
}

.impact__ornament {
  position: absolute;
  inset-inline-start: 2rem;
  inset-block-end: 2rem;
  width: min(42%, 12rem);
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--gold),
    rgba(var(--gold-rgb), 0.15)
  );
  opacity: 0.85;
}

.impact__ornament::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 1.1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  border-radius: 50%;
}

@keyframes impact-media-in {
  from {
    opacity: 0.55;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

@media (max-width: 960px) {
  .impact {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .impact__panel--visual {
    min-height: min(52vw, 22rem);
    order: -1;
  }

  .impact__panel--copy {
    padding: clamp(3.25rem, 8vw, 4.5rem) 1.35rem;
  }

  .impact__copy {
    width: min(40rem, 100%);
    text-align: center;
    margin-inline: auto;
  }

  .impact__meta {
    justify-content: center;
  }
}

/* ——— Articles ——— */

.articles {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse 55% 45% at 0% 0%, rgba(var(--gold-rgb), 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(var(--brand-green-rgb), 0.08), transparent 50%),
    #f7f5f0;
  color: var(--ink);
}

.articles__inner {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0 clamp(2rem, 3.5vw, 2.75rem);
}

.articles__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.4rem);
}

.articles__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.articles__index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.articles__meta-line {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
}

.articles__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-deep);
}

.articles__subtitle {
  margin: 0 0 0.85rem;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(var(--ink-rgb), 0.72);
}

.articles__all {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(var(--ink-rgb), 0.48);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.articles__all:hover {
  color: var(--gold-deep);
}

.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
}

.article-card {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 0.12s);
}

.articles.is-inview .article-card,
.article-card.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.article-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.article-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #efe7d8;
}

.article-card__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #efe7d8;
  transition: transform 0.9s var(--ease-out);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 0.15rem 0.25rem;
}

.article-card__tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  text-transform: uppercase;
}

.article-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--forest-deep);
  transition: color 0.3s var(--ease-out);
}

.article-card__body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(var(--ink-rgb), 0.7);
}

.article-card__meta {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: rgba(var(--ink-rgb), 0.45);
}

.article-card__link:hover .article-card__media img {
  transform: none;
}

.article-card__link:hover h3 {
  color: var(--gold-deep);
}

.news-article {
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem 4rem;
  background: #f7f4ee;
}

.news-article__inner {
  width: min(46rem, 100%);
  margin-inline: auto;
}

.news-article__body {
  color: rgba(var(--ink-rgb), 0.88);
  font-size: 1.05rem;
  line-height: 2;
}

.news-article__body > *:first-child {
  margin-top: 0;
}

.news-article__body p,
.news-article__body li {
  margin: 0 0 1rem;
}

.news-article__body h2,
.news-article__body h3,
.news-article__body h4 {
  margin: 1.8rem 0 0.7rem;
  color: var(--forest-deep);
  font-family: var(--font-display);
  line-height: 1.35;
}

.news-article__body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.news-article__body h3 { font-size: 1.28rem; }
.news-article__body h4 { font-size: 1.12rem; }

.news-article__body ul,
.news-article__body ol {
  margin: 0 0 1.1rem;
  padding-inline-start: 1.4rem;
}

.news-article__body a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-article__body img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1.4rem 0;
  border-radius: 1rem;
}

.news-article__body figure {
  margin: 1.4rem 0;
}

.news-article__body figcaption {
  margin-top: 0.45rem;
  color: rgba(var(--ink-rgb), 0.55);
  font-size: 0.86rem;
  text-align: center;
}

.news-article__body table {
  width: 100%;
  margin: 1.2rem 0;
  border-collapse: collapse;
}

.news-article__body th,
.news-article__body td {
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  text-align: start;
}

.news-article__body blockquote {
  margin: 1.4rem 0;
  padding: 0.85rem 1.1rem;
  border-inline-start: 3px solid var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
  color: var(--forest-deep);
}

.news-article__excerpt {
  font-size: 1.08rem;
  line-height: 1.95;
  color: rgba(var(--ink-rgb), 0.8);
}

.news-article .articles__subtitle {
  margin-top: 2.4rem;
}

@media (max-width: 960px) {
  .articles__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .articles__inner {
    width: min(100% - 1.5rem, 72rem);
  }
}

/* ——— Footer ——— */

.site-footer {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: clip;
  background: #1d3d28;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__shape {
  position: absolute;
  inset-block: 0;
  left: 0;
  right: auto;
  width: min(48%, 34rem);
  z-index: 0;
  pointer-events: none;
  background-image: url("../assets/images/site-footer-shape-1.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: cover;
  opacity: 0.28;
  mix-blend-mode: screen;
}

html[dir="ltr"] .site-footer__shape {
  left: 0;
  right: auto;
  background-position: left top;
  transform: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(14rem, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 2rem);
  padding: clamp(1.75rem, 3.2vw, 2.35rem) 0 clamp(1.25rem, 2.4vw, 1.75rem);
}

.site-footer__brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.site-footer__about p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.site-footer__col h3 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.28rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
}

.site-footer__col h3::after {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--gold);
}

html[dir="ltr"] .site-footer__col h3::after {
  order: -1;
}

.site-footer__col a,
.site-footer__col span {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}

.site-footer__col a:hover {
  color: var(--gold);
}

.site-footer__col--contact {
  gap: 0.5rem;
  align-items: flex-start;
}

.site-footer__item {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  text-align: start;
  font-size: 0.9rem;
  line-height: 1.55;
  transition: color 0.3s var(--ease-out);
}

.site-footer__item > span:last-child {
  flex: 0 1 auto;
  min-width: 0;
}

.site-footer__item [dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

a.site-footer__item:hover {
  color: var(--gold);
}

.site-footer__icon {
  flex: 0 0 1.15rem;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  color: var(--gold);
}

.site-footer__icon svg {
  width: 100%;
  height: 100%;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.site-footer__bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.site-footer__top {
  position: absolute;
  inset-inline-end: max(1rem, calc((100% - 74rem) / 2));
  inset-block-start: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.3s var(--ease-out),
    background 0.3s var(--ease-out);
}

.site-footer__top svg {
  width: 1.1rem;
  height: 1.1rem;
}

.site-footer__top:hover {
  background: #d4a964;
  transform: translateY(-50%) translateY(-0.15rem);
}

@media (max-width: 1000px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    width: min(100% - 1.5rem, 74rem);
  }

  .site-footer__shape {
    width: 70%;
    opacity: 0.18;
  }

  .site-footer__top {
    inset-inline-end: 0.85rem;
  }
}

/* ——— About page: vision, mission, values, pillars ——— */

.about-vision {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(88svh, 46rem);
  display: flex;
  align-items: center;
  color: #fff;
  background: #16301d;
}

.about-vision__media,
.about-vision__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.about-vision__media {
  z-index: 0;
  background-image: url("../assets/images/aldiwan.png");
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.08);
  filter: saturate(0.92) brightness(0.88);
  transition: transform 2.6s var(--ease-out);
}

.about-vision.is-inview .about-vision__media {
  transform: scale(1.02);
}

.about-vision__veil {
  z-index: 1;
  background:
    linear-gradient(
      to left,
      rgba(14, 32, 20, 0.88) 0%,
      rgba(var(--brand-green-rgb), 0.62) 36%,
      rgba(14, 32, 20, 0.28) 72%,
      rgba(14, 32, 20, 0.18) 100%
    );
}

html[dir="ltr"] .about-vision__veil {
  background:
    linear-gradient(
      to right,
      rgba(14, 32, 20, 0.88) 0%,
      rgba(var(--brand-green-rgb), 0.62) 36%,
      rgba(14, 32, 20, 0.28) 72%,
      rgba(14, 32, 20, 0.18) 100%
    );
}

.about-vision__mark {
  position: absolute;
  z-index: 1;
  inset-inline-start: max(0.5rem, calc((100% - 74rem) / 2));
  bottom: -0.35em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 16vw, 12rem);
  font-weight: 700;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--gold-rgb), 0.18);
  pointer-events: none;
  user-select: none;
}

.about-vision__inner {
  position: relative;
  z-index: 2;
  width: min(42rem, calc(100% - 2.5rem));
  margin-inline-start: max(1.25rem, calc((100% - 74rem) / 2));
  margin-inline-end: auto;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.about-vision__frame {
  position: relative;
  padding: clamp(1.6rem, 3.4vw, 2.4rem) clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(
    165deg,
    rgba(12, 28, 18, 0.38) 0%,
    rgba(12, 28, 18, 0.16) 100%
  );
  border: 1px solid rgba(var(--gold-rgb), 0.28);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.about-vision__frame::before,
.about-vision__frame::after {
  content: "";
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.about-vision__frame::before {
  top: -1px;
  inset-inline-start: -1px;
  border-width: 2px 0 0 2px;
}

.about-vision__frame::after {
  bottom: -1px;
  inset-inline-end: -1px;
  border-width: 0 2px 2px 0;
}

.about-vision__meta,
.about-identity__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.about-vision__meta span:first-child,
.about-identity__meta span:first-child {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.18em;
}

.about-vision__meta-line,
.about-identity__meta-line {
  display: block;
  width: 3.5rem;
  height: 1px;
  background: var(--gold);
}

.about-vision__title {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
}

.about-vision__text {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 400;
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
}

.about-vision__rule {
  display: block;
  width: 5.5rem;
  height: 1px;
  margin-top: 2rem;
  background: linear-gradient(90deg, var(--gold), rgba(var(--gold-rgb), 0.08));
}

html[dir="ltr"] .about-vision__rule {
  background: linear-gradient(90deg, rgba(var(--gold-rgb), 0.08), var(--gold));
}

.about-identity {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(var(--gold-rgb), 0.12), transparent 55%),
    var(--sand);
  color: var(--ink);
}

.about-identity__inner,
.about-values__inner,
.about-pillars__inner {
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(3.75rem, 8vw, 6.25rem) 0;
}

.about-identity__grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: end;
}

.about-identity__quote {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.7;
  color: var(--gold);
}

.about-identity__title,
.about-values__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest-deep);
}

.about-identity__lead {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.1rem) 0;
  border-block: 1px solid rgba(var(--gold-rgb), 0.38);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 500;
  line-height: 2.05;
  color: var(--ink);
}

.about-values {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(var(--gold-rgb), 0.12), transparent 50%),
    linear-gradient(180deg, #1a3a24 0%, #13291b 100%);
  color: #fff;
}

.about-values__intro {
  margin-bottom: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
}

.about-values__title {
  color: #fff;
}

.about-values .about-identity__meta span:first-child,
.about-values .about-identity__meta-line {
  color: var(--gold);
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.about-values__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.45rem 1.2rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    background 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
  transition-delay: calc(0.08s * var(--i, 0));
}

.about-values__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--gold-rgb), 0.42);
  transform: translateY(-4px);
}

.about-values__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.about-values__icon {
  display: grid;
  place-items: center;
  width: 4.85rem;
  height: 4.85rem;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  background:
    radial-gradient(circle at 32% 28%, rgba(var(--gold-rgb), 0.28), rgba(var(--gold-rgb), 0.05) 68%);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.about-values__icon svg {
  width: 2.35rem;
  height: 2.35rem;
}

.about-values__label {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.about-pillars {
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(var(--brand-green-rgb), 0.08), transparent 55%),
    var(--sand);
  color: var(--ink);
}

.about-pillars__intro {
  margin-bottom: clamp(2rem, 4.5vw, 3rem);
  text-align: center;
}

.about-pillars__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest-deep);
}

.about-pillars__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-pillars__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  min-height: 16.5rem;
  padding: 1.85rem 1.25rem 1.7rem;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 16px 36px rgba(var(--ink-rgb), 0.05);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition:
    transform 0.4s var(--ease-out),
    background 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
  transition-delay: calc(0.08s * var(--i, 0));
}

.about-pillars__item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 44px rgba(var(--ink-rgb), 0.08);
}

.about-pillars__icon {
  display: grid;
  place-items: center;
  width: 4.65rem;
  height: 4.65rem;
  border-radius: 50%;
  color: var(--gold);
  background:
    radial-gradient(circle at 32% 28%, rgba(var(--gold-rgb), 0.28), rgba(var(--gold-rgb), 0.06) 68%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.about-pillars__icon svg {
  width: 2.15rem;
  height: 2.15rem;
}

.about-pillars__item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--forest-deep);
}

.about-pillars__item p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.85;
  color: rgba(var(--ink-rgb), 0.7);
}

.page-about .about,
.page-about .about-story,
.page-about .about-credo,
.about-vision,
.about-identity,
.about-values,
.about-pillars,
.about-close,
.why-intro,
.page-about .impact {
  scroll-margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .about-vision__inner {
    margin-inline: auto;
    width: min(100% - 2rem, 46rem);
  }

  .about-identity__grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

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

  .about-pillars__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-values__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-pillars__list {
    grid-template-columns: 1fr;
  }

  .about-identity__inner,
  .about-values__inner,
  .about-pillars__inner {
    width: min(100% - 1.5rem, 74rem);
  }
}

/* ——— Projects page / explorer ——— */

.page-about .projects-hero__veil {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.56) 0%,
      rgba(0, 0, 0, 0.42) 36%,
      rgba(0, 0, 0, 0.58) 100%
    );
}

.page-about .projects-hero__content h1 {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}

.page-about .projects-hero__content h1.projects-hero__brand {
  font-size: clamp(2.55rem, 5.8vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.page-about .projects-hero__text {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.about-hero__mark {
  position: absolute;
  z-index: 2;
  inset-inline-start: 50%;
  bottom: -0.18em;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 16vw, 13rem);
  font-weight: 700;
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--gold-rgb), 0.2);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.about-story {
  background: var(--sand);
  color: var(--ink);
}

.about-story__inner,
.about-credo__inner,
.about-close__inner {
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.about-story__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.75rem, 4.5vw, 4rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) 0 0;
}

.about-story__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 26rem;
  background: #1a2a1d;
}

.about-story__frame::before,
.about-story__frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 1.4rem;
  height: 1.4rem;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.about-story__frame::before {
  top: 12px;
  inset-inline-start: 12px;
  border-width: 2px 0 0 2px;
}

.about-story__frame::after {
  bottom: 12px;
  inset-inline-end: 12px;
  border-width: 0 2px 2px 0;
}

.about-story__frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 26rem;
  object-fit: cover;
}

.about-story__copy h2 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  font-weight: 700;
  color: var(--forest-deep);
}

.about-story__copy .about__meta {
  justify-content: flex-start;
}

.about-story__copy .about__title {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
}

.about-story__copy p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 2;
  color: rgba(var(--ink-rgb), 0.74);
}

.about-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.6rem;
}

.about-story__actions a {
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.about-story__actions a:hover {
  color: var(--forest-deep);
}

.about-story__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(74rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 0.5rem 0 clamp(3.25rem, 7vw, 5rem);
  list-style: none;
}

.about-story__facts li {
  padding: 1.25rem 1.15rem 1.15rem;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(var(--ink-rgb), 0.04);
}

.about-story__facts small {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.about-story__facts strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--forest-deep);
}

.about-credo {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(232, 208, 162, 0.95) 0%, transparent 58%),
    linear-gradient(
      180deg,
      #e8d0a2 0%,
      #ead9b4 22%,
      #efe3c8 48%,
      #f3ead8 72%,
      rgba(239, 231, 216, 0.72) 100%
    );
}

.about-credo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.25rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}

.about-credo__card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.7rem, 3.4vw, 2.4rem);
  background: rgba(255, 255, 255, 0.38);
  border: 0;
  box-shadow: 0 18px 40px rgba(var(--ink-rgb), 0.06);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.about-credo__card h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--forest-deep);
}

.about-credo__card p {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 500;
  line-height: 2;
  color: rgba(var(--ink-rgb), 0.74);
}

.page-about .about-values__item {
  gap: 0.95rem;
}

.page-about .about-values__item p {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.about-close {
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(var(--gold-rgb), 0.14), transparent 52%),
    linear-gradient(180deg, #1a3a24 0%, #102016 100%);
  color: #fff;
}

.about-close__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
}

.about-close h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: #fff;
}

.about-close p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.78);
}

.about-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-close__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.92rem 1.4rem;
  background: linear-gradient(135deg, #d4a964 0%, var(--gold) 55%, #a67b3d 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.about-close__btn--ghost {
  background: transparent;
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  color: var(--gold);
}

@media (max-width: 980px) {
  .about-story__inner,
  .about-credo__inner,
  .about-close__inner {
    grid-template-columns: 1fr;
  }

  .about-story__facts {
    grid-template-columns: 1fr;
  }

  .about-hero__mark {
    font-size: clamp(4rem, 20vw, 8rem);
  }
}

.page-why .impact__media {
  background-image: url("../assets/images/hero-slide-b.jpg");
  filter: saturate(0.9) brightness(0.78);
}

.page-why .projects-hero__media img {
  object-position: center 38%;
  transform: scale(1);
  animation-name: why-hero-ken;
}

@keyframes why-hero-ken {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.045) translate3d(-0.7%, 0.5%, 0);
  }
}

.why-intro {
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: var(--ink);
  background: var(--sand);
  margin-bottom: -2px;
  min-height: min(92svh, 56rem);
}

.why-intro__inner {
  position: relative;
  z-index: 2;
  width: min(52rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding:
    clamp(5.75rem, 12vw, 8.75rem)
    0
    clamp(10rem, 22vw, 15rem);
}

.why-intro__media img {
  object-position: center 45%;
}

.page-why .why-intro .about__copy {
  max-width: 48rem;
}

.page-why .why-intro .about__copy p {
  font-size: clamp(1.12rem, 1.55vw, 1.28rem);
  line-height: 1.85;
}

@media (max-width: 640px) {
  .why-intro {
    min-height: 0;
  }

  .why-intro__inner {
    padding-top: 4rem;
    padding-bottom: 10.5rem;
  }
}

.why-stats {
  position: relative;
  isolation: isolate;
  overflow: clip;
  color: #fff;
  background: #13291b;
}

.why-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/images/07.png");
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.06);
  filter: saturate(0.9) brightness(0.52);
}

.why-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(14, 32, 20, 0.78) 0%,
      rgba(14, 32, 20, 0.58) 48%,
      rgba(14, 32, 20, 0.8) 100%
    );
}

.why-stats.is-inview::before {
  transform: scale(1.02);
  transition: transform 2.6s var(--ease-out);
}

.why-stats__inner {
  position: relative;
  z-index: 1;
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
}

.why-stats__intro {
  margin-bottom: clamp(1.6rem, 3.5vw, 2.25rem);
  text-align: center;
}

.why-stats__intro--second {
  margin-top: clamp(2.75rem, 6vw, 4rem);
}

.why-stats__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

.why-stats__lands {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.why-stats__metric {
  position: relative;
  padding: 0.35rem 1.15rem 0.5rem;
  text-align: center;
}

.why-stats__metric:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block: 12%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(var(--gold-rgb), 0.55),
    transparent
  );
}

.why-stats__value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.12em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.why-stats__value [data-count] {
  display: inline-block;
  min-width: 1.4ch;
  transform: translateY(0.45rem) scale(0.86);
  filter: blur(8px);
  opacity: 0.25;
  transition:
    transform 0.7s var(--ease-out),
    filter 0.7s var(--ease-out),
    opacity 0.7s var(--ease-out);
}

.why-stats__metric.is-counting .why-stats__value [data-count],
.why-stats__card.is-counting .why-stats__value [data-count],
.why-stats__metric.is-counted .why-stats__value [data-count],
.why-stats__card.is-counted .why-stats__value [data-count] {
  transform: translateY(0) scale(1);
  filter: blur(0);
  opacity: 1;
}

.why-stats__plus {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: translateY(0.35rem) scale(0.6);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.why-stats__metric.is-counted .why-stats__plus,
.why-stats__card.is-counted .why-stats__plus {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.why-stats__unit {
  margin: 0.45rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold);
}

.why-stats__label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

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

.why-stats__card {
  position: relative;
  padding: 1.65rem 1.2rem 1.5rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  text-align: center;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.why-stats__card::before {
  content: "";
  position: absolute;
  inset-inline: 18%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s var(--ease-out);
}

.why-stats__card.is-counted::before {
  transform: scaleX(1);
}

.why-stats__icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin: 0 auto 0.95rem;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(189, 146, 83, 0.14);
  border: 1px solid rgba(239, 216, 166, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.why-stats__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.why-stats__card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--gold-rgb), 0.5);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.why-stats__card .why-stats__value {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.why-stats__card .why-stats__label {
  min-height: 4.4em;
}

@media (max-width: 1100px) {
  .why-stats__lands,
  .why-stats__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .why-stats__metric {
    padding: 1rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
  }

  .why-stats__metric:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .why-stats__inner {
    width: min(100% - 1.5rem, 74rem);
  }

  .why-stats__lands,
  .why-stats__cards {
    grid-template-columns: 1fr;
  }
}

html:has(.page-projects),
html:has(.page-about),
html:has(.page-project) {
  background: #1d3d28;
}

.page-projects,
.page-about {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(189, 146, 83, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(38, 82, 48, 0.06), transparent 50%),
    #f3f0ea;
  color: var(--ink);
  min-height: 100svh;
  overflow-x: clip;
}

.projects-hero {
  position: relative;
  z-index: 2;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.projects-hero__media,
.projects-hero__veil {
  position: absolute;
  inset: 0;
}

.projects-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  animation: projects-hero-ken 18s ease-in-out infinite alternate;
}

.pd-hero--lands .projects-hero__media img {
  object-position: center 52%;
}

@keyframes projects-hero-ken {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, 1%, 0);
  }
}

.projects-hero__veil {
  background:
    linear-gradient(
      180deg,
      rgba(10, 16, 12, 0.38) 0%,
      rgba(10, 16, 12, 0.26) 38%,
      rgba(10, 16, 12, 0.6) 100%
    ),
    linear-gradient(
      115deg,
      rgba(38, 82, 48, 0.34) 0%,
      transparent 48%,
      rgba(189, 146, 83, 0.14) 100%
    );
}

.projects-hero__veil::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7rem;
  background: linear-gradient(180deg, transparent, rgba(243, 240, 234, 0.35));
  pointer-events: none;
}

.projects-hero__content {
  position: relative;
  z-index: 1;
  width: min(44rem, calc(100% - 2.5rem));
  padding-block: calc(var(--header-h, 5.5rem) + 1.5rem) 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.projects-hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 5.8vw, 4.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
  letter-spacing: -0.02em;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  animation: rise 0.95s 0.1s var(--ease-out) both;
}

.projects-hero__rule {
  position: relative;
  width: 3.25rem;
  height: 1px;
  margin: 1.35rem 0 1.2rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.85),
    transparent
  );
  animation: rise 0.95s 0.22s var(--ease-out) both;
}

.projects-hero__rule::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(189, 146, 83, 0.7);
  transform: translate(-50%, -50%);
}

.projects-hero__content h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
  animation: rise 0.95s 0.32s var(--ease-out) both;
}

.projects-hero__text {
  margin: 1.05rem 0 0;
  max-width: 34rem;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
  animation: rise 0.95s 0.42s var(--ease-out) both;
}

.projects-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.9rem;
  padding: 0.92rem 1.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #d4a964 0%, var(--gold) 55%, #a67b3d 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 14px 34px rgba(189, 146, 83, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: rise 0.95s 0.52s var(--ease-out) both;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    filter 0.3s var(--ease-out);
}

.projects-hero__cta svg {
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.3s var(--ease-out);
}

.projects-hero__cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 40px rgba(189, 146, 83, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.projects-hero__cta:hover svg {
  transform: translateY(2px);
}

.projects-explorer {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h, 5.5rem));
  overflow: visible;
  scroll-margin-top: var(--header-h, 5.5rem);
  background: #f3f0ea;
  box-shadow: 0 -24px 48px rgba(var(--ink-rgb), 0.06);
}

.projects-explorer[data-view="map"] {
  z-index: 0;
  height: calc(100svh - var(--header-h, 5.5rem));
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 1.15rem 1.25rem 1.85rem;
  background: #f3f0ea;
  box-shadow: none;
}

.projects-explorer[data-view="map"] .projects-explorer__toolbar {
  position: absolute;
  z-index: 7;
  inset-inline-start: 2.4rem;
  top: 2.3rem;
  bottom: auto;
  width: min(19.5rem, calc(100% - 4.8rem));
  height: auto;
  max-height: none;
  margin: 0;
  padding: 1.05rem 1rem 1.1rem;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.55rem;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(var(--brand-green-rgb), 0.52);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.projects-explorer[data-view="map"] .projects-explorer__filters,
.projects-explorer[data-view="map"] .projects-explorer__filters-row,
.projects-explorer[data-view="map"] .projects-explorer__modes {
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  backdrop-filter: none;
}

.projects-explorer[data-view="map"] .projects-explorer__filters,
.projects-explorer[data-view="map"] .projects-explorer__filters-row {
  gap: 0.28rem;
  flex: 0 0 auto;
}

.projects-explorer[data-view="map"] .projects-explorer__modes {
  margin-top: 0.15rem;
  align-self: stretch;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 0.28rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.projects-explorer[data-view="map"] .projects-explorer__filter,
.projects-explorer[data-view="map"] .projects-explorer__mode {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
  border-radius: 0.7rem;
  padding: 0.48rem 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(0, 0, 0, 0.22);
}

.projects-explorer[data-view="map"] .projects-explorer__filter:hover,
.projects-explorer[data-view="map"] .projects-explorer__mode:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.projects-explorer[data-view="map"] .projects-explorer__filter.is-active {
  background: linear-gradient(145deg, #2f6540, var(--forest-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.projects-explorer[data-view="map"] .projects-explorer__mode.is-active {
  background: linear-gradient(145deg, #d4a964, var(--gold));
  color: #fff;
}

.projects-explorer[data-view="map"] .projects-explorer__city-select {
  width: 100%;
  min-width: 0;
  padding: 0.12rem 0.2rem;
  border-radius: 0.7rem;
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.projects-explorer[data-view="map"] .projects-explorer__city-select select {
  color: #fff;
  padding-block: 0.42rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='rgba(255,255,255,0.85)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.projects-explorer[data-view="map"] .projects-explorer__city-select select option {
  color: #1a241c;
}

.projects-explorer[data-view="map"] .projects-explorer__modes {
  margin-top: 0.15rem;
  align-self: stretch;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 0.28rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.projects-explorer[data-view="map"] .projects-explorer__mode {
  width: auto;
  flex: 1 1 0;
  justify-content: center;
  padding: 0.48rem 0.7rem;
  border-radius: 0.7rem;
}

.projects-explorer[data-view="map"] .projects-explorer__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1.5rem;
  border: 0;
  box-shadow:
    0 2px 4px rgba(20, 24, 18, 0.08),
    0 10px 22px rgba(20, 24, 18, 0.1),
    0 28px 52px rgba(20, 24, 18, 0.16),
    0 48px 80px rgba(38, 82, 48, 0.12);
}

.projects-explorer__toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: min(82rem, calc(100% - 2.5rem));
  margin: 1.1rem auto 0.85rem;
  padding: 0;
}

.projects-explorer__filters-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
  min-width: 0;
}

.projects-explorer__search input {
  min-width: 12rem;
  height: 2.45rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(38, 82, 48, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--text-on-light);
  font-family: inherit;
}

.projects-explorer__count {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.projects-explorer__body {
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  width: min(82rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 0 0 2rem;
}

.projects-explorer[data-view="map"] .projects-explorer__body {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1.5rem;
  border: 0;
  box-shadow:
    0 2px 4px rgba(20, 24, 18, 0.08),
    0 10px 22px rgba(20, 24, 18, 0.1),
    0 28px 52px rgba(20, 24, 18, 0.16),
    0 48px 80px rgba(38, 82, 48, 0.12);
}

.projects-explorer[data-view="list"] .projects-explorer__map {
  display: none !important;
  height: 0;
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.map-detail[hidden] {
  display: none !important;
}

.projects-explorer[data-view="map"] .projects-explorer__list-pane {
  display: none;
}

.projects-explorer__list-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: transparent;
  border: 0;
  overflow: visible;
  border-radius: 1.25rem;
}

.projects-explorer__list-pane::before {
  display: none;
}

.projects-explorer__filters {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 10px 28px rgba(var(--ink-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.projects-explorer__filters::-webkit-scrollbar {
  display: none;
}

.projects-explorer__city-select {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 8.25rem;
  padding: 0.28rem 0.35rem 0.28rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(189, 146, 83, 0.28);
  box-shadow:
    0 10px 28px rgba(var(--ink-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.projects-explorer__city-select select {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%239a7340' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat left 0.75rem center / 0.7rem;
  padding: 0.52rem 0.85rem 0.52rem 1.55rem;
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
}

html[dir="ltr"] .projects-explorer__city-select select {
  background-position: right 0.75rem center;
  padding: 0.52rem 1.55rem 0.52rem 0.85rem;
}

.projects-explorer__city-select select option {
  color: #1a241c;
}

.projects-explorer__filter {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(var(--ink-rgb), 0.62);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 0.52rem 1.05rem;
  cursor: pointer;
  transition:
    background 0.28s var(--ease-out),
    color 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out),
    transform 0.28s var(--ease-out);
}

.projects-explorer__filter:hover {
  color: var(--forest-deep);
  background: rgba(var(--brand-green-rgb), 0.08);
}

.projects-explorer__filter.is-active {
  background: linear-gradient(145deg, #2f6540, var(--forest-deep));
  color: #fff;
  box-shadow:
    0 10px 22px rgba(var(--brand-green-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.projects-explorer__modes {
  display: inline-flex;
  align-items: center;
  align-self: center;
  flex: 0 0 auto;
  gap: 0.28rem;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 10px 28px rgba(var(--ink-rgb), 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.projects-explorer__mode {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(var(--ink-rgb), 0.62);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.52rem 1.05rem;
  cursor: pointer;
  transition:
    background 0.28s var(--ease-out),
    color 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out);
}

.projects-explorer__mode:hover {
  color: var(--forest-deep);
  background: rgba(var(--brand-green-rgb), 0.08);
}

.projects-explorer__mode.is-active {
  background: linear-gradient(145deg, #d4a964, var(--gold));
  color: #fff;
  box-shadow:
    0 10px 22px rgba(var(--gold-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.projects-explorer__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
  padding: 0.15rem 0 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-content: start;
}

.explorer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #fff;
  cursor: pointer;
  isolation: isolate;
  border: 1px solid rgba(38, 82, 48, 0.08);
  box-shadow:
    0 12px 28px rgba(20, 24, 18, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  animation: explorer-card-in 0.7s var(--ease-out) both;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}

.explorer-card[hidden] {
  display: none !important;
}

.explorer-card:nth-child(1) { animation-delay: 0.04s; }
.explorer-card:nth-child(2) { animation-delay: 0.1s; }
.explorer-card:nth-child(3) { animation-delay: 0.16s; }
.explorer-card:nth-child(4) { animation-delay: 0.22s; }
.explorer-card:nth-child(5) { animation-delay: 0.28s; }
.explorer-card:nth-child(6) { animation-delay: 0.34s; }
.explorer-card:nth-child(7) { animation-delay: 0.4s; }

@keyframes explorer-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.explorer-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 58%, #f4f1ea 0%, #ddd8ce 72%);
}

.explorer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.85s var(--ease-out);
}

.explorer-card[data-chip="lands"] .explorer-card__media img {
  object-position: center 58%;
}

.explorer-card__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 58%,
    rgba(18, 24, 16, 0.18) 100%
  );
  pointer-events: none;
}

.explorer-card__badge {
  position: absolute;
  top: 0.8rem;
  inset-inline-start: 0.8rem;
  z-index: 3;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.32rem 0.78rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.explorer-card__status {
  position: absolute;
  top: 0.8rem;
  inset-inline-end: 0.8rem;
  z-index: 3;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-green);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
}

.explorer-card__status--unavailable {
  color: #7a3b3b;
}

.explorer-card__body {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  width: 100%;
  padding: 1.05rem 1rem 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(var(--brand-green-rgb), 0.52);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #fff;
}

.explorer-card__body::before {
  display: none;
}

.explorer-card__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.38rem;
  min-width: 0;
  flex: 1 1 auto;
}

.explorer-card__body h2 {
  position: relative;
  margin: 0;
  padding-inline-start: 0.72rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.explorer-card__body h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.18em;
  bottom: 0.12em;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, #d4a964, var(--gold));
  box-shadow: 0 0 10px rgba(189, 146, 83, 0.45);
}

.explorer-card__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin: 0;
  padding: 0.22rem 0.62rem 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.2;
}

.explorer-card__loc svg {
  width: 0.78rem;
  height: 0.78rem;
  flex-shrink: 0;
  color: var(--gold);
}

.explorer-card__link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding-block: 0.22rem;
  padding-inline-start: 0.72rem;
  padding-inline-end: 0.26rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.explorer-card__link svg {
  width: 1.85rem;
  height: 1.85rem;
  padding: 0.38rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #d4a964, var(--gold));
  color: #fff;
  box-shadow: 0 6px 14px rgba(189, 146, 83, 0.28);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

html[dir="ltr"] .explorer-card__link svg {
  transform: scaleX(-1);
}

.explorer-card:hover,
.explorer-card.is-active {
  transform: translateY(-6px);
  border-color: rgba(189, 146, 83, 0.45);
  box-shadow:
    0 22px 40px rgba(20, 24, 18, 0.12),
    0 0 0 1px rgba(189, 146, 83, 0.22);
}

.explorer-card:hover .explorer-card__body,
.explorer-card.is-active .explorer-card__body {
  background: rgba(var(--brand-green-rgb), 0.62);
}

.explorer-card:hover .explorer-card__media img,
.explorer-card.is-active .explorer-card__media img {
  transform: scale(1.06);
}

.explorer-card:hover .explorer-card__link,
.explorer-card.is-active .explorer-card__link {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(189, 146, 83, 0.55);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.explorer-card:hover .explorer-card__link svg,
.explorer-card.is-active .explorer-card__link svg {
  background: linear-gradient(145deg, #e0b56e, var(--gold));
  transform: translateX(-3px);
}

html[dir="ltr"] .explorer-card:hover .explorer-card__link svg,
html[dir="ltr"] .explorer-card.is-active .explorer-card__link svg {
  transform: scaleX(-1) translateX(-3px);
}

.explorer-card.is-active {
  outline: 1.5px solid rgba(189, 146, 83, 0.85);
  outline-offset: 2px;
}

.projects-explorer__empty {
  grid-column: 1 / -1;
  margin: 2rem 0.5rem;
  text-align: center;
  color: rgba(var(--ink-rgb), 0.55);
  font-size: 0.95rem;
}

.projects-explorer__empty[hidden] {
  display: none !important;
}

.projects-explorer__map {
  position: relative;
  display: none;
  min-height: 28rem;
  height: 100%;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(38, 82, 48, 0.1);
  background: #eef1ef;
  box-shadow:
    0 16px 36px rgba(20, 24, 18, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.projects-explorer[data-view="map"] .projects-explorer__map {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 1.5rem;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  clip-path: inset(0 round 1.5rem);
}

.projects-explorer__map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -32px 42px rgba(20, 24, 18, 0.08);
}

#projects-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #e8eaed;
  border-radius: inherit;
  overflow: hidden;
}

#projects-map.projects-map--missing {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  color: rgba(var(--ink-rgb), 0.62);
  text-align: center;
  background: #f3f0ea;
}

#projects-map.projects-map--missing p {
  margin: 0;
  max-width: 22rem;
  line-height: 1.7;
}

#projects-map.projects-map--missing code {
  font-size: 0.85em;
  color: var(--forest-deep);
}

#projects-map.leaflet-container {
  border-radius: inherit;
}

#projects-map .leaflet-tile-pane {
  filter: sepia(0.28) hue-rotate(62deg) saturate(0.78) brightness(1.04) contrast(0.97);
}

#projects-map.projects-map--light .leaflet-control-zoom {
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  border-radius: 0.85rem;
  margin: 1rem !important;
  background: rgba(var(--brand-green-rgb), 0.52);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

#projects-map.projects-map--light .leaflet-control-zoom a {
  background: transparent;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  width: 2.15rem;
  height: 2.15rem;
  line-height: 2.15rem;
}

#projects-map.projects-map--light .leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

#projects-map.projects-map--light .leaflet-control-attribution {
  background: rgba(var(--brand-green-rgb), 0.45);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0.45rem 0 0 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#projects-map.projects-map--light .leaflet-control-attribution a {
  color: var(--gold);
}

.project-marker {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 2.75rem;
  height: 3.4rem;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  cursor: pointer;
}

.project-marker.is-active {
  z-index: 3;
}

.project-marker__pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 16px rgba(20, 24, 18, 0.32));
  transition: transform 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.project-marker__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.12rem;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--brand-green);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0.12rem;
  z-index: 0;
}

.project-marker__disc {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--brand-green);
  border: 2.5px solid #fff;
  box-shadow:
    0 0 0 2px rgba(var(--brand-green-rgb), 0.28),
    0 10px 18px rgba(20, 24, 18, 0.28);
  overflow: hidden;
}

.project-marker__disc img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
  display: block;
  pointer-events: none;
  mix-blend-mode: screen;
}

.project-marker.is-active .project-marker__pin {
  transform: translateY(-6px) scale(1.08);
  filter: drop-shadow(0 16px 22px rgba(189, 146, 83, 0.38));
}

.project-marker.is-active .project-marker__pin::after {
  background: var(--gold);
}

.project-marker.is-active .project-marker__disc {
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(189, 146, 83, 0.28),
    0 12px 22px rgba(189, 146, 83, 0.32);
}

.map-detail {
  position: absolute;
  top: 5.75rem;
  bottom: 1.15rem;
  inset-inline-start: 1.15rem;
  z-index: 8;
  width: min(22.5rem, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: translateX(1.25rem);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.4s var(--ease-out);
}

html[dir="rtl"] .map-detail {
  transform: translateX(-1.25rem);
}

.map-detail.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.projects-explorer[data-view="map"] .map-detail {
  position: absolute;
  top: 2.3rem;
  bottom: 2.5rem;
  inset-inline-start: calc(2.4rem + min(19.5rem, calc(100% - 4.8rem)) + 0.85rem);
}

.projects-explorer[data-view="list"] .map-detail {
  position: fixed;
  top: calc(var(--header-h, 5.5rem) + 0.85rem);
  bottom: 1rem;
}

.map-detail__close {
  position: absolute;
  top: 0.8rem;
  inset-inline-start: 0.8rem;
  z-index: 2;
  width: 2.05rem;
  height: 2.05rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(20, 24, 18, 0.55);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.map-detail__close:hover {
  background: rgba(20, 24, 18, 0.75);
  transform: scale(1.05);
}

.map-detail__media {
  position: relative;
  flex: 0 0 11.75rem;
  overflow: hidden;
  background: #d9d5cc;
}

.map-detail__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3.5rem;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.85));
  pointer-events: none;
}

.map-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-detail__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0.85rem 1.2rem 1.3rem;
  scrollbar-width: thin;
}

.map-detail__badge {
  display: inline-flex;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4a964, var(--gold));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.78rem;
  box-shadow: 0 8px 18px rgba(189, 146, 83, 0.28);
}

.map-detail__title {
  margin: 0.7rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--forest-deep);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.map-detail__city {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
  font-size: 0.88rem;
  color: rgba(var(--ink-rgb), 0.58);
}

.map-detail__city svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}

.map-detail__desc {
  margin: 0 0 1.05rem;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(var(--ink-rgb), 0.68);
}

.map-detail__specs {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  border-radius: 0.95rem;
  background: rgba(var(--brand-green-rgb), 0.045);
  border: 1px solid rgba(var(--brand-green-rgb), 0.08);
}

.map-detail__specs li {
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.map-detail__spec-icon {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: #fff;
  color: var(--forest);
  box-shadow: 0 6px 14px rgba(var(--ink-rgb), 0.06);
}

.map-detail__spec-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.map-detail__specs small {
  display: block;
  font-size: 0.7rem;
  color: rgba(var(--ink-rgb), 0.48);
  margin-bottom: 0.1rem;
}

.map-detail__specs strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest-deep);
}

.map-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.map-detail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0.8rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.88rem 1rem;
  text-decoration: none;
  transition:
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.map-detail__cta svg {
  width: 1rem;
  height: 1rem;
}

html[dir="ltr"] .map-detail__cta svg {
  transform: scaleX(-1);
}

.map-detail__cta--primary {
  background: linear-gradient(145deg, #2f6540, var(--forest-deep));
  color: #fff;
  box-shadow: 0 12px 26px rgba(var(--brand-green-rgb), 0.28);
}

.map-detail__cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(var(--brand-green-rgb), 0.34);
}

.map-detail__cta--ghost {
  border: 1.5px solid rgba(189, 146, 83, 0.7);
  color: var(--gold-deep);
  background: rgba(189, 146, 83, 0.05);
}

.map-detail__cta--ghost:hover {
  background: rgba(189, 146, 83, 0.12);
  transform: translateY(-1px);
}

.leaflet-container {
  font-family: var(--font-body);
  background: #eef1ef;
}

@media (max-width: 1400px) {
  .projects-explorer__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .projects-explorer__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1401px) {
  .projects-explorer__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .projects-hero {
    min-height: min(88svh, 42rem);
  }

  .projects-explorer {
    height: auto;
    overflow: visible;
  }

  .projects-explorer[data-view="map"] {
    height: calc(100svh - var(--header-h, 5.5rem));
    overflow: clip;
    padding: 0.9rem;
  }

  .projects-explorer__toolbar {
    width: min(100% - 1.5rem, 82rem);
    margin-top: 0.85rem;
  }

  .projects-explorer__filters-row {
    flex-wrap: nowrap;
  }

  .projects-explorer[data-view="map"] .projects-explorer__toolbar {
    inset-inline-start: 1.6rem;
    top: 1.6rem;
    bottom: auto;
    width: calc(100% - 3.2rem);
    max-height: none;
    flex-direction: column;
  }

  .projects-explorer[data-view="map"] .projects-explorer__filters-row,
  .projects-explorer[data-view="map"] .projects-explorer__filters {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .projects-explorer[data-view="map"] .projects-explorer__filter {
    width: auto;
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.55rem 0.7rem;
  }

  .projects-explorer[data-view="map"] .projects-explorer__modes {
    margin-top: 0;
  }

  .projects-explorer__body {
    width: min(100% - 1.5rem, 82rem);
    height: auto;
    padding: 0 0 1.5rem;
  }

  .projects-explorer[data-view="map"] .projects-explorer__body {
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 1.25rem;
  }

  .projects-explorer[data-view="map"] .projects-explorer__map {
    height: 100%;
    min-height: 0;
    flex: 1 1 auto;
    border-radius: 1.25rem;
    clip-path: inset(0 round 1.25rem);
  }

  .projects-explorer[data-view="map"] .map-detail {
    inset-inline: 0.75rem;
    width: auto;
    top: auto;
    bottom: 0.75rem;
    max-height: min(58%, 28rem);
  }

  .projects-explorer__list {
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    padding: 0.15rem 0 1.75rem;
  }

  .map-detail {
    inset-inline: 0.75rem;
    width: auto;
    top: auto;
    bottom: 0.75rem;
    max-height: min(72%, 34rem);
  }
}

@media (max-width: 640px) {
  .projects-hero__content {
    width: calc(100% - 2rem);
  }

  .projects-hero__text {
    display: none;
  }

  .projects-explorer__toolbar {
    padding: 0;
  }

  .projects-explorer__body {
    padding: 0 0 1.25rem;
  }

  .projects-explorer[data-view="map"] .projects-explorer__body {
    padding: 0;
    border-radius: 1.1rem;
  }

  .projects-explorer__list {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 0.1rem 0.35rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-hero__media img,
  .projects-hero__brand,
  .projects-hero__rule,
  .projects-hero__content h1,
  .projects-hero__text,
  .projects-hero__cta,
  .explorer-card,
  .projects__meta-line {
    animation: none !important;
  }

  .projects__meta-line {
    transform: none !important;
  }
  }
}

/* ——— Section enter motion ——— */

.hero__content,
.about__content,
.journey__inner,
.projects__inner,
.projects__gallery,
.impact__copy,
.articles__inner,
.about-vision__inner,
.about-identity__inner,
.about-values__inner,
.about-pillars__inner,
.about-story__inner,
.about-credo__inner,
.about-close__inner,
.why-intro__inner,
.why-stats__inner {
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.about.is-entering .about__content,
.journey.is-entering .journey__inner,
.impact.is-entering .impact__copy,
.articles.is-entering .articles__inner,
.about-vision.is-entering .about-vision__inner,
.about-identity.is-entering .about-identity__inner,
.about-values.is-entering .about-values__inner,
.about-pillars.is-entering .about-pillars__inner,
.about-story.is-entering .about-story__inner,
.about-credo.is-entering .about-credo__inner,
.about-close.is-entering .about-close__inner,
.why-intro.is-entering .why-intro__inner,
.why-stats.is-entering .why-stats__inner {
  animation: section-enter 0.85s var(--ease-out) both;
}

.hero.is-entering .hero__content {
  animation: section-enter-hero 0.85s var(--ease-out) both;
}

.hero.is-entering .hero__media,
.about.is-entering .about__media,
.journey.is-entering .journey__bg,
.impact.is-entering .impact__media,
.about-vision.is-entering .about-vision__media {
  animation: section-media-in 1.1s var(--ease-out) both;
}

@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes section-enter-hero {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 36px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes section-media-in {
  from {
    opacity: 0.55;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .hero.is-entering .hero__content {
    animation-name: section-enter-hero-mobile;
  }

  @keyframes section-enter-hero-mobile {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero.is-entering .hero__content,
  .about.is-entering .about__content,
  .journey.is-entering .journey__inner,
  .projects.is-entering .projects__inner,
  .projects.is-entering .projects__gallery,
  .impact.is-entering .impact__copy,
  .articles.is-entering .articles__inner,
  .hero.is-entering .hero__media,
  .about.is-entering .about__media,
  .journey.is-entering .journey__bg,
  .impact.is-entering .impact__media,
  .about-vision.is-entering .about-vision__media {
    animation: none !important;
  }

  .hero__content {
    transform: translate(-50%, -50%) !important;
  }

  @media (max-width: 640px) {
    .hero__content {
      transform: none !important;
    }
  }

  .project-card-home__media img,
  .project-card-home__caption,
  .project-card-home__panel,
  .project-card img {
    transition: none !important;
  }

  .project-card-home {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .project-card-home__caption {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ——— Project detail page ——— */

.page-project .projects-hero__veil {
  background:
    linear-gradient(
      180deg,
      rgba(8, 16, 10, 0.46) 0%,
      rgba(14, 32, 20, 0.36) 38%,
      rgba(8, 16, 10, 0.64) 100%
    );
}

.page-project .projects-hero__content {
  z-index: 3;
}

.pd-hero__mark {
  position: absolute;
  z-index: 2;
  inset-inline-start: 50%;
  bottom: -0.18em;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700;
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--gold-rgb), 0.2);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.pd-hero__tag {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  animation: rise 0.95s 0.08s var(--ease-out) both;
}

.pd-hero__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.pd-hero__status {
  margin: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.75rem;
}

.pd-hero__status--unavailable {
  background: rgba(138, 47, 47, 0.35);
}

.pd-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
}

.pd-back:hover {
  color: var(--gold);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-project .projects-hero__content h1,
.page-project .projects-hero__brand {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}

.pd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.pd-kicker span {
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

.pd-kicker small {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.pd-overview,
.pd-section {
  background: var(--sand);
  color: var(--ink);
}

.pd-overview__inner,
.pd-section__inner,
.pd-interest__inner {
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}

.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2.4rem;
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 600;
}

.pd-back svg,
.pd-overview__cta svg {
  width: 1.05rem;
  height: 1.05rem;
}

html[dir="rtl"] .pd-back svg,
html[dir="ltr"] .pd-overview__cta svg {
  transform: scaleX(-1);
}

.pd-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.pd-overview__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}

.pd-overview__head p {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 1.06rem;
  line-height: 2;
  color: rgba(var(--ink-rgb), 0.74);
}

.pd-section__head--center {
  display: flex;
  justify-content: center;
  text-align: center;
}

.pd-section__head--center .pd-kicker,
.pd-section__head:not(:has(h2)) .pd-kicker {
  margin-bottom: 1.75rem;
}

.pd-section__head h2,
.pd-interest h2,
.pd-model h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  color: var(--forest-deep);
}

.pd-model__head p,
.pd-section__head p,
.pd-interest header p {
  margin: 0;
  max-width: 42rem;
  font-size: 1.06rem;
  line-height: 2;
  color: rgba(var(--ink-rgb), 0.74);
}

.pd-overview__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.pd-overview__cta:hover {
  color: var(--forest-deep);
}

.pd-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(var(--gold-rgb), 0.28);
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.28);
}

.pd-specs li {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 1.2rem 1.1rem 1.15rem;
  border-inline-start: 1px solid rgba(var(--gold-rgb), 0.18);
}

.pd-specs li:first-child {
  border-inline-start: 0;
  padding-inline-start: 0;
}

.pd-specs li[hidden] {
  display: none;
}

.pd-spec-link {
  display: flex;
  flex-direction: column;
  align-items: inherit;
  gap: 0.38rem;
  min-height: 100%;
  margin: -1.2rem -1.1rem -1.15rem;
  padding: 1.2rem 1.1rem 1.15rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.pd-spec-link:hover strong {
  color: var(--gold-deep);
}

.pd-specs small {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
}

.pd-specs strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--forest-deep);
}

.pd-section + .pd-section,
.pd-overview + .pd-section,
.pd-section + .pd-interest {
  border-top: 1px solid rgba(var(--gold-rgb), 0.16);
}

.pd-overview__frame {
  position: relative;
  margin: 2.5rem 0 0;
  overflow: hidden;
  min-height: min(48svh, 30rem);
  border-radius: 1.6rem;
  background: #1a2a1d;
}

.pd-overview__frame::before,
.pd-overview__frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 1.4rem;
  height: 1.4rem;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.pd-overview__frame::before {
  top: 10px;
  inset-inline-start: 10px;
  border-width: 2px 0 0 2px;
}

.pd-overview__frame::after {
  bottom: 10px;
  inset-inline-end: 10px;
  border-width: 0 2px 2px 0;
}

.pd-overview__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: min(48svh, 30rem);
}

.pd-break {
  display: none;
}

.pd-break span {
  position: relative;
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f2d7a2 0%, #bd9253 46%, #8a652f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(70, 42, 8, 0.38),
    0 5px 12px rgba(138, 101, 47, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.28);
}

.pd-break span::before,
.pd-break span::after {
  content: none;
}

.pd-break span:first-child::before,
.pd-break span:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4dcb0, #bd9253 55%, #8a652f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 3px 8px rgba(138, 101, 47, 0.28);
  transform: translateY(-50%);
}

.pd-break span:first-child::before {
  inset-inline-start: 0;
}

.pd-break span:last-child::after {
  inset-inline-end: 0;
}

.pd-break i {
  flex: 0 0 0.92rem;
  width: 0.92rem;
  height: 0.92rem;
  background: linear-gradient(135deg, #f6e2b8 0%, #d4a964 42%, #bd9253 68%, #7c5824 100%);
  transform: rotate(45deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(80, 48, 10, 0.28),
    0 6px 14px rgba(138, 101, 47, 0.32);
}

.pd-break--on-dark {
  background: transparent;
}

.pd-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom));
  background: transparent;
  border: 0;
  transition: transform 0.35s var(--ease-out), opacity 0.35s var(--ease-out);
}

.pd-dock.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}

.pd-dock__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(74rem, 100%);
  margin-inline: auto;
  padding: 0.7rem 0.8rem;
  padding-inline-start: 1.15rem;
  overflow: hidden;
  border-radius: 1.2rem;
  border: 0;
  background: linear-gradient(
    165deg,
    rgba(18, 36, 24, 0.78) 0%,
    rgba(14, 28, 19, 0.86) 100%
  );
  box-shadow: 0 18px 42px rgba(8, 18, 12, 0.28);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

.pd-dock__project {
  min-width: 0;
}

.pd-dock__project small {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.pd-dock__project strong {
  display: block;
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pd-dock__phone {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}

.pd-dock__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4a964 0%, var(--gold) 55%, #a67b3d 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}

.pd-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: pd-fact;
}

.pd-facts li {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 36px rgba(var(--ink-rgb), 0.04);
  counter-increment: pd-fact;
}

.pd-facts li::before {
  content: counter(pd-fact, decimal-leading-zero);
  position: absolute;
  inset-inline-end: 0.55rem;
  bottom: -0.28em;
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--gold-rgb), 0.28);
  pointer-events: none;
}

.pd-facts small {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
}

.pd-facts strong {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--forest-deep);
}

.pd-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.pd-feature {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.95rem;
  min-height: 0;
  padding: 1.2rem 0;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.18);
  box-shadow: none;
}

.pd-feature::before {
  display: none;
}

.pd-feature:hover {
  transform: none;
  border-color: rgba(var(--gold-rgb), 0.4);
}

.pd-feature__num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.pd-feature__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  border-radius: 50%;
  background: rgba(var(--gold-rgb), 0.1);
}

.pd-feature__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.pd-feature p {
  margin: 0;
  font-weight: 500;
  line-height: 1.8;
  color: rgba(var(--ink-rgb), 0.78);
}

.pd-features--model {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pd-section--dark {
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(var(--gold-rgb), 0.12), transparent 50%),
    linear-gradient(180deg, #1a3a24 0%, #13291b 100%);
  color: #fff;
}

.pd-section--dark h2,
.pd-section--models .pd-model h3 {
  color: inherit;
}

.pd-section--dark .pd-kicker small {
  color: var(--gold);
}

.pd-section--stats {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #13291b;
}

.pd-section--stats::before,
.pd-section--stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pd-section--stats::before {
  background:
    var(--pd-stats-image, url("../assets/images/07.png")) center / cover no-repeat;
  transform: scale(1.06);
  filter: saturate(0.9) brightness(0.46);
}

.pd-section--stats::after {
  background:
    linear-gradient(
      180deg,
      rgba(14, 32, 20, 0.78) 0%,
      rgba(14, 32, 20, 0.56) 48%,
      rgba(14, 32, 20, 0.82) 100%
    );
}

.pd-section--stats .pd-section__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 5.5vw, 4rem);
}

.pd-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pd-stat {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 16.5rem;
  padding: 1.85rem 1.25rem 1.6rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.pd-stat::before {
  content: "";
  position: absolute;
  inset-inline: 18%;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s var(--ease-out);
  z-index: 1;
}

.pd-stat.is-counted::before {
  transform: scaleX(1);
}

.pd-stat:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--gold-rgb), 0.5);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.pd-stat__icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(189, 146, 83, 0.14);
  border: 1px solid rgba(239, 216, 166, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pd-stat__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.pd-stat__value {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.pd-stat__value [data-count] {
  display: inline-block;
  min-width: 1.4ch;
  transform: translateY(0.45rem) scale(0.86);
  filter: blur(8px);
  opacity: 0.25;
  transition:
    transform 0.7s var(--ease-out),
    filter 0.7s var(--ease-out),
    opacity 0.7s var(--ease-out);
}

.pd-stat.is-counting .pd-stat__value [data-count],
.pd-stat.is-counted .pd-stat__value [data-count] {
  transform: translateY(0) scale(1);
  filter: blur(0);
  opacity: 1;
}

.pd-stat__plus {
  display: inline-block;
  margin-top: 0.18em;
  font-size: 0.48em;
  font-weight: 700;
  opacity: 0;
  transform: translateY(0.35rem) scale(0.6);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.pd-stat.is-counted .pd-stat__plus {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pd-stat__unit {
  margin: 0.5rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold);
}

.pd-stat__label {
  margin: 0;
  max-width: 16rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.pd-stats--model .pd-stat,
.pd-section:not(.pd-section--dark):not(.pd-section--stats) .pd-stat {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(189, 146, 83, 0.28);
  box-shadow:
    0 18px 36px rgba(38, 82, 48, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  min-height: 14.5rem;
}

.pd-stats--model .pd-stat__label,
.pd-section:not(.pd-section--dark):not(.pd-section--stats) .pd-stat__label {
  color: rgba(var(--ink-rgb), 0.68);
}

.pd-stats--model .pd-stat__value,
.pd-stats--model .pd-stat__unit,
.pd-section:not(.pd-section--dark):not(.pd-section--stats) .pd-stat__value,
.pd-section:not(.pd-section--dark):not(.pd-section--stats) .pd-stat__unit {
  color: var(--gold-deep);
}

.pd-model {
  padding: 2.25rem 0;
}

.pd-model + .pd-model {
  border-top: 1px solid rgba(var(--gold-rgb), 0.22);
}

.pd-gallery-section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.pd-gallery-section .pd-section__inner {
  padding-bottom: 1.15rem;
}

.pd-carousel {
  --pd-gap: 1rem;
  --pd-shown: 3;
  position: relative;
  width: 100%;
  padding-inline: clamp(0.7rem, 2vw, 1.5rem);
  container-type: inline-size;
}

.pd-carousel__stage {
  position: relative;
}

.pd-carousel__track {
  display: flex;
  gap: var(--pd-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.pd-carousel__track::-webkit-scrollbar {
  display: none;
}

.pd-carousel__slide {
  --pd-slide: calc((100cqi - (var(--pd-shown) - 1) * var(--pd-gap)) / var(--pd-shown));
  position: relative;
  flex: 0 0 var(--pd-slide);
  width: var(--pd-slide);
  min-width: var(--pd-slide);
  max-width: var(--pd-slide);
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 1.5rem;
  background: #1a2a1d;
  cursor: zoom-in;
  scroll-snap-align: start;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 18px 40px rgba(var(--ink-rgb), 0.1);
}

.pd-carousel.is-single {
  --pd-shown: 1;
}

.pd-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out);
}

.pd-carousel__slide:hover img {
  transform: scale(1.04);
}

.pd-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--forest-deep);
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(var(--ink-rgb), 0.1);
  transform: translateY(-50%);
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.pd-carousel__nav:hover {
  background: var(--forest-deep);
  color: #fff;
}

.pd-carousel__nav svg {
  width: 1.15rem;
  height: 1.15rem;
}

.pd-carousel__nav--prev {
  inset-inline-start: clamp(1.35rem, 3.4vw, 2.6rem);
}

.pd-carousel__nav--next {
  inset-inline-end: clamp(1.35rem, 3.4vw, 2.6rem);
}

html[dir="ltr"] .pd-carousel__nav--prev svg,
html[dir="rtl"] .pd-carousel__nav--next svg,
html[dir="ltr"] .pd-lightbox__nav--prev svg,
html[dir="rtl"] .pd-lightbox__nav--next svg {
  transform: scaleX(-1);
}

.pd-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.pd-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(var(--gold-rgb), 0.32);
  cursor: pointer;
  transition: width 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.pd-carousel__dot.is-active {
  width: 1.45rem;
  background: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .pd-carousel__slide:hover img {
    transform: none;
  }
}

.pd-place {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.pd-place__card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.pd-place__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
}

.pd-place__meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--forest-deep);
}

.pd-place__meta button,
.pd-place__meta span {
  border: 0;
  background: none;
  color: var(--gold-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.pd-plan__frame {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 22rem;
  padding: 0;
  border: 0;
  background: #1a2a1d;
  cursor: zoom-in;
}

.pd-plan__frame img,
.pd-map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.pd-map {
  overflow: hidden;
  height: 22rem;
}

.pd-map-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.pd-map-dialog[hidden] {
  display: none !important;
}

.pd-map-dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 16, 10, 0.82);
  cursor: pointer;
}

.pd-map-dialog__panel {
  position: relative;
  z-index: 1;
  width: min(56rem, 100%);
  overflow: hidden;
  background: #f7f1e6;
  border-radius: 1.35rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.pd-map-dialog__panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.pd-map-dialog__panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest-deep);
}

.pd-map-dialog__panel header button {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(38, 82, 48, 0.08);
  color: var(--forest-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.pd-map-dialog .pd-map {
  height: min(62vh, 28rem);
}

.pd-interest {
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(var(--gold-rgb), 0.14), transparent 52%),
    linear-gradient(180deg, #1a3a24 0%, #102016 100%);
  color: #fff;
}

.pd-interest .pd-kicker small,
.pd-interest h2 {
  color: #fff;
}

.pd-interest h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.pd-interest header p {
  color: rgba(255, 255, 255, 0.78);
}

.pd-interest__inner {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.pd-interest__phone {
  display: inline-block;
  margin-top: 1.4rem;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.pd-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
  padding: 1.6rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(var(--gold-rgb), 0.22);
}

.pd-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.pd-form input,
.pd-form select,
.pd-form textarea {
  width: 100%;
  padding: 0.9rem 0.95rem;
  border: 0;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.38);
  background: rgba(8, 16, 10, 0.28);
  color: #fff;
  font: inherit;
  border-radius: 0;
}

.pd-form input:focus,
.pd-form select:focus,
.pd-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.pd-form__full,
.pd-form__submit {
  grid-column: 1 / -1;
}

.pd-form[hidden],
.pd-form__success[hidden],
.pd-form__error[hidden] {
  display: none !important;
}

.pd-form__submit {
  justify-self: start;
  min-width: 12rem;
  margin-top: 0.4rem;
  padding: 0.95rem 1.6rem;
  border: 0;
  background: linear-gradient(135deg, #d4a964 0%, var(--gold) 55%, #a67b3d 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.pd-form__success {
  margin-top: 1.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  color: #fff;
}

.pd-form__error {
  grid-column: 1 / -1;
  margin: 0;
  color: #f3c9c9;
  font-size: 0.9rem;
  font-weight: 600;
}

.pd-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.pd-related__card {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 16.5rem;
  color: #fff;
  text-decoration: none;
  background: #13291b;
}

.pd-related__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.pd-related__card:hover img {
  transform: scale(1.07);
}

.pd-related__card div {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 1.2rem 1.1rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(8, 16, 10, 0.82));
}

.pd-related__card small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-size: 0.74rem;
}

.pd-related__card strong {
  display: block;
  font-family: var(--font-display);
}

.pd-related__card span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 2rem 4.5rem;
}

.pd-lightbox[hidden] {
  display: none !important;
}

.pd-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 16, 10, 0.9);
  cursor: zoom-out;
}

.pd-lightbox__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(92vw, 1120px);
  max-height: 86vh;
}

.pd-lightbox img {
  display: block;
  width: auto;
  max-width: min(92vw, 1120px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 1.25rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.pd-lightbox__close {
  position: absolute;
  top: 1.1rem;
  inset-inline-end: 1.2rem;
  z-index: 2;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(8, 16, 10, 0.45);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.pd-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
}

.pd-lightbox.has-nav .pd-lightbox__nav {
  display: grid;
}

.pd-lightbox__nav svg {
  width: 1.15rem;
  height: 1.15rem;
}

.pd-lightbox__nav--prev {
  inset-inline-start: 1.1rem;
}

.pd-lightbox__nav--next {
  inset-inline-end: 1.1rem;
}

.pd-lightbox__nav:hover,
.pd-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 980px) {
  .pd-overview__grid,
  .pd-place,
  .pd-interest__inner,
  .pd-form {
    grid-template-columns: 1fr;
  }

  .pd-specs,
  .pd-facts,
  .pd-stats,
  .pd-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-specs li:nth-child(odd) {
    border-inline-start: 0;
  }

  .pd-specs li:nth-child(n + 3) {
    border-top: 1px solid rgba(var(--gold-rgb), 0.18);
  }

  .pd-dock__phone {
    display: none;
  }

  .pd-features {
    grid-template-columns: 1fr 1fr;
  }

  .pd-carousel {
    --pd-shown: 2;
  }

  .pd-hero__mark {
    font-size: clamp(4.5rem, 22vw, 8rem);
  }
}

@media (max-width: 640px) {
  .pd-features,
  .pd-facts,
  .pd-stats,
  .pd-related,
  .pd-specs {
    grid-template-columns: 1fr;
  }

  .pd-specs li {
    border-inline-start: 0;
    border-top: 1px solid rgba(var(--gold-rgb), 0.18);
  }

  .pd-specs li:first-child {
    border-top: 0;
  }

  .pd-feature {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pd-carousel {
    --pd-shown: 1.35;
  }

  .pd-carousel__slide {
    border-radius: 1.2rem;
  }

  .pd-carousel__nav {
    width: 2.6rem;
    height: 2.6rem;
  }

  .pd-lightbox {
    padding: 4.5rem 1rem 1.5rem;
  }

  .pd-lightbox img {
    border-radius: 0.9rem;
  }
}

/* ——— Development fields ——— */

body.page-fields {
  background: #0e2014;
}

.page-fields .projects-hero__media img {
  object-position: center 30%;
  transform: scale(1);
  animation-name: fields-hero-ken;
}

@keyframes fields-hero-ken {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.02) translate3d(-0.4%, 0.3%, 0);
  }
}

.page-fields .projects-hero__veil::after {
  background: linear-gradient(180deg, transparent, rgba(14, 32, 20, 0.54));
}

@media (min-width: 901px) {
  html:has(body.page-fields) {
    scroll-snap-type: y proximity;
  }

  .page-fields .projects-hero,
  .page-fields .fx-slide {
    scroll-snap-align: start;
  }
}

.fx-reel {
  position: relative;
}

.fx-slide {
  position: sticky;
  top: 0;
  isolation: isolate;
  overflow: hidden;
  height: 100svh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: #fff;
  background: #0e2014;
  scroll-margin-top: 0;
}

.fx-slide:nth-child(1) { z-index: 1; }
.fx-slide:nth-child(2) { z-index: 2; }
.fx-slide:nth-child(3) { z-index: 3; }

.fx-slide__media,
.fx-slide__filter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fx-slide__media {
  z-index: 0;
  overflow: hidden;
}

.fx-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  will-change: transform;
}

.fx-slide__filter {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 18, 12, 0.55) 0%, rgba(8, 18, 12, 0.4) 42%, rgba(8, 18, 12, 0.68) 100%),
    linear-gradient(to left, rgba(14, 32, 20, 0.48) 0%, rgba(14, 32, 20, 0.18) 58%, rgba(8, 18, 12, 0.34) 100%);
}

html[dir="ltr"] .fx-slide__filter {
  background:
    linear-gradient(180deg, rgba(8, 18, 12, 0.55) 0%, rgba(8, 18, 12, 0.4) 42%, rgba(8, 18, 12, 0.68) 100%),
    linear-gradient(to right, rgba(14, 32, 20, 0.48) 0%, rgba(14, 32, 20, 0.18) 58%, rgba(8, 18, 12, 0.34) 100%);
}

.fx-slide__copy {
  position: relative;
  z-index: 2;
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: calc(var(--header-h, 7rem) + 1.5rem) 0 3.5rem;
}

.fx-slide__label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.fx-slide__label::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

.fx-slide__copy h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 4.15rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 10px 28px rgba(8, 18, 12, 0.45);
}

.fx-slide__copy > p {
  margin: 0 0 2rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 8px 22px rgba(8, 18, 12, 0.4);
}

.fx-slide__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: min(100%, 52rem);
}

.fx-slide__points li {
  padding-inline: 1.35rem;
}

.fx-slide__points li:first-child {
  padding-inline-start: 0;
}

.fx-slide__points li:last-child {
  padding-inline-end: 0;
}

.fx-slide__points li + li {
  border-inline-start: 1px solid rgba(var(--gold-rgb), 0.72);
}

.fx-slide__points strong {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--gold);
}

.fx-slide__points span {
  display: block;
  max-width: 22rem;
  font-size: 0.98rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 900px) {
  .fx-slide {
    position: relative;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    align-items: start;
  }

  .fx-slide__copy {
    width: min(100% - 1.5rem, 74rem);
    margin-inline: auto;
    padding: 6.25rem 0 2.5rem;
  }

  .fx-slide__copy h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.45rem);
  }

  .fx-slide__copy > p {
    margin-bottom: 1.4rem;
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .fx-slide__points {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    width: 100%;
  }

  .fx-slide__points li,
  .fx-slide__points li:first-child,
  .fx-slide__points li:last-child {
    padding-inline: 0;
  }

  .fx-slide__points li + li {
    padding-top: 1.1rem;
    border-inline-start: none;
    border-top: 1px solid rgba(var(--gold-rgb), 0.45);
  }

  .fx-slide__points span {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx-slide {
    position: relative;
  }

  .fx-slide__media img {
    transform: none !important;
    will-change: auto;
  }
}

/* ——— Contact / blog / news ——— */

.contact-info {
  position: relative;
  isolation: isolate;
  background: var(--sand);
}

.contact-info__inner {
  width: min(74rem, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 10.75rem;
  padding: 1.35rem 1.4rem 1.3rem;
  background: #fff;
  border: 1px solid rgba(38, 82, 48, 0.06);
  box-shadow: 0 10px 28px rgba(38, 82, 48, 0.045);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

a.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(38, 82, 48, 0.08);
}

.contact-card strong {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--gold);
}

.contact-card span {
  align-self: flex-end;
  max-width: 95%;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
  text-align: end;
  color: var(--forest-deep);
}

.page-news .article-card__media img,
.page-blog .article-card__media img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .contact-info__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contact-info__inner {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 8.5rem;
  }
}

/* ——— Impact page ——— */

.page-impact .about-credo__card {
  text-align: center;
}

.page-impact .about-credo__card h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.page-impact .about-credo__inner {
  align-items: stretch;
}

.page-impact .projects-hero__media img {
  object-position: center 42%;
  filter: brightness(0.92) saturate(0.95) contrast(1.04);
}

.page-impact .projects-hero__veil {
  background:
    radial-gradient(
      ellipse 80% 64% at 50% 42%,
      rgba(8, 18, 12, 0.08) 0%,
      rgba(8, 16, 12, 0.26) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 14, 10, 0.3) 0%,
      rgba(10, 22, 14, 0.16) 40%,
      rgba(6, 14, 10, 0.38) 100%
    ),
    linear-gradient(
      115deg,
      rgba(38, 82, 48, 0.16) 0%,
      transparent 52%,
      rgba(189, 146, 83, 0.08) 100%
    );
}

.page-impact .projects-hero__content h1,
.page-impact .projects-hero__brand {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.page-impact .impact-intro .about__media img {
  object-position: center 55%;
  filter: brightness(0.88) saturate(0.85);
}

.page-impact .impact-intro .about__media::after {
  background: linear-gradient(
    180deg,
    rgba(var(--sand-rgb), 0.97) 0%,
    rgba(var(--sand-rgb), 0.94) 18%,
    rgba(var(--sand-rgb), 0.86) 38%,
    rgba(var(--sand-rgb), 0.62) 62%,
    rgba(var(--sand-rgb), 0.28) 82%,
    rgba(var(--sand-rgb), 0.12) 100%
  );
}

.impact-themes .about-values__inner {
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.impact-themes__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .page-impact .about-credo__inner,
  .impact-themes__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Board of Directors ——— */

.page-board .board-people,
.page-board .board-message {
  scroll-margin-top: 1.25rem;
}

.board-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(2rem, 4.5vw, 3.2rem);
}

.board-head h2 {
  margin: 0.15rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 700;
  color: var(--forest-deep);
}

.board-head__kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.board-head__rule {
  display: block;
  width: 2.6rem;
  height: 2px;
  background: var(--gold);
}

.board-people {
  background: var(--sand);
  padding: clamp(3.4rem, 7vw, 5.6rem) 0;
}

.board-people__inner,
.board-message__inner {
  width: min(78rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.board-people__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.1rem, 2vw, 1.7rem);
  align-items: stretch;
}

.board-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  overflow: hidden;
}

.board-card__media {
  margin: 0;
  width: 100%;
  background: #efeae2;
}

.board-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 8%;
}

.board-card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.28rem;
  min-height: 5.4rem;
  padding: 1.05rem 0.85rem 1.2rem;
  text-align: center;
}

.board-card__meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.05vw, 1.02rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--forest-deep);
}

.board-card__meta p {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--gold);
}

.board-message {
  background: #fff;
  padding: clamp(3.4rem, 7vw, 5.8rem) 0 clamp(4.2rem, 8vw, 6.8rem);
}

.board-message__copy {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.board-message__copy > .board-head__kicker {
  margin-bottom: 0.55rem;
}

.board-message__copy > .board-head__rule {
  margin-bottom: 1.35rem;
}

.board-message__body {
  position: relative;
  padding-inline-start: 1.15rem;
  border-inline-start: 2px solid rgba(var(--gold-rgb), 0.45);
}

.board-message__body p {
  margin: 0 0 1rem;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  font-weight: 400;
  line-height: 1.95;
  color: rgba(var(--ink-rgb), 0.74);
}

.board-message__body > :last-child {
  margin-bottom: 0;
}

.board-message__body h3,
.board-message__body h4 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  color: var(--forest-deep);
  font-size: 1.08rem;
  font-weight: 700;
}

.board-message__body ul,
.board-message__body ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.3rem;
  color: rgba(var(--ink-rgb), 0.74);
  line-height: 1.9;
}

.board-message__body li + li {
  margin-top: 0.25rem;
}

.board-message__body a {
  color: var(--brand-green);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.board-message__body strong,
.board-message__body b {
  color: var(--forest-deep);
  font-weight: 600;
}

.board-message__body blockquote {
  margin: 0 0 1rem;
  padding-inline-start: 0.9rem;
  border-inline-start: 3px solid var(--brand-gold);
  color: rgba(var(--ink-rgb), 0.78);
}

.board-message__sign {
  margin-top: 1.6rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(var(--brand-green-rgb), 0.12);
}

.board-message__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--forest-deep);
}

.board-message__role {
  margin: 0.18rem 0 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gold);
}

@media (max-width: 980px) {
  .board-people__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (max-width: 560px) {
  .board-people__inner,
  .board-message__inner {
    width: calc(100% - 1.5rem);
  }

  .board-people__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .board-card__meta {
    min-height: 4.8rem;
    padding: 0.85rem 0.55rem 1rem;
  }

  .board-card__meta h3 {
    font-size: 0.82rem;
  }

  .board-card__meta p {
    font-size: 0.74rem;
  }

  .board-message__body {
    padding-inline-start: 0.9rem;
  }
}

html[lang="en"]:not(.is-i18n-ready) body {
  visibility: hidden;
}

