/* PMA Consulting — Projects Page */

html {
  scroll-padding-top: 120px;
}

main {
  overflow: hidden;
}


/* ---------------------------------------------------------
   PROJECTS HERO
   --------------------------------------------------------- */

.projects-hero {
  min-height: 610px;
  margin-top: 18px;
  padding: clamp(38px, 5vw, 74px);

  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);

  position: relative;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(148, 99, 255, 0.11),
      transparent 27rem
    ),
    radial-gradient(
      circle at 88% 85%,
      rgba(22, 216, 244, 0.07),
      transparent 28rem
    ),
    linear-gradient(
      135deg,
      rgba(10, 23, 35, 0.82),
      rgba(5, 14, 23, 0.38)
    );

  box-shadow: var(--shadow);
}

.projects-hero-copy {
  position: relative;
  z-index: 2;
}

.projects-hero h1 {
  max-width: 850px;
  margin: 0 0 22px;

  color: var(--cream);

  font-size: clamp(3.15rem, 5.5vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.projects-hero-intro {
  max-width: 700px;
  margin-bottom: 0;

  color: #d3d8df;

  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.projects-hero-actions {
  margin-top: 30px;

  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* ---------------------------------------------------------
   HERO LOGO
   --------------------------------------------------------- */

.projects-hero-art {
  min-height: 430px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-logo-display {
  width: min(100%, 480px);
  min-height: 420px;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-logo-glow {
  width: 360px;
  height: 360px;

  position: absolute;
  top: 50%;
  left: 50%;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(22, 216, 244, 0.14) 0%,
      rgba(148, 99, 255, 0.09) 38%,
      rgba(242, 77, 164, 0.04) 58%,
      transparent 72%
    );

  filter: blur(12px);

  transform: translate(-50%, -50%);
}

.projects-hero-logo {
  width: min(100%, 390px);
  max-height: 390px;

  position: relative;
  z-index: 2;

  object-fit: contain;

  filter:
    drop-shadow(0 20px 32px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 24px rgba(22, 216, 244, 0.08));
}


/* ---------------------------------------------------------
   INTRODUCTION
   --------------------------------------------------------- */

.projects-introduction {
  padding-top: clamp(72px, 8vw, 112px);

  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 7vw, 100px);
}

.projects-introduction-heading h2 {
  max-width: 650px;
  margin-bottom: 0;

  color: var(--cream);

  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.projects-introduction-copy {
  padding-top: 28px;
}

.projects-introduction-copy p {
  color: #b9c2cb;
  line-height: 1.8;
}

.projects-introduction-copy p + p {
  margin-top: 18px;
}


/* ---------------------------------------------------------
   PROJECT JUMP NAVIGATION
   --------------------------------------------------------- */

.project-jump-nav {
  margin-top: 44px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(13, 28, 41, 0.78),
      rgba(6, 16, 26, 0.62)
    );
}

.project-jump-nav a {
  min-height: 84px;
  padding: 22px 26px;

  display: flex;
  align-items: center;
  gap: 16px;

  color: var(--cream);

  font-size: 0.9rem;
  font-weight: 800;

  transition:
    background var(--transition),
    color var(--transition);
}

.project-jump-nav a + a {
  border-left: 1px solid var(--line);
}

.project-jump-nav a:hover {
  background: rgba(255, 255, 255, 0.045);
}

.jump-number {
  color: var(--cyan);

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   FEATURED PROJECTS
   --------------------------------------------------------- */

.featured-projects {
  padding-top: clamp(80px, 9vw, 128px);
}

.projects-section-heading {
  margin-bottom: 34px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.projects-section-heading > div {
  max-width: 850px;
}

.projects-section-heading h2 {
  margin: 0;

  color: var(--cream);

  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.projects-section-heading > p {
  max-width: 360px;
  margin-bottom: 4px;

  color: var(--muted);

  line-height: 1.7;
}


/* ---------------------------------------------------------
   PROJECT CASE STUDIES
   --------------------------------------------------------- */

.project-case-study {
  min-height: 520px;
  margin-bottom: 24px;

  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  background:
    linear-gradient(
      145deg,
      rgba(13, 28, 41, 0.9),
      rgba(6, 16, 26, 0.74)
    );

  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.project-case-study-reverse {
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
}

.project-case-study-reverse .project-visual {
  order: 2;
}

.project-case-study-reverse .project-case-study-content {
  order: 1;
}

.project-visual {
  min-height: 100%;
  padding: 32px;

  position: relative;
  overflow: hidden;

  display: flex;
  align-items: flex-end;

  border-right: 1px solid var(--line);

  background:
    linear-gradient(
      145deg,
      rgba(41, 151, 255, 0.15),
      rgba(148, 99, 255, 0.05)
    );
}

.project-case-study-reverse .project-visual {
  border-right: 0;
  border-left: 1px solid var(--line);
}

.project-visual::before {
  content: "";

  width: 260px;
  height: 260px;

  position: absolute;
  top: -80px;
  right: -80px;

  border: 2px solid rgba(244, 237, 218, 0.13);
  border-radius: 50%;
}

.project-visual::after {
  content: "";

  width: 190px;
  height: 190px;

  position: absolute;
  top: -44px;
  right: -42px;

  border: 1px solid rgba(22, 216, 244, 0.28);
  border-radius: 50%;
}

.project-visual-trek {
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(148, 99, 255, 0.22),
      transparent 44%
    ),
    linear-gradient(
      145deg,
      rgba(41, 151, 255, 0.16),
      rgba(6, 16, 26, 0.88)
    );
}

.project-visual-pride {
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(242, 77, 164, 0.22),
      transparent 44%
    ),
    linear-gradient(
      145deg,
      rgba(255, 122, 26, 0.11),
      rgba(6, 16, 26, 0.88)
    );
}

.project-visual-library {
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(32, 216, 139, 0.18),
      transparent 44%
    ),
    linear-gradient(
      145deg,
      rgba(22, 216, 244, 0.12),
      rgba(6, 16, 26, 0.88)
    );
}

.project-visual-number {
  position: absolute;
  top: 25px;
  left: 28px;

  color: rgba(244, 237, 218, 0.13);

  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
}

.project-visual-content {
  width: 100%;

  position: relative;
  z-index: 2;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.project-visual-label {
  max-width: 220px;

  color: var(--cream);

  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.5;

  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-visual-symbol {
  width: 62px;
  height: 62px;

  display: grid;
  place-items: center;

  color: var(--cream);

  border: 1px solid var(--line);
  border-radius: 18px;

  background: rgba(3, 10, 18, 0.45);

  font-size: 1.7rem;
}

.project-case-study-content {
  padding: clamp(32px, 5vw, 58px);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-meta {
  margin-bottom: 18px;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-meta span {
  padding: 7px 11px;

  color: #b8c1ca;

  border: 1px solid var(--line-soft);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.025);

  font-size: 0.67rem;
  font-weight: 800;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-number-label {
  margin-bottom: 8px;

  color: var(--cyan);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-case-study h3 {
  max-width: 720px;
  margin-bottom: 18px;

  color: var(--cream);

  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.project-summary {
  max-width: 760px;
  margin-bottom: 28px;

  color: #bcc5ce;

  line-height: 1.75;
}

.project-focus {
  margin-bottom: 24px;
}

.project-focus h4 {
  margin: 0 0 12px;

  color: var(--cream);

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-focus ul {
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 24px;

  list-style: none;
}

.project-focus li {
  position: relative;

  padding-left: 18px;

  color: var(--muted);

  font-size: 0.9rem;
  line-height: 1.55;
}

.project-focus li::before {
  content: "";

  width: 6px;
  height: 6px;

  position: absolute;
  top: 0.62em;
  left: 0;

  border-radius: 50%;

  background: var(--cyan);
}

.project-result {
  margin-bottom: 24px;
  padding: 18px 20px;

  border-left: 3px solid var(--violet);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;

  background: rgba(148, 99, 255, 0.055);
}

.result-label {
  display: block;
  margin-bottom: 7px;

  color: var(--violet);

  font-size: 0.69rem;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-result p {
  color: #b9c2cb;
  line-height: 1.65;
}


/* ---------------------------------------------------------
   PROJECT PHILOSOPHY
   --------------------------------------------------------- */

.project-philosophy {
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(34px, 5vw, 58px);

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(40px, 7vw, 90px);

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(22, 216, 244, 0.08),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      rgba(10, 23, 35, 0.95),
      rgba(5, 14, 23, 0.88)
    );

  box-shadow: var(--shadow);
}

.project-philosophy-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.project-philosophy-copy h2 {
  max-width: 720px;
  margin-bottom: 18px;

  color: var(--cream);

  font-size: clamp(2.15rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.project-philosophy-copy > p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 28px;

  color: #b9c2cb;

  line-height: 1.75;
}

.project-principles {
  display: grid;
  gap: 12px;
}

.project-principle {
  padding: 22px;

  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 18px;

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  background: rgba(255, 255, 255, 0.025);
}

.principle-number {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  color: #07111c;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      var(--cyan),
      var(--violet)
    );

  font-size: 0.75rem;
  font-weight: 800;
}

.project-principle:nth-child(2) .principle-number {
  background:
    linear-gradient(
      135deg,
      var(--violet),
      var(--pink)
    );
}

.project-principle:nth-child(3) .principle-number {
  background:
    linear-gradient(
      135deg,
      var(--orange),
      var(--gold)
    );
}

.project-principle h3 {
  margin-bottom: 6px;

  color: var(--cream);

  font-size: 1.05rem;
  font-weight: 800;
}

.project-principle p {
  color: var(--muted);

  font-size: 0.87rem;
  line-height: 1.6;
}


/* ---------------------------------------------------------
   EXPLORE PMA
   --------------------------------------------------------- */

.projects-explore {
  padding-top: clamp(74px, 9vw, 118px);
}

.projects-explore-heading {
  margin-bottom: 26px;
}

.projects-explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.projects-explore-card {
  min-height: 280px;
  padding: 28px;

  position: relative;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--line);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(13, 28, 41, 0.88),
      rgba(6, 16, 26, 0.72)
    );

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.projects-explore-card:hover {
  border-color: rgba(22, 216, 244, 0.4);

  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);

  transform: translateY(-4px);
}

.explore-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 30px;

  display: grid;
  place-items: center;

  color: var(--cyan);

  border: 1px solid currentColor;
  border-radius: 16px;

  background: rgba(22, 216, 244, 0.04);

  font-size: 1.4rem;
}

.projects-explore-card:nth-child(2) .explore-icon {
  color: var(--pink);
}

.projects-explore-card:nth-child(3) .explore-icon {
  color: var(--green);
}

.projects-explore-card h3 {
  margin: 6px 0 10px;

  color: var(--cream);

  font-size: 1.4rem;
  font-weight: 800;
}

.projects-explore-card p:not(.card-label) {
  max-width: 330px;

  color: var(--muted);

  line-height: 1.65;
}

.explore-arrow {
  margin-top: auto;
  padding-top: 24px;

  color: var(--cyan);

  font-size: 1.4rem;

  transition: transform var(--transition);
}

.projects-explore-card:hover .explore-arrow {
  transform: translateX(5px);
}


/* ---------------------------------------------------------
   CONTACT CTA
   --------------------------------------------------------- */

.projects-cta {
  margin-top: clamp(70px, 8vw, 110px);
  margin-bottom: 28px;
  padding: clamp(34px, 5vw, 58px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;

  position: relative;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: var(--radius-xl);

  background:
    radial-gradient(
      circle at 12% 25%,
      rgba(22, 216, 244, 0.08),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(148, 99, 255, 0.09),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      rgba(10, 23, 35, 0.96),
      rgba(5, 14, 23, 0.94)
    );

  box-shadow: var(--shadow);
}

.projects-cta::before {
  content: "";

  width: 220px;
  height: 220px;

  position: absolute;
  top: -120px;
  right: 12%;

  border: 1px solid rgba(244, 237, 218, 0.08);
  border-radius: 50%;

  pointer-events: none;
}

.projects-cta-copy {
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.projects-cta .eyebrow {
  color: var(--cyan);
}

.projects-cta h2 {
  margin-bottom: 14px;

  color: var(--cream);

  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.projects-cta p {
  max-width: 760px;

  color: #b9c2cb;

  font-size: 1rem;
  line-height: 1.75;
}

.projects-cta .button-dark {
  min-width: 250px;

  position: relative;
  z-index: 2;

  color: #07111c;

  border: 0;

  background: var(--rainbow);

  box-shadow: 0 10px 28px rgba(111, 106, 255, 0.18);
}

.projects-cta .button-dark:hover {
  box-shadow: 0 14px 36px rgba(242, 77, 164, 0.25);
}


/* ---------------------------------------------------------
   ANCHOR POSITIONING
   --------------------------------------------------------- */

#trek-long-island,
#buddies-spa-pride,
#library-for-the-kind {
  scroll-margin-top: 120px;
}


/* ---------------------------------------------------------
   RESPONSIVE — TABLET
   --------------------------------------------------------- */

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

  .projects-hero-copy {
    max-width: 850px;
  }

  .projects-hero-art {
    width: min(520px, 100%);
    min-height: 380px;
    margin: 0 auto;
  }

  .projects-logo-display {
    min-height: 370px;
  }

  .projects-hero-logo {
    width: min(100%, 350px);
    max-height: 350px;
  }

  .projects-introduction {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .projects-introduction-copy {
    max-width: 780px;
    padding-top: 0;
  }

  .project-case-study,
  .project-case-study-reverse {
    grid-template-columns:
      minmax(280px, 0.7fr)
      minmax(0, 1.3fr);
  }

  .project-case-study-reverse .project-visual {
    order: 1;

    border-left: 0;
    border-right: 1px solid var(--line);
  }

  .project-case-study-reverse .project-case-study-content {
    order: 2;
  }

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

  .projects-explore-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-explore-card:last-child {
    grid-column: 1 / -1;
  }
}


/* ---------------------------------------------------------
   RESPONSIVE — MOBILE
   --------------------------------------------------------- */

@media (max-width: 760px) {
  .projects-hero {
    min-height: auto;
    margin-top: 18px;
    padding: 42px 24px 32px;
    gap: 28px;
  }

  .projects-hero h1 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .projects-hero-art {
    width: 100%;
    min-height: 300px;
    margin: 0;
  }

  .projects-logo-display {
    width: 100%;
    min-height: 300px;
  }

  .projects-logo-glow {
    width: 280px;
    height: 280px;
  }

  .projects-hero-logo {
    width: min(100%, 290px);
    max-height: 290px;
  }

  .projects-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .projects-hero-actions .button {
    width: 100%;
  }

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

  .project-jump-nav a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .projects-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .project-case-study,
  .project-case-study-reverse {
    grid-template-columns: 1fr;
  }

  .project-visual,
  .project-case-study-reverse .project-visual {
    min-height: 280px;

    order: 1;

    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .project-case-study-content,
  .project-case-study-reverse .project-case-study-content {
    order: 2;
  }

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

  .projects-explore-grid {
    grid-template-columns: 1fr;
  }

  .projects-explore-card:last-child {
    grid-column: auto;
  }

  .projects-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .projects-cta .button {
    width: 100%;
  }
}


/* ---------------------------------------------------------
   RESPONSIVE — SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 520px) {
  .projects-hero-art {
    width: 100%;
    min-height: 260px;
    margin: 0;
  }

  .projects-logo-display {
    width: 100%;
    min-height: 260px;
  }

  .projects-logo-glow {
    width: 240px;
    height: 240px;
  }

  .projects-hero-logo {
    width: min(100%, 250px);
    max-height: 250px;
  }

  .projects-introduction {
    padding-top: 62px;
  }

  .project-case-study-content {
    padding: 28px 22px;
  }

  .project-visual {
    padding: 24px;
  }

  .project-meta {
    gap: 6px;
  }

  .project-meta span {
    font-size: 0.61rem;
  }

  .project-philosophy {
    padding: 30px 22px;
  }

  .project-principle {
    grid-template-columns: 42px 1fr;
    padding: 18px;
  }

  .principle-number {
    width: 42px;
    height: 42px;
  }

  .projects-explore-card {
    min-height: 250px;
    padding: 24px;
  }

  .projects-cta {
    padding: 32px 24px;
  }
}