@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");

/* ============================================================
   PROJECTS.CSS — Project Detail Page
   Loaded after style.css; overrides shared base where needed.
   ============================================================ */

/* --- Base overrides ----------------------------------------- */
body {
  width: 100%;
  max-width: none;
  gap: 0;
}

/* --- Progress bar ------------------------------------------- */
.dp-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10001;
  pointer-events: none;
}

.dp-progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--orange);
}

/* --- Ambient constellation over hero image ------------------ */
/* Sits above the darkened bg/overlay (z0/z1) but below content (z2) */
.dp-hero .ambient-bg,
.lp-hero .ambient-bg {
  z-index: 1;
}

/* --- Hero --------------------------------------------------- */
.dp-hero {
  position: relative;
  height: 100vh;
  min-height: 550px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: radial-gradient(
    120% 95% at 50% 0%,
    #1c252e 0%,
    #13191e 50%,
    #0c1116 100%
  );
}

.dp-hero-bg {
  position: absolute;
  inset: -15%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}

.dp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 55%,
    rgba(8, 12, 16, 0.5) 100%
  );
}

.dp-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px;
  max-width: 900px;
}

.dp-hero-label {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.dp-hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding-bottom: 0;
}

.dp-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--platinum);
  letter-spacing: 0.04em;
}

.dp-hero-divider {
  opacity: 0.3;
}

.dp-hero .scroll-indicator {
  z-index: 2;
}

/* Hero device mockup */
.dp-hero-device {
  display: none;
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 8%;
  transform: translateY(-50%) perspective(1200px) rotateY(-8deg) rotateX(2deg);
  width: 52%;
  max-width: 720px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.dp-hero-device.dp-device-active {
  display: none;
}

.dp-hero-device-chrome {
  background: #2a2a2c;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dp-hero-device-dots {
  display: flex;
  gap: 6px;
}

.dp-hero-device-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dp-hero-device-dots span:nth-child(1) {
  background: #ff5f57;
}
.dp-hero-device-dots span:nth-child(2) {
  background: #febc2e;
}
.dp-hero-device-dots span:nth-child(3) {
  background: #28c840;
}

.dp-hero-device-url {
  background: #1c1c1e;
  border-radius: 4px;
  padding: 4px 12px;
  margin-left: 8px;
  font-family: "SF Mono", "Menlo", monospace;
  font-size: 12px;
  color: #8a9396;
  letter-spacing: 0.02em;
}

.dp-hero-device-screen {
  width: 100%;
  display: block;
}

.dp-hero-device-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Overview ----------------------------------------------- */
.dp-overview {
  padding: 120px 60px;
  background-color: var(--surface, #faf9fe);
}

.dp-overview-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.dp-overview-desc {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-black);
  text-align: center;
  margin-bottom: 80px;
}

.dp-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 1px solid var(--platinum);
  padding-top: 40px;
}

.dp-meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dp-meta-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}

.dp-meta-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--dark-coffee);
  line-height: 1.5;
}

/* --- Approach (pinned split) -------------------------------- */
.dp-approach {
  display: flex;
  align-items: flex-start;
  background-color: var(--dark-coffee);
  color: var(--white);
}

.dp-approach-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 40%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.dp-approach-sticky-inner {
  padding: 60px 48px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.dp-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  margin-bottom: 12px;
}

.dp-approach-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 48px;
  padding-bottom: 0;
}

.dp-step-indicator {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.dp-step-track {
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.dp-step-fill {
  height: 100%;
  width: 50%;
  background-color: var(--orange);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.dp-step-count {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--grey);
}

.dp-approach-scroll {
  flex: 1;
  min-width: 0;
}

.dp-approach-block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dp-approach-block:last-child {
  border-bottom: none;
}

.dp-approach-block-inner {
  max-width: 580px;
}

.dp-approach-img-wrap {
  width: 100%;
  margin-bottom: 36px;
  overflow: hidden;
  border-radius: 4px;
}

.dp-approach-img {
  width: 100%;
  height: auto;
  display: block;
  filter: contrast(1.02);
  transition: transform 0.6s ease;
}

.dp-approach-img-wrap:hover .dp-approach-img {
  transform: scale(1.03);
}

.dp-approach-block-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 0;
}

.dp-approach-block-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.7;
}

