/* Page sections */

/* ---- Hero — cinematic field (same photo, premium composition) ---- */
.hero {
  --hero-leave: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  color: var(--color-heading);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  transform: translate3d(0, calc(var(--hero-leave) * -5%), 0);
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 40%;
  transform: scale(1.08) translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.hero.is-alive .hero__media img,
.hero.is-alive .hero__media video {
  transform: scale(1.05) translate3d(0, 0, 0);
  transition: transform 1.2s var(--ease);
}

/* Light top only for nav — photo stays open elsewhere */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 18, 14, 0.32) 0%, rgba(7, 18, 14, 0.08) 14%, transparent 28%);
}

.hero.is-leaving .hero__veil {
  opacity: calc(1 - var(--hero-leave) * 0.55);
}

.hero__leave-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(251, 253, 251, 0) 0%,
    rgba(238, 246, 240, 0.35) 42%,
    rgba(238, 246, 240, 0.85) 78%,
    #eef6f0 100%
  );
  opacity: var(--hero-leave);
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(100% - 2.75rem, 34rem);
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(1.35rem, 2.8vw, 1.85rem) clamp(1.25rem, 2.6vw, 1.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 0;
}

/* Soft white fade — hugs the text only, feathers into the photo */
.hero__frost {
  position: absolute;
  z-index: 0;
  inset: -12% -18% -14% -18%;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 72% 68% at 50% 48%,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.82) 38%,
      rgba(255, 255, 255, 0.4) 62%,
      transparent 78%
    );
  -webkit-mask-image: radial-gradient(
    ellipse 78% 74% at 50% 48%,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 62%,
    transparent 82%
  );
  mask-image: radial-gradient(
    ellipse 78% 74% at 50% 48%,
    #000 0%,
    #000 42%,
    rgba(0, 0, 0, 0.55) 62%,
    transparent 82%
  );
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.hero__content > *:not(.hero__frost) {
  position: relative;
  z-index: 1;
}

.hero.is-leaving .hero__content {
  animation: none !important;
  opacity: calc(1 - var(--hero-leave) * 1.15);
  transform: translate3d(0, calc(var(--hero-leave) * -28px), 0);
  pointer-events: none;
}

.hero.is-alive .hero__brand {
  animation: hero-rise 0.75s var(--ease) 0.05s both;
}

.hero.is-alive .hero h1,
.hero.is-alive .hero__headline {
  animation: hero-rise 0.78s var(--ease) 0.16s both;
}

.hero.is-alive .hero__sub {
  animation: hero-rise 0.72s var(--ease) 0.26s both;
}

.hero.is-alive .hero__actions {
  animation: hero-rise 0.68s var(--ease) 0.34s both;
}

.hero.is-alive .hero__scroll {
  animation: hero-scroll-in 0.55s var(--ease) 0.48s both;
}

.hero:not(.is-alive) .hero__brand,
.hero:not(.is-alive) .hero h1,
.hero:not(.is-alive) .hero__headline,
.hero:not(.is-alive) .hero__sub,
.hero:not(.is-alive) .hero__actions {
  opacity: 0;
  transform: translateY(26px);
}

.hero:not(.is-alive) .hero__scroll {
  opacity: 0;
  transform: translateX(-50%) translateY(22px);
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.2rem;
}

.hero__brand-name {
  margin: 0;
  color: var(--color-heading);
  text-align: center;
}

.hero__brand-name strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 7.2vw, 4.85rem);
  font-weight: 600;
  letter-spacing: -0.048em;
  line-height: 0.9;
  color: var(--color-heading);
  text-shadow: none;
}

.hero__brand-sub {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--color-moss);
  text-shadow: none;
}

.hero__rule {
  display: block;
  width: 0;
  height: 2px;
  margin: 1.1rem auto 0.9rem;
  background: linear-gradient(90deg, transparent, #c4a35a 20%, #c4a35a 80%, transparent);
  transform-origin: center center;
}

.hero.is-alive .hero__rule {
  animation: hero-rule 0.9s var(--ease) 0.38s both;
}

.hero__discipline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero h1,
.hero__headline {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  font-weight: 600;
  max-width: min(22rem, 92vw);
  margin: 0 auto 0.95rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-align: center;
  text-shadow: none;
}

.hero__headline-line {
  display: block;
  color: var(--color-heading);
}

.hero__headline-accent {
  display: block;
  margin-top: 0.12em;
  color: var(--color-accent-deep);
  font-style: italic;
  font-weight: 600;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-accent-deep);
  font-weight: 500;
}

