:root {
  --pod-green: #1f6249;
  --pod-green-dark: #123d2f;
  --pod-coral: #ff5a3c;
  --pod-lilac: #cfade7;
  --pod-lilac-soft: #eadff1;
  --pod-sand: #eee8dc;
  --pod-paper: #f7f5f0;
  --pod-ink: #17211d;
}

.podimis-case {
  background: var(--pod-paper);
  color: var(--pod-ink);
}

.podimis-case .site-header {
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(12px);
}

.podimis-case .text-link {
  color: inherit;
}

.case-section {
  padding-block: clamp(110px, 11vw, 210px);
}

.media-pair {
  min-width: 0;
  margin: 0;
}

.media-pair img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.media-pair figcaption {
  margin-top: 12px;
  color: rgba(23, 33, 29, 0.58);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.015em;
}

/* GBVE_FAST_APPLY_V1: grouped figure-driven media/caption layouts (desktop) */
figure.media-pair.identity-gallery__overview:nth-of-type(1),
figure.media-pair.identity-gallery__shipping:nth-of-type(3),
figure.media-pair.digital__store:nth-of-type(1),
figure.media-pair.space-gallery__concept:nth-of-type(1),
figure.media-pair.space-gallery__hero:nth-of-type(2),
figure.media-pair.continuity-gallery__product:nth-of-type(2),
figure.media-pair.continuity-gallery__window:nth-of-type(3),
figure.media-pair.continuity-gallery__season:nth-of-type(4) {
  position: relative;
}

figure.media-pair.identity-gallery__overview:nth-of-type(1) {
  height: 584.516px;
}

figure.media-pair.identity-gallery__overview:nth-of-type(1) > img {
  position: absolute;
  left: 0.03px;
  top: 0.028px;
  width: 1551.996px;
  height: 838.262px;
  object-fit: cover;
}

figure.media-pair.identity-gallery__overview:nth-of-type(1) > figcaption {
  position: absolute;
  left: 0px;
  top: 849.516px;
  width: 365.594px;
  height: 18px;
  margin-top: 0;
}

figure.media-pair.identity-gallery__shipping:nth-of-type(3) {
  height: 424.75px;
}

figure.media-pair.identity-gallery__shipping:nth-of-type(3) > img {
  position: absolute;
  left: 0.027px;
  top: -216.789px;
  width: 724.202px;
  height: 455.484px;
  object-fit: cover;
}

figure.media-pair.identity-gallery__shipping:nth-of-type(3) > figcaption {
  position: absolute;
  left: 0px;
  top: 254.506px;
  width: 632.656px;
  height: 14.844px;
  margin-top: 0;
}

figure.media-pair.digital__store:nth-of-type(1) {
  height: 848.094px;
}

figure.media-pair.digital__store:nth-of-type(1) > .digital__store-device {
  position: absolute;
  left: -45.552px;
  top: -12.824px;
  width: 1551.104px;
  height: 872.496px;
}

figure.media-pair.digital__store:nth-of-type(1) > figcaption {
  position: absolute;
  left: -45.6px;
  top: 870.65px;
  width: 1460px;
  height: 14.844px;
  margin-top: 0;
}

figure.media-pair.space-gallery__concept:nth-of-type(1) {
  height: 421.719px;
}

figure.media-pair.space-gallery__concept:nth-of-type(1) > img {
  position: absolute;
  left: -0.011px;
  top: -0.015px;
  width: 732.679px;
  height: 457.305px;
  object-fit: cover;
}

figure.media-pair.space-gallery__concept:nth-of-type(1) > figcaption {
  position: absolute;
  left: 0px;
  top: 471.775px;
  width: 632.656px;
  height: 14.844px;
  margin-top: 0;
}

figure.media-pair.space-gallery__hero:nth-of-type(2) {
  height: 711.281px;
}

figure.media-pair.space-gallery__hero:nth-of-type(2) > img {
  position: absolute;
  left: -89.968px;
  top: -84.479px;
  width: 1116.608px;
  height: 744.395px;
  object-fit: cover;
}

figure.media-pair.space-gallery__hero:nth-of-type(2) > figcaption {
  position: absolute;
  left: -89.9px;
  top: 671.037px;
  width: 1026.672px;
  height: 14.844px;
  margin-top: 0;
}

figure.media-pair.continuity-gallery__product:nth-of-type(2) {
  height: 448.484px;
}

figure.media-pair.continuity-gallery__product:nth-of-type(2) > img {
  position: absolute;
  left: -118.676px;
  top: -210.571px;
  width: 751.424px;
  height: 500.782px;
  object-fit: cover;
}