/* --- Design (pinned split, reversed) ------------------------ */
.dp-design {
  display: flex;
  align-items: flex-start;
  background-color: var(--surface, #faf9fe);
}

.dp-design-scroll {
  width: 50%;
  flex-shrink: 0;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.dp-design-block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 56px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dp-design-block:last-child {
  border-bottom: none;
}

.dp-design-block-inner {
  max-width: 500px;
}

.dp-design .dp-num {
  color: rgba(0, 0, 0, 0.04);
}

.dp-design-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark-coffee);
  margin-bottom: 32px;
  padding-bottom: 0;
}

.dp-design-copy {
  font-size: 18px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.7;
}

.dp-design-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.dp-design-img-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.dp-design-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.dp-design-img-wrap.dp-img-active {
  opacity: 1;
}

.dp-design-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dp-design-img-wrap.dp-lightbox-trigger {
  position: absolute;
}

.dp-design-img-wrap .dp-lightbox-icon {
  bottom: 20px;
  right: 20px;
}

.dp-design-img-wrap.dp-img-active:hover .dp-lightbox-icon {
  opacity: 1;
}

/* Inline design images (mobile/tablet only) */
.dp-design-inline-img {
  display: none;
}

.dp-design-inline-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Color theory */
.dp-color-theory {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--platinum);
}

.dp-color-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 0;
}

.dp-color-list {
  display: flex;
  gap: 12px;
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.dp-color-list li {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dp-color-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.65;
}

/* --- Outcome ------------------------------------------------ */
.dp-outcome {
  background-color: var(--dark-coffee);
  color: var(--white);
  overflow: hidden;
}

.dp-outcome-media {
  width: 100%;
  height: 65vh;
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

.dp-outcome-media img,
.dp-outcome-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dp-outcome-content {
  padding: 80px 60px;
  max-width: 800px;
}

.dp-outcome .dp-num {
  color: rgba(255, 255, 255, 0.04);
}

.dp-outcome-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 0;
}

.dp-outcome-text {
  font-size: 18px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 40px;
}

.dp-outcome-cta {
  background-color: var(--white);
  color: var(--dark-coffee);
  display: inline-flex;
  width: auto;
}

.dp-outcome-cta .arrow .tic,
.dp-outcome-cta .arrow .line {
  background-color: var(--dark-coffee);
}

/* --- Explore More ------------------------------------------- */
.dp-explore {
  padding: 80px 60px;
  background-color: var(--surface, #faf9fe);
}

.dp-explore-label {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 32px;
}

.dp-explore-cards {
  display: inline-flex;
  gap: 20px;
}

.dp-explore-card {
  padding: 40px 32px;
  background-color: var(--diamond);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.dp-explore-card:hover {
  background-color: var(--platinum);
  transform: translateY(-4px);
}

.dp-explore-dir {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}

.dp-explore-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark-coffee);
  line-height: 1.1;
}

/* --- Lightbox icon overlay ---------------------------------- */
.dp-lightbox-trigger {
  position: relative;
  cursor: pointer;
}

.dp-lightbox-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.dp-lightbox-trigger:hover .dp-lightbox-icon {
  opacity: 1;
  transform: scale(1);
}

.dp-lightbox-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Lightbox overlay --------------------------------------- */
.dp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  cursor: grab;
}

.dp-lightbox.dp-lightbox-open {
  opacity: 1;
  visibility: visible;
}

.dp-lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp-lightbox-img-wrap::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.dp-lightbox-img-wrap::-webkit-scrollbar-track {
  background: transparent;
}