.hero__sub {
  color: var(--color-ink-soft);
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  font-weight: 400;
  max-width: 38rem;
  margin: 0 auto 1.55rem;
  line-height: 1.58;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero__btn-primary {
  min-width: 11.25rem;
  padding: 0.95rem 1.65rem;
  background: linear-gradient(145deg, #8fbf9a 0%, #5a8f73 100%);
  color: #fbfdfb;
  border-color: transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 32px rgba(12, 28, 20, 0.32);
}

.hero__btn-primary:hover {
  background: linear-gradient(145deg, #9fcbab 0%, #6a9d82 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 18px 36px rgba(12, 28, 20, 0.38);
}

.hero__btn-ghost {
  min-width: 11.25rem;
  padding: 0.95rem 1.65rem;
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(47, 92, 74, 0.28);
  color: var(--color-forest);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--color-moss);
  color: var(--color-forest);
}

.hero__scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(var(--hero-leave) * 24px));
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: calc(1 - var(--hero-leave) * 2.2);
  pointer-events: none;
}

.hero.is-leaving .hero__scroll {
  animation: none !important;
}

.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
  animation: scroll-line 1.8s ease-in-out infinite;
}

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

@keyframes hero-scroll-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

@keyframes hero-rule {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 4.25rem;
    opacity: 1;
  }
}

@keyframes scroll-line {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    --hero-leave: 0 !important;
  }

  .hero__media,
  .hero__leave-veil,
  .hero.is-leaving .hero__content,
  .hero__scroll {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .hero__leave-veil {
    display: none;
  }

  .hero__scroll {
    transform: translateX(-50%) !important;
  }

  .hero.is-alive .hero__rule {
    width: 4.25rem;
    animation: none;
  }
}

@media (max-width: 720px) {
  .hero {
    align-items: center;
  }

  .hero__frost {
    inset: -10% -14% -12% -14%;
    background:
      radial-gradient(
        ellipse 80% 78% at 50% 48%,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.8) 40%,
        rgba(255, 255, 255, 0.32) 64%,
        transparent 80%
      );
    -webkit-mask-image: radial-gradient(
      ellipse 86% 82% at 50% 48%,
      #000 0%,
      #000 45%,
      rgba(0, 0, 0, 0.5) 65%,
      transparent 84%
    );
    mask-image: radial-gradient(
      ellipse 86% 82% at 50% 48%,
      #000 0%,
      #000 45%,
      rgba(0, 0, 0, 0.5) 65%,
      transparent 84%
    );
  }

  .hero__content {
    width: min(100% - 2rem, 34rem);
    margin-left: auto;
    margin-right: auto;
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .hero__media img,
  .hero__media video {
    object-position: 48% 42%;
  }

  .hero__veil {
    background: linear-gradient(180deg, rgba(7, 18, 14, 0.38) 0%, rgba(7, 18, 14, 0.1) 16%, transparent 30%);
  }

  .hero__brand-name strong {
    font-size: clamp(2.55rem, 11vw, 3.25rem);
  }

  .hero__actions {
    width: 100%;
  }

  .hero__btn-primary,
  .hero__btn-ghost {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ---- Services — light earthly green luxury float ---- */
.services {
  background:
    radial-gradient(900px 480px at 12% 0%, rgba(196, 163, 90, 0.14), transparent 55%),
    radial-gradient(700px 420px at 88% 30%, rgba(143, 175, 154, 0.28), transparent 58%),
    linear-gradient(180deg, #f4f7f4 0%, #e9f0ea 48%, #f7faf7 100%);
  color: var(--color-ink);
  overflow: hidden;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.services .section-label {
  color: var(--color-accent-deep);
}

.services .section-header h2 {
  color: var(--color-heading);
  font-style: italic;
  font-weight: 600;
}

.services .section-header p {
  color: var(--color-ink-soft);
}

.clients .section-header h2 {
  font-style: italic;
  font-weight: 600;
  color: var(--color-heading);
}

.svc-float {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
}

.svc-float__stage {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 93, 74, 0.35) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem) 2.25rem;
  cursor: grab;
  touch-action: pan-x;
}

.svc-float__stage::-webkit-scrollbar {
  height: 6px;
}

.svc-float__stage::-webkit-scrollbar-thumb {
  background: rgba(47, 93, 74, 0.32);
  border-radius: 999px;
}

.svc-float__stage.is-dragging {
  cursor: grabbing;
}

.svc-float__stage.is-dragging .svc-card,
.svc-float__stage.is-moving .svc-card {
  will-change: transform;
}

.svc-float__track {
  display: flex;
  gap: 1.35rem;
  width: max-content;
  padding: 0;
}

.svc-float.is-marquee .svc-float__track {
  animation: svc-marquee 52s linear infinite;
}

.svc-float.is-marquee:not(.is-paused):not(.is-offscreen) .svc-float__track {
  will-change: transform;
}

.svc-float.is-marquee.is-paused .svc-float__track,
.svc-float.is-marquee.is-offscreen .svc-float__track {
  animation-play-state: paused;
}

@keyframes svc-marquee {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-float.is-marquee .svc-float__track {
    animation: none;
    will-change: auto;
  }
}

.svc-card {
  position: relative;
  flex: 0 0 auto;
  width: min(340px, 78vw);
  height: min(520px, 96vw);
  border: 0;
  padding: 0;
  border-radius: 26px;
  overflow: hidden;
  background: #dfe8e2;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: center center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  contain: layout paint;
  box-shadow: 0 16px 36px rgba(26, 61, 50, 0.12);
}

.svc-card > * {
  pointer-events: none;
}

.svc-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.svc-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-card[data-svc-id='contract-geology'] .svc-card__img {
  object-position: center 42%;
}

.svc-card[data-svc-id='operations'] .svc-card__img {
  object-position: 72% center;
}

.svc-card[data-svc-id='consultancy'] .svc-card__img {
  object-position: center 38%;
}

.svc-card[data-svc-id='environment'] .svc-card__img {
  object-position: center 45%;
}

.svc-card[data-svc-id='survey'] .svc-card__img {
  object-position: center 40%;
}

.svc-card[data-svc-id='approvals'] .svc-card__img {
  object-position: center 48%;
}

.svc-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 40, 32, 0.12) 0%, rgba(18, 40, 32, 0.18) 40%, rgba(18, 40, 32, 0.55) 100%);
  pointer-events: none;
}

