/*==================================================
=                 Projects Index                   =
==================================================*/

.project-case-preview {
  position: relative;
  overflow: hidden;
}

.project-card-tags {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.project-category-tag,
.project-confidential-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--pd-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 9px;
  font-weight: 900;
}

.project-category-tag i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
}

.project-confidential-tag {
  color: #ffffff;
  background: rgba(18, 19, 25, 0.82);
  border-color: rgba(255, 255, 255, 0.12);
}

.project-preview-placeholder {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 30px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(193, 71, 0, 0.35),
      transparent 40%
    ),
    var(--pd-ink);
  text-align: center;
}

.project-preview-placeholder strong {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.2;
}

.project-preview-placeholder span {
  font-size: 14px;
  font-weight: 900;
}

.project-tech-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.project-tech-list span {
  padding: 5px 8px;
  color: var(--pd-muted);
  background: #f4f1eb;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
}

.filter-chip {
  text-decoration: none;
}

.filter-chip small {
  margin-right: 5px;
  opacity: 0.55;
  font-size: 9px;
}

.project-empty-state {
  padding: 60px 30px;
  background: #f7f5f1;
  border: 1px solid var(--pd-line);
  border-radius: 20px;
  text-align: center;
}

.project-empty-state strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pd-ink);
  font-size: 18px;
  font-weight: 900;
}

.project-empty-state p {
  margin: 0 0 20px;
  color: var(--pd-muted);
  font-size: 13px;
}

@media (max-width: 767.98px) {
  .project-card-tags {
    top: 12px;
    right: 12px;
  }

  .project-preview-placeholder {
    min-height: 250px;
  }

  .project-tech-list {
    margin-top: 8px;
  }
}

/*==================================================
=               Project Detail Hero                =
==================================================*/

.project-detail-hero {
  padding: 72px 0 64px;
  background: #ffffff;
}

.project-hero-labels {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.project-hero-labels span {
  padding: 7px 10px;
  color: var(--pd-muted);
  background: #f5f2ec;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
}

.project-hero-labels .confidential {
  color: #ffffff;
  background: var(--pd-ink);
}

.project-detail-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--pd-ink);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 900;
  line-height: 1.45;
}

.project-hero-summary {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--pd-muted);
  font-size: 15px;
  line-height: 2;
}

.project-hero-tech {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.project-hero-tech span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: var(--pd-muted);
  border: 1px solid var(--pd-line);
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
}

.project-hero-tech-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.project-hero-preview {
  min-height: 360px;
  overflow: hidden;
  background: #f3f0e9;
  border-radius: 24px;
  box-shadow: var(--pd-shadow);
}

.project-hero-preview img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.project-hero-preview.is-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #ffffff;
  background: var(--pd-ink);
}

.project-hero-preview.is-empty strong {
  font-size: 70px;
  opacity: 0.12;
}

.project-hero-preview.is-empty span {
  font-size: 13px;
  font-weight: 900;
}


/*==================================================
=                Project Snapshot                  =
==================================================*/

.project-snapshot-section {
  padding: 0 0 28px;
  background: #ffffff;
}

.project-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 18px;
}

.project-snapshot-item {
  min-width: 0;
  padding: 20px 22px;
  border-left: 1px solid var(--pd-line);
}

.project-snapshot-item:last-child {
  border-left: 0;
}

.project-snapshot-item span {
  display: block;
  margin-bottom: 5px;
  color: var(--pd-muted);
  font-size: 9px;
  font-weight: 800;
}