.dp-lightbox-img-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.dp-lightbox-img-wrap img {
  display: block;
  min-width: 70vw;
  min-height: 50vh;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transition: transform 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.dp-lightbox-img-wrap img[src$=".svg"] {
  background: #1a2233;
  border-radius: 8px;
}

.dp-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 20001;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.dp-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

.dp-lightbox-close svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

/* --- Hidden utility ----------------------------------------- */
.dp-hidden {
  display: none !important;
}

/* --- Color swatches (project-specific) ---------------------- */
.lmn-teal {
  background-color: #007981;
}
.lmn-light-teal {
  background-color: #2aede5;
}
.lmn-orange {
  background-color: #fb8429;
}
.lmn-red {
  background-color: #f95e4a;
}

/* --- Responsive: tablet (≤768px) ---------------------------- */
@media (max-width: 768px) {
  .dp-hero-content {
    padding: 60px 24px;
  }

  .dp-overview {
    padding: 80px 24px;
  }

  .dp-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .dp-hero-device {
    right: 4%;
    width: 55%;
    max-width: 400px;
    transform: translateY(-50%) perspective(1000px) rotateY(-6deg) rotateX(1deg);
  }

  /* Approach: stack */
  .dp-approach {
    flex-direction: column;
  }

  .dp-approach-sticky {
    position: relative;
    height: auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dp-approach-sticky-inner {
    padding: 60px 24px 48px;
  }

  .dp-step-indicator {
    margin-top: 32px;
  }

  .dp-approach-block {
    min-height: auto;
    padding: 60px 24px;
  }

  /* Design: stack */
  .dp-design {
    flex-direction: column-reverse;
  }

  .dp-design-scroll {
    width: 100%;
    border-right: none;
  }

  .dp-design-sticky {
    display: none;
  }

  .dp-design-inline-img {
    display: block;
    margin-bottom: 32px;
    overflow: hidden;
    border-radius: 4px;
  }

  .dp-design-block {
    min-height: auto;
    padding: 60px 24px;
    flex-direction: column;
  }

  /* Outcome */
  .dp-outcome-media {
    height: 45vh;
    min-height: 280px;
  }

  .dp-outcome-content {
    padding: 60px 24px;
  }

  /* Explore */
  .dp-explore {
    padding: 60px 24px;
  }

  .dp-explore-cards {
    flex-direction: column;
  }
}

/* --- Responsive: mobile (≤600px) ---------------------------- */
@media (max-width: 600px) {
  .dp-hero {
    min-height: 480px;
    padding-top: 60px;
  }

  .dp-hero-device {
    display: none !important;
  }

  .dp-hero-content {
    padding: 48px 20px;
  }

  .dp-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .dp-overview {
    padding: 64px 20px;
  }

  .dp-overview-desc {
    text-align: left;
    margin-bottom: 48px;
  }

  .dp-approach-sticky-inner {
    padding: 48px 20px 36px;
  }

  .dp-approach-block {
    padding: 48px 20px;
  }

  .dp-design-block {
    padding: 48px 20px;
  }

  .dp-outcome-content {
    padding: 48px 20px;
  }

  .dp-explore {
    padding: 48px 20px;
  }

  .dp-num {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }
}

/* ============================================================
   LUMEN PROJECT PAGE (lp-*)
   Dedicated styles for archive/lumen-project-page.html
   ============================================================ */

/* --- Body --------------------------------------------------- */
.lp-body {
  background-color: var(--dark-coffee);
}

/* ============================================================
   HERO
   ============================================================ */
.lp-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: radial-gradient(
    120% 95% at 50% 0%,
    #1c252e 0%,
    #13191e 50%,
    #0c1116 100%
  );
}

.lp-hero-bg {
  position: absolute;
  inset: -15%;
  z-index: 0;
  will-change: transform;
}

.lp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 55%,
    rgba(8, 12, 16, 0.5) 100%
  );
}

.lp-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px;
  max-width: 960px;
}

.lp-hero-label {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
}

.lp-hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  padding-bottom: 0;
}

.lp-hero-sub {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--platinum);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

.lp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lp-hero-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   INTRO
   ============================================================ */
.lp-intro {
  background-color: var(--glass);
  padding: 120px 60px;
}

.lp-intro-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.lp-intro-statement {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-black);
  text-align: center;
  margin-bottom: 80px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.lp-intro-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 1px solid var(--platinum);
  padding-top: 40px;
}

.lp-intro-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-meta-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}

.lp-meta-value {
  font-size: 14px;
  font-weight: 400;
  color: var(--dark-coffee);
  line-height: 1.5;
}

/* ============================================================
   TICKER
   ============================================================ */
.lp-ticker {
  background-color: var(--dark-coffee);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 18px 0;
}

.lp-ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: lp-ticker-scroll 30s linear infinite;
  will-change: transform;
}

.lp-ticker-track span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
  flex-shrink: 0;
}

.lp-ticker-dot {
  color: var(--orange) !important;
  font-size: 14px !important;
}

@keyframes lp-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-ticker-track {
    animation: none;
  }
}

/* ============================================================
   PROJECT SECTIONS — SHARED
   ============================================================ */
.lp-project {
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.lp-project-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lp-project-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.lp-project-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  margin-top: -8px;
}