.svc-card__frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(196, 163, 90, 0.12);
}

.svc-card__title {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.svc-card__badge {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4b56a, #c4a35a);
  color: #1a2a20;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(154, 122, 58, 0.28);
}

.svc-float__hint {
  margin: 0.35rem auto 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 61, 50, 0.45);
}

@media (pointer: coarse) {
  .svc-float__stage {
    scroll-snap-type: x proximity;
  }

  .svc-card {
    scroll-snap-align: center;
  }
}

@media (max-width: 800px) {
  .svc-float__stage {
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    cursor: default;
  }

  .svc-float__stage::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .svc-float__track {
    gap: 0.9rem;
    padding: 0;
  }

  .svc-card {
    width: min(78vw, 300px);
    height: min(420px, 88vw);
    scroll-snap-align: center;
    scroll-snap-stop: normal;
  }
}

/* Legacy service styles kept unused below for safety */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card {
  position: relative;
  padding: 1.55rem 1.4rem 1.45rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* ---- Clients / People we serve — Focus Slice Carousel ---- */
.clients {
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(196, 163, 90, 0.1), transparent 55%),
    linear-gradient(180deg, #f7faf7 0%, #eef4ef 50%, #f7faf7 100%);
  overflow: hidden;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.clients .section-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.client-slices {
  display: flex;
  gap: 0.65rem;
  height: clamp(360px, 52vh, 520px);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0;
}

.client-slice {
  position: relative;
  flex: 0.55 1 0;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  background: #d7e3db;
  color: #fff;
  text-align: left;
  isolation: isolate;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  contain: layout paint;
  transition: flex 0.4s var(--ease);
  box-shadow: 0 10px 24px rgba(26, 61, 50, 0.08);
}

.client-slice.is-active {
  flex: 4.8 1 0;
}

.client-slice:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.client-slice__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.client-slice__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 36, 28, 0.2) 0%, rgba(18, 36, 28, 0.35) 40%, rgba(12, 28, 22, 0.78) 100%);
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.client-slice.is-active .client-slice__shade {
  background:
    radial-gradient(ellipse 80% 70% at 50% 55%, rgba(12, 28, 22, 0.55), rgba(12, 28, 22, 0.25) 55%, rgba(12, 28, 22, 0.45) 100%),
    linear-gradient(180deg, rgba(18, 36, 28, 0.25) 0%, rgba(12, 28, 22, 0.55) 100%);
}

