/* Fullscreen home photographs. Shared frame/header geometry lives in sv-layout.css. */
.sv-home { --sv-home-counter-gap: 35px; }
.sv-home > main {
  height: 100vh;
  height: 100dvh;
  min-width: var(--sv-min-width);
}
.sv-home #portfolio-hero {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
/* Both edges use the shared fixed frame lines and their identical color. */
.sv-hero-swiper,
.sv-hero-swiper .swiper-wrapper,
.sv-hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}
/* Handle swipes on both axes while preserving two-finger browser zoom. */
.sv-hero-swiper { touch-action: pinch-zoom; }
.sv-hero-swiper .swiper-slide { overflow: hidden; }
.sv-hero-swiper .swiper-slide img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.sv-hero__hud {
  position: absolute;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--sv-home-counter-gap);
  pointer-events: none;
}
.sv-hero__counter {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  z-index: 10;
  color: #271e1b;
  font-family: var(--sv-times);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: .06em;
}
.sv-hero__counter > span { flex: none; }
.sv-hero__counter > span:first-child { text-align: left; }
.sv-hero__counter > span:last-child { text-align: right; }
.sv-hero__line {
  /* Keep the counter spacing, without darkening the shared bottom frame. */
  visibility: hidden;
  order: 1;
  position: relative;
  height: 1px;
  background: rgba(50, 48, 45, .25);
  z-index: 10;
}
.sv-hero__progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background: rgba(50, 48, 45, .25);
  z-index: 11;
  width: 0;
  transition: width .5s var(--sv-ease);
}
@media (max-width: 1000px) {
  .sv-home { --sv-home-counter-gap: 28px; }
}
@media (max-width: 500px) {
  .sv-home { --sv-home-counter-gap: 24px; }
}
@media (max-width: 1000px) and (max-height: 500px) {
  .sv-home { --sv-home-counter-gap: 18px; }
}