.lp-project-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-project-category {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}

.lp-project-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  padding-bottom: 0;
}

.lp-project-desc {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 20px;
}

.lp-project-desc--secondary {
  margin-top: 0;
  font-size: 14px;
  opacity: 0.75;
}

.lp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-top: 32px;
}

.lp-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 2px;
  border: 1px solid currentColor;
}

/* ============================================================
   PROJECT 01 — PRODUCT FINDER (light)
   ============================================================ */
.lp-project-finder {
  background-color: var(--glass);
}

.lp-project-finder .lp-project-num {
  color: rgba(0, 0, 0, 0.1);
}

.lp-project-finder .lp-project-title {
  color: var(--dark-coffee);
}

.lp-project-finder .lp-project-desc {
  color: var(--text-black);
}

.lp-project-finder .lp-tag {
  color: var(--dark-coffee);
  border-color: var(--platinum);
  background: transparent;
}

.lp-project-finder .lp-tag--accent {
  color: var(--white);
  background-color: var(--dark-coffee);
  border-color: var(--dark-coffee);
}

.lp-finder-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-finder-img-main {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.lp-finder-img-main img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 250px;
  object-fit: cover;
}

.lp-finder-video-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  background: var(--dark-coffee);
  max-height: 500px;
}

.lp-finder-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 500px;
}

/* ============================================================
   PROJECT 02 — CLOUD INFOGRAPHIC (dark)
   ============================================================ */
.lp-project-infographic {
  background-color: var(--dark-coffee);
  padding-top: 0;
}

.lp-infographic-feature {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  position: relative;
}

.lp-infographic-feature img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.lp-infographic-feature-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 32px;
  background: linear-gradient(
    to top,
    rgba(19, 25, 30, 0.9) 0%,
    transparent 100%
  );
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

.lp-infographic-feature-live a {
  color: var(--orange);
  transition: opacity 0.2s;
}

.lp-infographic-feature-live a:hover {
  opacity: 0.7;
}

.lp-infographic-inner {
  padding-top: 80px;
}

.lp-project-infographic .lp-project-num {
  color: rgba(255, 255, 255, 0.1);
}

.lp-project-infographic .lp-project-title {
  color: var(--white);
}

.lp-project-infographic .lp-project-desc {
  color: var(--grey);
}

.lp-project-infographic .lp-tag {
  color: var(--grey);
  border-color: rgba(255, 255, 255, 0.15);
}

.lp-project-infographic .lp-tag--accent {
  color: var(--dark-coffee);
  background-color: var(--orange);
  border-color: var(--orange);
}

/* Collage grid */
.lp-collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
}

.lp-collage-item {
  overflow: hidden;
  border-radius: 4px;
}

.lp-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.lp-collage-item:hover img {
  transform: scale(1.04);
}

.lp-collage-a {
  grid-column: 1;
  grid-row: 1;
}
.lp-collage-b {
  grid-column: 2;
  grid-row: 1;
}
.lp-collage-c {
  grid-column: 1 / 3;
  grid-row: 2;
}
.lp-collage-d {
  grid-column: 1;
  grid-row: 3;
  display: none;
}

/* ============================================================
   PROJECT 03 — DAILY PAGE UPDATES (cream)
   ============================================================ */
.lp-project-daily {
  background-color: var(--cream);
}

.lp-project-daily .lp-project-inner {
  grid-template-columns: 1fr 1fr;
}

.lp-project-daily .lp-project-num {
  color: rgba(0, 0, 0, 0.1);
}

.lp-project-daily .lp-project-title {
  color: var(--dark-coffee);
}

.lp-project-daily .lp-project-desc {
  color: var(--text-black);
}

.lp-project-daily .lp-tag {
  color: var(--dark-coffee);
  border-color: rgba(19, 25, 30, 0.2);
}

.lp-project-daily .lp-tag--accent {
  color: var(--white);
  background-color: var(--dark-coffee);
  border-color: var(--dark-coffee);
}

/* Device stack collage */
.lp-device-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-device-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lp-device-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.lp-device-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.lp-device-item:hover img {
  transform: scale(1.03);
}

.lp-device-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(19, 25, 30, 0.6);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 2px;
}

.lp-device-desktop {
  max-height: 220px;
}

.lp-device-desktop img {
  object-position: top;
}