.client-slice__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.75rem 1.6rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.4s ease 0.08s,
    transform 0.5s var(--ease) 0.08s;
}

.client-slice.is-active .client-slice__content {
  opacity: 1;
  transform: none;
}

.client-slice__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0d78a;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.client-slice__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.4);
  max-width: 14ch;
}

.client-slice__text {
  max-width: 26rem;
  margin: 0.15rem auto 0;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Collapsed slices: vertical label so they stay readable */
.client-slice:not(.is-active) .client-slice__content {
  opacity: 1;
  transform: none;
  padding: 1rem 0.35rem;
  justify-content: flex-end;
  padding-bottom: 1.4rem;
}

.client-slice:not(.is-active) .client-slice__num,
.client-slice:not(.is-active) .client-slice__text {
  display: none;
}

.client-slice:not(.is-active) .client-slice__title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.92rem;
  font-weight: 600;
  max-width: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.client-slice__arrow {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-forest);
  font-size: 1.15rem;
  opacity: 0;
  transform: translateX(-50%) scale(0.85);
  pointer-events: none;
  transition:
    opacity 0.35s ease 0.12s,
    transform 0.4s var(--ease) 0.12s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.client-slice.is-active .client-slice__arrow {
  opacity: 1;
  transform: translateX(-50%);
}

.client-slices__hint {
  margin: 1rem auto 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 61, 50, 0.42);
}

@media (max-width: 900px) {
  .client-slices {
    height: clamp(320px, 58vh, 440px);
    gap: 0.45rem;
    width: calc(100% - 1.25rem);
  }

  .client-slice {
    flex: 0.4 1 0;
    border-radius: 48px;
  }

  .client-slice.is-active {
    flex: 5.5 1 0;
  }

  .client-slice__content {
    padding: 1.2rem 1.1rem 1.3rem;
  }

  .client-slice__text {
    font-size: 0.88rem;
  }

  .client-slice__arrow {
    width: 2.2rem;
    height: 2.2rem;
    right: 0.85rem;
    bottom: 0.95rem;
  }
}

@media (max-width: 640px) {
  .client-slices {
    flex-direction: column;
    height: auto;
    gap: 0.55rem;
  }

  .client-slice {
    flex: none !important;
    height: 72px;
    min-height: 64px;
    border-radius: 20px;
    touch-action: manipulation;
    transition: height 0.4s var(--ease);
  }

  .client-slice.is-active {
    height: 280px;
  }

  .client-slice__arrow {
    display: none;
  }

  .client-slice:not(.is-active) .client-slice__content {
    opacity: 1;
    transform: none;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1.15rem;
  }

  .client-slice:not(.is-active) .client-slice__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.02rem;
    font-weight: 600;
    max-width: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .client-slice.is-active .client-slice__content {
    opacity: 1;
    transform: none;
    padding: 1.2rem 1.15rem 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-slice,
  .client-slice__img,
  .client-slice__content,
  .client-slice__arrow {
    transition: none;
  }
}

/* Legacy client-card styles kept unused */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.client-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
}

/* ---- About — split layout + visible live motion ---- */
.about {
  --about-reveal: 0;
  --about-parallax: 0;
  --about-float: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--color-ink);
  background:
    radial-gradient(900px 480px at 8% 20%, rgba(200, 221, 203, 0.65), transparent 58%),
    radial-gradient(700px 420px at 95% 70%, rgba(196, 163, 90, 0.1), transparent 55%),
    linear-gradient(180deg, #fbfdfb 0%, #eef6f0 55%, #f4f9f5 100%);
}

.about-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: calc(0.4 + var(--about-reveal) * 0.6);
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
}

.about-orb--a {
  width: 240px;
  height: 240px;
  left: 4%;
  top: 14%;
  background: radial-gradient(circle, rgba(122, 170, 142, 0.55), transparent 70%);
}

.about-orb--b {
  width: 180px;
  height: 180px;
  right: 8%;
  top: 22%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.28), transparent 70%);
}

.about-orb--c {
  width: 300px;
  height: 300px;
  left: 40%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(200, 221, 203, 0.5), transparent 68%);
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3.25rem, 8vw, 5.5rem);
}

.about-visual {
  --tr: 1;
  margin: 0;
  position: relative;
  opacity: 1;
}