.project-snapshot-item strong {
  display: block;
  color: var(--pd-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.7;
}

.project-snapshot-item a {
  color: inherit;
  text-decoration: none;
}

.project-snapshot-item a:hover {
  color: var(--pd-brand);
}

/*==================================================
=                Project Showcase                  =
==================================================*/

.project-showcase {
  background: #f6f3ed;
}

.project-showcase-stage {
  overflow: hidden;
  background: var(--pd-ink);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(18, 19, 25, 0.12);
}

/*------------------------------------------
Toolbar
------------------------------------------*/

.project-showcase-toolbar {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  background: #1a1b22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-showcase-dots {
  display: flex;
  gap: 6px;
}

.project-showcase-dots i {
  width: 8px;
  height: 8px;
  display: block;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.project-showcase-address {
  min-width: 0;
  width: 100%;
  max-width: 560px;
  justify-self: center;
  padding: 9px 14px;
  overflow: hidden;
  color: #aeb2bc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  font-size: 10px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*------------------------------------------
Viewport Switcher
------------------------------------------*/

.project-showcase-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.project-showcase-switcher button {
  min-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 11px;
  color: #9fa4af;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.project-showcase-switcher button:hover {
  color: #ffffff;
}

.project-showcase-switcher button.active {
  color: #ffffff;
  background: var(--pd-brand);
}

.project-showcase-video-tab i {
  font-size: 8px;
}

/*------------------------------------------
Canvas
------------------------------------------*/

.project-showcase-canvas {
  min-height: 720px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 38px;
  overflow: hidden;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    #111218;
  background-size: 28px 28px;
}

/*------------------------------------------
Device
------------------------------------------*/

.project-showcase-device {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 8px solid #292b33;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.project-showcase-device.is-desktop {
  width: 100%;
  border-radius: 14px;
}

.project-showcase-device.is-tablet {
  width: 760px;
  border-radius: 25px;
}

.project-showcase-device.is-mobile {
  width: 390px;
  border-width: 9px;
  border-radius: 34px;
}

.project-showcase-device.is-video {
  width: min(1100px, 100%);
  border-radius: 18px;
}

/*------------------------------------------
Screenshot Scroll
------------------------------------------*/

.project-showcase-scroll {
  height: 650px;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  scrollbar-width: thin;
}

.project-showcase-scroll img {
  width: 100%;
  height: auto;
  display: block;
}

.project-showcase-device.is-tablet .project-showcase-scroll {
  height: 700px;
}

.project-showcase-device.is-mobile .project-showcase-scroll {
  height: 720px;
}

/*------------------------------------------
Screenshot Scrollbar
------------------------------------------*/

.project-showcase-scroll::-webkit-scrollbar {
  width: 7px;
}

.project-showcase-scroll::-webkit-scrollbar-track {
  background: #ececec;
}

.project-showcase-scroll::-webkit-scrollbar-thumb {
  background: #bababa;
  border-radius: 10px;
}

/*------------------------------------------
Video
------------------------------------------*/

.project-showcase-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.project-showcase-video video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  object-fit: contain;
}

.project-showcase-video-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at center,
      rgba(193, 71, 0, 0.22),
      transparent 42%
    ),
    #0c0d11;
}

.project-showcase-video-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-showcase-video-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 15, 0.28);
}

.project-showcase-video-play {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding-right: 2px;
  color: #ffffff;
  background: var(--pd-brand);
  border: 5px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  font-size: 19px;
}

/*------------------------------------------
Caption
------------------------------------------*/