.lp-device-tablet,
.lp-device-mobile {
  max-height: 180px;
}

/* ============================================================
   PROJECT 04 — AI FRAMEWORK (dark)
   ============================================================ */
.lp-project-ai {
  background-color: #0d1217;
}

.lp-project-ai .lp-project-num {
  color: rgba(255, 255, 255, 0.1);
}

.lp-project-ai .lp-project-title {
  color: var(--white);
}

.lp-project-ai .lp-project-desc {
  color: var(--grey);
}

.lp-project-ai .lp-tag {
  color: var(--grey);
  border-color: rgba(255, 255, 255, 0.12);
}

.lp-project-ai .lp-tag--accent {
  color: var(--dark-coffee);
  background-color: var(--lmn-light-teal, #2aede5);
  border-color: var(--lmn-light-teal, #2aede5);
}

.lp-ai-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lp-ai-phone {
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  max-height: 250px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(42, 237, 229, 0.08);
}

.lp-ai-phone img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-ai-video-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-height: 500px;
}

.lp-ai-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 500px;
}

/* Video label shared */
.lp-video-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  background: rgba(19, 25, 30, 0.7);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 2px;
}

/* ============================================================
   OUTCOME
   ============================================================ */
.lp-outcome {
  position: relative;
  background-color: var(--dark-coffee);
  overflow: hidden;
}

.lp-outcome-video-wrap {
  width: 100%;
  height: 60vh;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}

.lp-outcome-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-outcome-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(19, 25, 30, 0.2) 0%,
    rgba(19, 25, 30, 0.7) 100%
  );
}

.lp-outcome-content {
  padding: 80px 60px;
  max-width: 800px;
  color: var(--white);
}

.lp-outcome-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  margin-bottom: 12px;
}

.lp-outcome-heading {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 0;
}

.lp-outcome-text {
  font-size: 18px;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 40px;
}

.lp-outcome-cta {
  background-color: var(--white);
  color: var(--dark-coffee);
  display: inline-flex;
  width: auto;
}

.lp-outcome-cta .arrow .tic,
.lp-outcome-cta .arrow .line {
  background-color: var(--dark-coffee);
}

/* Reveal animation base state */
.lp-reveal-img {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--delay, 0s);
}

.lp-reveal-img.lp-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — lp-* styles
   ============================================================ */
@media (max-width: 900px) {
  .lp-hero-content {
    padding: 60px 32px;
  }
  .lp-intro {
    padding: 80px 32px;
  }
  .lp-intro-meta-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-project {
    padding: 80px 32px;
  }
  .lp-project-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Flip copy above visuals on mobile for all projects */
  .lp-project-finder .lp-project-inner,
  .lp-project-daily .lp-project-inner {
    display: flex;
    flex-direction: column;
  }
  .lp-project-daily .lp-project-inner .lp-project-copy {
    order: -1;
  }

  .lp-collage-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-ai-phone {
    width: 100%;
  }

  .lp-outcome-content {
    padding: 60px 32px;
  }
}

@media (max-width: 600px) {
  .lp-hero-content {
    padding: 48px 20px;
  }
  .lp-hero-title {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .lp-intro {
    padding: 64px 20px;
  }
  .lp-intro-statement {
    font-size: 1.1rem;
    margin-bottom: 48px;
  }
  .lp-intro-meta-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .lp-project {
    padding: 64px 20px;
  }
  .lp-project-inner {
    gap: 40px;
  }

  .lp-collage-grid {
    grid-template-columns: 1fr;
  }
  .lp-collage-a,
  .lp-collage-b,
  .lp-collage-c {
    grid-column: 1;
    grid-row: auto;
  }

  .lp-ai-phone {
    width: 100%;
  }
  .lp-outcome-content {
    padding: 48px 20px;
  }

  .lp-infographic-feature img {
    height: 45vh;
  }
}

/* --- Lumen project in-section CTAs ------------------------- */
.lp-cta {
  margin-top: 32px;
  display: inline-flex;
  width: auto;
  background-color: var(--dark-coffee);
  color: var(--white);
}

.lp-cta .arrow .tic,
.lp-cta .arrow .line {
  background-color: var(--white);
}

.lp-cta--dark {
  background-color: var(--white);
  color: var(--dark-coffee);
}

.lp-cta--dark .arrow .tic,
.lp-cta--dark .arrow .line {
  background-color: var(--dark-coffee);
}
