.portfolio-page {
  background: #f1eee9;
  color: #111;
  min-height: 100vh;
  padding: 10px 8% 80px;
}

.portfolio-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
}


.portfolio-kicker {
  font-size: 1.45rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7f8570;
  margin-bottom: 48px;
  margin-top: 26px;
}


.portfolio-cta {
  text-align: center;
  margin-top: 10px;
}

.portfolio-cta p {
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.portfolio-cta a {
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.portfolio-cta a:hover {
  opacity: 1;
}

@media (max-width: 800px) {
  .portfolio-page {
    padding: 40px 24px 70px;
  }

  .portfolio-header {
    margin-bottom: 64px;
  }
}


.portfolio-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 10;

  padding: 10px 48px;

  backdrop-filter: blur(8px);
  background: #f1eee9;

  margin-bottom: 0;
}

.portfolio-nav-logo img {
  width: 120px;
  display: block;
}

.portfolio-nav-logo {
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.portfolio-nav-logo:hover {
  opacity: 0.6;
}

.portfolio-lang {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-lang a {
  color: inherit;
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.portfolio-lang a:hover,
.portfolio-lang a.active {
  opacity: 1;
}

.portfolio-lang span {
  opacity: 0.35;
  margin: 0 6px;
}

.portfolio-feature img,
.portfolio-two img,
.portfolio-grid img {
  border-radius: 2px;
}

.portfolio-editorial {
  max-width: 1500px;
  margin: 0 auto 120px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 56px;
}

.portfolio-editorial.reverse {
  grid-template-columns: minmax(0, 1fr) 280px;
  margin-bottom: 96px;
}

.editorial-intro {
  margin-top: -36px;
}

.editorial-intro-right {
  margin-top: 0;
  align-self: end;
  padding-bottom: 136px;
  text-align: left;
  margin-left: 36px;
}

.editorial-intro h2 {
  font-weight: normal;
  font-size: 2rem;
  margin-bottom: 24px;
  color: rgba(17, 17, 17, 0.82);
  letter-spacing: 0.03rem;
}

.editorial-intro p {
  max-width: 420px;
  line-height: 1.55;
  color: rgba(17, 17, 17, 0.78);
  font-size: 1rem;
}

.editorial-gallery {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.editorial-track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding-bottom: 28px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.editorial-track::-webkit-scrollbar {
  display: none;
}

.editorial-card {
  flex: 0 0 440px;
  scroll-snap-align: start;
  opacity: 0.28;
  transition: opacity 0.35s ease;
}

.editorial-card.is-active,
.editorial-card.is-next {
  opacity: 1;
}

.editorial-card img {
  width: 100%;
  aspect-ratio: 1 / 1.3;
  object-fit: cover;
  display: block;
  margin-bottom: 22px;
  border-radius: 2px;
}

.card-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.55);
  margin-bottom: 14px;
}

.card-kicker {
  font-size: 0.8rem !important;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.editorial-card h3 {
  font-weight: normal;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.editorial-card p {
  font-size: 0.95rem;
}

.editorial-card p:last-child {
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.72);
}

.editorial-progress {
  width: fit-content;
  margin: 48px auto 0;
  display: flex;
  gap: 0;
}

.editorial-progress button {
  width: 90px;
  height: 30px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.editorial-progress button::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0.5px;
  background: rgba(17, 17, 17, 0.12);
}

.editorial-progress button.active {
  background: transparent;
}

.editorial-progress button:hover {
  background: transparent;
}

.editorial-progress button.active::before {
  background: rgba(17, 17, 17, 0.65);
}

.editorial-progress button:hover::before {
  background: rgba(17, 17, 17, 0.35);
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 800px) {
  .portfolio-page {
    padding: 24px 24px 70px;
  }

  .portfolio-nav {
    padding: 10px 24px;
  }

  .portfolio-nav-logo img {
    width: 120px;
  }

  .portfolio-lang {
    font-size: 0.9rem;
  }

  .portfolio-header {
    margin-bottom: 36px;
  }

  .portfolio-kicker {
    font-size: 1.1rem;
    margin-top: 24px;
    margin-bottom: 36px;
  }

  .portfolio-editorial,
  .portfolio-editorial.reverse {
    display: block;
    margin-bottom: 72px;
    padding-top: 0;
  }

  .editorial-intro,
  .editorial-intro-right {
    margin: 0 0 28px;
    padding-bottom: 0;
    text-align: left;
  }

  .editorial-intro h2 {
    font-size: 1.7rem;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
  }

  .editorial-intro p {
    font-size: 1rem;
    max-width: none;
  }

  .editorial-track {
    gap: 18px;
    padding-bottom: 20px;
    overflow-x: auto;
  }

  .editorial-card {
    flex: 0 0 80%;
    opacity: 1;
  }

  .editorial-card img {
    aspect-ratio: 1 / 1.25;
    margin-bottom: 16px;
  }

  .editorial-card h3 {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
  }

  .editorial-card p {
    font-size: 0.9rem;
    letter-spacing: 0.01em;
  }

  .editorial-progress {
    margin-top: 28px;
    display: none;
  }

  .editorial-progress button {
    width: 64px;
  }

  .portfolio-cta a {
    display: none;
  }

  .portfolio-cta  {
    margin-bottom: -24px;
    margin-top: 2px;
  }

  .portfolio-cta p {
    margin-top: -24px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 999;

    display: block;
    padding: 14px 20px;

    background: #7f8570;
    color: #f7f4f1;
    text-align: center;
    text-decoration: none;

    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 300;
  }
}