figure.media-pair.continuity-gallery__product:nth-of-type(2) > figcaption {
  position: absolute;
  left: -118.7px;
  top: 305.741px;
  width: 632.672px;
  height: 14.844px;
  margin-top: 0;
}

/* Preserve the full window artwork and keep captions in the document flow. */
figure.media-pair.continuity-gallery__window:nth-of-type(3),
figure.media-pair.continuity-gallery__season:nth-of-type(4) {
  position: static;
  height: auto;
}

figure.media-pair.continuity-gallery__window:nth-of-type(3) > img,
figure.media-pair.continuity-gallery__season:nth-of-type(4) > img {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

figure.media-pair.continuity-gallery__window:nth-of-type(3) > figcaption,
figure.media-pair.continuity-gallery__season:nth-of-type(4) > figcaption {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  margin-top: 12px;
}

.section-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: clamp(72px, 8vw, 145px);
}

.section-heading > .eyebrow {
  grid-column: 1 / span 2;
}

.section-heading > h2 {
  grid-column: 3 / span 8;
  max-width: 1200px;
  margin: 0;
  font-size: clamp(68px, 7vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.section-heading > .section-heading__lead {
  grid-column: 9 / -1;
  max-width: 600px;
  margin-top: 12px;
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.5;
}

.section-heading:not(.section-heading--split) > .section-heading__lead {
  grid-column: 3 / span 6;
  margin-top: 36px;
}

.section-heading__lead p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .origin .section-heading--split > .section-heading__lead {
    grid-column: 3 / span 4;
    margin-top: 28px;
  }

  .origin .section-heading--split > .section-heading__lead p:first-child {
    margin-bottom: 41.7px;
  }
}

/* Hero */

.podimis-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
  background: var(--pod-green-dark);
  color: var(--white);
}

.podimis-hero__photo {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(12, 39, 29, 0.94) 0%, rgba(12, 39, 29, 0.78) 39%, rgba(12, 39, 29, 0.18) 73%, rgba(12, 39, 29, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 17, 13, 0.7), transparent 48%),
    url("/ru-v1-case-podimis-v1/assets/boutique-hero.webp");
  background-position: center, center, center 52%;
  background-size: cover;
  transform: scale(1.01);
}

.podimis-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), transparent 25%, transparent 72%, rgba(0, 0, 0, 0.28));
}

.podimis-hero__top,
.podimis-hero__body {
  position: relative;
  z-index: 3;
}

.podimis-hero__top {
  padding-top: clamp(38px, 4.3vw, 82px);
}

.case-kicker,
.case-number {
  margin: 0;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.podimis-hero h1 {
  max-width: 100%;
  margin: clamp(22px, 2.3vw, 45px) 0 0;
  color: var(--white);
  font-size: clamp(136px, 17.4vw, 330px);
  line-height: .82;
  letter-spacing: -0.065em;
  white-space: nowrap;
}

.podimis-hero__body {
  display: grid;
  min-height: clamp(610px, 48vw, 900px);
  grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr);
  gap: 6vw;
  align-items: end;
  padding-top: clamp(130px, 14vw, 260px);
  padding-bottom: clamp(54px, 5vw, 96px);
}

.podimis-hero__copy {
  max-width: 1040px;
}

.podimis-hero__copy h2 {
  max-width: 980px;
  margin: 30px 0 32px;
  font-size: clamp(54px, 5.1vw, 102px);
  line-height: 0.91;
  letter-spacing: -0.055em;
}

@media (min-width: 1200px) {
  .podimis-hero__copy h2 {
    width: auto;
    height: auto;
    max-width: 100%;
  }
}

.podimis-hero__copy > p:not(.case-number) {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.25vw, 22px);
}

.podimis-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
}

.podimis-hero__caption {
  justify-self: end;
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  text-align: right;
}