.about-visual__glow {
  position: absolute;
  inset: -8% -10%;
  z-index: 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at 40% 40%, rgba(122, 170, 142, 0.35), transparent 62%),
    radial-gradient(circle at 80% 70%, rgba(196, 163, 90, 0.16), transparent 55%);
  opacity: 0.65;
}

.about-visual__motion {
  position: relative;
  z-index: 1;
}

.about.is-alive .about-visual__motion {
  animation: about-soft-float 8s ease-in-out infinite alternate;
}

@keyframes about-soft-float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.about-visual__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: min(560px, 72vh);
  background: var(--color-pista);
  box-shadow:
    0 28px 60px rgba(47, 92, 74, 0.16),
    0 0 0 1px rgba(47, 92, 74, 0.08);
}

.about-visual__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 42%, rgba(36, 53, 44, 0.28) 100%),
    linear-gradient(135deg, rgba(200, 221, 203, 0.18), transparent 45%);
  pointer-events: none;
}

.about-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transform: scale(1.06);
}

.about-visual__sheen {
  display: none;
}

.about-visual__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 4;
  margin: 0;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(251, 253, 251, 0.94);
  color: var(--color-heading);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(47, 92, 74, 0.14);
}

.about-copy {
  width: 100%;
  max-width: 36rem;
}

/* Entrance reveal masks */
.tr-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.tr-inner {
  display: inline-block;
  transform: translate3d(0, calc((1 - var(--tr, 0)) * 110%), 0);
  transition: transform 0.55s var(--ease);
}

.about-visual.is-entering {
  opacity: calc(0.35 + var(--tr) * 0.65);
}

.about-visual.is-entering .about-visual__frame {
  clip-path: inset(0 0 calc((1 - var(--tr)) * 100%) 0);
}

.about-services li {
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}

.about-services li:hover {
  transform: translateX(6px);
  color: var(--color-heading);
}

.about-services li .tr-mask {
  display: block;
  overflow: hidden;
}

.about-actions[data-tr-fade] {
  --tr: 0;
  opacity: var(--tr);
  transform: translate3d(0, calc((1 - var(--tr)) * 24px), 0);
}

.about-copy .section-label {
  color: var(--color-accent-deep);
  margin-bottom: 0.85rem;
}

.about-copy h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.032em;
  font-weight: 600;
  font-style: italic;
  max-width: 18ch;
  color: var(--color-heading);
  margin: 0 0 1rem;
}

.about-copy h2::after {
  content: '';
  display: block;
  width: 3.75rem;
  height: 3px;
  margin-top: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-leaf), var(--color-accent), transparent);
  transform: scaleX(var(--about-reveal, 0));
  transform-origin: left center;
  transition: transform 0.6s var(--ease);
}

.about-copy > p {
  color: var(--color-ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.about-lead {
  font-size: 1.12rem;
  color: var(--color-ink);
  font-weight: 500;
}

.about-services-title {
  margin: 1.35rem 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-moss);
}

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

.about-services li {
  position: relative;
  padding-left: 0.95rem;
  color: var(--color-ink);
  font-size: 0.96rem;
  line-height: 1.4;
}

.about-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-leaf);
  box-shadow: 0 0 0 3px rgba(122, 170, 142, 0.22);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.65rem;
}

.about-btn-ghost {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid var(--color-border) !important;
  color: var(--color-forest) !important;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-weight: 600;
}

.about-btn-ghost:hover {
  background: #fff !important;
  border-color: var(--color-moss) !important;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-visual {
    max-width: 28rem;
    margin-inline: auto;
    width: 100%;
  }

  .about-visual__frame {
    aspect-ratio: 16 / 11;
    max-height: 320px;
  }

  .about-copy {
    max-width: none;
  }

  .about-copy h2 {
    max-width: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  .about {
    --about-reveal: 1 !important;
    --about-parallax: 0 !important;
    --about-float: 0 !important;
  }

  .about-visual,
  .about-visual__motion,
  .about-visual__img,
  .about-visual__badge,
  .about-visual__glow,
  .about-visual__sheen,
  .about-copy,
  .about-copy .section-label,
  .about-orb,
  .tr-inner,
  .about-actions[data-tr-fade] {
    filter: none !important;
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
    animation: none !important;
  }

  .tr-inner { --tr: 1 !important; }
}

/* ---- Projects ---- */
.projects-tabs {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.projects-tabs button {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.65);
  color: var(--color-ink-soft);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--transition);
}