.project-showcase-caption {
  padding: 11px 14px;
  color: #aeb2bc;
  background: #202129;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

/*------------------------------------------
Responsive
------------------------------------------*/

@media (max-width: 991.98px) {
  .project-showcase-toolbar {
    grid-template-columns: 1fr;
  }

  .project-showcase-dots {
    display: none;
  }

  .project-showcase-address {
    justify-self: stretch;
  }

  .project-showcase-switcher {
    justify-self: center;
  }

  .project-showcase-canvas {
    padding: 28px 20px;
  }

  .project-showcase-video-placeholder {
    min-height: 400px;
  }
}

@media (max-width: 767.98px) {
  .project-showcase-stage {
    border-radius: 20px;
  }

  .project-showcase-canvas {
    min-height: 600px;
    padding: 20px 12px;
  }

  .project-showcase-switcher button span {
    display: none;
  }

  .project-showcase-switcher button {
    width: 39px;
    padding: 7px;
  }

  .project-showcase-scroll,
  .project-showcase-device.is-tablet .project-showcase-scroll,
  .project-showcase-device.is-mobile .project-showcase-scroll {
    height: 580px;
  }

  .project-showcase-device.is-video {
    border-width: 6px;
    border-radius: 14px;
  }

  .project-showcase-video-placeholder {
    min-height: 300px;
  }

  .project-showcase-video-play {
    width: 60px;
    height: 60px;
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .project-showcase-canvas {
    min-height: 540px;
  }

  .project-showcase-video-placeholder {
    min-height: 220px;
  }
}

/*==================================================
=                    Responsive                    =
==================================================*/

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

  .project-snapshot-item:nth-child(3n) {
    border-left: 0;
  }
}

@media (max-width: 991.98px) {
  .project-detail-hero {
    padding-top: 56px;
  }

  .project-hero-preview {
    min-height: 300px;
  }

  .live-project-toolbar {
    grid-template-columns: 1fr;
  }

  .browser-dots {
    display: none;
  }

  .browser-address {
    justify-self: stretch;
  }

  .project-viewport-switcher {
    justify-self: center;
  }

  .live-project-canvas {
    min-height: 620px;
  }
}

@media (max-width: 767.98px) {
  .project-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-snapshot-item {
    border-bottom: 1px solid var(--pd-line);
  }

  .project-snapshot-item:nth-child(even) {
    border-left: 0;
  }

  .live-project-stage {
    border-radius: 20px;
  }

  .live-project-canvas {
    min-height: 570px;
    padding: 20px 12px;
  }

  .live-project-device {
    height: 620px;
  }

  .project-viewport-switcher button span {
    display: none;
  }

  .project-viewport-switcher button {
    width: 38px;
    justify-content: center;
  }
}

/*==================================================
=                  Project Story                    =
==================================================*/

.project-story {
  background: #ffffff;
}

.project-story-list {
  position: relative;
  display: grid;
  gap: 22px;
}

.project-story-list::before {
  content: "";
  position: absolute;
  top: 36px;
  right: 43px;
  bottom: 36px;
  width: 1px;
  background: var(--pd-line);
}

/* Story Item */

.project-story-item {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  overflow: hidden;
  background: #f7f5f1;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
}

.project-story-side {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  padding: 28px 16px;
  background: #ffffff;
  border-left: 1px solid var(--pd-line);
}

.project-story-number {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--pd-brand);
  background: #f7f5f1;
  border: 1px solid var(--pd-line);
  border-radius: 16px;
  font-size: 17px;
  font-weight: 900;
}

.project-story-label {
  color: var(--pd-muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
}

/* Content */

.project-story-content {
  padding: 34px 38px;
}

.project-story-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.project-story-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  color: var(--pd-brand);
  background: rgba(193, 71, 0, 0.08);
  border-radius: 14px;
  font-size: 15px;
}

.project-story-heading small {
  display: block;
  margin-bottom: 3px;
  color: var(--pd-brand);
  font-size: 13px;
  font-weight: 900;
}

