.press-page {
  padding: var(--site-header-offset) 0 clamp(4rem, 8vw, 6rem);
  background: var(--page-canvas);
  color: var(--ink);
}

.press-list {
  width: min(1360px, calc(100% - clamp(1.5rem, 4vw, 3.5rem)));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: press;
}

.press-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: 0;
  padding: clamp(2.4rem, 7vh, 4rem) 0;
  counter-increment: press;
}

.press-feature + .press-feature {
  border-top: 1px solid rgba(36, 28, 22, 0.12);
}

.press-feature__copy {
  display: grid;
  justify-items: start;
  align-content: center;
  max-width: 34rem;
  gap: 0.35rem;
}

.press-feature__copy::before {
  content: counter(press, decimal-leading-zero);
  margin-bottom: 0.85rem;
  color: var(--clay);
  font-family: var(--font-glacial);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}

.press-feature__outlet {
  margin: 0;
  font-family: var(--font-glacial);
  font-size: clamp(1.35rem, 1.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.25;
}

.press-feature time {
  color: var(--ink-soft, #5c534c);
  font-size: 0.92rem;
  line-height: 1.4;
}

.press-feature h2 {
  max-width: 11em;
  margin: 0.85rem 0 0;
  font-family: var(--font-glacial);
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  font-weight: 500;
  line-height: 1.12;
}

.press-feature__live {
  margin-top: 1.15rem;
  color: var(--clay);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  text-underline-offset: 0.18em;
}

.press-feature__live:hover,
.press-feature__live:focus-visible {
  color: var(--copper);
}

.press-browser {
  justify-self: end;
  width: 100%;
  border-radius: 16px;
  background: #241f1b;
  box-shadow: 0 22px 50px rgba(24, 21, 18, 0.16);
  overflow: hidden;
}

.press-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 42px;
  padding: 0.45rem 0.8rem;
  background: #312b26;
}

.press-browser__dots {
  display: flex;
  gap: 0.38rem;
  flex: 0 0 auto;
}

.press-browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.press-browser__dots span:nth-child(2) {
  background: #febc2e;
}

.press-browser__dots span:nth-child(3) {
  background: #28c840;
}

.press-browser__url {
  min-width: 0;
  overflow: hidden;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 240, 0.78);
  font-size: 0.75rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.press-browser__viewport {
  position: relative;
  height: min(52vh, 520px);
  overflow: hidden;
  background: #fff;
  cursor: ns-resize;
  touch-action: none;
}

.press-browser__viewport::before,
.press-browser__viewport::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  height: 42px;
  pointer-events: none;
}

.press-browser__viewport::before {
  top: 0;
  background: linear-gradient(#fff, rgb(255 255 255 / 0));
}

.press-browser__viewport::after {
  bottom: 0;
  background: linear-gradient(rgb(255 255 255 / 0), #fff);
}

.press-browser__shot {
  display: block;
  width: 100%;
  height: auto;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (max-width: 860px) {
  .press-feature {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1.25rem;
    padding: 2.4rem 0 2.8rem;
  }

  .press-feature h2 {
    max-width: none;
  }

  .press-browser__viewport {
    height: min(68vw, 460px);
    cursor: default;
  }
}

@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .press-feature {
      animation: press-pass linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes press-pass {
  0% {
    opacity: 0;
    transform: translateY(36px);
  }

  32%,
  68% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
    transform: translateY(-28px);
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .press-feature__copy,
    .press-browser {
      animation: press-pass-mobile linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}

@keyframes press-pass-mobile {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .press-browser__shot {
    will-change: auto;
  }
}