.projects-tabs button.is-active,
.projects-tabs button:hover {
  background: var(--color-forest);
  color: #fff;
  border-color: var(--color-forest);
}

/* ---- Projects — sticky sphere journey (smooth handoff, no unlock jump) ---- */
.projects-pin {
  position: relative;
  height: 200vh;
}

.projects {
  --proj-p: 0;
  --world-o: 1;
  --copy-o: 1;
  --hint-o: 1;
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}

.proj-world {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: #ffffff;
  opacity: var(--world-o, 1);
  transform: scale(calc(1 + (var(--proj-p) * 0.06)));
  pointer-events: none;
}

.proj-world__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.proj-orb {
  --travel: calc(var(--proj-p) * 520px);
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(110px, 16vw, 200px);
  height: clamp(110px, 16vw, 200px);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  /* 2D transforms only — avoid preserve-3d / perspective cost while scrolling */
  transform:
    translate(-50%, -50%)
    translate(
      calc(var(--ox) * 1vw),
      calc(var(--oy) * 1vh - var(--travel) * 0.12)
    )
    scale(calc(var(--s) * (0.78 + var(--proj-p) * 0.55)));
  opacity: calc(0.55 + var(--proj-p) * 0.45);
  box-shadow:
    inset -12px -16px 28px rgba(47, 92, 74, 0.18),
    inset 12px 14px 24px rgba(255, 255, 255, 0.35),
    0 18px 40px rgba(47, 92, 74, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.proj-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.38), transparent 40%),
    radial-gradient(circle at 72% 78%, rgba(0, 0, 0, 0.32), transparent 52%);
  pointer-events: none;
}

.proj-orb--tiny {
  width: clamp(42px, 6vw, 70px);
  height: clamp(42px, 6vw, 70px);
}

.proj-world__copy {
  position: relative;
  z-index: 4;
  width: min(720px, calc(100% - 2.5rem));
  text-align: center;
  color: var(--color-ink);
  opacity: var(--copy-o, 1);
  transform: translateY(calc(var(--proj-p) * -28px - 4.5rem));
  background: #ffffff;
  padding: 1.15rem 1.35rem 1.1rem;
  border-radius: 22px;
}

.proj-world__copy .section-label {
  color: var(--color-accent-deep);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.proj-world__copy h2 {
  color: var(--color-heading);
  font-size: clamp(2.55rem, 6vw, 4.1rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.038em;
  line-height: 1.05;
  margin: 0 0 0.55rem;
  text-shadow: none;
}

.proj-world__copy h2::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 3.5px;
  margin: 1.05rem auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-leaf) 18%,
    var(--color-accent) 50%,
    var(--color-sage) 82%,
    transparent 100%
  );
}

.proj-world__copy > p {
  color: var(--color-ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.65;
  margin: 0.85rem auto 1.25rem;
  max-width: 36rem;
}

.proj-world__hint {
  margin: 0 !important;
  font-family: var(--font-body);
  font-size: 0.74rem !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-moss) !important;
  opacity: var(--hint-o, 1);
}

/* Project cards — flows after sphere journey (no layout unlock) */
.proj-work {
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(196, 163, 90, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfdfb 0%, #eef6f0 100%);
  margin-top: -1px;
}

.proj-work__inner {
  max-width: var(--content-max);
}

.proj-work .section-header {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.proj-work .section-header h2 {
  color: var(--color-heading);
  font-style: italic;
  font-weight: 600;
}

.proj-work .section-header p {
  color: var(--color-ink-soft);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
  isolation: isolate;
  box-shadow: 0 16px 40px rgba(47, 92, 74, 0.1);
  cursor: pointer;
}

.project-card:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  transition: transform 1.1s var(--ease);
}

.project-card[data-project-id="gold-nigeria"] img {
  object-position: center 48%;
}

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

.project-card > .photo-alt {
  z-index: 2;
}

.project-card__content {
  position: absolute;
  inset: auto 0 0;
  padding: 1.35rem 1.2rem 1.15rem;
  background: linear-gradient(transparent, rgba(16, 40, 32, 0.88));
  color: #fff;
  z-index: 1;
}

.project-card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4c878;
  margin-bottom: 0.45rem;
}

.project-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.project-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.project-card__cta {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e8d7a8;
}

.project-card.is-hidden {
  display: none;
}