.project-story-heading h3 {
  margin: 0;
  color: var(--pd-ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.7;
}

.project-story-text {
  max-width: 900px;
  color: var(--pd-muted);
  font-size: 14px;
  line-height: 2.15;
}

/*------------------------------------------
Solution
------------------------------------------*/

.project-story-item.is-solution {
  background: var(--pd-ink);
  border-color: var(--pd-ink);
}

.project-story-item.is-solution .project-story-side {
  background: #1a1b22;
  border-color: rgba(255, 255, 255, 0.08);
}

.project-story-item.is-solution .project-story-number {
  color: #ffffff;
  background: var(--pd-brand);
  border-color: var(--pd-brand);
}

.project-story-item.is-solution .project-story-label {
  color: #777c87;
}

.project-story-item.is-solution .project-story-icon {
  color: #ffb27f;
  background: rgba(193, 71, 0, 0.16);
}

.project-story-item.is-solution .project-story-heading small {
  color: #ffb27f;
}

.project-story-item.is-solution .project-story-heading h3 {
  color: #ffffff;
}

.project-story-item.is-solution .project-story-text {
  color: #b9bdc7;
}

/*------------------------------------------
Result
------------------------------------------*/

.project-story-item.is-result {
  background:
    linear-gradient(
      135deg,
      rgba(193, 71, 0, 0.055),
      transparent 55%
    ),
    #ffffff;
  border-color: rgba(193, 71, 0, 0.24);
}

.project-story-item.is-result .project-story-number {
  color: #ffffff;
  background: var(--pd-brand);
  border-color: var(--pd-brand);
}

/*------------------------------------------
Responsive
------------------------------------------*/

@media (max-width: 767.98px) {
  .project-story-list::before {
    display: none;
  }

  .project-story-item {
    grid-template-columns: 1fr;
  }

  .project-story-side {
    align-items: center;
    flex-direction: row;
    padding: 15px 18px;
    border-left: 0;
    border-bottom: 1px solid var(--pd-line);
  }

  .project-story-item.is-solution .project-story-side {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .project-story-number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
  }

  .project-story-label {
    writing-mode: initial;
  }

  .project-story-content {
    padding: 24px 20px;
  }

  .project-story-heading {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .project-story-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .project-story-heading h3 {
    font-size: 18px;
  }

  .project-story-text {
    font-size: 13px;
    line-height: 2;
  }
}

/*==================================================
=                Project Gallery                   =
==================================================*/

.project-gallery {
  position: relative;
}

/*------------------------------------------
Grid Card
------------------------------------------*/

.project-gallery-card {
  height: 100%;
  overflow: hidden;
  background: #f5f2ec;
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.project-gallery-card:hover {
  transform: translateY(-3px);
  border-color: rgba(193, 71, 0, 0.24);
  box-shadow: var(--pd-shadow);
}

.project-gallery-open {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: right;
  cursor: pointer;
}

/*------------------------------------------
Visual Area
------------------------------------------*/

.project-gallery-visual {
  position: relative;
  overflow: hidden;
  background: #ece8e0;
}

.project-gallery-card.is-wide .project-gallery-visual {
  aspect-ratio: 16 / 9;
}

.project-gallery-card.is-tall .project-gallery-visual {
  aspect-ratio: 4 / 5;
}

.project-gallery-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.project-gallery-open:hover .project-gallery-visual img {
  transform: scale(1.025);
}

/*------------------------------------------
Zoom Button
------------------------------------------*/

.project-gallery-zoom {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(18, 19, 25, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  backdrop-filter: blur(10px);
  font-size: 13px;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.project-gallery-open:hover .project-gallery-zoom {
  transform: translateY(-2px);
  background: var(--pd-brand);
}

/*------------------------------------------
Meta / Caption
------------------------------------------*/

.project-gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  color: var(--pd-muted);
  background: #ffffff;
  border-top: 1px solid var(--pd-line);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.8;
}

.project-gallery-meta span {
  min-width: 0;
  flex: 1;
}

.project-gallery-meta i {
  flex: 0 0 auto;
  color: var(--pd-brand);
  transition: transform 0.2s ease;
}

.project-gallery-open:hover .project-gallery-meta i {
  transform: translateX(-3px);
}

/*------------------------------------------
Placeholder
------------------------------------------*/

.project-gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(193, 71, 0, 0.35),
      transparent 42%
    ),
    var(--pd-ink);
  text-align: center;
}

.project-gallery-placeholder strong {
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.15;
}

.project-gallery-placeholder span {
  font-size: 12px;
  font-weight: 900;
}

/*==================================================
=               Project Media Modal                =
==================================================*/

.project-media-modal {
  overflow: hidden;
  background: #ffffff;
  border: 0;
  border-radius: 22px;
}

.project-media-modal .modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--pd-line);
}