.podimis-ribbons {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.podimis-ribbons span {
  position: absolute;
  display: block;
  width: 150%;
  padding: 9px 0;
  color: var(--pod-ink);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  white-space: nowrap;
  animation: ribbon-drift 14s ease-in-out infinite alternate;
}

.podimis-ribbons span {
  top: 29%;
  left: -25%;
  background: var(--pod-coral);
  transform: rotate(-7deg);
}

@keyframes ribbon-drift {
  from { translate: -1.5% 0; }
  to { translate: 1.5% 0; }
}

/* Section index */

.case-index {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid rgba(23, 33, 29, 0.2);
  background: var(--pod-paper);
}

.case-index a {
  display: grid;
  min-height: 80px;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-right: 1px solid rgba(23, 33, 29, 0.2);
  color: inherit;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.case-index a:last-child {
  border-right: 0;
}

.case-index a:hover,
.case-index a:focus-visible {
  background: var(--pod-green);
  color: var(--white);
}

.case-index span {
  align-self: start;
  color: currentColor;
  font-size: 10px;
  opacity: 0.55;
}

/* Origin */

.origin {
  background: var(--pod-paper);
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(23, 33, 29, 0.45);
  list-style: none;
}

.journey li {
  position: relative;
  min-height: 245px;
  padding: 26px 28px 34px 0;
  border-right: 1px solid rgba(23, 33, 29, 0.18);
}

.journey li + li {
  padding-left: 28px;
}

.journey li::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pod-coral);
}

.journey li:last-child {
  border-right: 0;
}

.journey li:last-child::after {
  right: 0;
}

.journey span {
  display: block;
  margin-bottom: 92px;
  color: rgba(23, 33, 29, 0.55);
  font-size: 10px;
}

.journey strong,
.journey small {
  display: block;
}

.journey strong {
  margin-bottom: 8px;
  font: 400 clamp(28px, 2vw, 39px)/0.95 var(--display);
  letter-spacing: -0.04em;
}

.journey small {
  color: rgba(23, 33, 29, 0.6);
  font-size: 13px;
  line-height: 1.35;
}

/* Naming */

.naming {
  overflow: hidden;
  background: var(--pod-lilac);
}

.naming__grid {
  display: grid;
  min-height: 720px;
  grid-template-columns: minmax(0, 7fr) minmax(350px, 5fr);
  gap: 7vw;
  align-items: center;
}

.naming__copy h2 {
  max-width: 1080px;
  margin: 30px 0 46px;
  font-size: clamp(72px, 7.5vw, 142px);
  line-height: 0.87;
  letter-spacing: -0.06em;
}

.naming__copy > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(23, 33, 29, 0.74);
  font-size: clamp(18px, 1.22vw, 22px);
}

.naming__mark {
  grid-column: 2;
  align-self: center;
  min-width: 0;
  margin: 0;
}

.naming__mark img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .naming__mark {
    position: relative;
    height: 321.188px;
  }

  .naming__mark > img {
    position: absolute;
    left: 0;
    top: -209.5px;
    width: 100%;
    height: 321.188px;
    max-width: none;
    object-fit: contain;
  }
}

/* Identity */

.identity {
  background: var(--pod-green-dark);
  color: var(--white);
}

.identity .section-heading__lead,
.identity .media-pair figcaption {
  color: rgba(255, 255, 255, 0.58);
}

.identity-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(55px, 7vw, 130px) 24px;
  align-items: start;
}

.identity-gallery__overview {
  grid-column: 1 / span 8;
}

.identity-gallery__carriers {
  grid-column: 8 / -1;
  margin-top: clamp(120px, 12vw, 230px);
}

.identity-gallery__shipping {
  grid-column: 1 / span 5;
}

.identity-gallery__totes {
  grid-column: 7 / -1;
  margin-top: clamp(80px, 8vw, 150px);
}

.identity-gallery__transit {
  grid-column: 2 / span 10;
}

.identity-gallery__shipping img,
.identity-gallery__totes img,
.identity-gallery__transit img {
  background: var(--white);
}

/* Digital */

.digital {
  background: var(--pod-lilac-soft);
}

.digital__header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: clamp(80px, 8vw, 150px);
}

.digital__header .eyebrow {
  grid-column: 1 / span 2;
}

.digital__header h2 {
  grid-column: 3 / span 7;
  margin: 0;
  font-size: clamp(72px, 7.2vw, 138px);
  line-height: 0.87;
  letter-spacing: -0.06em;
}

.digital__header > p:last-child {
  grid-column: 3 / span 5;
  align-self: start;
  margin-top: 24px;
  margin-bottom: 0;
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.5;
}

.digital__store {
  width: min(100%, 1460px);
  margin: 0 auto clamp(110px, 11vw, 210px);
}

.digital__store-device {
  position: relative;
  aspect-ratio: 1520 / 855;
  overflow: visible;
}

.digital__store-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.digital__store-screen {
  --store-safe-top: 5.33%;
  position: absolute;
  z-index: 2;
  left: 18.84%;
  top: 11.08%;
  width: 61.62%;
  height: 72.32%;
  overflow: hidden;
  border-radius: 2.15% 2.15% 0 0 / 3.4% 3.4% 0 0;
  background: #fff;
  pointer-events: none;
  isolation: isolate;
}

