/* ── Page transitions ── */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: n92-exit 0.22s ease both;
}

::view-transition-new(root) {
  animation: n92-enter 0.32s ease both;
}

@keyframes n92-exit {
  to { opacity: 0; }
}

@keyframes n92-enter {
  from { opacity: 0; }
}

.n92-page-transitioning #pagewrap {
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

/* ── Sticky CTA ── */
.n92-sticky-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.n92-sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.n92-sticky-cta__primary {
  display: inline-flex;
  align-items: center;
  padding: 0.75em 1.25em;
  background: #ff3377;
  color: #fff;
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: lowercase;
  border-radius: var(--n92-radius, 3px);
  box-shadow: none;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.n92-sticky-cta__primary:hover {
  background: #ff0062;
  opacity: 0.92;
}

.n92-sticky-cta__guide {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-size: 0.68rem;
  letter-spacing: normal;
  text-transform: lowercase;
  color: rgba(239, 236, 232, 0.6);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.n92-sticky-cta__guide:hover {
  color: rgba(239, 236, 232, 0.75);
}

/* ── Scroll chapters (site-wide) ── */
.n92-chapters {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99980;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
  padding: 0.9rem 0.85rem 0.9rem 1.1rem;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.n92-chapters.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.n92-chapters--on-dark {
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.n92-chapters--on-light {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.n92-chapters__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.55rem;
  min-height: 2.1rem;
  border-radius: 4px;
  color: rgba(239, 236, 232, 0.55);
  transition: color 0.2s ease, background 0.2s ease;
}

.n92-chapters--on-light .n92-chapters__item {
  color: rgba(30, 30, 30, 0.45);
}

.n92-chapters__item:hover,
.n92-chapters__item:focus-visible {
  color: rgba(239, 236, 232, 0.8);
}

.n92-chapters--on-light .n92-chapters__item:hover,
.n92-chapters--on-light .n92-chapters__item:focus-visible {
  color: rgba(30, 30, 30, 0.7);
}

.n92-chapters__label {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: lowercase;
  opacity: 0.65;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.n92-chapters--on-light .n92-chapters__label {
  opacity: 0.55;
}

.n92-chapters__item:hover .n92-chapters__label,
.n92-chapters__item.is-active .n92-chapters__label {
  opacity: 1;
}

.n92-chapters__item.is-active {
  color: #ff3377;
  background: rgba(255, 51, 119, 0.08);
}

.n92-chapters--on-light .n92-chapters__item.is-active {
  color: #ff3377;
  background: rgba(255, 51, 119, 0.1);
}

.n92-chapters__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.n92-chapters--on-light .n92-chapters__dot {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.n92-chapters__item.is-active .n92-chapters__dot {
  background: #ff3377;
  box-shadow: 0 0 0 3px rgba(255, 51, 119, 0.22);
  transform: scale(1.08);
}

/* Services page — numbered section jumper */
.n92-chapters--numbered {
  align-items: flex-end;
  gap: 0.65rem;
}

.n92-chapters__caption {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(239, 236, 232, 0.38);
  margin-bottom: 0.35rem;
  padding-right: 0.35rem;
}

.n92-chapters--numbered .n92-chapters__item {
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.55rem;
}

.n92-chapters--numbered .n92-chapters__label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.55;
  min-width: 1.25rem;
  text-align: right;
}

.n92-chapters--numbered .n92-chapters__hint {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: lowercase;
  color: rgba(239, 236, 232, 0.42);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.n92-chapters--numbered .n92-chapters__item:hover .n92-chapters__hint,
.n92-chapters--numbered .n92-chapters__item.is-active .n92-chapters__hint {
  color: rgba(239, 236, 232, 0.75);
}

.n92-chapters--numbered .n92-chapters__item.is-active .n92-chapters__label {
  color: #ff3377;
  opacity: 1;
}

/* ── Inline insights (Elmwood / Wolff Olins) ── */
.themify_builder_content-22 .tb_upml237 .tb_tkst237 {
  display: flex;
  flex-direction: column;
}

.n92-insights-inline-host {
  width: 100%;
  margin: 0;
  padding: 0 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.n92-insights-inline {
  padding: 0;
  border-top: none;
  max-width: 22rem;
}

.themify_builder_content-22 .tb_upml237 .tb_2p80238 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start !important;
}

.themify_builder_content-22 .tb_upml237 .tb_bgbm238 {
  display: flex;
  align-items: center;
}

.themify_builder_content-22 .tb_upml237 .tb_uk4h238 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.themify_builder_content-22 .tb_upml237 .tb_y243238.module-buttons {
  margin: 0 !important;
}

.n92-insights-inline__eyebrow {
  font-size: 0.65rem;
  letter-spacing: normal;
  text-transform: lowercase;
  color: #ff3377;
  margin: 0 0 0.65rem;
}

.n92-insights-inline__link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.n92-insights-inline__title {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: #efece8;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.n92-insights-inline__link:hover .n92-insights-inline__title {
  color: #ff3377;
}

.n92-insights-inline__arrow {
  color: #ff3377;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.n92-insights-inline__link:hover .n92-insights-inline__arrow {
  transform: translateX(4px);
}

.n92-insights-inline__excerpt {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(239, 236, 232, 0.6);
  margin: 0 0 0.75rem;
  max-width: 32rem;
}

.n92-insights-inline__more {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: lowercase;
  color: rgba(239, 236, 232, 0.6);
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.n92-insights-inline__more:hover {
  color: #ff3377;
}

/* ── Work tile hover preview — zoom + blur, centered text emphasis ── */
.n92-tile-preview-wrap {
  position: relative;
  overflow: hidden;
}

.n92-tile-preview-wrap img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.n92-tile-preview-wrap:hover img,
.n92-tile-preview-wrap:focus-within img {
  transform: scale(1.06);
}

.n92-tile-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.1rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.n92-tile-preview-wrap:hover .n92-tile-preview-overlay,
.n92-tile-preview-wrap:focus-within .n92-tile-preview-overlay {
  opacity: 1;
}

.n92-tile-preview-client {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin: 0;
  text-transform: lowercase;
}

.n92-tile-preview-tagline {
  font-size: 0.8rem;
  color: rgba(239, 236, 232, 0.7);
  margin: 0.2rem 0 0.45rem;
}

.n92-tile-preview-link {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: normal;
  color: #ff3377;
  text-transform: lowercase;
}

/* ── Continue exploring rail ── */
.n92-explore-rail {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem);
}

.n92-explore-rail__heading {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #efece8 !important;
  margin: 0 0 1.75rem;
  text-transform: lowercase;
}

.n92-explore-rail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.n92-explore-rail__card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.n92-explore-rail__card:hover {
  border-color: #ff3377;
  transform: translateY(-3px);
}

.n92-explore-rail__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #1a1a1a;
}

.n92-explore-rail__meta {
  padding: 0.85rem 1rem;
}

.n92-explore-rail__client {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  margin: 0;
}

.n92-explore-rail__service {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.65em 1.1em;
  background: transparent;
  border: 1px solid #ff3377;
  color: #ff3377;
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.n92-explore-rail__service:hover {
  background: #ff3377;
  color: #fff;
}

/* ── Capabilities map ── */
.n92-cap-map-trigger {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  /* vertical-rl + 180° so label reads upward on the left edge */
  transform: translateY(-50%) rotate(180deg);
  z-index: 99975;
  writing-mode: vertical-rl;
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: rgba(239, 236, 232, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.n92-cap-map-trigger:hover {
  color: #ff3377;
}

.n92-cap-map {
  position: fixed;
  inset: 0;
  z-index: 100010;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.n92-cap-map.is-open {
  opacity: 1;
  visibility: visible;
}

.n92-cap-map__inner {
  position: relative;
  width: min(90vw, 720px);
  height: min(70vh, 520px);
}

.n92-cap-map__canvas {
  position: absolute;
  inset: 0;
}

.n92-cap-map__line {
  stroke: rgba(239, 236, 232, 0.25);
  stroke-width: 1;
}

.n92-cap-map__node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.55em 1em;
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.n92-cap-map__node:hover,
.n92-cap-map__node.is-active {
  border-color: #ff3377;
  background: rgba(255, 51, 119, 0.15);
  transform: translate(-50%, -50%) scale(1.05);
}

.n92-cap-map__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #efece8;
  pointer-events: none;
}

.n92-cap-map__panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: rgba(10, 10, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.n92-cap-map__panel.is-visible {
  transform: translateY(0);
}

.n92-cap-map__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

/* ── Project quiz ── */
.n92-quiz {
  position: fixed;
  inset: 0;
  z-index: 100011;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.n92-quiz.is-open {
  opacity: 1;
  visibility: visible;
}

.n92-quiz__panel {
  width: min(92vw, 480px);
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  position: relative;
}

.n92-quiz__progress {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.n92-quiz__progress-dot {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--n92-radius, 3px);
  transition: background 0.2s ease;
}

.n92-quiz__progress-dot.is-done {
  background: #ff3377;
}

.n92-quiz__question {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 1.25rem;
  line-height: 1.25;
}

.n92-quiz__options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.n92-quiz__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.85em 1em;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #efece8;
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.n92-quiz__option:hover {
  border-color: #ff3377;
  background: rgba(255, 51, 119, 0.08);
}

.n92-quiz__result-title {
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #ff3377;
  margin: 0 0 0.75rem;
}

.n92-quiz__result-copy {
  color: rgba(239, 236, 232, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.n92-quiz__cta {
  display: inline-block;
  padding: 0.85em 1.5em;
  background: #ff3377;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  font-family: gilroy, "Proxima Nova", sans-serif;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  text-transform: lowercase;
}

.n92-quiz__cta--button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.n92-quiz__input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.65rem;
  padding: 0.75em 1em;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #efece8;
  font-family: gilroy, "Proxima Nova", sans-serif;
  font-size: 0.9rem;
}

.n92-quiz__input:focus {
  outline: none;
  border-color: #ff3377;
}

.n92-quiz__result-hint {
  font-size: 0.85rem;
  color: rgba(239, 236, 232, 0.6);
  margin: 0 0 1rem;
}

.n92-quiz__error {
  color: #ff6b9d;
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
}

.n92-quiz__skip {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(239, 236, 232, 0.6);
  text-align: center;
  text-decoration: underline;
}

.n92-quiz__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  cursor: pointer;
}

/* ── Brand moments ── */
#site-logo.n92-logo-pulse img {
  animation: n92-logo-pulse 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes n92-logo-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .n92-chapters,
  .n92-cap-map-trigger {
    display: none !important;
  }
}

/* Culture CTA + insights — stack on tablet/mobile */
@media (max-width: 768px) {
  .themify_builder_content-22 .tb_upml237 .tb_2p80238 {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.25rem;
  }

  .themify_builder_content-22 .tb_upml237 .tb_bgbm238,
  .themify_builder_content-22 .tb_upml237 .tb_uk4h238 {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
  }

  .n92-insights-inline {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .n92-sticky-cta {
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(1rem, env(safe-area-inset-right));
  }

  .n92-sticky-cta__primary {
    font-size: 0.78rem;
    padding: 0.65em 1em;
  }

  .themify_builder_content-22 .tb_upml237 .tb_2p80238 {
    --gutter: 1rem;
    padding-top: 1.5rem !important;
  }

  .n92-insights-inline-host {
    padding-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .n92-sticky-cta,
  .n92-chapters,
  .n92-insights-inline,
  .n92-tile-preview-overlay,
  .n92-cap-map,
  .n92-quiz {
    transition: none !important;
    animation: none !important;
  }

  .n92-cursor-glow {
    display: none !important;
  }
}