.project-media-modal .modal-title {
  margin: 0;
  color: var(--pd-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
}

.project-media-modal .modal-body {
  padding: 0;
  background: #111218;
}

.project-media-modal-stage {
  max-height: 78vh;
  overflow: auto;
  background: #111218;
}

.project-media-modal-stage img {
  width: 100%;
  height: auto;
  display: block;
}

.project-media-modal-caption {
  margin: 0;
  padding: 14px 20px;
  color: #b9bdc7;
  background: #1a1b22;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  line-height: 1.9;
}

/*------------------------------------------
Scrollbar
------------------------------------------*/

.project-media-modal-stage {
  scrollbar-width: thin;
}

.project-media-modal-stage::-webkit-scrollbar {
  width: 7px;
}

.project-media-modal-stage::-webkit-scrollbar-track {
  background: #202129;
}

.project-media-modal-stage::-webkit-scrollbar-thumb {
  background: #555965;
  border-radius: 10px;
}

/*------------------------------------------
Responsive
------------------------------------------*/

@media (max-width: 991.98px) {
  .project-gallery-card.is-wide .project-gallery-visual {
    aspect-ratio: 16 / 10;
  }

  .project-gallery-card.is-tall .project-gallery-visual {
    aspect-ratio: 4 / 4.7;
  }
}

@media (max-width: 767.98px) {
  .project-gallery-card {
    border-radius: 17px;
  }

  .project-gallery-card.is-wide .project-gallery-visual,
  .project-gallery-card.is-tall .project-gallery-visual {
    aspect-ratio: 16 / 10;
  }

  .project-gallery-zoom {
    left: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 11px;
  }

  .project-gallery-meta {
    padding: 14px 16px;
    font-size: 10px;
  }

  .project-media-modal {
    border-radius: 18px;
  }

  .project-media-modal .modal-header {
    padding: 16px 18px;
  }

  .project-media-modal .modal-title {
    font-size: 16px;
  }

  .project-media-modal-stage {
    max-height: 74vh;
  }

  .project-media-modal-caption {
    padding: 12px 16px;
    font-size: 10px;
  }
}

@media (max-width: 575.98px) {
  .project-gallery-placeholder {
    min-height: 220px;
  }

  .project-gallery-placeholder strong {
    font-size: 46px;
  }

  .project-gallery-meta {
    align-items: flex-start;
  }
}


/*==================================================
=              Project Dynamic Sections            =
==================================================*/

.project-dynamic-sections {
  position: relative;
}

.project-section {
  position: relative;
}

.project-section-heading {
  margin-bottom: 28px;
}

/*==================================================
=                   Rich Text                      =
==================================================*/

.project-rich-text {
  background: #ffffff;
}

.project-rich-text-inner {
  max-width: 980px;
  margin: 0 auto;
}

.project-rich-text-body {
  color: var(--pd-muted);
  font-size: 15px;
  line-height: 2.3;
}

.project-rich-text-body::first-line {
  color: var(--pd-ink);
}

/*==================================================
=                 Image + Text                     =
==================================================*/

.project-image-text {
  background: #f6f3ed;
}

.project-image-text-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 70px;
}

.project-image-text.is-image-right .project-image-text-content {
  order: 1;
}

.project-image-text.is-image-right .project-image-text-media {
  order: 2;
}

.project-image-text.is-image-left .project-image-text-media {
  order: 1;
}

.project-image-text.is-image-left .project-image-text-content {
  order: 2;
}

.project-image-text-content {
  min-width: 0;
}

.project-image-text-body {
  margin-top: 22px;
  color: var(--pd-muted);
  font-size: 14px;
  line-height: 2.2;
}

.project-image-text-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--pd-line);
  border-radius: 24px;
  box-shadow: 0 24px 65px rgba(18, 19, 25, 0.1);
}

.project-image-text-media img {
  width: 100%;
  height: auto;
  display: block;
}

.project-image-text-media figcaption {
  padding: 13px 17px;
  color: var(--pd-muted);
  background: #ffffff;
  border-top: 1px solid var(--pd-line);
  font-size: 10px;
  line-height: 1.9;
}

/*==================================================
=                     Stats                        =
==================================================*/

.project-stats {
  background: var(--pd-ink);
}

.project-stats-wrapper {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 70px;
}