.digital__store-viewport {
  position: absolute;
  z-index: 1;
  inset: var(--store-safe-top) 0 0;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.digital__store-picture {
  display: contents;
}

.digital__store-screen::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: -1px;
  left: 50%;
  width: 12.5%;
  height: 4.45%;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #08080a;
}

.digital__store-scene {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  will-change: opacity, transform;
  animation-duration: 20s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-iteration-count: infinite;
}

.digital__store-scene--home {
  animation-name: podimis-store-home;
}

.digital__store-scene--catalog {
  animation-name: podimis-store-catalog;
}

.digital__store-scene--product-one {
  animation-name: podimis-store-product-one;
}

.digital__store-scene--product-two {
  animation-name: podimis-store-product-two;
}

.digital__store-scene--product-three {
  animation-name: podimis-store-product-three;
}

.digital__store-scene--cart {
  animation-name: podimis-store-cart;
}

.digital__store-cursor {
  position: absolute;
  z-index: 6;
  left: 16%;
  top: 75%;
  width: 2.2%;
  min-width: 10px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: var(--pod-green);
  box-shadow: 0 4px 16px rgba(12, 39, 29, 0.38);
  opacity: 0;
  transform: translate(-50%, -50%);
  animation: podimis-store-cursor 20s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes podimis-store-home {
  0%, 10% { opacity: 1; transform: translateY(0) scale(1); }
  15% { opacity: 0; transform: translateY(-9%) scale(1.012); }
  16%, 94% { opacity: 0; transform: translateY(0) scale(1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes podimis-store-catalog {
  0%, 10% { opacity: 0; transform: translateY(11%) scale(1.015); }
  15%, 25% { opacity: 1; transform: translateY(0) scale(1); }
  30%, 100% { opacity: 0; transform: translateY(-5%) scale(1.01); }
}

@keyframes podimis-store-product-one {
  0%, 27% { opacity: 0; transform: scale(1.015); }
  29%, 41% { opacity: 1; transform: scale(1); }
  43%, 100% { opacity: 0; transform: scale(1.008); }
}

@keyframes podimis-store-product-two {
  0%, 41% { opacity: 0; transform: translateX(2%) scale(1.01); }
  43%, 55% { opacity: 1; transform: translateX(0) scale(1); }
  57%, 100% { opacity: 0; transform: translateX(-1%) scale(1.008); }
}

@keyframes podimis-store-product-three {
  0%, 55% { opacity: 0; transform: translateX(2%) scale(1.01); }
  57%, 69% { opacity: 1; transform: translateX(0) scale(1); }
  71%, 100% { opacity: 0; transform: translateX(-1%) scale(1.008); }
}

@keyframes podimis-store-cart {
  0%, 69% { opacity: 0; transform: translateY(2%) scale(1.01); }
  71%, 93% { opacity: 1; transform: translateY(0) scale(1); }
  95%, 100% { opacity: 0; transform: translateY(-1%) scale(1.006); }
}

@keyframes podimis-store-cursor {
  0%, 13% { left: 72%; top: 70%; opacity: 0; transform: translate(-50%, -50%) scale(1); }
  16% { left: 16%; top: 73%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  21% { left: 16%; top: 73%; opacity: 1; transform: translate(-50%, -50%) scale(0.58); }
  24% { left: 16%; top: 73%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  29% { left: 33%; top: 82%; opacity: 0; transform: translate(-50%, -50%) scale(1); }
  34% { left: 33%; top: 82%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  40% { left: 33%; top: 82%; opacity: 1; transform: translate(-50%, -50%) scale(0.58); }
  43% { left: 33%; top: 82%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  48% { left: 40%; top: 82%; opacity: 1; transform: translate(-50%, -50%) scale(0.58); }
  51% { left: 40%; top: 82%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  58% { left: 46%; top: 82%; opacity: 1; transform: translate(-50%, -50%) scale(0.58); }
  61% { left: 46%; top: 82%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  67% { left: 70%; top: 47%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  70% { left: 70%; top: 47%; opacity: 1; transform: translate(-50%, -50%) scale(0.58); }
  74% { left: 70%; top: 47%; opacity: 0; transform: translate(-50%, -50%) scale(1); }
  100% { left: 70%; top: 47%; opacity: 0; transform: translate(-50%, -50%) scale(1); }
}

.digital__mobile {
  width: min(100%, 1600px);
  margin: 0 auto;
}

.digital__mobile-stage {
  padding: clamp(38px, 5vw, 96px);
  background: var(--pod-green);
}

.digital__mobile-stage img {
  filter: drop-shadow(0 26px 40px rgba(12, 39, 29, 0.15));
}

.digital__credits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(75px, 8vw, 135px);
  border-top: 1px solid rgba(23, 33, 29, 0.3);
}

.digital__credits p {
  min-height: 180px;
  margin: 0;
  padding: 24px 28px 42px 0;
  border-right: 1px solid rgba(23, 33, 29, 0.2);
}

.digital__credits p + p {
  padding-left: 28px;
}

.digital__credits p:last-child {
  border-right: 0;
}

.digital__credits strong,
.digital__credits span {
  display: block;
}

.digital__credits strong {
  margin-bottom: 56px;
  font-size: 13px;
}

.digital__credits span {
  color: rgba(23, 33, 29, 0.62);
  font-size: 14px;
  line-height: 1.45;
}

/* Space */

.space {
  background: var(--pod-sand);
}

.space-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(60px, 8vw, 145px) 24px;
  align-items: start;
}

.space-gallery__concept {
  grid-column: 1 / span 5;
}

.space-gallery__hero {
  grid-column: 5 / -1;
  margin-top: clamp(130px, 13vw, 250px);
}

.space-gallery__retail {
  grid-column: 1 / span 7;
}

.space-gallery__fitting {
  grid-column: 8 / -1;
  margin-top: clamp(90px, 9vw, 170px);
}

.space-gallery__facade {
  grid-column: 2 / span 10;
}

@media (min-width: 900px) {
  .space-gallery__facade {
    width: 70%;
    justify-self: center;
  }
}

/* Continuity */

.continuity {
  background: var(--pod-coral);
}

.continuity__header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: clamp(85px, 9vw, 165px);
}

.continuity__header .eyebrow {
  grid-column: 1 / span 2;
}

.continuity__header h2 {
  grid-column: 3 / span 8;
  margin: 0;
  font-size: clamp(72px, 7.2vw, 138px);
  line-height: 0.87;
  letter-spacing: -0.06em;
}

.continuity__header > p:last-child {
  grid-column: 9 / -1;
  margin: 36px 0 0;
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.5;
}

.continuity-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(55px, 7vw, 125px) 24px;
  align-items: start;
}

.continuity-gallery__catalog {
  grid-column: 1 / span 8;
}

.continuity-gallery__product {
  grid-column: 8 / -1;
  margin-top: clamp(150px, 14vw, 270px);
}

.continuity-gallery__window {
  grid-column: 1 / span 5;
}

.continuity-gallery__season {
  grid-column: 6 / -1;
}

.continuity-gallery__window img,
.continuity-gallery__season img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(100px, 12vw, 220px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(23, 33, 29, 0.6);
  list-style: none;
}

.timeline li {
  min-height: 250px;
  padding: 26px 32px 45px 0;
  border-right: 1px solid rgba(23, 33, 29, 0.24);
}

.timeline li + li {
  padding-left: 32px;
}

.timeline li:last-child {
  border-right: 0;
}

.timeline span,
.timeline strong {
  display: block;
}

.timeline span {
  margin-bottom: 82px;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.timeline strong {
  margin-bottom: 12px;
  font: 400 clamp(34px, 3vw, 56px)/0.9 var(--display);
  letter-spacing: -0.045em;
}

.timeline p {
  max-width: 330px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

/* Result */

.result {
  background: #080a09;
  color: var(--white);
}

.result__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 6vw;
  align-items: center;
}

.result__copy h2 {
  margin: 28px 0 46px;
  font-size: clamp(70px, 5.9vw, 114px);
  line-height: 0.87;
  letter-spacing: -0.06em;
}

.result__copy > p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.64);
}

.result__copy .result__lead {
  color: var(--white);
  font-size: clamp(23px, 1.8vw, 34px);
  line-height: 1.2;
}

.result__copy .button {
  margin-top: 26px;
}

.result .media-pair figcaption {
  color: rgba(255, 255, 255, 0.48);
}

/* Credits and related */

.credits {
  background: #dcebdd;
}

.credits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 33, 29, 0.4);
}

.credits article {
  min-height: 330px;
  padding: 28px 42px 70px 0;
  border-right: 1px solid rgba(23, 33, 29, 0.22);
  border-bottom: 1px solid rgba(23, 33, 29, 0.22);
}

.credits article:nth-child(3n + 2),
.credits article:nth-child(3n + 3) {
  padding-left: 42px;
}

.credits article:nth-child(3n) {
  border-right: 0;
}

.credits article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.credits article > span {
  color: rgba(23, 33, 29, 0.55);
  font-size: 10px;
}

.credits h3 {
  max-width: 430px;
  margin: 74px 0 24px;
  font-size: clamp(37px, 3vw, 58px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.credits article p {
  max-width: 470px;
  margin: 0;
  color: rgba(23, 33, 29, 0.68);
  font-size: 15px;
  line-height: 1.5;
}

.related {
  background: var(--pod-paper);
}

.related__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 8vw;
  align-items: center;
}

.related__copy h2 {
  margin: 28px 0 38px;
  font-size: clamp(90px, 10vw, 188px);
  line-height: 0.76;
  letter-spacing: -0.065em;
}

.related__copy > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(23, 33, 29, 0.7);
}

.related__visual {
  position: relative;
  display: block;
  color: var(--white);
  text-decoration: none;
}

.related__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}

.related__visual span {
  position: absolute;
  right: 22px;
  bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(8, 8, 10, 0.72);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.related__visual:hover img {
  transform: scale(1.012);
}

/* Contact */

.case-contact {
  padding-top: clamp(110px, 11vw, 180px);
  background: var(--black);
  color: var(--white);
}

.case-contact .contact__main > p {
  color: rgba(255, 255, 255, 0.67);
}

/* Reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible,
.is-static [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1199px) {
  .section-heading > h2,
  .digital__header h2,
  .continuity__header h2 {
    grid-column: 3 / -1;
  }

  .section-heading > .section-heading__lead,
  .digital__header > p:last-child,
  .continuity__header > p:last-child {
    grid-column: 3 / span 8;
  }

  .case-index {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-index a:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(23, 33, 29, 0.2);
  }

  .case-index a:nth-child(3) {
    border-right: 0;
  }

  .podimis-hero h1 {
    font-size: 16.5vw;
  }

  .podimis-hero__body {
    grid-template-columns: minmax(0, 8fr) minmax(220px, 4fr);
  }

  .journey {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey li:nth-child(3) {
    border-right: 0;
  }

  .journey li:nth-child(n + 4) {
    border-top: 1px solid rgba(23, 33, 29, 0.18);
  }

  .identity-gallery__overview {
    grid-column: 1 / span 9;
  }

  .identity-gallery__carriers {
    grid-column: 6 / -1;
  }

  .naming__grid {
    grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  }
}

@media (max-width: 899px) {
  .case-section {
    padding-block: 100px;
  }

  figure.media-pair.identity-gallery__overview:nth-of-type(1),
  figure.media-pair.identity-gallery__shipping:nth-of-type(3),
  figure.media-pair.digital__store:nth-of-type(1),
  figure.media-pair.space-gallery__concept:nth-of-type(1),
  figure.media-pair.space-gallery__hero:nth-of-type(2),
  figure.media-pair.continuity-gallery__product:nth-of-type(2),
  figure.media-pair.continuity-gallery__window:nth-of-type(3),
  figure.media-pair.continuity-gallery__season:nth-of-type(4) {
    position: static;
    height: auto;
    min-height: 0;
    margin-top: 0;
  }

  figure.media-pair.identity-gallery__overview:nth-of-type(1) > img,
  figure.media-pair.identity-gallery__shipping:nth-of-type(3) > img,
  figure.media-pair.space-gallery__concept:nth-of-type(1) > img,
  figure.media-pair.space-gallery__hero:nth-of-type(2) > img,
  figure.media-pair.continuity-gallery__product:nth-of-type(2) > img,
  figure.media-pair.continuity-gallery__window:nth-of-type(3) > img,
  figure.media-pair.continuity-gallery__season:nth-of-type(4) > img {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  figure.media-pair.digital__store:nth-of-type(1) > .digital__store-device {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
  }

  figure.media-pair.identity-gallery__overview:nth-of-type(1) > figcaption,
  figure.media-pair.identity-gallery__shipping:nth-of-type(3) > figcaption,
  figure.media-pair.digital__store:nth-of-type(1) > figcaption,
  figure.media-pair.space-gallery__concept:nth-of-type(1) > figcaption,
  figure.media-pair.space-gallery__hero:nth-of-type(2) > figcaption,
  figure.media-pair.continuity-gallery__product:nth-of-type(2) > figcaption,
  figure.media-pair.continuity-gallery__window:nth-of-type(3) > figcaption,
  figure.media-pair.continuity-gallery__season:nth-of-type(4) > figcaption {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    margin-top: 12px;
  }

  .section-heading,
  .digital__header,
  .continuity__header {
    display: block;
    margin-bottom: 75px;
  }

  .section-heading h2,
  .digital__header h2,
  .continuity__header h2 {
    margin-top: 28px;
  }

  .section-heading > .section-heading__lead,
  .section-heading:not(.section-heading--split) > .section-heading__lead,
  .digital__header > p:last-child,
  .continuity__header > p:last-child {
    max-width: 650px;
    margin-top: 34px;
  }

  .podimis-hero {
    min-height: 980px;
  }

  .podimis-hero__photo {
    background-image:
      linear-gradient(90deg, rgba(12, 39, 29, 0.94), rgba(12, 39, 29, 0.44)),
      linear-gradient(0deg, rgba(7, 17, 13, 0.78), transparent 58%),
      url("/ru-v1-case-podimis-v1/assets/boutique-hero.webp");
    background-position: center, center, 63% center;
  }

  .podimis-hero h1 {
    font-size: 16vw;
  }

  .podimis-hero__body {
    min-height: 690px;
    grid-template-columns: 1fr;
    padding-top: 180px;
  }

  .podimis-hero__caption {
    justify-self: start;
    text-align: left;
  }

  .naming__grid,
  .result__grid,
  .related__grid {
    grid-template-columns: 1fr;
  }

  .naming__mark {
    grid-column: 1;
    width: min(100%, 560px);
    justify-self: start;
    margin-top: 28px;
  }

  .identity-gallery,
  .space-gallery,
  .continuity-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px 22px;
  }

  .identity-gallery > figure,
  .space-gallery > figure,
  .continuity-gallery > figure {
    grid-column: auto;
    margin-top: 0;
  }

  .identity-gallery__overview,
  .identity-gallery__transit,
  .space-gallery__hero,
  .space-gallery__facade,
  .continuity-gallery__catalog {
    grid-column: 1 / -1 !important;
  }

  .digital__credits,
  .credits__grid {
    grid-template-columns: 1fr 1fr;
  }

  .digital__credits p:nth-child(2),
  .credits article:nth-child(2n) {
    border-right: 0;
  }

  .digital__credits p:nth-child(3) {
    border-top: 1px solid rgba(23, 33, 29, 0.2);
    border-right: 0;
  }

  .credits article,
  .credits article:nth-child(3n + 2),
  .credits article:nth-child(3n + 3) {
    padding: 28px 32px 60px 0;
    border-right: 1px solid rgba(23, 33, 29, 0.22);
    border-bottom: 1px solid rgba(23, 33, 29, 0.22);
  }

  .credits article:nth-child(2n) {
    padding-left: 32px;
  }

  .credits article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .timeline li:nth-child(2) {
    border-right: 0;
  }

  .timeline li:nth-child(n + 3) {
    border-top: 1px solid rgba(23, 33, 29, 0.24);
  }

  .related__visual {
    margin-top: 50px;
  }
}

@media (max-width: 767px) {
  .podimis-case .site-header {
    grid-template-columns: 1fr auto;
  }

  .podimis-case .menu-toggle {
    position: static;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .podimis-case .menu-toggle span {
    width: 24px;
    height: 1px;
    background: var(--white);
    transition: transform 180ms ease;
  }

  .podimis-case .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .podimis-case .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .podimis-case .mobile-menu {
    display: flex;
  }

  .case-index {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .case-index a {
    min-width: 190px;
    min-height: 66px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    border-bottom: 0 !important;
  }

  .podimis-ribbons span {
    width: 170%;
    font-size: 10px;
  }

  .podimis-ribbons span {
    top: 31%;
    left: -35%;
  }

  .podimis-hero__top {
    padding-top: 38px;
  }

  .case-kicker {
    max-width: 270px;
    line-height: 1.45;
  }

  .podimis-hero h1 {
    margin-top: 38px;
    font-size: 18.2vw;
  }

  .podimis-hero__copy h2 {
    font-size: clamp(48px, 13vw, 72px);
  }

  .podimis-hero__links {
    align-items: flex-start;
    flex-direction: column;
  }

  .journey {
    grid-template-columns: 1fr 1fr;
  }

  .journey li:nth-child(3) {
    border-right: 1px solid rgba(23, 33, 29, 0.18);
  }

  .journey li:nth-child(2n) {
    border-right: 0;
  }

  .journey li:nth-child(n + 3) {
    border-top: 1px solid rgba(23, 33, 29, 0.18);
  }

  .journey span {
    margin-bottom: 58px;
  }

  .identity-gallery,
  .space-gallery,
  .continuity-gallery {
    display: block;
  }

  .identity-gallery > figure,
  .space-gallery > figure,
  .continuity-gallery > figure {
    width: 100%;
    margin: 0 0 72px;
  }

  .identity-gallery > figure:last-child,
  .space-gallery > figure:last-child,
  .continuity-gallery > figure:last-child {
    margin-bottom: 0;
  }

  .digital__mobile-stage {
    padding: 24px 12px;
  }

  figure.media-pair.digital__store:nth-of-type(1) > .digital__store-device {
    position: relative;
    width: min(82vw, 390px);
    height: auto;
    aspect-ratio: 390 / 844;
    margin-inline: auto;
    padding: 0;
    border: 10px solid #111216;
    border-radius: clamp(38px, 11vw, 52px);
    background: #111216;
    box-shadow: 0 28px 55px rgba(18, 32, 26, 0.22);
  }

  figure.media-pair.digital__store:nth-of-type(1) > .digital__store-device::before,
  figure.media-pair.digital__store:nth-of-type(1) > .digital__store-device::after {
    content: "";
    position: absolute;
    top: 20%;
    width: 3px;
    height: 58px;
    border-radius: 3px;
    background: #111216;
  }

  figure.media-pair.digital__store:nth-of-type(1) > .digital__store-device::before {
    left: -10px;
  }

  figure.media-pair.digital__store:nth-of-type(1) > .digital__store-device::after {
    right: -10px;
    height: 78px;
  }

  .media-pair .digital__store-device > .digital__store-shell {
    display: none;
  }

  .digital__store-screen {
    --store-safe-top: 5.6%;
    position: relative;
    inset: auto;
    width: 100%;
    height: 100%;
    border-radius: clamp(31px, 9vw, 44px);
  }

  .digital__store-screen::after {
    top: 1.15%;
    width: 31%;
    height: 3.4%;
    border-radius: 999px;
  }

  .digital__store-viewport {
    border-radius: 0 0 clamp(27px, 8vw, 39px) clamp(27px, 8vw, 39px);
  }

  .digital__store-cursor {
    display: none;
  }

  .digital__credits,
  .credits__grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .digital__credits p,
  .digital__credits p + p,
  .credits article,
  .credits article:nth-child(2n),
  .credits article:nth-child(3n + 2),
  .credits article:nth-child(3n + 3),
  .timeline li,
  .timeline li + li {
    min-height: 0;
    padding: 26px 0 48px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 33, 29, 0.22);
  }

  .digital__credits p:last-child,
  .credits article:last-child,
  .timeline li:last-child {
    border-bottom: 0;
  }

  .digital__credits strong,
  .timeline span {
    margin-bottom: 42px;
  }

  .credits h3 {
    margin-top: 45px;
  }

  .result__visual {
    margin-top: 55px;
  }

  .case-contact .contact__grid {
    gap: 70px;
  }
}

@media (max-width: 559px) {
  .case-section {
    padding-block: 82px;
  }

  .section-heading h2,
  .digital__header h2,
  .continuity__header h2,
  .naming__copy h2,
  .result__copy h2,
  .related__copy h2,
  .case-contact h2 {
    font-size: 54px;
  }

  .podimis-hero {
    min-height: 900px;
  }

  .podimis-hero h1 {
    font-size: 18vw;
  }

  .podimis-hero__body {
    min-height: 650px;
    padding-top: 135px;
    padding-bottom: 42px;
  }

  .podimis-hero__copy h2 {
    font-size: 47px;
  }

  .journey {
    grid-template-columns: 1fr;
  }

  .journey li,
  .journey li + li {
    min-height: 0;
    padding: 24px 0 42px;
    border-right: 0;
    border-top: 1px solid rgba(23, 33, 29, 0.18);
  }

  .journey li:first-child {
    border-top: 0;
  }

  .journey li::after {
    display: none;
  }

  .journey span {
    margin-bottom: 34px;
  }

  .continuity-gallery__window img,
  .continuity-gallery__season img {
    aspect-ratio: auto;
    object-fit: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  .podimis-ribbons span {
    animation: none;
  }

  .digital__store-scene,
  .digital__store-cursor {
    animation: none;
  }

  .digital__store-scene {
    opacity: 0;
    transform: none;
  }

  .digital__store-scene--home {
    opacity: 1;
  }

  .digital__store-cursor {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.is-static .digital__store-scene,
.is-static .digital__store-cursor {
  animation: none;
}

.is-static .digital__store-scene {
  opacity: 0;
  transform: none;
}

.is-static .digital__store-scene--home {
  opacity: 1;
}

.is-static .digital__store-cursor {
  display: none;
}