/* ---- Project photos + details modal ---- */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s var(--ease),
    visibility 0s linear 0.28s;
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s var(--ease);
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 28, 22, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.project-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(90svh, 880px);
  overflow: auto;
  background: #fbfdfb;
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(12, 28, 22, 0.28);
  border: 1px solid rgba(47, 92, 74, 0.12);
}

.project-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-heading);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(12, 28, 22, 0.16);
}

.project-modal__close:hover {
  background: #fff;
}

.project-modal__media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #14241c;
}

.project-modal__media img {
  width: 100%;
  height: auto;
  max-height: min(58svh, 560px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.project-modal__body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.project-modal__location {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-moss);
}

.project-modal__body h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--color-heading);
}

.project-modal__summary {
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.55;
}

.project-modal__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.project-modal__thumbs[hidden] {
  display: none;
}

.project-modal__thumb {
  flex: 0 0 4.6rem;
  width: 4.6rem;
  height: 3.4rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-mist);
}

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

.project-modal__thumb.is-active {
  border-color: var(--color-accent);
}

@media (max-width: 640px) {
  .project-modal {
    padding: 0.65rem;
    align-items: flex-end;
  }

  .project-modal__dialog {
    max-height: 92svh;
    border-radius: 16px 16px 12px 12px;
  }

  .project-modal__media img {
    max-height: min(48svh, 420px);
  }

  .project-modal__body {
    padding: 1.1rem 1.1rem 1.35rem;
  }
}

@media (max-width: 900px) {
  .projects-pin {
    height: 180vh;
  }

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

  .proj-orb {
    width: clamp(88px, 22vw, 140px);
    height: clamp(88px, 22vw, 140px);
  }
}

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

  .proj-world__copy h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-pin {
    height: auto;
  }

  .projects {
    position: relative;
    height: auto;
    max-height: none;
    min-height: 70vh;
  }

  .proj-world {
    position: relative;
    min-height: 70vh;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .proj-orb {
    opacity: 0.85 !important;
  }
}

/* ---- Process ---- */

.process {
  background:
    radial-gradient(800px 420px at 15% 0%, rgba(200, 221, 203, 0.7), transparent 55%),
    radial-gradient(700px 380px at 90% 80%, rgba(196, 163, 90, 0.12), transparent 55%),
    linear-gradient(180deg, #f4f9f5 0%, #eaf4ec 100%);
  color: var(--color-ink);
}

.process .section-label {
  color: var(--color-accent-deep);
}

.process .section-header h2 {
  color: var(--color-heading);
  font-style: italic;
  font-weight: 600;
}

.process .section-header p {
  color: var(--color-ink-soft);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  padding: 1.35rem 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  position: relative;
  box-shadow: var(--shadow-soft);
}

.process-step::before {
  counter-increment: step;
  content: '0' counter(step);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--color-accent-deep);
  display: block;
  margin-bottom: 0.85rem;
}

.process-step h3 {
  color: var(--color-heading);
  font-size: 1.15rem;
}

.process-step p {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 0.7rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: zoom-in;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(6) {
  grid-column: span 2;
}

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

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

.photo-alt {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  z-index: 2;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 40, 32, 0.82);
  color: #f3e6c0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(12, 28, 22, 0.25);
}

.lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
}

.lightbox__caption {
  display: none;
  margin: 0;
  color: #f3e6c0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.lightbox__caption:not(:empty) {
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 28, 22, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
}

/* ---- Contact ---- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.contact-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 1rem;
}

.contact-details li {
  display: grid;
  gap: 0.2rem;
}

.contact-details span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-family: var(--font-mono);
}

.contact-details a,
.contact-details strong {
  color: var(--color-forest);
  font-weight: 600;
}

.contact-map {
  margin-top: 1.25rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 180px;
}

.contact-map iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

.contact-quick {
  display: none;
}

.hero__sub-short {
  display: none;
}

/* ---- Footer ---- */
.site-footer {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(200, 221, 203, 0.55), transparent 60%),
    linear-gradient(180deg, #eef6f0 0%, #e3efe6 100%);
  color: var(--color-ink-soft);
  padding: 3rem 0 1.5rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer .logo__text {
  color: var(--color-heading);
  font-size: 1.15rem;
}

.site-footer .logo__text span {
  color: var(--color-accent-deep);
}

.footer-col h4 {
  color: var(--color-heading);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--color-forest);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-muted);
}