.project-stats .section-kicker {
  color: #ffb27f;
}

.project-stats .section-title {
  color: #ffffff;
}

.project-stats-copy {
  max-width: 500px;
  margin: 18px 0 0;
  color: #aeb2bc;
  font-size: 13px;
  line-height: 2;
}

.project-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
}

.project-stat-item {
  min-height: 190px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.project-stat-item:last-child {
  border-left: 0;
}

.project-stat-item strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
}

.project-stat-item span {
  display: block;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.8;
}

.project-stat-item small {
  display: block;
  margin-top: 7px;
  color: #858a95;
  font-size: 9px;
  line-height: 1.8;
}

/*==================================================
=                     Quote                        =
==================================================*/

.project-quote {
  overflow: hidden;
  background: #ffffff;
}

.project-quote-card {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
  padding: 55px 70px;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(193, 71, 0, 0.06),
      transparent 58%
    ),
    #f7f5f1;
  border: 1px solid var(--pd-line);
  border-radius: 26px;
}

.project-quote-mark {
  position: absolute;
  top: 8px;
  left: 34px;
  color: var(--pd-brand);
  font-family: Georgia, serif;
  font-size: 130px;
  line-height: 1;
  opacity: 0.12;
}

.project-quote-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--pd-brand);
  font-size: 9px;
  font-weight: 900;
}

.project-quote-card p {
  position: relative;
  text-align: justify;
  z-index: 1;
  max-width: 850px;
  margin: 0;
  color: var(--pd-ink);
  font-size: clamp(21px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.9;
}

.project-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.project-quote-author strong {
  color: var(--pd-ink);
  font-size: 11px;
  font-weight: 900;
}

.project-quote-author span {
  color: var(--pd-muted);
  font-size: 10px;
}

.project-quote-author span::before {
  content: "—";
  margin-left: 12px;
  color: var(--pd-line);
}

/*==================================================
=                      CTA                         =
==================================================*/

.project-section-cta {
  background: #ffffff;
}

.project-section-cta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  overflow: hidden;
  padding: 48px 52px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 12% 25%,
      rgba(193, 71, 0, 0.42),
      transparent 33%
    ),
    var(--pd-ink);
  border-radius: 26px;
}

.project-section-cta-box::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -70px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.project-section-cta-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.project-section-cta-kicker {
  display: block;
  margin-bottom: 10px;
  color: #ffb27f;
  font-size: 9px;
  font-weight: 900;
}

.project-section-cta h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.6;
}

.project-section-cta p {
  max-width: 650px;
  margin: 14px 0 0;
  color: #b9bdc7;
  font-size: 13px;
  line-height: 2;
}

.project-section-cta-box .btn-pd {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

/*==================================================
=                   Responsive                     =
==================================================*/

@media (max-width: 991.98px) {
  .project-image-text-grid,
  .project-stats-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-image-text.is-image-left .project-image-text-media,
  .project-image-text.is-image-right .project-image-text-media {
    order: 1;
  }

  .project-image-text.is-image-left .project-image-text-content,
  .project-image-text.is-image-right .project-image-text-content {
    order: 2;
  }

  .project-stats-grid {
    grid-template-columns: 1fr;
  }

  .project-stat-item {
    min-height: auto;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .project-stat-item:last-child {
    border-bottom: 0;
  }

  .project-section-cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .project-rich-text-body,
  .project-image-text-body {
    font-size: 13px;
    line-height: 2.1;
  }

  .project-image-text-media {
    border-radius: 18px;
  }

  .project-stat-item {
    padding: 24px 20px;
  }

  .project-quote-card {
    padding: 36px 24px;
    border-radius: 20px;
  }

  .project-quote-mark {
    top: 5px;
    left: 18px;
    font-size: 90px;
  }

  .project-quote-card p {
    font-size: 20px;
  }

  .project-quote-author {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .project-quote-author span::before {
    display: none;
  }

  .project-section-cta-box {
    gap: 28px;
    padding: 34px 24px;
    border-radius: 20px;
  }
}

